RTEMS 4.11
Annotated Report
Sun Sep 11 19:24:43 2011

ffc0c0e4 <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 ) {                                              
ffc0c0e4:	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;                                   
ffc0c0e8:	81 23 00 10 	lwz     r9,16(r3)                              
  switch( node->type ) {                                              
ffc0c0ec:	81 6b 00 4c 	lwz     r11,76(r11)                            
)                                                                     
{                                                                     
  IMFS_jnode_t    *node = loc->node_access;                           
  IMFS_fs_info_t  *fs_info;                                           
                                                                      
  fs_info = loc->mt_entry->fs_info;                                   
ffc0c0f0:	81 29 00 34 	lwz     r9,52(r9)                              
  switch( node->type ) {                                              
ffc0c0f4:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0c0f8:	2b 80 00 06 	cmplwi  cr7,r0,6                               
ffc0c0fc:	41 9d 00 50 	bgt-    cr7,ffc0c14c <IMFS_Set_handlers+0x68>  <== NEVER TAKEN
ffc0c100:	3d 60 ff c2 	lis     r11,-62                                
ffc0c104:	39 6b c5 1c 	addi    r11,r11,-15076                         
ffc0c108:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0c10c:	7c 0b 00 2e 	lwzx    r0,r11,r0                              
ffc0c110:	7d 60 5a 14 	add     r11,r0,r11                             
ffc0c114:	7d 69 03 a6 	mtctr   r11                                    
ffc0c118:	4e 80 04 20 	bctr                                           
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
ffc0c11c:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc0c120:	48 00 00 28 	b       ffc0c148 <IMFS_Set_handlers+0x64>      
      break;                                                          
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
ffc0c124:	3d 20 ff c2 	lis     r9,-62                                 
ffc0c128:	38 09 c5 44 	addi    r0,r9,-15036                           
ffc0c12c:	48 00 00 1c 	b       ffc0c148 <IMFS_Set_handlers+0x64>      
      break;                                                          
    case IMFS_SYM_LINK:                                               
    case IMFS_HARD_LINK:                                              
      loc->handlers = &IMFS_link_handlers;                            
ffc0c130:	3d 20 ff c2 	lis     r9,-62                                 
ffc0c134:	38 09 c5 b4 	addi    r0,r9,-14924                           
ffc0c138:	48 00 00 10 	b       ffc0c148 <IMFS_Set_handlers+0x64>      
      break;                                                          
    case IMFS_LINEAR_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
      break;                                                          
    case IMFS_MEMORY_FILE:                                            
      loc->handlers = fs_info->memfile_handlers;                      
ffc0c13c:	80 09 00 08 	lwz     r0,8(r9)                               
ffc0c140:	48 00 00 08 	b       ffc0c148 <IMFS_Set_handlers+0x64>      
      break;                                                          
    case IMFS_FIFO:                                                   
      loc->handlers = fs_info->fifo_handlers;                         
ffc0c144:	80 09 00 10 	lwz     r0,16(r9)                              
ffc0c148:	90 03 00 08 	stw     r0,8(r3)                               
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0c14c:	38 60 00 00 	li      r3,0                                   
ffc0c150:	4e 80 00 20 	blr                                            
                                                                      

ffc0bed8 <IMFS_create_node>: IMFS_fs_info_t *fs_info; /* * MUST have a parent node to call this routine. */ if ( parent_loc == NULL )
ffc0bed8:	2c 03 00 00 	cmpwi   r3,0                                   
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode,                             
  const IMFS_types_union           *info                              
)                                                                     
{                                                                     
ffc0bedc:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0bee0:	7c 08 02 a6 	mflr    r0                                     
ffc0bee4:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc0bee8:	7c 9f 23 78 	mr      r31,r4                                 
ffc0beec:	7c fe 3b 78 	mr      r30,r7                                 
ffc0bef0:	90 01 00 24 	stw     r0,36(r1)                              
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
    return NULL;                                                      
ffc0bef4:	3b 60 00 00 	li      r27,0                                  
  IMFS_fs_info_t      *fs_info;                                       
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
ffc0bef8:	41 82 01 24 	beq-    ffc0c01c <IMFS_create_node+0x144>      <== NEVER TAKEN
  fs_info = parent_loc->mt_entry->fs_info;                            
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
ffc0befc:	2f 84 00 07 	cmpwi   cr7,r4,7                               
   */                                                                 
  if ( parent_loc == NULL )                                           
    return NULL;                                                      
                                                                      
  parent = parent_loc->node_access;                                   
  fs_info = parent_loc->mt_entry->fs_info;                            
ffc0bf00:	81 23 00 10 	lwz     r9,16(r3)                              
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
    return NULL;                                                      
                                                                      
  parent = parent_loc->node_access;                                   
ffc0bf04:	83 83 00 00 	lwz     r28,0(r3)                              
  fs_info = parent_loc->mt_entry->fs_info;                            
ffc0bf08:	83 a9 00 34 	lwz     r29,52(r9)                             
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
ffc0bf0c:	40 9e 00 18 	bne-    cr7,ffc0bf24 <IMFS_create_node+0x4c>   
ffc0bf10:	81 3d 00 10 	lwz     r9,16(r29)                             
ffc0bf14:	3d 60 ff c2 	lis     r11,-62                                
ffc0bf18:	38 0b c4 b4 	addi    r0,r11,-15180                          
ffc0bf1c:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0bf20:	41 9e 00 fc 	beq-    cr7,ffc0c01c <IMFS_create_node+0x144>  
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node  = IMFS_allocate_node( type, name, mode & ~rtems_filesystem_umask );
ffc0bf24:	3d 20 00 00 	lis     r9,0                                   
ffc0bf28:	81 29 27 3c 	lwz     r9,10044(r9)                           
ffc0bf2c:	7c a4 2b 78 	mr      r4,r5                                  
ffc0bf30:	7f e3 fb 78 	mr      r3,r31                                 
ffc0bf34:	80 09 00 2c 	lwz     r0,44(r9)                              
ffc0bf38:	7c c5 00 78 	andc    r5,r6,r0                               
ffc0bf3c:	4b ff ff 19 	bl      ffc0be54 <IMFS_allocate_node>          
  if ( !node )                                                        
ffc0bf40:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc0bf44:	41 82 00 d8 	beq-    ffc0c01c <IMFS_create_node+0x144>      
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Set the type specific information                               
   */                                                                 
  if ( type == IMFS_DIRECTORY ) {                                     
ffc0bf48:	2f 9f 00 01 	cmpwi   cr7,r31,1                              
ffc0bf4c:	40 be 00 1c 	bne+    cr7,ffc0bf68 <IMFS_create_node+0x90>   
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 );                        
ffc0bf50:	39 3b 00 54 	addi    r9,r27,84                              
                                                                      
  head->next = tail;                                                  
ffc0bf54:	91 3b 00 50 	stw     r9,80(r27)                             
  head->previous = NULL;                                              
ffc0bf58:	39 20 00 00 	li      r9,0                                   
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 );                        
ffc0bf5c:	38 1b 00 50 	addi    r0,r27,80                              
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc0bf60:	91 3b 00 54 	stw     r9,84(r27)                             
ffc0bf64:	48 00 00 54 	b       ffc0bfb8 <IMFS_create_node+0xe0>       
    rtems_chain_initialize_empty(&node->info.directory.Entries);      
  } else if ( type == IMFS_HARD_LINK ) {                              
ffc0bf68:	2f 9f 00 03 	cmpwi   cr7,r31,3                              
ffc0bf6c:	41 9e 00 0c 	beq-    cr7,ffc0bf78 <IMFS_create_node+0xa0>   
    node->info.hard_link.link_node = info->hard_link.link_node;       
  } else if ( type == IMFS_SYM_LINK ) {                               
ffc0bf70:	2f 9f 00 04 	cmpwi   cr7,r31,4                              
ffc0bf74:	40 be 00 0c 	bne+    cr7,ffc0bf80 <IMFS_create_node+0xa8>   
    node->info.sym_link.name = info->sym_link.name;                   
ffc0bf78:	80 1e 00 00 	lwz     r0,0(r30)                              
ffc0bf7c:	48 00 00 7c 	b       ffc0bff8 <IMFS_create_node+0x120>      
  } else if ( type == IMFS_DEVICE ) {                                 
ffc0bf80:	2f 9f 00 02 	cmpwi   cr7,r31,2                              
ffc0bf84:	40 be 00 18 	bne+    cr7,ffc0bf9c <IMFS_create_node+0xc4>   
    node->info.device.major = info->device.major;                     
ffc0bf88:	80 1e 00 00 	lwz     r0,0(r30)                              
ffc0bf8c:	90 1b 00 50 	stw     r0,80(r27)                             
    node->info.device.minor = info->device.minor;                     
ffc0bf90:	80 1e 00 04 	lwz     r0,4(r30)                              
ffc0bf94:	90 1b 00 54 	stw     r0,84(r27)                             
ffc0bf98:	48 00 00 64 	b       ffc0bffc <IMFS_create_node+0x124>      
  } else if ( type == IMFS_LINEAR_FILE ) {                            
ffc0bf9c:	2f 9f 00 06 	cmpwi   cr7,r31,6                              
ffc0bfa0:	40 be 00 20 	bne+    cr7,ffc0bfc0 <IMFS_create_node+0xe8>   
    node->info.linearfile.size      = 0;                              
ffc0bfa4:	39 40 00 00 	li      r10,0                                  
ffc0bfa8:	39 60 00 00 	li      r11,0                                  
ffc0bfac:	91 5b 00 50 	stw     r10,80(r27)                            
    node->info.linearfile.direct    = 0;                              
ffc0bfb0:	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;                              
ffc0bfb4:	91 7b 00 54 	stw     r11,84(r27)                            
    node->info.linearfile.direct    = 0;                              
ffc0bfb8:	90 1b 00 58 	stw     r0,88(r27)                             
ffc0bfbc:	48 00 00 40 	b       ffc0bffc <IMFS_create_node+0x124>      
  } else if ( type == IMFS_MEMORY_FILE ) {                            
ffc0bfc0:	2f 9f 00 05 	cmpwi   cr7,r31,5                              
ffc0bfc4:	40 be 00 28 	bne+    cr7,ffc0bfec <IMFS_create_node+0x114>  
      node->info.file.size            = 0;                            
      node->info.file.indirect        = 0;                            
ffc0bfc8:	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;                            
ffc0bfcc:	39 40 00 00 	li      r10,0                                  
      node->info.file.indirect        = 0;                            
ffc0bfd0:	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;                            
ffc0bfd4:	39 60 00 00 	li      r11,0                                  
ffc0bfd8:	91 5b 00 50 	stw     r10,80(r27)                            
ffc0bfdc:	91 7b 00 54 	stw     r11,84(r27)                            
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
ffc0bfe0:	90 1b 00 5c 	stw     r0,92(r27)                             
      node->info.file.triply_indirect = 0;                            
ffc0bfe4:	90 1b 00 60 	stw     r0,96(r27)                             
ffc0bfe8:	48 00 00 14 	b       ffc0bffc <IMFS_create_node+0x124>      
  } else if ( type == IMFS_FIFO ) {                                   
ffc0bfec:	2f 9f 00 07 	cmpwi   cr7,r31,7                              
ffc0bff0:	40 be 00 0c 	bne+    cr7,ffc0bffc <IMFS_create_node+0x124>  <== NEVER TAKEN
    node->info.fifo.pipe = NULL;                                      
ffc0bff4:	38 00 00 00 	li      r0,0                                   
ffc0bff8:	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;                                
ffc0bffc:	81 3d 00 04 	lwz     r9,4(r29)                              
ffc0c000:	38 7c 00 50 	addi    r3,r28,80                              
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
ffc0c004:	93 9b 00 08 	stw     r28,8(r27)                             
ffc0c008:	7f 64 db 78 	mr      r4,r27                                 
  node->st_ino = ++fs_info->ino_count;                                
ffc0c00c:	38 09 00 01 	addi    r0,r9,1                                
ffc0c010:	90 1d 00 04 	stw     r0,4(r29)                              
ffc0c014:	90 1b 00 38 	stw     r0,56(r27)                             
ffc0c018:	4b ff cb d5 	bl      ffc08bec <_Chain_Append>               
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
ffc0c01c:	39 61 00 20 	addi    r11,r1,32                              
ffc0c020:	7f 63 db 78 	mr      r3,r27                                 
ffc0c024:	4b ff 45 10 	b       ffc00534 <_restgpr_27_x>               
                                                                      

ffc0c208 <IMFS_eval_path>: const char *pathname, /* IN */ size_t pathnamelen, /* IN */ int flags, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
ffc0c208:	94 21 ff a8 	stwu    r1,-88(r1)                             
ffc0c20c:	7c 08 02 a6 	mflr    r0                                     
ffc0c210:	90 01 00 5c 	stw     r0,92(r1)                              
  int               i = 0;                                            
ffc0c214:	38 00 00 00 	li      r0,0                                   
ffc0c218:	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 ) ) {                       
ffc0c21c:	54 a0 00 39 	rlwinm. r0,r5,0,0,28                           
  const char                        *pathname,     /* IN     */       
  size_t                             pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
                   )                                                  
{                                                                     
ffc0c220:	bf 41 00 40 	stmw    r26,64(r1)                             
ffc0c224:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0c228:	7c bd 2b 78 	mr      r29,r5                                 
ffc0c22c:	90 81 00 38 	stw     r4,56(r1)                              
ffc0c230:	7c df 33 78 	mr      r31,r6                                 
  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 ) ) {                       
ffc0c234:	41 a2 00 10 	beq+    ffc0c244 <IMFS_eval_path+0x3c>         <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EIO );                      
ffc0c238:	48 00 3a 4d 	bl      ffc0fc84 <__errno>                     <== NOT EXECUTED
ffc0c23c:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc0c240:	48 00 02 78 	b       ffc0c4b8 <IMFS_eval_path+0x2b0>        <== NOT EXECUTED
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
ffc0c244:	83 86 00 00 	lwz     r28,0(r6)                              
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
ffc0c248:	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 );  
ffc0c24c:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc0c250:	38 a1 00 10 	addi    r5,r1,16                               
ffc0c254:	80 81 00 38 	lwz     r4,56(r1)                              
ffc0c258:	38 c1 00 08 	addi    r6,r1,8                                
ffc0c25c:	7c 7e 1a 14 	add     r3,r30,r3                              
ffc0c260:	48 00 07 f1 	bl      ffc0ca50 <IMFS_get_token>              
    pathnamelen -= len;                                               
ffc0c264:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0c268:	81 21 00 38 	lwz     r9,56(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 );  
ffc0c26c:	7c 7a 1b 78 	mr      r26,r3                                 
    pathnamelen -= len;                                               
ffc0c270:	7d 20 48 50 	subf    r9,r0,r9                               
ffc0c274:	91 21 00 38 	stw     r9,56(r1)                              
    i += len;                                                         
ffc0c278:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc0c27c:	7c 09 02 14 	add     r0,r9,r0                               
ffc0c280:	90 01 00 0c 	stw     r0,12(r1)                              
                                                                      
    if ( !pathloc->node_access )                                      
ffc0c284:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc0c288:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c28c:	41 9e 00 f8 	beq-    cr7,ffc0c384 <IMFS_eval_path+0x17c>    <== 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 )                                  
ffc0c290:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c294:	41 9e 00 24 	beq-    cr7,ffc0c2b8 <IMFS_eval_path+0xb0>     
      if ( node->type == IMFS_DIRECTORY )                             
ffc0c298:	80 1c 00 4c 	lwz     r0,76(r28)                             
ffc0c29c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0c2a0:	40 be 00 18 	bne+    cr7,ffc0c2b8 <IMFS_eval_path+0xb0>     
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
ffc0c2a4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c2a8:	38 80 00 01 	li      r4,1                                   
ffc0c2ac:	4b ff fe a9 	bl      ffc0c154 <IMFS_evaluate_permission>    
ffc0c2b0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c2b4:	41 9e 01 fc 	beq-    cr7,ffc0c4b0 <IMFS_eval_path+0x2a8>    
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
ffc0c2b8:	2f 9a 00 03 	cmpwi   cr7,r26,3                              
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
ffc0c2bc:	83 9f 00 00 	lwz     r28,0(r31)                             
                                                                      
    switch( type ) {                                                  
ffc0c2c0:	41 9e 00 54 	beq-    cr7,ffc0c314 <IMFS_eval_path+0x10c>    
ffc0c2c4:	2f 9a 00 04 	cmpwi   cr7,r26,4                              
ffc0c2c8:	41 9e 01 54 	beq-    cr7,ffc0c41c <IMFS_eval_path+0x214>    
ffc0c2cc:	2f 1a 00 02 	cmpwi   cr6,r26,2                              
ffc0c2d0:	40 ba 01 58 	bne+    cr6,ffc0c428 <IMFS_eval_path+0x220>    
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
ffc0c2d4:	81 3b 27 3c 	lwz     r9,10044(r27)                          
ffc0c2d8:	80 09 00 18 	lwz     r0,24(r9)                              
ffc0c2dc:	7f 9c 00 00 	cmpw    cr7,r28,r0                             
ffc0c2e0:	41 be ff 6c 	beq-    cr7,ffc0c24c <IMFS_eval_path+0x44>     
                                                                      
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;   
ffc0c2e4:	81 7f 00 10 	lwz     r11,16(r31)                            
                                                                      
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if ( rtems_filesystem_is_root_location( pathloc ) ) {         
ffc0c2e8:	80 0b 00 1c 	lwz     r0,28(r11)                             
ffc0c2ec:	7f 80 e0 00 	cmpw    cr7,r0,r28                             
ffc0c2f0:	40 be 00 0c 	bne+    cr7,ffc0c2fc <IMFS_eval_path+0xf4>     
           */                                                         
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
          } else {                                                    
            *pathloc = pathloc->mt_entry->mt_point_node;              
ffc0c2f4:	39 6b 00 08 	addi    r11,r11,8                              
ffc0c2f8:	48 00 01 58 	b       ffc0c450 <IMFS_eval_path+0x248>        
                                               pathnamelen+len,       
                                               flags,pathloc);        
          }                                                           
        } else {                                                      
                                                                      
          if ( !node->Parent )                                        
ffc0c2fc:	83 9c 00 08 	lwz     r28,8(r28)                             
ffc0c300:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0c304:	40 be 01 10 	bne+    cr7,ffc0c414 <IMFS_eval_path+0x20c>    
            rtems_set_errno_and_return_minus_one( ENOENT );           
ffc0c308:	48 00 39 7d 	bl      ffc0fc84 <__errno>                     
ffc0c30c:	93 43 00 00 	stw     r26,0(r3)                              
ffc0c310:	48 00 01 ac 	b       ffc0c4bc <IMFS_eval_path+0x2b4>        
                                                                      
      case IMFS_NAME:                                                 
        /*                                                            
         *  If we are at a link follow it.                            
         */                                                           
        if ( node->type == IMFS_HARD_LINK ) {                         
ffc0c314:	80 1c 00 4c 	lwz     r0,76(r28)                             
ffc0c318:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0c31c:	40 be 00 18 	bne+    cr7,ffc0c334 <IMFS_eval_path+0x12c>    
          IMFS_evaluate_hard_link( pathloc, 0 );                      
ffc0c320:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c324:	38 80 00 00 	li      r4,0                                   
ffc0c328:	4b ff fe 81 	bl      ffc0c1a8 <IMFS_evaluate_hard_link>     
          node = pathloc->node_access;                                
ffc0c32c:	83 9f 00 00 	lwz     r28,0(r31)                             
ffc0c330:	48 00 00 28 	b       ffc0c358 <IMFS_eval_path+0x150>        
           * It would be a design error if we evaluated the link and  
           * was broken.                                              
           */                                                         
          IMFS_assert( node );                                        
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
ffc0c334:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc0c338:	40 be 00 20 	bne+    cr7,ffc0c358 <IMFS_eval_path+0x150>    
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
ffc0c33c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c340:	38 80 00 00 	li      r4,0                                   
ffc0c344:	48 00 01 89 	bl      ffc0c4cc <IMFS_evaluate_sym_link>      
                                                                      
          /*                                                          
           *  In contrast to a hard link, it is possible to have a broken
           *  symbolic link.                                          
           */                                                         
          node = pathloc->node_access;                                
ffc0c348:	83 9f 00 00 	lwz     r28,0(r31)                             
          if ( result == -1 )                                         
ffc0c34c:	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 );              
ffc0c350:	7c 7a 1b 78 	mr      r26,r3                                 
          /*                                                          
           *  In contrast to a hard link, it is possible to have a broken
           *  symbolic link.                                          
           */                                                         
          node = pathloc->node_access;                                
          if ( result == -1 )                                         
ffc0c354:	41 9e 01 6c 	beq-    cr7,ffc0c4c0 <IMFS_eval_path+0x2b8>    <== NEVER TAKEN
        }                                                             
                                                                      
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
        if ( node->type != IMFS_DIRECTORY )                           
ffc0c358:	80 1c 00 4c 	lwz     r0,76(r28)                             
ffc0c35c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0c360:	41 be 00 10 	beq+    cr7,ffc0c370 <IMFS_eval_path+0x168>    
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
ffc0c364:	48 00 39 21 	bl      ffc0fc84 <__errno>                     
ffc0c368:	38 00 00 14 	li      r0,20                                  
ffc0c36c:	48 00 01 4c 	b       ffc0c4b8 <IMFS_eval_path+0x2b0>        
                                                                      
        /*                                                            
         *  Find the token name in the current node.                  
         */                                                           
        node = IMFS_find_match_in_dir( node, token );                 
ffc0c370:	7f 83 e3 78 	mr      r3,r28                                 
ffc0c374:	38 81 00 10 	addi    r4,r1,16                               
ffc0c378:	48 00 06 45 	bl      ffc0c9bc <IMFS_find_match_in_dir>      
        if ( !node )                                                  
ffc0c37c:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc0c380:	40 a2 00 10 	bne+    ffc0c390 <IMFS_eval_path+0x188>        
          rtems_set_errno_and_return_minus_one( ENOENT );             
ffc0c384:	48 00 39 01 	bl      ffc0fc84 <__errno>                     
ffc0c388:	38 00 00 02 	li      r0,2                                   
ffc0c38c:	48 00 01 2c 	b       ffc0c4b8 <IMFS_eval_path+0x2b0>        
         *  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 )) {
ffc0c390:	80 1c 00 4c 	lwz     r0,76(r28)                             
ffc0c394:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0c398:	40 be 00 7c 	bne+    cr7,ffc0c414 <IMFS_eval_path+0x20c>    
ffc0c39c:	80 1c 00 5c 	lwz     r0,92(r28)                             
ffc0c3a0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c3a4:	41 9e 00 70 	beq-    cr7,ffc0c414 <IMFS_eval_path+0x20c>    
          IMFS_skip_separator( pathname, &pathnamelen, &i);           
ffc0c3a8:	7f c3 f3 78 	mr      r3,r30                                 
ffc0c3ac:	38 81 00 38 	addi    r4,r1,56                               
ffc0c3b0:	38 a1 00 0c 	addi    r5,r1,12                               
ffc0c3b4:	4b ff fc c5 	bl      ffc0c078 <IMFS_skip_separator>         
          if ((pathname[i] != '.') || (pathname[i + 1] != '.')) {     
ffc0c3b8:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc0c3bc:	7c 1e 48 ae 	lbzx    r0,r30,r9                              
ffc0c3c0:	7d 7e 4a 14 	add     r11,r30,r9                             
ffc0c3c4:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc0c3c8:	40 9e 00 10 	bne-    cr7,ffc0c3d8 <IMFS_eval_path+0x1d0>    
ffc0c3cc:	88 0b 00 01 	lbz     r0,1(r11)                              
ffc0c3d0:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc0c3d4:	41 be 00 28 	beq+    cr7,ffc0c3fc <IMFS_eval_path+0x1f4>    
            *pathloc = node->info.directory.mt_fs->mt_fs_root;        
ffc0c3d8:	80 9c 00 5c 	lwz     r4,92(r28)                             
            return (*pathloc->ops->evalpath_h)( &pathname[i],         
ffc0c3dc:	7d 63 5b 78 	mr      r3,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;        
ffc0c3e0:	38 84 00 1c 	addi    r4,r4,28                               
ffc0c3e4:	7c a4 a4 aa 	lswi    r5,r4,20                               
ffc0c3e8:	7c bf a5 aa 	stswi   r5,r31,20                              
            return (*pathloc->ops->evalpath_h)( &pathname[i],         
ffc0c3ec:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc0c3f0:	80 81 00 38 	lwz     r4,56(r1)                              
ffc0c3f4:	80 09 00 00 	lwz     r0,0(r9)                               
ffc0c3f8:	48 00 00 80 	b       ffc0c478 <IMFS_eval_path+0x270>        
                                                pathnamelen,          
                                                flags, pathloc );     
          }                                                           
          i += 2;                                                     
ffc0c3fc:	39 29 00 02 	addi    r9,r9,2                                
          pathnamelen -= 2;                                           
          node = node->Parent;                                        
ffc0c400:	83 9c 00 08 	lwz     r28,8(r28)                             
            *pathloc = node->info.directory.mt_fs->mt_fs_root;        
            return (*pathloc->ops->evalpath_h)( &pathname[i],         
                                                pathnamelen,          
                                                flags, pathloc );     
          }                                                           
          i += 2;                                                     
ffc0c404:	91 21 00 0c 	stw     r9,12(r1)                              
          pathnamelen -= 2;                                           
ffc0c408:	81 21 00 38 	lwz     r9,56(r1)                              
ffc0c40c:	38 09 ff fe 	addi    r0,r9,-2                               
ffc0c410:	90 01 00 38 	stw     r0,56(r1)                              
        }                                                             
                                                                      
        /*                                                            
         *  Set the node access to the point we have found.           
         */                                                           
        pathloc->node_access = node;                                  
ffc0c414:	93 9f 00 00 	stw     r28,0(r31)                             
        break;                                                        
ffc0c418:	4b ff fe 34 	b       ffc0c24c <IMFS_eval_path+0x44>         
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
ffc0c41c:	48 00 38 69 	bl      ffc0fc84 <__errno>                     
ffc0c420:	38 00 00 5b 	li      r0,91                                  
ffc0c424:	48 00 00 94 	b       ffc0c4b8 <IMFS_eval_path+0x2b0>        
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
ffc0c428:	2f 1a 00 00 	cmpwi   cr6,r26,0                              
ffc0c42c:	41 9a 00 08 	beq-    cr6,ffc0c434 <IMFS_eval_path+0x22c>    
ffc0c430:	40 9e fe 1c 	bne+    cr7,ffc0c24c <IMFS_eval_path+0x44>     <== ALWAYS TAKEN
   *  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 ) {                               
ffc0c434:	80 1c 00 4c 	lwz     r0,76(r28)                             
ffc0c438:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0c43c:	40 9e 00 54 	bne-    cr7,ffc0c490 <IMFS_eval_path+0x288>    
    if ( node->info.directory.mt_fs != NULL ) {                       
ffc0c440:	81 7c 00 5c 	lwz     r11,92(r28)                            
ffc0c444:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0c448:	41 9e 00 48 	beq-    cr7,ffc0c490 <IMFS_eval_path+0x288>    <== ALWAYS TAKEN
      *pathloc = node->info.directory.mt_fs->mt_fs_root;              
ffc0c44c:	39 6b 00 1c 	addi    r11,r11,28                             <== NOT EXECUTED
ffc0c450:	7c ab a4 aa 	lswi    r5,r11,20                              
ffc0c454:	7c bf a5 aa 	stswi   r5,r31,20                              
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
ffc0c458:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc0c45c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc0c460:	81 7f 00 0c 	lwz     r11,12(r31)                            
ffc0c464:	80 81 00 38 	lwz     r4,56(r1)                              
ffc0c468:	7c 69 18 50 	subf    r3,r9,r3                               
ffc0c46c:	80 0b 00 00 	lwz     r0,0(r11)                              
ffc0c470:	7c 7e 1a 14 	add     r3,r30,r3                              
ffc0c474:	7c 89 22 14 	add     r4,r9,r4                               
ffc0c478:	7f a5 eb 78 	mr      r5,r29                                 
ffc0c47c:	7c 09 03 a6 	mtctr   r0                                     
ffc0c480:	7f e6 fb 78 	mr      r6,r31                                 
ffc0c484:	4e 80 04 21 	bctrl                                          
ffc0c488:	7c 7a 1b 78 	mr      r26,r3                                 
ffc0c48c:	48 00 00 34 	b       ffc0c4c0 <IMFS_eval_path+0x2b8>        
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
ffc0c490:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c494:	4b ff fc 51 	bl      ffc0c0e4 <IMFS_Set_handlers>           
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
ffc0c498:	7f a4 eb 78 	mr      r4,r29                                 
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
ffc0c49c:	7c 7a 1b 78 	mr      r26,r3                                 
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
ffc0c4a0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c4a4:	4b ff fc b1 	bl      ffc0c154 <IMFS_evaluate_permission>    
ffc0c4a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c4ac:	40 be 00 14 	bne+    cr7,ffc0c4c0 <IMFS_eval_path+0x2b8>    
    rtems_set_errno_and_return_minus_one( EACCES );                   
ffc0c4b0:	48 00 37 d5 	bl      ffc0fc84 <__errno>                     
ffc0c4b4:	38 00 00 0d 	li      r0,13                                  
ffc0c4b8:	90 03 00 00 	stw     r0,0(r3)                               
ffc0c4bc:	3b 40 ff ff 	li      r26,-1                                 
                                                                      
  return result;                                                      
}                                                                     
ffc0c4c0:	39 61 00 58 	addi    r11,r1,88                              
ffc0c4c4:	7f 43 d3 78 	mr      r3,r26                                 
ffc0c4c8:	4b ff 40 68 	b       ffc00530 <_restgpr_26_x>               
                                                                      

ffc0c620 <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 */ ) {
ffc0c620:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc0c624:	7c 08 02 a6 	mflr    r0                                     
ffc0c628:	90 01 00 54 	stw     r0,84(r1)                              
  int               i = 0;                                            
ffc0c62c:	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    */        
                           )                                          
{                                                                     
ffc0c630:	bf 41 00 38 	stmw    r26,56(r1)                             
ffc0c634:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0c638:	7c 9f 23 78 	mr      r31,r4                                 
ffc0c63c:	7c bd 2b 78 	mr      r29,r5                                 
  int               i = 0;                                            
ffc0c640:	90 01 00 10 	stw     r0,16(r1)                              
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
ffc0c644:	3f 60 00 00 	lis     r27,0                                  
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
ffc0c648:	83 84 00 00 	lwz     r28,0(r4)                              
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
ffc0c64c:	48 00 4f 65 	bl      ffc115b0 <strlen>                      
ffc0c650:	90 61 00 08 	stw     r3,8(r1)                               
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
ffc0c654:	80 61 00 10 	lwz     r3,16(r1)                              
ffc0c658:	38 a1 00 14 	addi    r5,r1,20                               
ffc0c65c:	80 81 00 08 	lwz     r4,8(r1)                               
ffc0c660:	38 c1 00 0c 	addi    r6,r1,12                               
ffc0c664:	7c 7e 1a 14 	add     r3,r30,r3                              
ffc0c668:	48 00 03 e9 	bl      ffc0ca50 <IMFS_get_token>              
    pathlen -= len;                                                   
ffc0c66c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0c670:	81 21 00 08 	lwz     r9,8(r1)                               
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
ffc0c674:	7c 7a 1b 78 	mr      r26,r3                                 
    pathlen -= len;                                                   
ffc0c678:	7d 20 48 50 	subf    r9,r0,r9                               
ffc0c67c:	91 21 00 08 	stw     r9,8(r1)                               
    i +=  len;                                                        
ffc0c680:	81 21 00 10 	lwz     r9,16(r1)                              
ffc0c684:	7c 09 02 14 	add     r0,r9,r0                               
ffc0c688:	90 01 00 10 	stw     r0,16(r1)                              
                                                                      
    if ( !pathloc->node_access )                                      
ffc0c68c:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc0c690:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c694:	41 9e 01 e8 	beq-    cr7,ffc0c87c <IMFS_evaluate_for_make+0x25c><== NEVER TAKEN
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
ffc0c698:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c69c:	41 9e 00 24 	beq-    cr7,ffc0c6c0 <IMFS_evaluate_for_make+0xa0>
      if ( node->type == IMFS_DIRECTORY )                             
ffc0c6a0:	80 1c 00 4c 	lwz     r0,76(r28)                             
ffc0c6a4:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0c6a8:	40 be 00 18 	bne+    cr7,ffc0c6c0 <IMFS_evaluate_for_make+0xa0>
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
ffc0c6ac:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c6b0:	38 80 00 01 	li      r4,1                                   
ffc0c6b4:	4b ff fa a1 	bl      ffc0c154 <IMFS_evaluate_permission>    
ffc0c6b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c6bc:	41 9e 02 24 	beq-    cr7,ffc0c8e0 <IMFS_evaluate_for_make+0x2c0>
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
ffc0c6c0:	2f 9a 00 02 	cmpwi   cr7,r26,2                              
    if ( type != IMFS_NO_MORE_PATH )                                  
      if ( node->type == IMFS_DIRECTORY )                             
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
ffc0c6c4:	83 9f 00 00 	lwz     r28,0(r31)                             
                                                                      
    switch( type ) {                                                  
ffc0c6c8:	41 9e 00 2c 	beq-    cr7,ffc0c6f4 <IMFS_evaluate_for_make+0xd4>
ffc0c6cc:	2b 9a 00 02 	cmplwi  cr7,r26,2                              
ffc0c6d0:	41 9d 00 10 	bgt-    cr7,ffc0c6e0 <IMFS_evaluate_for_make+0xc0>
ffc0c6d4:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0c6d8:	41 9e 01 68 	beq-    cr7,ffc0c840 <IMFS_evaluate_for_make+0x220>
ffc0c6dc:	4b ff ff 78 	b       ffc0c654 <IMFS_evaluate_for_make+0x34> 
ffc0c6e0:	2f 9a 00 03 	cmpwi   cr7,r26,3                              
ffc0c6e4:	41 9e 00 70 	beq-    cr7,ffc0c754 <IMFS_evaluate_for_make+0x134>
ffc0c6e8:	2f 9a 00 04 	cmpwi   cr7,r26,4                              
ffc0c6ec:	40 9e ff 68 	bne+    cr7,ffc0c654 <IMFS_evaluate_for_make+0x34><== NEVER TAKEN
ffc0c6f0:	48 00 01 5c 	b       ffc0c84c <IMFS_evaluate_for_make+0x22c>
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
ffc0c6f4:	81 3b 27 3c 	lwz     r9,10044(r27)                          
ffc0c6f8:	80 09 00 18 	lwz     r0,24(r9)                              
ffc0c6fc:	7f 9c 00 00 	cmpw    cr7,r28,r0                             
ffc0c700:	41 be ff 54 	beq-    cr7,ffc0c654 <IMFS_evaluate_for_make+0x34>
ffc0c704:	81 7f 00 10 	lwz     r11,16(r31)                            
                                                                      
        /*                                                            
         * Am I at the root of this mounted filesystem?               
         */                                                           
                                                                      
        if ( rtems_filesystem_is_root_location( pathloc ) ) {         
ffc0c708:	80 0b 00 1c 	lwz     r0,28(r11)                             
ffc0c70c:	7f 80 e0 00 	cmpw    cr7,r0,r28                             
ffc0c710:	40 be 00 2c 	bne+    cr7,ffc0c73c <IMFS_evaluate_for_make+0x11c>
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
          } else {                                                    
            *pathloc = pathloc->mt_entry->mt_point_node;              
ffc0c714:	39 6b 00 08 	addi    r11,r11,8                              
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
ffc0c718:	80 01 00 0c 	lwz     r0,12(r1)                              
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
          } else {                                                    
            *pathloc = pathloc->mt_entry->mt_point_node;              
ffc0c71c:	7c ab a4 aa 	lswi    r5,r11,20                              
ffc0c720:	7c bf a5 aa 	stswi   r5,r31,20                              
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
ffc0c724:	80 61 00 10 	lwz     r3,16(r1)                              
ffc0c728:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc0c72c:	7c 60 18 50 	subf    r3,r0,r3                               
ffc0c730:	7c 7e 1a 14 	add     r3,r30,r3                              
ffc0c734:	80 09 00 04 	lwz     r0,4(r9)                               
ffc0c738:	48 00 00 d0 	b       ffc0c808 <IMFS_evaluate_for_make+0x1e8>
          }                                                           
        } else {                                                      
                                                                      
          if ( !node->Parent )                                        
ffc0c73c:	83 9c 00 08 	lwz     r28,8(r28)                             
ffc0c740:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0c744:	40 be 00 f4 	bne+    cr7,ffc0c838 <IMFS_evaluate_for_make+0x218>
            rtems_set_errno_and_return_minus_one( ENOENT );           
ffc0c748:	48 00 35 3d 	bl      ffc0fc84 <__errno>                     
ffc0c74c:	93 43 00 00 	stw     r26,0(r3)                              
ffc0c750:	48 00 01 9c 	b       ffc0c8ec <IMFS_evaluate_for_make+0x2cc>
        pathloc->node_access = node;                                  
        break;                                                        
                                                                      
      case IMFS_NAME:                                                 
                                                                      
        if ( node->type == IMFS_HARD_LINK ) {                         
ffc0c754:	80 1c 00 4c 	lwz     r0,76(r28)                             
ffc0c758:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0c75c:	41 9e 00 0c 	beq-    cr7,ffc0c768 <IMFS_evaluate_for_make+0x148>
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
ffc0c760:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc0c764:	40 be 00 1c 	bne+    cr7,ffc0c780 <IMFS_evaluate_for_make+0x160>
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
ffc0c768:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c76c:	38 80 00 00 	li      r4,0                                   
ffc0c770:	4b ff fd f5 	bl      ffc0c564 <IMFS_evaluate_link>          
                                                                      
          if ( result == -1 )                                         
ffc0c774:	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 );                  
ffc0c778:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
          if ( result == -1 )                                         
ffc0c77c:	41 9e 01 74 	beq-    cr7,ffc0c8f0 <IMFS_evaluate_for_make+0x2d0><== NEVER TAKEN
            return -1;                                                
        }                                                             
                                                                      
        node = pathloc->node_access;                                  
ffc0c780:	80 7f 00 00 	lwz     r3,0(r31)                              
        if ( !node )                                                  
ffc0c784:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c788:	41 9e 01 38 	beq-    cr7,ffc0c8c0 <IMFS_evaluate_for_make+0x2a0><== NEVER TAKEN
                                                                      
        /*                                                            
         * Only a directory can be decended into.                     
         */                                                           
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
ffc0c78c:	80 03 00 4c 	lwz     r0,76(r3)                              
ffc0c790:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0c794:	40 9e 01 2c 	bne-    cr7,ffc0c8c0 <IMFS_evaluate_for_make+0x2a0>
                                                                      
        /*                                                            
         * Find the token name in the present location.               
         */                                                           
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
ffc0c798:	38 81 00 14 	addi    r4,r1,20                               
ffc0c79c:	48 00 02 21 	bl      ffc0c9bc <IMFS_find_match_in_dir>      
        /*                                                            
         * If there is no node we have found the name of the node we  
         * wish to create.                                            
         */                                                           
                                                                      
        if ( ! node )                                                 
ffc0c7a0:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc0c7a4:	41 82 00 b4 	beq-    ffc0c858 <IMFS_evaluate_for_make+0x238>
          done = true;                                                
        else {                                                        
        if (( node->type == IMFS_DIRECTORY ) && ( node->info.directory.mt_fs != NULL )) {
ffc0c7a8:	80 1c 00 4c 	lwz     r0,76(r28)                             
ffc0c7ac:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0c7b0:	40 be 00 88 	bne+    cr7,ffc0c838 <IMFS_evaluate_for_make+0x218>
ffc0c7b4:	80 1c 00 5c 	lwz     r0,92(r28)                             
ffc0c7b8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c7bc:	41 9e 00 7c 	beq-    cr7,ffc0c838 <IMFS_evaluate_for_make+0x218>
            IMFS_skip_separator( path, &pathlen, &i);                 
ffc0c7c0:	7f c3 f3 78 	mr      r3,r30                                 
ffc0c7c4:	38 81 00 08 	addi    r4,r1,8                                
ffc0c7c8:	38 a1 00 10 	addi    r5,r1,16                               
ffc0c7cc:	4b ff f8 ad 	bl      ffc0c078 <IMFS_skip_separator>         
            if ((path[i] != '.') || (path[i + 1] != '.')) {           
ffc0c7d0:	81 21 00 10 	lwz     r9,16(r1)                              
ffc0c7d4:	7c 1e 48 ae 	lbzx    r0,r30,r9                              
ffc0c7d8:	7c 7e 4a 14 	add     r3,r30,r9                              
ffc0c7dc:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc0c7e0:	40 9e 00 10 	bne-    cr7,ffc0c7f0 <IMFS_evaluate_for_make+0x1d0>
ffc0c7e4:	88 03 00 01 	lbz     r0,1(r3)                               
ffc0c7e8:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc0c7ec:	41 be 00 34 	beq+    cr7,ffc0c820 <IMFS_evaluate_for_make+0x200><== ALWAYS TAKEN
              *pathloc = node->info.directory.mt_fs->mt_fs_root;      
ffc0c7f0:	81 7c 00 5c 	lwz     r11,92(r28)                            
ffc0c7f4:	39 6b 00 1c 	addi    r11,r11,28                             
ffc0c7f8:	7c ab a4 aa 	lswi    r5,r11,20                              
ffc0c7fc:	7c bf a5 aa 	stswi   r5,r31,20                              
              return (*pathloc->ops->evalformake_h)( &path[i],        
ffc0c800:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc0c804:	80 09 00 04 	lwz     r0,4(r9)                               
ffc0c808:	7f e4 fb 78 	mr      r4,r31                                 
ffc0c80c:	7c 09 03 a6 	mtctr   r0                                     
ffc0c810:	7f a5 eb 78 	mr      r5,r29                                 
ffc0c814:	4e 80 04 21 	bctrl                                          
ffc0c818:	7c 7c 1b 78 	mr      r28,r3                                 
ffc0c81c:	48 00 00 d4 	b       ffc0c8f0 <IMFS_evaluate_for_make+0x2d0>
                                                     pathloc,         
                                                     name );          
            }                                                         
            i += 2;                                                   
ffc0c820:	39 29 00 02 	addi    r9,r9,2                                
            pathlen -= 2;                                             
            node = node->Parent;                                      
ffc0c824:	83 9c 00 08 	lwz     r28,8(r28)                             
              *pathloc = node->info.directory.mt_fs->mt_fs_root;      
              return (*pathloc->ops->evalformake_h)( &path[i],        
                                                     pathloc,         
                                                     name );          
            }                                                         
            i += 2;                                                   
ffc0c828:	91 21 00 10 	stw     r9,16(r1)                              
            pathlen -= 2;                                             
ffc0c82c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc0c830:	38 09 ff fe 	addi    r0,r9,-2                               
ffc0c834:	90 01 00 08 	stw     r0,8(r1)                               
            node = node->Parent;                                      
          }                                                           
          pathloc->node_access = node;                                
ffc0c838:	93 9f 00 00 	stw     r28,0(r31)                             
ffc0c83c:	4b ff fe 18 	b       ffc0c654 <IMFS_evaluate_for_make+0x34> 
        }                                                             
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
ffc0c840:	48 00 34 45 	bl      ffc0fc84 <__errno>                     
ffc0c844:	38 00 00 11 	li      r0,17                                  
ffc0c848:	48 00 00 a0 	b       ffc0c8e8 <IMFS_evaluate_for_make+0x2c8>
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
ffc0c84c:	48 00 34 39 	bl      ffc0fc84 <__errno>                     
ffc0c850:	38 00 00 5b 	li      r0,91                                  
ffc0c854:	48 00 00 94 	b       ffc0c8e8 <IMFS_evaluate_for_make+0x2c8>
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
ffc0c858:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0c85c:	81 21 00 10 	lwz     r9,16(r1)                              
ffc0c860:	7c 00 48 50 	subf    r0,r0,r9                               
ffc0c864:	7c 1e 02 14 	add     r0,r30,r0                              
ffc0c868:	90 1d 00 00 	stw     r0,0(r29)                              
  /*                                                                  
   * 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++) {                                      
ffc0c86c:	48 00 00 28 	b       ffc0c894 <IMFS_evaluate_for_make+0x274>
    if ( !IMFS_is_separator( path[ i ] ) )                            
ffc0c870:	4b ff 91 05 	bl      ffc05974 <rtems_filesystem_is_separator>
ffc0c874:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c878:	40 be 00 10 	bne+    cr7,ffc0c888 <IMFS_evaluate_for_make+0x268>
      rtems_set_errno_and_return_minus_one( ENOENT );                 
ffc0c87c:	48 00 34 09 	bl      ffc0fc84 <__errno>                     
ffc0c880:	38 00 00 02 	li      r0,2                                   
ffc0c884:	48 00 00 64 	b       ffc0c8e8 <IMFS_evaluate_for_make+0x2c8>
  /*                                                                  
   * 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++) {                                      
ffc0c888:	81 21 00 10 	lwz     r9,16(r1)                              
ffc0c88c:	38 09 00 01 	addi    r0,r9,1                                
ffc0c890:	90 01 00 10 	stw     r0,16(r1)                              
ffc0c894:	80 01 00 10 	lwz     r0,16(r1)                              
ffc0c898:	7c 7e 00 ae 	lbzx    r3,r30,r0                              
ffc0c89c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c8a0:	40 9e ff d0 	bne+    cr7,ffc0c870 <IMFS_evaluate_for_make+0x250>
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
ffc0c8a4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c8a8:	4b ff f8 3d 	bl      ffc0c0e4 <IMFS_Set_handlers>           
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
ffc0c8ac:	81 3f 00 00 	lwz     r9,0(r31)                              
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
ffc0c8b0:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
ffc0c8b4:	80 09 00 4c 	lwz     r0,76(r9)                              
ffc0c8b8:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0c8bc:	41 be 00 10 	beq+    cr7,ffc0c8cc <IMFS_evaluate_for_make+0x2ac><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc0c8c0:	48 00 33 c5 	bl      ffc0fc84 <__errno>                     
ffc0c8c4:	38 00 00 14 	li      r0,20                                  
ffc0c8c8:	48 00 00 20 	b       ffc0c8e8 <IMFS_evaluate_for_make+0x2c8>
                                                                      
  /*                                                                  
   * We must have Write and execute permission on the returned node.  
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
ffc0c8cc:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c8d0:	38 80 00 03 	li      r4,3                                   
ffc0c8d4:	4b ff f8 81 	bl      ffc0c154 <IMFS_evaluate_permission>    
ffc0c8d8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c8dc:	40 be 00 14 	bne+    cr7,ffc0c8f0 <IMFS_evaluate_for_make+0x2d0>
    rtems_set_errno_and_return_minus_one( EACCES );                   
ffc0c8e0:	48 00 33 a5 	bl      ffc0fc84 <__errno>                     
ffc0c8e4:	38 00 00 0d 	li      r0,13                                  
ffc0c8e8:	90 03 00 00 	stw     r0,0(r3)                               
ffc0c8ec:	3b 80 ff ff 	li      r28,-1                                 
                                                                      
  return result;                                                      
}                                                                     
ffc0c8f0:	39 61 00 50 	addi    r11,r1,80                              
ffc0c8f4:	7f 83 e3 78 	mr      r3,r28                                 
ffc0c8f8:	4b ff 3c 38 	b       ffc00530 <_restgpr_26_x>               
                                                                      

ffc0c154 <IMFS_evaluate_permission>: */ int IMFS_evaluate_permission( rtems_filesystem_location_info_t *node, int flags ) {
ffc0c154:	7c 08 02 a6 	mflr    r0                                     
ffc0c158:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0c15c:	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 ) )                         
ffc0c160:	54 80 00 39 	rlwinm. r0,r4,0,0,28                           
ffc0c164:	41 a2 00 18 	beq+    ffc0c17c <IMFS_evaluate_permission+0x28><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EPERM );                    
ffc0c168:	48 00 3b 1d 	bl      ffc0fc84 <__errno>                     <== NOT EXECUTED
ffc0c16c:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0c170:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc0c174:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc0c178:	48 00 00 20 	b       ffc0c198 <IMFS_evaluate_permission+0x44><== NOT EXECUTED
                                                                      
  /*                                                                  
   * If all of the flags are set we have permission                   
   * to do this.                                                      
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
ffc0c17c:	81 23 00 00 	lwz     r9,0(r3)                               
   */                                                                 
                                                                      
  flags_to_test = flags;                                              
                                                                      
  if ( st_uid == jnode->st_uid )                                      
    flags_to_test <<= 6;                                              
ffc0c180:	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 )           
ffc0c184:	80 69 00 30 	lwz     r3,48(r9)                              
ffc0c188:	7c 83 18 38 	and     r3,r4,r3                               
    return 1;                                                         
ffc0c18c:	7c 63 22 78 	xor     r3,r3,r4                               
ffc0c190:	7c 63 00 34 	cntlzw  r3,r3                                  
ffc0c194:	54 63 d9 7e 	rlwinm  r3,r3,27,5,31                          
                                                                      
  return 0;                                                           
}                                                                     
ffc0c198:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0c19c:	38 21 00 08 	addi    r1,r1,8                                
ffc0c1a0:	7c 08 03 a6 	mtlr    r0                                     
ffc0c1a4:	4e 80 00 20 	blr                                            
                                                                      

ffc04e44 <IMFS_fifo_lseek>: rtems_off64_t IMFS_fifo_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
ffc04e44:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc04e48:	7c 08 02 a6 	mflr    r0                                     
ffc04e4c:	7c 68 1b 78 	mr      r8,r3                                  
ffc04e50:	90 01 00 14 	stw     r0,20(r1)                              
ffc04e54:	bf c1 00 08 	stmw    r30,8(r1)                              
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
ffc04e58:	81 23 00 1c 	lwz     r9,28(r3)                              
ffc04e5c:	80 69 00 50 	lwz     r3,80(r9)                              
ffc04e60:	48 00 a3 19 	bl      ffc0f178 <pipe_lseek>                  
ffc04e64:	7c 7e fe 70 	srawi   r30,r3,31                              
  IMFS_FIFO_RETURN(err);                                              
ffc04e68:	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);       
ffc04e6c:	7c 7f 1b 78 	mr      r31,r3                                 
  IMFS_FIFO_RETURN(err);                                              
ffc04e70:	40 bc 00 18 	bge+    cr7,ffc04e88 <IMFS_fifo_lseek+0x44>    <== NEVER TAKEN
ffc04e74:	48 00 c5 8d 	bl      ffc11400 <__errno>                     
ffc04e78:	7c 1f 00 d0 	neg     r0,r31                                 
ffc04e7c:	90 03 00 00 	stw     r0,0(r3)                               
ffc04e80:	3b c0 ff ff 	li      r30,-1                                 
ffc04e84:	3b e0 ff ff 	li      r31,-1                                 
}                                                                     
ffc04e88:	39 61 00 10 	addi    r11,r1,16                              
ffc04e8c:	7f c3 f3 78 	mr      r3,r30                                 
ffc04e90:	7f e4 fb 78 	mr      r4,r31                                 
ffc04e94:	48 01 ad 20 	b       ffc1fbb4 <_restgpr_30_x>               
                                                                      

ffc04e98 <IMFS_fifo_write>: ssize_t IMFS_fifo_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
ffc04e98:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc04e9c:	7c 08 02 a6 	mflr    r0                                     
ffc04ea0:	7c 66 1b 78 	mr      r6,r3                                  
ffc04ea4:	90 01 00 24 	stw     r0,36(r1)                              
ffc04ea8:	bf c1 00 18 	stmw    r30,24(r1)                             
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
ffc04eac:	83 e3 00 1c 	lwz     r31,28(r3)                             
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
ffc04eb0:	80 7f 00 50 	lwz     r3,80(r31)                             
ffc04eb4:	48 00 a0 89 	bl      ffc0ef3c <pipe_write>                  
  if (err > 0) {                                                      
ffc04eb8:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc04ebc:	40 81 00 20 	ble-    ffc04edc <IMFS_fifo_write+0x44>        
    IMFS_mtime_ctime_update(jnode);                                   
ffc04ec0:	38 61 00 08 	addi    r3,r1,8                                
ffc04ec4:	38 80 00 00 	li      r4,0                                   
ffc04ec8:	48 00 12 65 	bl      ffc0612c <gettimeofday>                
ffc04ecc:	80 01 00 08 	lwz     r0,8(r1)                               
ffc04ed0:	90 1f 00 44 	stw     r0,68(r31)                             
ffc04ed4:	90 1f 00 48 	stw     r0,72(r31)                             
ffc04ed8:	48 00 00 18 	b       ffc04ef0 <IMFS_fifo_write+0x58>        
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
ffc04edc:	41 a2 00 14 	beq+    ffc04ef0 <IMFS_fifo_write+0x58>        <== NEVER TAKEN
ffc04ee0:	7f de 00 d0 	neg     r30,r30                                
ffc04ee4:	48 00 c5 1d 	bl      ffc11400 <__errno>                     
ffc04ee8:	93 c3 00 00 	stw     r30,0(r3)                              
ffc04eec:	3b c0 ff ff 	li      r30,-1                                 
}                                                                     
ffc04ef0:	39 61 00 20 	addi    r11,r1,32                              
ffc04ef4:	7f c3 f3 78 	mr      r3,r30                                 
ffc04ef8:	48 01 ac bc 	b       ffc1fbb4 <_restgpr_30_x>               
                                                                      

ffc0c9bc <IMFS_find_match_in_dir>: IMFS_jnode_t *IMFS_find_match_in_dir( IMFS_jnode_t *directory, char *name ) {
ffc0c9bc:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0c9c0:	7c 08 02 a6 	mflr    r0                                     
ffc0c9c4:	bf a1 00 0c 	stmw    r29,12(r1)                             
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
ffc0c9c8:	3f c0 ff c2 	lis     r30,-62                                
ffc0c9cc:	3b de c5 38 	addi    r30,r30,-15048                         
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
ffc0c9d0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0c9d4:	90 01 00 1c 	stw     r0,28(r1)                              
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
ffc0c9d8:	7c 83 23 78 	mr      r3,r4                                  
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
ffc0c9dc:	7c 9d 23 78 	mr      r29,r4                                 
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
ffc0c9e0:	7f c4 f3 78 	mr      r4,r30                                 
ffc0c9e4:	48 00 45 f1 	bl      ffc10fd4 <strcmp>                      
ffc0c9e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c9ec:	41 9e 00 58 	beq-    cr7,ffc0ca44 <IMFS_find_match_in_dir+0x88><== NEVER TAKEN
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
ffc0c9f0:	7f a3 eb 78 	mr      r3,r29                                 
ffc0c9f4:	38 9e 00 04 	addi    r4,r30,4                               
ffc0c9f8:	48 00 45 dd 	bl      ffc10fd4 <strcmp>                      
ffc0c9fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ca00:	40 be 00 0c 	bne+    cr7,ffc0ca0c <IMFS_find_match_in_dir+0x50><== ALWAYS TAKEN
    return directory->Parent;                                         
ffc0ca04:	83 ff 00 08 	lwz     r31,8(r31)                             <== NOT EXECUTED
ffc0ca08:	48 00 00 3c 	b       ffc0ca44 <IMFS_find_match_in_dir+0x88> <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0ca0c:	83 df 00 50 	lwz     r30,80(r31)                            
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
ffc0ca10:	3b ff 00 54 	addi    r31,r31,84                             
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
ffc0ca14:	48 00 00 1c 	b       ffc0ca30 <IMFS_find_match_in_dir+0x74> 
        !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 ) )                           
ffc0ca18:	7f a3 eb 78 	mr      r3,r29                                 
ffc0ca1c:	38 9e 00 0c 	addi    r4,r30,12                              
ffc0ca20:	48 00 45 b5 	bl      ffc10fd4 <strcmp>                      
ffc0ca24:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ca28:	41 9e 00 18 	beq-    cr7,ffc0ca40 <IMFS_find_match_in_dir+0x84>
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
ffc0ca2c:	83 de 00 00 	lwz     r30,0(r30)                             
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
ffc0ca30:	7f 9e f8 00 	cmpw    cr7,r30,r31                            
ffc0ca34:	40 9e ff e4 	bne+    cr7,ffc0ca18 <IMFS_find_match_in_dir+0x5c>
                                                                      
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
ffc0ca38:	3b e0 00 00 	li      r31,0                                  
ffc0ca3c:	48 00 00 08 	b       ffc0ca44 <IMFS_find_match_in_dir+0x88> 
        !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 ) )                           
ffc0ca40:	7f df f3 78 	mr      r31,r30                                
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0ca44:	39 61 00 18 	addi    r11,r1,24                              
ffc0ca48:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ca4c:	4b ff 3a f0 	b       ffc0053c <_restgpr_29_x>               
                                                                      

ffc0c8fc <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 ) {
ffc0c8fc:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0c900:	7c 08 02 a6 	mflr    r0                                     
   /*                                                                 
    * 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;     
ffc0c904:	7c 6b 1b 78 	mr      r11,r3                                 
    ((IMFS_jnode_t *)( rtems_chain_head( jnode_get_control( jnode ) )->next))
                                                                      
int IMFS_fsunmount(                                                   
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
ffc0c908:	90 01 00 3c 	stw     r0,60(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;                                   
ffc0c90c:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
ffc0c910:	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                 
)                                                                     
{                                                                     
ffc0c914:	bf a1 00 2c 	stmw    r29,44(r1)                             
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
ffc0c918:	7c 9e 23 78 	mr      r30,r4                                 
   /*                                                                 
    * 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;     
ffc0c91c:	87 eb 00 1c 	lwzu    r31,28(r11)                            
   loc = temp_mt_entry->mt_fs_root;                                   
ffc0c920:	7c ab a4 aa 	lswi    r5,r11,20                              
ffc0c924:	7c a4 a5 aa 	stswi   r5,r4,20                               
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
ffc0c928:	90 03 00 1c 	stw     r0,28(r3)                              
ffc0c92c:	48 00 00 08 	b       ffc0c934 <IMFS_fsunmount+0x38>         
       if ( jnode->type == IMFS_DIRECTORY ) {                         
         if ( jnode_has_children( jnode ) )                           
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
ffc0c930:	7c 1f 03 78 	mr      r31,r0                                 
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
ffc0c934:	7f c3 f3 78 	mr      r3,r30                                 
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
ffc0c938:	83 bf 00 08 	lwz     r29,8(r31)                             
     loc.node_access = (void *)jnode;                                 
ffc0c93c:	93 e1 00 08 	stw     r31,8(r1)                              
     IMFS_Set_handlers( &loc );                                       
ffc0c940:	4b ff f7 a5 	bl      ffc0c0e4 <IMFS_Set_handlers>           
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
ffc0c944:	80 1f 00 4c 	lwz     r0,76(r31)                             
ffc0c948:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0c94c:	40 9e 00 14 	bne-    cr7,ffc0c960 <IMFS_fsunmount+0x64>     
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
ffc0c950:	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 );                            
ffc0c954:	38 1f 00 54 	addi    r0,r31,84                              
ffc0c958:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0c95c:	40 be 00 1c 	bne+    cr7,ffc0c978 <IMFS_fsunmount+0x7c>     
        result = IMFS_unlink( NULL, &loc );                           
ffc0c960:	38 60 00 00 	li      r3,0                                   
ffc0c964:	7f c4 f3 78 	mr      r4,r30                                 
ffc0c968:	4b ff 77 25 	bl      ffc0408c <IMFS_unlink>                 
        if (result != 0)                                              
ffc0c96c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c970:	40 9e 00 38 	bne-    cr7,ffc0c9a8 <IMFS_fsunmount+0xac>     <== NEVER TAKEN
          return -1;                                                  
        jnode = next;                                                 
ffc0c974:	7f bf eb 78 	mr      r31,r29                                
     }                                                                
     if ( jnode != NULL ) {                                           
ffc0c978:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0c97c:	41 9e 00 34 	beq-    cr7,ffc0c9b0 <IMFS_fsunmount+0xb4>     
       if ( jnode->type == IMFS_DIRECTORY ) {                         
ffc0c980:	80 1f 00 4c 	lwz     r0,76(r31)                             
ffc0c984:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0c988:	40 9e ff ac 	bne+    cr7,ffc0c934 <IMFS_fsunmount+0x38>     <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc0c98c:	80 1f 00 50 	lwz     r0,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 );                            
ffc0c990:	39 3f 00 54 	addi    r9,r31,84                              
         if ( jnode_has_children( jnode ) )                           
ffc0c994:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc0c998:	41 be ff 9c 	beq-    cr7,ffc0c934 <IMFS_fsunmount+0x38>     
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
ffc0c99c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c9a0:	40 9e ff 90 	bne+    cr7,ffc0c930 <IMFS_fsunmount+0x34>     <== ALWAYS TAKEN
ffc0c9a4:	48 00 00 0c 	b       ffc0c9b0 <IMFS_fsunmount+0xb4>         <== NOT EXECUTED
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
ffc0c9a8:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc0c9ac:	48 00 00 08 	b       ffc0c9b4 <IMFS_fsunmount+0xb8>         <== NOT EXECUTED
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
                                                                      
   return 0;                                                          
ffc0c9b0:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0c9b4:	39 61 00 38 	addi    r11,r1,56                              
ffc0c9b8:	4b ff 3b 84 	b       ffc0053c <_restgpr_29_x>               
                                                                      

ffc0ca50 <IMFS_get_token>: const char *path, int pathlen, char *token, int *token_len ) {
ffc0ca50:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0ca54:	7c 08 02 a6 	mflr    r0                                     
ffc0ca58:	bf 41 00 08 	stmw    r26,8(r1)                              
ffc0ca5c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0ca60:	7c 9d 23 78 	mr      r29,r4                                 
ffc0ca64:	90 01 00 24 	stw     r0,36(r1)                              
ffc0ca68:	7c be 2b 78 	mr      r30,r5                                 
ffc0ca6c:	7c da 33 78 	mr      r26,r6                                 
  register char c;                                                    
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
ffc0ca70:	8b 63 00 00 	lbz     r27,0(r3)                              
  int               pathlen,                                          
  char             *token,                                            
  int              *token_len                                         
)                                                                     
{                                                                     
  register int i = 0;                                                 
ffc0ca74:	3b 80 00 00 	li      r28,0                                  
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
ffc0ca78:	48 00 00 18 	b       ffc0ca90 <IMFS_get_token+0x40>         
                                                                      
     token[i] = c;                                                    
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
ffc0ca7c:	2f 9c 00 20 	cmpwi   cr7,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) ) {
                                                                      
     token[i] = c;                                                    
ffc0ca80:	7f 7e e1 ae 	stbx    r27,r30,r28                            
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
ffc0ca84:	41 9e 00 b4 	beq-    cr7,ffc0cb38 <IMFS_get_token+0xe8>     
       return IMFS_INVALID_TOKEN;                                     
                                                                      
     if ( !IMFS_is_valid_name_char(c) )                               
       type = IMFS_INVALID_TOKEN;                                     
                                                                      
     c = path [++i];                                                  
ffc0ca88:	3b 9c 00 01 	addi    r28,r28,1                              
ffc0ca8c:	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) ) {
ffc0ca90:	7f 63 db 78 	mr      r3,r27                                 
ffc0ca94:	4b ff 8e e1 	bl      ffc05974 <rtems_filesystem_is_separator>
ffc0ca98:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ca9c:	40 9e 00 0c 	bne-    cr7,ffc0caa8 <IMFS_get_token+0x58>     
ffc0caa0:	7f 9c e8 00 	cmpw    cr7,r28,r29                            
ffc0caa4:	41 9c ff d8 	blt+    cr7,ffc0ca7c <IMFS_get_token+0x2c>     
                                                                      
  /*                                                                  
   *  Copy a seperator into token.                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
ffc0caa8:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0caac:	40 9e 00 30 	bne-    cr7,ffc0cadc <IMFS_get_token+0x8c>     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
ffc0cab0:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
  /*                                                                  
   *  Copy a seperator into token.                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
ffc0cab4:	9b 7e 00 00 	stb     r27,0(r30)                             
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
ffc0cab8:	3b e0 00 00 	li      r31,0                                  
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
ffc0cabc:	41 9e 00 3c 	beq-    cr7,ffc0caf8 <IMFS_get_token+0xa8>     
ffc0cac0:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
ffc0cac4:	3b e0 00 01 	li      r31,1                                  
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
      i++;                                                            
ffc0cac8:	3b 80 00 01 	li      r28,1                                  
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
ffc0cacc:	40 9e 00 2c 	bne-    cr7,ffc0caf8 <IMFS_get_token+0xa8>     
ffc0cad0:	3b 80 00 00 	li      r28,0                                  
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
ffc0cad4:	3b e0 00 00 	li      r31,0                                  
ffc0cad8:	48 00 00 20 	b       ffc0caf8 <IMFS_get_token+0xa8>         
    }                                                                 
  } else if (token[ i-1 ] != '\0') {                                  
ffc0cadc:	7d 3e e2 14 	add     r9,r30,r28                             
ffc0cae0:	88 09 ff ff 	lbz     r0,-1(r9)                              
  char             *token,                                            
  int              *token_len                                         
)                                                                     
{                                                                     
  register int i = 0;                                                 
  IMFS_token_types  type = IMFS_NAME;                                 
ffc0cae4:	3b e0 00 03 	li      r31,3                                  
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
    }                                                                 
  } else if (token[ i-1 ] != '\0') {                                  
ffc0cae8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0caec:	41 9e 00 0c 	beq-    cr7,ffc0caf8 <IMFS_get_token+0xa8>     <== NEVER TAKEN
    token[i] = '\0';                                                  
ffc0caf0:	38 00 00 00 	li      r0,0                                   
ffc0caf4:	7c 1e e1 ae 	stbx    r0,r30,r28                             
  /*                                                                  
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
ffc0caf8:	2f 9f 00 03 	cmpwi   cr7,r31,3                              
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
ffc0cafc:	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 ) {                                          
ffc0cb00:	40 be 00 4c 	bne+    cr7,ffc0cb4c <IMFS_get_token+0xfc>     
    if ( strcmp( token, "..") == 0 )                                  
ffc0cb04:	3c 80 ff c2 	lis     r4,-62                                 
ffc0cb08:	7f c3 f3 78 	mr      r3,r30                                 
ffc0cb0c:	38 84 c5 3f 	addi    r4,r4,-15041                           
ffc0cb10:	48 00 44 c5 	bl      ffc10fd4 <strcmp>                      
ffc0cb14:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0cb18:	41 9e 00 28 	beq-    cr7,ffc0cb40 <IMFS_get_token+0xf0>     
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
ffc0cb1c:	3c 80 ff c2 	lis     r4,-62                                 
ffc0cb20:	7f c3 f3 78 	mr      r3,r30                                 
ffc0cb24:	38 84 c5 40 	addi    r4,r4,-15040                           
ffc0cb28:	48 00 44 ad 	bl      ffc10fd4 <strcmp>                      
ffc0cb2c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0cb30:	41 9e 00 18 	beq-    cr7,ffc0cb48 <IMFS_get_token+0xf8>     
ffc0cb34:	48 00 00 18 	b       ffc0cb4c <IMFS_get_token+0xfc>         
  while ( (!IMFS_is_separator(c)) && (i < pathlen) && (i <= IMFS_NAME_MAX) ) {
                                                                      
     token[i] = c;                                                    
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
       return IMFS_INVALID_TOKEN;                                     
ffc0cb38:	3b e0 00 04 	li      r31,4                                  
ffc0cb3c:	48 00 00 10 	b       ffc0cb4c <IMFS_get_token+0xfc>         
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
      type = IMFS_UP_DIR;                                             
ffc0cb40:	3b e0 00 02 	li      r31,2                                  
ffc0cb44:	48 00 00 08 	b       ffc0cb4c <IMFS_get_token+0xfc>         
    else if ( strcmp( token, "." ) == 0 )                             
      type = IMFS_CURRENT_DIR;                                        
ffc0cb48:	3b e0 00 01 	li      r31,1                                  
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
ffc0cb4c:	39 61 00 20 	addi    r11,r1,32                              
ffc0cb50:	7f e3 fb 78 	mr      r3,r31                                 
ffc0cb54:	4b ff 39 dc 	b       ffc00530 <_restgpr_26_x>               
                                                                      

ffc0eb1c <IMFS_memfile_extend>: */ MEMFILE_STATIC int IMFS_memfile_extend( IMFS_jnode_t *the_jnode, off_t new_length ) {
ffc0eb1c:	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 )                      
ffc0eb20:	3d 20 00 00 	lis     r9,0                                   
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc0eb24:	7c 08 02 a6 	mflr    r0                                     
ffc0eb28:	bf 01 00 18 	stmw    r24,24(r1)                             
ffc0eb2c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0eb30:	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 )                      
ffc0eb34:	83 c9 27 a4 	lwz     r30,10148(r9)                          
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc0eb38:	7c dd 33 78 	mr      r29,r6                                 
ffc0eb3c:	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 )                      
ffc0eb40:	57 c9 f0 be 	rlwinm  r9,r30,30,2,31                         
ffc0eb44:	39 69 00 01 	addi    r11,r9,1                               
ffc0eb48:	7d 6b 49 d6 	mullw   r11,r11,r9                             
ffc0eb4c:	38 0b 00 01 	addi    r0,r11,1                               
ffc0eb50:	7d 20 49 d6 	mullw   r9,r0,r9                               
ffc0eb54:	38 00 00 00 	li      r0,0                                   
ffc0eb58:	7f 80 28 00 	cmpw    cr7,r0,r5                              
ffc0eb5c:	39 29 ff ff 	addi    r9,r9,-1                               
ffc0eb60:	7d 29 f1 d6 	mullw   r9,r9,r30                              
ffc0eb64:	41 bd 00 1c 	bgt+    cr7,ffc0eb80 <IMFS_memfile_extend+0x64>
ffc0eb68:	40 9e 00 0c 	bne-    cr7,ffc0eb74 <IMFS_memfile_extend+0x58><== NEVER TAKEN
ffc0eb6c:	7f 89 30 40 	cmplw   cr7,r9,r6                              
ffc0eb70:	41 bd 00 10 	bgt+    cr7,ffc0eb80 <IMFS_memfile_extend+0x64>
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc0eb74:	48 00 11 11 	bl      ffc0fc84 <__errno>                     
ffc0eb78:	38 00 00 16 	li      r0,22                                  
ffc0eb7c:	48 00 00 94 	b       ffc0ec10 <IMFS_memfile_extend+0xf4>    
                                                                      
  /*                                                                  
   *  Verify new file size is actually larger than current size       
   */                                                                 
  if ( new_length <= the_jnode->info.file.size )                      
ffc0eb80:	83 3f 00 50 	lwz     r25,80(r31)                            
ffc0eb84:	83 5f 00 54 	lwz     r26,84(r31)                            
ffc0eb88:	7f 9c c8 00 	cmpw    cr7,r28,r25                            
ffc0eb8c:	41 bd 00 10 	bgt+    cr7,ffc0eb9c <IMFS_memfile_extend+0x80><== NEVER TAKEN
ffc0eb90:	40 9e 00 c8 	bne-    cr7,ffc0ec58 <IMFS_memfile_extend+0x13c>
ffc0eb94:	7f 9d d0 40 	cmplw   cr7,r29,r26                            
ffc0eb98:	40 9d 00 c0 	ble-    cr7,ffc0ec58 <IMFS_memfile_extend+0x13c>
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
ffc0eb9c:	7f db fe 70 	srawi   r27,r30,31                             
ffc0eba0:	7f 65 db 78 	mr      r5,r27                                 
ffc0eba4:	7f c6 f3 78 	mr      r6,r30                                 
ffc0eba8:	7f 83 e3 78 	mr      r3,r28                                 
ffc0ebac:	7f a4 eb 78 	mr      r4,r29                                 
ffc0ebb0:	48 00 a8 09 	bl      ffc193b8 <__divdi3>                    
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
ffc0ebb4:	7f 65 db 78 	mr      r5,r27                                 
ffc0ebb8:	7f c6 f3 78 	mr      r6,r30                                 
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
ffc0ebbc:	7c 98 23 78 	mr      r24,r4                                 
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
ffc0ebc0:	7f 23 cb 78 	mr      r3,r25                                 
ffc0ebc4:	7f 44 d3 78 	mr      r4,r26                                 
ffc0ebc8:	48 00 a7 f1 	bl      ffc193b8 <__divdi3>                    
ffc0ebcc:	7c 9b 23 78 	mr      r27,r4                                 
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
ffc0ebd0:	7c 9e 23 78 	mr      r30,r4                                 
ffc0ebd4:	48 00 00 4c 	b       ffc0ec20 <IMFS_memfile_extend+0x104>   
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
ffc0ebd8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ebdc:	7f c4 f3 78 	mr      r4,r30                                 
ffc0ebe0:	4b ff fc e9 	bl      ffc0e8c8 <IMFS_memfile_addblock>       
ffc0ebe4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ebe8:	41 be 00 34 	beq+    cr7,ffc0ec1c <IMFS_memfile_extend+0x100>
ffc0ebec:	48 00 00 14 	b       ffc0ec00 <IMFS_memfile_extend+0xe4>    
       for ( ; block>=old_blocks ; block-- ) {                        
         IMFS_memfile_remove_block( the_jnode, block );               
ffc0ebf0:	7f c4 f3 78 	mr      r4,r30                                 
ffc0ebf4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ebf8:	4b ff fe e9 	bl      ffc0eae0 <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-- ) {                        
ffc0ebfc:	3b de ff ff 	addi    r30,r30,-1                             
ffc0ec00:	7f 9e d8 40 	cmplw   cr7,r30,r27                            
ffc0ec04:	40 9c ff ec 	bge+    cr7,ffc0ebf0 <IMFS_memfile_extend+0xd4>
         IMFS_memfile_remove_block( the_jnode, block );               
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
ffc0ec08:	48 00 10 7d 	bl      ffc0fc84 <__errno>                     
ffc0ec0c:	38 00 00 1c 	li      r0,28                                  
ffc0ec10:	90 03 00 00 	stw     r0,0(r3)                               
ffc0ec14:	38 60 ff ff 	li      r3,-1                                  
ffc0ec18:	48 00 00 44 	b       ffc0ec5c <IMFS_memfile_extend+0x140>   
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
ffc0ec1c:	3b de 00 01 	addi    r30,r30,1                              
ffc0ec20:	7f 9e c0 40 	cmplw   cr7,r30,r24                            
ffc0ec24:	40 9d ff b4 	ble+    cr7,ffc0ebd8 <IMFS_memfile_extend+0xbc>
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
ffc0ec28:	93 9f 00 50 	stw     r28,80(r31)                            
                                                                      
  IMFS_update_ctime(the_jnode);                                       
ffc0ec2c:	38 80 00 00 	li      r4,0                                   
ffc0ec30:	38 61 00 08 	addi    r3,r1,8                                
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
ffc0ec34:	93 bf 00 54 	stw     r29,84(r31)                            
                                                                      
  IMFS_update_ctime(the_jnode);                                       
ffc0ec38:	4b ff 5d d9 	bl      ffc04a10 <gettimeofday>                
ffc0ec3c:	80 01 00 08 	lwz     r0,8(r1)                               
  IMFS_update_mtime(the_jnode);                                       
ffc0ec40:	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);                                       
ffc0ec44:	90 1f 00 48 	stw     r0,72(r31)                             
  IMFS_update_mtime(the_jnode);                                       
ffc0ec48:	38 80 00 00 	li      r4,0                                   
ffc0ec4c:	4b ff 5d c5 	bl      ffc04a10 <gettimeofday>                
ffc0ec50:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0ec54:	90 1f 00 44 	stw     r0,68(r31)                             
                                                                      
  /*                                                                  
   *  Verify new file size is actually larger than current size       
   */                                                                 
  if ( new_length <= the_jnode->info.file.size )                      
    return 0;                                                         
ffc0ec58:	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;                                                           
}                                                                     
ffc0ec5c:	39 61 00 38 	addi    r11,r1,56                              
ffc0ec60:	4b ff 18 c8 	b       ffc00528 <_restgpr_24_x>               
                                                                      

ffc0e4dc <IMFS_memfile_get_block_pointer>: my_block = block; /* * Is the block number in the simple indirect portion? */ if ( my_block <= LAST_INDIRECT ) {
ffc0e4dc:	3d 20 00 00 	lis     r9,0                                   
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc0e4e0:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0e4e4:	7c 08 02 a6 	mflr    r0                                     
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc0e4e8:	81 29 27 a4 	lwz     r9,10148(r9)                           
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc0e4ec:	90 01 00 24 	stw     r0,36(r1)                              
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc0e4f0:	55 29 f0 be 	rlwinm  r9,r9,30,2,31                          
ffc0e4f4:	38 09 ff ff 	addi    r0,r9,-1                               
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc0e4f8:	bf 61 00 0c 	stmw    r27,12(r1)                             
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc0e4fc:	7f 84 00 40 	cmplw   cr7,r4,r0                              
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc0e500:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e504:	7c 9e 23 78 	mr      r30,r4                                 
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc0e508:	41 9d 00 44 	bgt-    cr7,ffc0e54c <IMFS_memfile_get_block_pointer+0x70>
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
ffc0e50c:	2f 05 00 00 	cmpwi   cr6,r5,0                               
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
    p = info->indirect;                                               
ffc0e510:	80 03 00 58 	lwz     r0,88(r3)                              
ffc0e514:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
    if ( malloc_it ) {                                                
ffc0e518:	41 9a 00 2c 	beq-    cr6,ffc0e544 <IMFS_memfile_get_block_pointer+0x68>
                                                                      
      if ( !p ) {                                                     
ffc0e51c:	40 be 00 18 	bne+    cr7,ffc0e534 <IMFS_memfile_get_block_pointer+0x58>
        p = memfile_alloc_block();                                    
ffc0e520:	4b ff ff 79 	bl      ffc0e498 <memfile_alloc_block>         
        if ( !p )                                                     
           return 0;                                                  
ffc0e524:	3b a0 00 00 	li      r29,0                                  
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
        if ( !p )                                                     
ffc0e528:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0e52c:	41 82 01 78 	beq-    ffc0e6a4 <IMFS_memfile_get_block_pointer+0x1c8><== NEVER TAKEN
           return 0;                                                  
        info->indirect = p;                                           
ffc0e530:	90 7f 00 58 	stw     r3,88(r31)                             
      }                                                               
      return &info->indirect[ my_block ];                             
ffc0e534:	83 bf 00 58 	lwz     r29,88(r31)                            
ffc0e538:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         
ffc0e53c:	7f bd f2 14 	add     r29,r29,r30                            
ffc0e540:	48 00 01 64 	b       ffc0e6a4 <IMFS_memfile_get_block_pointer+0x1c8>
    }                                                                 
                                                                      
    if ( !p )                                                         
ffc0e544:	40 be 01 50 	bne+    cr7,ffc0e694 <IMFS_memfile_get_block_pointer+0x1b8><== ALWAYS TAKEN
ffc0e548:	48 00 01 58 	b       ffc0e6a0 <IMFS_memfile_get_block_pointer+0x1c4><== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
ffc0e54c:	39 69 00 01 	addi    r11,r9,1                               
ffc0e550:	7d 6b 49 d6 	mullw   r11,r11,r9                             
ffc0e554:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0e558:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc0e55c:	41 9d 00 60 	bgt-    cr7,ffc0e5bc <IMFS_memfile_get_block_pointer+0xe0>
    my_block -= FIRST_DOUBLY_INDIRECT;                                
ffc0e560:	7f c9 20 50 	subf    r30,r9,r4                              
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
ffc0e564:	80 63 00 5c 	lwz     r3,92(r3)                              
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
ffc0e568:	7f 9e 4b 96 	divwu   r28,r30,r9                             
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
ffc0e56c:	2f 05 00 00 	cmpwi   cr6,r5,0                               
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
ffc0e570:	7d 3c 49 d6 	mullw   r9,r28,r9                              
ffc0e574:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e578:	7f c9 f0 50 	subf    r30,r9,r30                             
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
ffc0e57c:	41 9a 00 2c 	beq-    cr6,ffc0e5a8 <IMFS_memfile_get_block_pointer+0xcc>
                                                                      
      if ( !p ) {                                                     
ffc0e580:	40 be 00 18 	bne+    cr7,ffc0e598 <IMFS_memfile_get_block_pointer+0xbc>
        p = memfile_alloc_block();                                    
ffc0e584:	4b ff ff 15 	bl      ffc0e498 <memfile_alloc_block>         
        if ( !p )                                                     
           return 0;                                                  
ffc0e588:	3b a0 00 00 	li      r29,0                                  
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
        if ( !p )                                                     
ffc0e58c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0e590:	41 82 01 14 	beq-    ffc0e6a4 <IMFS_memfile_get_block_pointer+0x1c8><== NEVER TAKEN
           return 0;                                                  
        info->doubly_indirect = p;                                    
ffc0e594:	90 7f 00 5c 	stw     r3,92(r31)                             
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
ffc0e598:	57 9c 10 3a 	rlwinm  r28,r28,2,0,29                         
ffc0e59c:	7f e3 e2 14 	add     r31,r3,r28                             
ffc0e5a0:	7c 63 e0 2e 	lwzx    r3,r3,r28                              
ffc0e5a4:	48 00 00 a4 	b       ffc0e648 <IMFS_memfile_get_block_pointer+0x16c>
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
ffc0e5a8:	41 9e 00 f8 	beq-    cr7,ffc0e6a0 <IMFS_memfile_get_block_pointer+0x1c4><== NEVER TAKEN
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
ffc0e5ac:	57 9c 10 3a 	rlwinm  r28,r28,2,0,29                         
ffc0e5b0:	7c 03 e0 2e 	lwzx    r0,r3,r28                              
    if ( !p )                                                         
      return 0;                                                       
ffc0e5b4:	3b a0 00 00 	li      r29,0                                  
ffc0e5b8:	48 00 00 d4 	b       ffc0e68c <IMFS_memfile_get_block_pointer+0x1b0>
  }                                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
ffc0e5bc:	39 4b 00 01 	addi    r10,r11,1                              
ffc0e5c0:	7d 4a 49 d6 	mullw   r10,r10,r9                             
  }                                                                   
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
ffc0e5c4:	3b a0 00 00 	li      r29,0                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
ffc0e5c8:	38 0a ff ff 	addi    r0,r10,-1                              
ffc0e5cc:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc0e5d0:	41 9d 00 d4 	bgt-    cr7,ffc0e6a4 <IMFS_memfile_get_block_pointer+0x1c8><== NEVER TAKEN
    my_block -= FIRST_TRIPLY_INDIRECT;                                
ffc0e5d4:	7f cb 20 50 	subf    r30,r11,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;                                        
ffc0e5d8:	80 63 00 60 	lwz     r3,96(r3)                              
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
ffc0e5dc:	7c 1e 4b 96 	divwu   r0,r30,r9                              
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
ffc0e5e0:	7f 80 4b 96 	divwu   r28,r0,r9                              
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
ffc0e5e4:	2f 05 00 00 	cmpwi   cr6,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;                     
ffc0e5e8:	7d 60 49 d6 	mullw   r11,r0,r9                              
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
ffc0e5ec:	7f 7c 49 d6 	mullw   r27,r28,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;                     
ffc0e5f0:	7f cb f0 50 	subf    r30,r11,r30                            
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
ffc0e5f4:	7f 7b 00 50 	subf    r27,r27,r0                             
ffc0e5f8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
ffc0e5fc:	41 9a 00 74 	beq-    cr6,ffc0e670 <IMFS_memfile_get_block_pointer+0x194>
      if ( !p ) {                                                     
ffc0e600:	40 be 00 14 	bne+    cr7,ffc0e614 <IMFS_memfile_get_block_pointer+0x138>
        p = memfile_alloc_block();                                    
ffc0e604:	4b ff fe 95 	bl      ffc0e498 <memfile_alloc_block>         
        if ( !p )                                                     
ffc0e608:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0e60c:	41 82 00 98 	beq-    ffc0e6a4 <IMFS_memfile_get_block_pointer+0x1c8><== NEVER TAKEN
           return 0;                                                  
        info->triply_indirect = p;                                    
ffc0e610:	90 7f 00 60 	stw     r3,96(r31)                             
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
ffc0e614:	57 9c 10 3a 	rlwinm  r28,r28,2,0,29                         
ffc0e618:	7f e3 e2 14 	add     r31,r3,r28                             
ffc0e61c:	7c 63 e0 2e 	lwzx    r3,r3,r28                              
      if ( !p1 ) {                                                    
ffc0e620:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e624:	40 be 00 18 	bne+    cr7,ffc0e63c <IMFS_memfile_get_block_pointer+0x160>
        p1 = memfile_alloc_block();                                   
ffc0e628:	4b ff fe 71 	bl      ffc0e498 <memfile_alloc_block>         
        if ( !p1 )                                                    
           return 0;                                                  
ffc0e62c:	3b a0 00 00 	li      r29,0                                  
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
        if ( !p1 )                                                    
ffc0e630:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0e634:	41 82 00 70 	beq-    ffc0e6a4 <IMFS_memfile_get_block_pointer+0x1c8><== NEVER TAKEN
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
ffc0e638:	90 7f 00 00 	stw     r3,0(r31)                              
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
ffc0e63c:	57 7b 10 3a 	rlwinm  r27,r27,2,0,29                         
ffc0e640:	7f e3 da 14 	add     r31,r3,r27                             
ffc0e644:	7c 63 d8 2e 	lwzx    r3,r3,r27                              
      if ( !p2 ) {                                                    
ffc0e648:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e64c:	40 be 00 18 	bne+    cr7,ffc0e664 <IMFS_memfile_get_block_pointer+0x188>
        p2 = memfile_alloc_block();                                   
ffc0e650:	4b ff fe 49 	bl      ffc0e498 <memfile_alloc_block>         
        if ( !p2 )                                                    
           return 0;                                                  
ffc0e654:	3b a0 00 00 	li      r29,0                                  
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
      if ( !p2 ) {                                                    
        p2 = memfile_alloc_block();                                   
        if ( !p2 )                                                    
ffc0e658:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0e65c:	41 82 00 48 	beq-    ffc0e6a4 <IMFS_memfile_get_block_pointer+0x1c8><== NEVER TAKEN
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
ffc0e660:	90 7f 00 00 	stw     r3,0(r31)                              
      }                                                               
      return (block_p *)&p2[ singly ];                                
ffc0e664:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         
ffc0e668:	7f a3 f2 14 	add     r29,r3,r30                             
ffc0e66c:	48 00 00 38 	b       ffc0e6a4 <IMFS_memfile_get_block_pointer+0x1c8>
    }                                                                 
                                                                      
    if ( !p )                                                         
ffc0e670:	41 9e 00 34 	beq-    cr7,ffc0e6a4 <IMFS_memfile_get_block_pointer+0x1c8><== NEVER TAKEN
      return 0;                                                       
                                                                      
    p1 = (block_p *) p[ triply ];                                     
ffc0e674:	57 9c 10 3a 	rlwinm  r28,r28,2,0,29                         
ffc0e678:	7d 23 e0 2e 	lwzx    r9,r3,r28                              
    if ( !p1 )                                                        
ffc0e67c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0e680:	41 9e 00 24 	beq-    cr7,ffc0e6a4 <IMFS_memfile_get_block_pointer+0x1c8><== NEVER TAKEN
      return 0;                                                       
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
ffc0e684:	57 7b 10 3a 	rlwinm  r27,r27,2,0,29                         
ffc0e688:	7c 09 d8 2e 	lwzx    r0,r9,r27                              
    if ( !p2 )                                                        
ffc0e68c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e690:	41 9e 00 14 	beq-    cr7,ffc0e6a4 <IMFS_memfile_get_block_pointer+0x1c8><== NEVER TAKEN
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
ffc0e694:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         
ffc0e698:	7f a0 f2 14 	add     r29,r0,r30                             
ffc0e69c:	48 00 00 08 	b       ffc0e6a4 <IMFS_memfile_get_block_pointer+0x1c8>
      }                                                               
      return &info->indirect[ my_block ];                             
    }                                                                 
                                                                      
    if ( !p )                                                         
      return 0;                                                       
ffc0e6a0:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc0e6a4:	39 61 00 20 	addi    r11,r1,32                              
ffc0e6a8:	7f a3 eb 78 	mr      r3,r29                                 
ffc0e6ac:	4b ff 1e 88 	b       ffc00534 <_restgpr_27_x>               
                                                                      

ffc0e6b0 <IMFS_memfile_read>: IMFS_jnode_t *the_jnode, off_t start, unsigned char *destination, unsigned int length ) {
ffc0e6b0:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0e6b4:	7c 08 02 a6 	mflr    r0                                     
ffc0e6b8:	90 01 00 3c 	stw     r0,60(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) {                          
ffc0e6bc:	80 03 00 4c 	lwz     r0,76(r3)                              
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
ffc0e6c0:	bf 01 00 18 	stmw    r24,24(r1)                             
ffc0e6c4:	7c 7d 1b 78 	mr      r29,r3                                 
   *  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) {                          
ffc0e6c8:	2f 80 00 06 	cmpwi   cr7,r0,6                               
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
ffc0e6cc:	7c df 33 78 	mr      r31,r6                                 
ffc0e6d0:	7c be 2b 78 	mr      r30,r5                                 
ffc0e6d4:	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) {                          
ffc0e6d8:	40 be 00 68 	bne+    cr7,ffc0e740 <IMFS_memfile_read+0x90>  
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
ffc0e6dc:	81 43 00 50 	lwz     r10,80(r3)                             
ffc0e6e0:	38 00 00 00 	li      r0,0                                   
ffc0e6e4:	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;    
ffc0e6e8:	80 83 00 58 	lwz     r4,88(r3)                              
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
ffc0e6ec:	7c ff 58 10 	subfc   r7,r31,r11                             
ffc0e6f0:	7c de 51 10 	subfe   r6,r30,r10                             
ffc0e6f4:	7f 80 30 00 	cmpw    cr7,r0,r6                              
ffc0e6f8:	41 bd 00 10 	bgt+    cr7,ffc0e708 <IMFS_memfile_read+0x58>  <== NEVER TAKEN
ffc0e6fc:	40 9e 00 14 	bne-    cr7,ffc0e710 <IMFS_memfile_read+0x60>  <== NEVER TAKEN
ffc0e700:	7f 88 38 40 	cmplw   cr7,r8,r7                              
ffc0e704:	40 9d 00 0c 	ble-    cr7,ffc0e710 <IMFS_memfile_read+0x60>  <== NEVER TAKEN
      my_length = the_jnode->info.linearfile.size - start;            
ffc0e708:	7f 7f 58 50 	subf    r27,r31,r11                            
ffc0e70c:	48 00 00 08 	b       ffc0e714 <IMFS_memfile_read+0x64>      
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
ffc0e710:	7d 1b 43 78 	mr      r27,r8                                 <== NOT EXECUTED
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
      my_length = the_jnode->info.linearfile.size - start;            
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
ffc0e714:	7c 84 fa 14 	add     r4,r4,r31                              
ffc0e718:	7f 65 db 78 	mr      r5,r27                                 
ffc0e71c:	7f 83 e3 78 	mr      r3,r28                                 
ffc0e720:	48 00 22 a1 	bl      ffc109c0 <memcpy>                      
                                                                      
    IMFS_update_atime( the_jnode );                                   
ffc0e724:	38 61 00 08 	addi    r3,r1,8                                
ffc0e728:	38 80 00 00 	li      r4,0                                   
ffc0e72c:	4b ff 62 e5 	bl      ffc04a10 <gettimeofday>                
ffc0e730:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
    return my_length;                                                 
ffc0e734:	7f 7e db 78 	mr      r30,r27                                
    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 );                                   
ffc0e738:	90 1d 00 40 	stw     r0,64(r29)                             
                                                                      
    return my_length;                                                 
ffc0e73c:	48 00 01 64 	b       ffc0e8a0 <IMFS_memfile_read+0x1f0>     
  /*                                                                  
   *  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 )                        
ffc0e740:	81 63 00 50 	lwz     r11,80(r3)                             
ffc0e744:	39 40 00 00 	li      r10,0                                  
                                                                      
  /*                                                                  
   *  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;                                         
ffc0e748:	7c c0 33 78 	mr      r0,r6                                  
  if ( last_byte > the_jnode->info.file.size )                        
ffc0e74c:	83 63 00 54 	lwz     r27,84(r3)                             
ffc0e750:	7f 8a 58 00 	cmpw    cr7,r10,r11                            
                                                                      
  /*                                                                  
   *  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;                                         
ffc0e754:	7d 28 32 14 	add     r9,r8,r6                               
  if ( last_byte > the_jnode->info.file.size )                        
ffc0e758:	41 9d 00 10 	bgt-    cr7,ffc0e768 <IMFS_memfile_read+0xb8>  <== NEVER TAKEN
ffc0e75c:	40 9e 00 14 	bne-    cr7,ffc0e770 <IMFS_memfile_read+0xc0>  <== NEVER TAKEN
ffc0e760:	7f 89 d8 40 	cmplw   cr7,r9,r27                             
ffc0e764:	40 9d 00 0c 	ble-    cr7,ffc0e770 <IMFS_memfile_read+0xc0>  
    my_length = the_jnode->info.file.size - start;                    
ffc0e768:	7f 60 d8 50 	subf    r27,r0,r27                             
ffc0e76c:	48 00 00 08 	b       ffc0e774 <IMFS_memfile_read+0xc4>      
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
ffc0e770:	7d 1b 43 78 	mr      r27,r8                                 
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc0e774:	3d 20 00 00 	lis     r9,0                                   
ffc0e778:	83 49 27 a4 	lwz     r26,10148(r9)                          
ffc0e77c:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e780:	7f e4 fb 78 	mr      r4,r31                                 
ffc0e784:	7f 58 fe 70 	srawi   r24,r26,31                             
ffc0e788:	7f 05 c3 78 	mr      r5,r24                                 
ffc0e78c:	7f 46 d3 78 	mr      r6,r26                                 
ffc0e790:	48 00 b0 69 	bl      ffc197f8 <__moddi3>                    
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc0e794:	7f c3 f3 78 	mr      r3,r30                                 
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc0e798:	7c 99 23 78 	mr      r25,r4                                 
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc0e79c:	7f 05 c3 78 	mr      r5,r24                                 
ffc0e7a0:	7f e4 fb 78 	mr      r4,r31                                 
ffc0e7a4:	7f 46 d3 78 	mr      r6,r26                                 
ffc0e7a8:	48 00 ac 11 	bl      ffc193b8 <__divdi3>                    
  if ( start_offset )  {                                              
ffc0e7ac:	2f 99 00 00 	cmpwi   cr7,r25,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;                       
ffc0e7b0:	7c 98 23 78 	mr      r24,r4                                 
  unsigned int         last_byte;                                     
  unsigned int         copied;                                        
  unsigned int         start_offset;                                  
  unsigned char       *dest;                                          
                                                                      
  dest = destination;                                                 
ffc0e7b4:	7f 9f e3 78 	mr      r31,r28                                
   */                                                                 
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
    my_length = the_jnode->info.file.size - start;                    
                                                                      
  copied = 0;                                                         
ffc0e7b8:	3b c0 00 00 	li      r30,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 )  {                                              
ffc0e7bc:	41 9e 00 4c 	beq-    cr7,ffc0e808 <IMFS_memfile_read+0x158> 
    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 );
ffc0e7c0:	7f a3 eb 78 	mr      r3,r29                                 
ffc0e7c4:	38 a0 00 00 	li      r5,0                                   
ffc0e7c8:	4b ff fd 15 	bl      ffc0e4dc <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc0e7cc:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0e7d0:	41 82 00 d0 	beq-    ffc0e8a0 <IMFS_memfile_read+0x1f0>     <== 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;            
ffc0e7d4:	7f 59 d0 50 	subf    r26,r25,r26                            
ffc0e7d8:	7f 9b d0 40 	cmplw   cr7,r27,r26                            
ffc0e7dc:	7f 7e db 78 	mr      r30,r27                                
ffc0e7e0:	40 9d 00 08 	ble-    cr7,ffc0e7e8 <IMFS_memfile_read+0x138> 
ffc0e7e4:	7f 5e d3 78 	mr      r30,r26                                
    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 );           
ffc0e7e8:	80 83 00 00 	lwz     r4,0(r3)                               
ffc0e7ec:	7f c5 f3 78 	mr      r5,r30                                 
ffc0e7f0:	7f 83 e3 78 	mr      r3,r28                                 
ffc0e7f4:	7c 84 ca 14 	add     r4,r4,r25                              
ffc0e7f8:	48 00 21 c9 	bl      ffc109c0 <memcpy>                      
    dest += to_copy;                                                  
ffc0e7fc:	7f fc f2 14 	add     r31,r28,r30                            
    block++;                                                          
ffc0e800:	3b 18 00 01 	addi    r24,r24,1                              
    my_length -= to_copy;                                             
ffc0e804:	7f 7e d8 50 	subf    r27,r30,r27                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
ffc0e808:	3f 40 00 00 	lis     r26,0                                  
ffc0e80c:	83 9a 27 a4 	lwz     r28,10148(r26)                         
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
ffc0e810:	48 00 00 3c 	b       ffc0e84c <IMFS_memfile_read+0x19c>     
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc0e814:	7f a3 eb 78 	mr      r3,r29                                 
ffc0e818:	7f 04 c3 78 	mr      r4,r24                                 
ffc0e81c:	38 a0 00 00 	li      r5,0                                   
ffc0e820:	4b ff fc bd 	bl      ffc0e4dc <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc0e824:	7c 69 1b 79 	mr.     r9,r3                                  
ffc0e828:	41 82 00 78 	beq-    ffc0e8a0 <IMFS_memfile_read+0x1f0>     <== NEVER TAKEN
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
ffc0e82c:	80 89 00 00 	lwz     r4,0(r9)                               
ffc0e830:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e834:	7f 85 e3 78 	mr      r5,r28                                 
ffc0e838:	48 00 21 89 	bl      ffc109c0 <memcpy>                      
    dest += to_copy;                                                  
ffc0e83c:	7f ff e2 14 	add     r31,r31,r28                            
    block++;                                                          
ffc0e840:	3b 18 00 01 	addi    r24,r24,1                              
    my_length -= to_copy;                                             
ffc0e844:	7f 7c d8 50 	subf    r27,r28,r27                            
    copied += to_copy;                                                
ffc0e848:	7f de e2 14 	add     r30,r30,r28                            
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
ffc0e84c:	80 1a 27 a4 	lwz     r0,10148(r26)                          
ffc0e850:	7f 9b 00 40 	cmplw   cr7,r27,r0                             
ffc0e854:	40 9c ff c0 	bge+    cr7,ffc0e814 <IMFS_memfile_read+0x164> 
  /*                                                                  
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  if ( my_length ) {                                                  
ffc0e858:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0e85c:	41 9e 00 30 	beq-    cr7,ffc0e88c <IMFS_memfile_read+0x1dc> 
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc0e860:	7f a3 eb 78 	mr      r3,r29                                 
ffc0e864:	7f 04 c3 78 	mr      r4,r24                                 
ffc0e868:	38 a0 00 00 	li      r5,0                                   
ffc0e86c:	4b ff fc 71 	bl      ffc0e4dc <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc0e870:	7c 69 1b 79 	mr.     r9,r3                                  
ffc0e874:	41 82 00 2c 	beq-    ffc0e8a0 <IMFS_memfile_read+0x1f0>     <== NEVER TAKEN
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
ffc0e878:	80 89 00 00 	lwz     r4,0(r9)                               
ffc0e87c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e880:	7f 65 db 78 	mr      r5,r27                                 
ffc0e884:	48 00 21 3d 	bl      ffc109c0 <memcpy>                      
    copied += my_length;                                              
ffc0e888:	7f db f2 14 	add     r30,r27,r30                            
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc0e88c:	38 61 00 08 	addi    r3,r1,8                                
ffc0e890:	38 80 00 00 	li      r4,0                                   
ffc0e894:	4b ff 61 7d 	bl      ffc04a10 <gettimeofday>                
ffc0e898:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0e89c:	90 1d 00 40 	stw     r0,64(r29)                             
                                                                      
  return copied;                                                      
}                                                                     
ffc0e8a0:	39 61 00 38 	addi    r11,r1,56                              
ffc0e8a4:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e8a8:	4b ff 1c 80 	b       ffc00528 <_restgpr_24_x>               
                                                                      

ffc0e9b0 <IMFS_memfile_remove>: * is better to stick to simple, easy to understand algorithms. */ int IMFS_memfile_remove( IMFS_jnode_t *the_jnode ) {
ffc0e9b0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0e9b4:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  /*                                                                  
   *  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;                                 
ffc0e9b8:	3d 20 00 00 	lis     r9,0                                   
 *         is better to stick to simple, easy to understand algorithms.
 */                                                                   
int IMFS_memfile_remove(                                              
 IMFS_jnode_t  *the_jnode                                             
)                                                                     
{                                                                     
ffc0e9bc:	90 01 00 2c 	stw     r0,44(r1)                              
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
ffc0e9c0:	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                                             
)                                                                     
{                                                                     
ffc0e9c4:	bf 21 00 0c 	stmw    r25,12(r1)                             
ffc0e9c8:	7c 7f 1b 78 	mr      r31,r3                                 
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
ffc0e9cc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
  /*                                                                  
   *  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;                                 
ffc0e9d0:	83 c9 27 a4 	lwz     r30,10148(r9)                          
ffc0e9d4:	57 de f0 be 	rlwinm  r30,r30,30,2,31                        
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
ffc0e9d8:	41 9e 00 10 	beq-    cr7,ffc0e9e8 <IMFS_memfile_remove+0x38>
    memfile_free_blocks_in_table( &info->indirect, to_free );         
ffc0e9dc:	38 63 00 58 	addi    r3,r3,88                               
ffc0e9e0:	7f c4 f3 78 	mr      r4,r30                                 
ffc0e9e4:	4b ff ff 69 	bl      ffc0e94c <memfile_free_blocks_in_table>
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
ffc0e9e8:	80 1f 00 5c 	lwz     r0,92(r31)                             
ffc0e9ec:	3b a0 00 00 	li      r29,0                                  
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
ffc0e9f0:	3f 80 00 00 	lis     r28,0                                  
                                                                      
  if ( info->indirect ) {                                             
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
ffc0e9f4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e9f8:	40 be 00 2c 	bne+    cr7,ffc0ea24 <IMFS_memfile_remove+0x74>
ffc0e9fc:	48 00 00 44 	b       ffc0ea40 <IMFS_memfile_remove+0x90>    
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      if ( info->doubly_indirect[i] ) {                               
ffc0ea00:	81 3f 00 5c 	lwz     r9,92(r31)                             
 *         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(                                              
ffc0ea04:	57 a0 10 3a 	rlwinm  r0,r29,2,0,29                          
    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] ) {                               
ffc0ea08:	7c 69 02 14 	add     r3,r9,r0                               
ffc0ea0c:	7c 09 00 2e 	lwzx    r0,r9,r0                               
ffc0ea10:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ea14:	41 9e 00 0c 	beq-    cr7,ffc0ea20 <IMFS_memfile_remove+0x70><== NEVER TAKEN
        memfile_free_blocks_in_table(                                 
ffc0ea18:	7f c4 f3 78 	mr      r4,r30                                 
ffc0ea1c:	4b ff ff 31 	bl      ffc0e94c <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++ ) {                  
ffc0ea20:	3b bd 00 01 	addi    r29,r29,1                              
ffc0ea24:	80 1c 27 a4 	lwz     r0,10148(r28)                          
ffc0ea28:	54 00 f0 be 	rlwinm  r0,r0,30,2,31                          
ffc0ea2c:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc0ea30:	41 9c ff d0 	blt+    cr7,ffc0ea00 <IMFS_memfile_remove+0x50>
      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 );  
ffc0ea34:	38 7f 00 5c 	addi    r3,r31,92                              
ffc0ea38:	7f c4 f3 78 	mr      r4,r30                                 
ffc0ea3c:	4b ff ff 11 	bl      ffc0e94c <memfile_free_blocks_in_table>
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
ffc0ea40:	80 1f 00 60 	lwz     r0,96(r31)                             
ffc0ea44:	3b a0 00 00 	li      r29,0                                  
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
ffc0ea48:	3f 40 00 00 	lis     r26,0                                  
    }                                                                 
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
ffc0ea4c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ea50:	40 be 00 68 	bne+    cr7,ffc0eab8 <IMFS_memfile_remove+0x108>
ffc0ea54:	48 00 00 80 	b       ffc0ead4 <IMFS_memfile_remove+0x124>   
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
ffc0ea58:	81 3f 00 60 	lwz     r9,96(r31)                             
 *         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(                                              
ffc0ea5c:	57 b9 10 3a 	rlwinm  r25,r29,2,0,29                         
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
ffc0ea60:	7f 89 c8 2e 	lwzx    r28,r9,r25                             
      if ( !p )  /* ensure we have a valid pointer */                 
ffc0ea64:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0ea68:	41 9e 00 60 	beq-    cr7,ffc0eac8 <IMFS_memfile_remove+0x118><== NEVER TAKEN
ffc0ea6c:	3b 60 00 00 	li      r27,0                                  
ffc0ea70:	48 00 00 24 	b       ffc0ea94 <IMFS_memfile_remove+0xe4>    
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
        if ( p[j] ) {                                                 
ffc0ea74:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc0ea78:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ea7c:	41 9e 00 10 	beq-    cr7,ffc0ea8c <IMFS_memfile_remove+0xdc><== NEVER TAKEN
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
ffc0ea80:	7f 83 e3 78 	mr      r3,r28                                 
ffc0ea84:	7f c4 f3 78 	mr      r4,r30                                 
ffc0ea88:	4b ff fe c5 	bl      ffc0e94c <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++ ) {                
ffc0ea8c:	3b 7b 00 01 	addi    r27,r27,1                              
ffc0ea90:	3b 9c 00 04 	addi    r28,r28,4                              
ffc0ea94:	80 1a 27 a4 	lwz     r0,10148(r26)                          
ffc0ea98:	54 00 f0 be 	rlwinm  r0,r0,30,2,31                          
ffc0ea9c:	7f 9b 00 40 	cmplw   cr7,r27,r0                             
ffc0eaa0:	41 9c ff d4 	blt+    cr7,ffc0ea74 <IMFS_memfile_remove+0xc4>
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
ffc0eaa4:	80 7f 00 60 	lwz     r3,96(r31)                             
ffc0eaa8:	7f c4 f3 78 	mr      r4,r30                                 
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
ffc0eaac:	3b bd 00 01 	addi    r29,r29,1                              
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
ffc0eab0:	7c 63 ca 14 	add     r3,r3,r25                              
ffc0eab4:	4b ff fe 99 	bl      ffc0e94c <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++ ) {                  
ffc0eab8:	80 1a 27 a4 	lwz     r0,10148(r26)                          
ffc0eabc:	54 00 f0 be 	rlwinm  r0,r0,30,2,31                          
ffc0eac0:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc0eac4:	41 9c ff 94 	blt+    cr7,ffc0ea58 <IMFS_memfile_remove+0xa8>
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
ffc0eac8:	38 7f 00 60 	addi    r3,r31,96                              
ffc0eacc:	7f c4 f3 78 	mr      r4,r30                                 
ffc0ead0:	4b ff fe 7d 	bl      ffc0e94c <memfile_free_blocks_in_table>
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0ead4:	39 61 00 28 	addi    r11,r1,40                              
ffc0ead8:	38 60 00 00 	li      r3,0                                   
ffc0eadc:	4b ff 1a 50 	b       ffc0052c <_restgpr_25_x>               
                                                                      

ffc0ec64 <IMFS_memfile_write>: IMFS_jnode_t *the_jnode, off_t start, const unsigned char *source, unsigned int length ) {
ffc0ec64:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0ec68:	7c 08 02 a6 	mflr    r0                                     
ffc0ec6c:	bf 01 00 18 	stmw    r24,24(r1)                             
ffc0ec70:	7c de 33 78 	mr      r30,r6                                 
ffc0ec74:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0ec78:	90 01 00 3c 	stw     r0,60(r1)                              
ffc0ec7c:	7c bd 2b 78 	mr      r29,r5                                 
ffc0ec80:	7c fc 3b 78 	mr      r28,r7                                 
   *  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 ) {                      
ffc0ec84:	80 03 00 50 	lwz     r0,80(r3)                              
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
ffc0ec88:	7d 1b 43 78 	mr      r27,r8                                 
  /*                                                                  
   *  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;                                      
ffc0ec8c:	7c c8 32 14 	add     r6,r8,r6                               
  if ( last_byte > the_jnode->info.file.size ) {                      
ffc0ec90:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ec94:	41 9c 00 14 	blt-    cr7,ffc0eca8 <IMFS_memfile_write+0x44> <== NEVER TAKEN
ffc0ec98:	40 be 00 38 	bne+    cr7,ffc0ecd0 <IMFS_memfile_write+0x6c> <== NEVER TAKEN
ffc0ec9c:	80 03 00 54 	lwz     r0,84(r3)                              
ffc0eca0:	7f 80 30 40 	cmplw   cr7,r0,r6                              
ffc0eca4:	40 bc 00 2c 	bge+    cr7,ffc0ecd0 <IMFS_memfile_write+0x6c> 
    status = IMFS_memfile_extend( the_jnode, last_byte );             
ffc0eca8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ecac:	38 a0 00 00 	li      r5,0                                   
ffc0ecb0:	4b ff fe 6d 	bl      ffc0eb1c <IMFS_memfile_extend>         
    if ( status )                                                     
ffc0ecb4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ecb8:	41 be 00 18 	beq+    cr7,ffc0ecd0 <IMFS_memfile_write+0x6c> 
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
ffc0ecbc:	48 00 0f c9 	bl      ffc0fc84 <__errno>                     
ffc0ecc0:	38 00 00 1c 	li      r0,28                                  
ffc0ecc4:	90 03 00 00 	stw     r0,0(r3)                               
ffc0ecc8:	3b c0 ff ff 	li      r30,-1                                 
ffc0eccc:	48 00 01 30 	b       ffc0edfc <IMFS_memfile_write+0x198>    
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc0ecd0:	3d 20 00 00 	lis     r9,0                                   
ffc0ecd4:	83 49 27 a4 	lwz     r26,10148(r9)                          
ffc0ecd8:	7f a3 eb 78 	mr      r3,r29                                 
ffc0ecdc:	7f c4 f3 78 	mr      r4,r30                                 
ffc0ece0:	7f 58 fe 70 	srawi   r24,r26,31                             
ffc0ece4:	7f 05 c3 78 	mr      r5,r24                                 
ffc0ece8:	7f 46 d3 78 	mr      r6,r26                                 
ffc0ecec:	48 00 ab 0d 	bl      ffc197f8 <__moddi3>                    
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc0ecf0:	7f a3 eb 78 	mr      r3,r29                                 
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc0ecf4:	7c 99 23 78 	mr      r25,r4                                 
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc0ecf8:	7f 05 c3 78 	mr      r5,r24                                 
ffc0ecfc:	7f c4 f3 78 	mr      r4,r30                                 
ffc0ed00:	7f 46 d3 78 	mr      r6,r26                                 
ffc0ed04:	48 00 a6 b5 	bl      ffc193b8 <__divdi3>                    
  if ( start_offset )  {                                              
ffc0ed08:	2f 99 00 00 	cmpwi   cr7,r25,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;                       
ffc0ed0c:	7c 9d 23 78 	mr      r29,r4                                 
    status = IMFS_memfile_extend( the_jnode, last_byte );             
    if ( status )                                                     
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
  }                                                                   
                                                                      
  copied = 0;                                                         
ffc0ed10:	3b c0 00 00 	li      r30,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 )  {                                              
ffc0ed14:	41 9e 00 4c 	beq-    cr7,ffc0ed60 <IMFS_memfile_write+0xfc> 
    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 );
ffc0ed18:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ed1c:	38 a0 00 00 	li      r5,0                                   
ffc0ed20:	4b ff f7 bd 	bl      ffc0e4dc <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
      return copied;                                                  
ffc0ed24:	3b c0 00 00 	li      r30,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 )                                                 
ffc0ed28:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0ed2c:	41 82 00 d0 	beq-    ffc0edfc <IMFS_memfile_write+0x198>    <== 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;            
ffc0ed30:	7f d9 d0 50 	subf    r30,r25,r26                            
ffc0ed34:	7f 9e d8 40 	cmplw   cr7,r30,r27                            
ffc0ed38:	40 9d 00 08 	ble-    cr7,ffc0ed40 <IMFS_memfile_write+0xdc> 
ffc0ed3c:	7f 7e db 78 	mr      r30,r27                                
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
ffc0ed40:	80 63 00 00 	lwz     r3,0(r3)                               
ffc0ed44:	7f 84 e3 78 	mr      r4,r28                                 
ffc0ed48:	7f c5 f3 78 	mr      r5,r30                                 
ffc0ed4c:	7c 63 ca 14 	add     r3,r3,r25                              
ffc0ed50:	48 00 1c 71 	bl      ffc109c0 <memcpy>                      
    src += to_copy;                                                   
ffc0ed54:	7f 9c f2 14 	add     r28,r28,r30                            
    block++;                                                          
ffc0ed58:	3b bd 00 01 	addi    r29,r29,1                              
    my_length -= to_copy;                                             
ffc0ed5c:	7f 7e d8 50 	subf    r27,r30,r27                            
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
ffc0ed60:	3f 20 00 00 	lis     r25,0                                  
ffc0ed64:	83 59 27 a4 	lwz     r26,10148(r25)                         
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
ffc0ed68:	48 00 00 3c 	b       ffc0eda4 <IMFS_memfile_write+0x140>    
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc0ed6c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ed70:	7f a4 eb 78 	mr      r4,r29                                 
ffc0ed74:	38 a0 00 00 	li      r5,0                                   
ffc0ed78:	4b ff f7 65 	bl      ffc0e4dc <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc0ed7c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0ed80:	41 82 00 7c 	beq-    ffc0edfc <IMFS_memfile_write+0x198>    <== 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, to_copy );                       
ffc0ed84:	80 63 00 00 	lwz     r3,0(r3)                               
ffc0ed88:	7f 84 e3 78 	mr      r4,r28                                 
ffc0ed8c:	7f 45 d3 78 	mr      r5,r26                                 
ffc0ed90:	48 00 1c 31 	bl      ffc109c0 <memcpy>                      
    src += to_copy;                                                   
ffc0ed94:	7f 9c d2 14 	add     r28,r28,r26                            
    block++;                                                          
ffc0ed98:	3b bd 00 01 	addi    r29,r29,1                              
    my_length -= to_copy;                                             
ffc0ed9c:	7f 7a d8 50 	subf    r27,r26,r27                            
 *  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(                            
ffc0eda0:	7f de d2 14 	add     r30,r30,r26                            
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
ffc0eda4:	80 19 27 a4 	lwz     r0,10148(r25)                          
ffc0eda8:	7f 9b 00 40 	cmplw   cr7,r27,r0                             
ffc0edac:	40 9c ff c0 	bge+    cr7,ffc0ed6c <IMFS_memfile_write+0x108>
   *  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 ) {                                                  
ffc0edb0:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0edb4:	41 9e 00 30 	beq-    cr7,ffc0ede4 <IMFS_memfile_write+0x180>
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc0edb8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0edbc:	7f a4 eb 78 	mr      r4,r29                                 
ffc0edc0:	38 a0 00 00 	li      r5,0                                   
ffc0edc4:	4b ff f7 19 	bl      ffc0e4dc <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc0edc8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0edcc:	41 82 00 30 	beq-    ffc0edfc <IMFS_memfile_write+0x198>    <== 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 );                     
ffc0edd0:	80 63 00 00 	lwz     r3,0(r3)                               
ffc0edd4:	7f 84 e3 78 	mr      r4,r28                                 
ffc0edd8:	7f 65 db 78 	mr      r5,r27                                 
ffc0eddc:	48 00 1b e5 	bl      ffc109c0 <memcpy>                      
    my_length = 0;                                                    
    copied += to_copy;                                                
ffc0ede0:	7f de da 14 	add     r30,r30,r27                            
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
ffc0ede4:	38 61 00 08 	addi    r3,r1,8                                
ffc0ede8:	38 80 00 00 	li      r4,0                                   
ffc0edec:	4b ff 5c 25 	bl      ffc04a10 <gettimeofday>                
ffc0edf0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0edf4:	90 1f 00 44 	stw     r0,68(r31)                             
ffc0edf8:	90 1f 00 48 	stw     r0,72(r31)                             
                                                                      
  return copied;                                                      
}                                                                     
ffc0edfc:	39 61 00 38 	addi    r11,r1,56                              
ffc0ee00:	7f c3 f3 78 	mr      r3,r30                                 
ffc0ee04:	4b ff 17 24 	b       ffc00528 <_restgpr_24_x>               
                                                                      

ffc03efc <IMFS_mount>: #include <rtems/seterr.h> int IMFS_mount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
ffc03efc:	7c 08 02 a6 	mflr    r0                                     
ffc03f00:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc03f04:	90 01 00 0c 	stw     r0,12(r1)                              
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
ffc03f08:	81 23 00 08 	lwz     r9,8(r3)                               
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
ffc03f0c:	80 09 00 4c 	lwz     r0,76(r9)                              
ffc03f10:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc03f14:	41 be 00 18 	beq+    cr7,ffc03f2c <IMFS_mount+0x30>         <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc03f18:	48 00 bd 6d 	bl      ffc0fc84 <__errno>                     <== NOT EXECUTED
ffc03f1c:	38 00 00 14 	li      r0,20                                  <== NOT EXECUTED
ffc03f20:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc03f24:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc03f28:	48 00 00 0c 	b       ffc03f34 <IMFS_mount+0x38>             <== NOT EXECUTED
  /*                                                                  
   *  Set mt_fs pointer to point to the mount table entry for         
   *  the mounted file system.                                        
   */                                                                 
                                                                      
  node->info.directory.mt_fs = mt_entry;                              
ffc03f2c:	90 69 00 5c 	stw     r3,92(r9)                              
  return 0;                                                           
ffc03f30:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc03f34:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc03f38:	38 21 00 08 	addi    r1,r1,8                                
ffc03f3c:	7c 08 03 a6 	mtlr    r0                                     
ffc03f40:	4e 80 00 20 	blr                                            
                                                                      

ffc06c08 <IMFS_print_jnode>: * This routine prints the contents of the specified jnode. */ void IMFS_print_jnode( IMFS_jnode_t *the_jnode ) {
ffc06c08:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc06c0c:	7c 08 02 a6 	mflr    r0                                     
ffc06c10:	bf c1 00 08 	stmw    r30,8(r1)                              
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
ffc06c14:	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                                             
)                                                                     
{                                                                     
ffc06c18:	7c 7f 1b 78 	mr      r31,r3                                 
ffc06c1c:	90 01 00 14 	stw     r0,20(r1)                              
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
ffc06c20:	38 63 00 0c 	addi    r3,r3,12                               
ffc06c24:	81 3e 27 94 	lwz     r9,10132(r30)                          
ffc06c28:	80 89 00 08 	lwz     r4,8(r9)                               
ffc06c2c:	48 00 e1 c9 	bl      ffc14df4 <fputs>                       
  switch( the_jnode->type ) {                                         
ffc06c30:	80 bf 00 4c 	lwz     r5,76(r31)                             
ffc06c34:	38 05 ff ff 	addi    r0,r5,-1                               
ffc06c38:	2b 80 00 06 	cmplwi  cr7,r0,6                               
ffc06c3c:	41 9d 00 a8 	bgt-    cr7,ffc06ce4 <IMFS_print_jnode+0xdc>   <== NEVER TAKEN
ffc06c40:	3d 20 ff c2 	lis     r9,-62                                 
ffc06c44:	39 29 3e 0c 	addi    r9,r9,15884                            
ffc06c48:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc06c4c:	7c 09 00 2e 	lwzx    r0,r9,r0                               
ffc06c50:	7d 20 4a 14 	add     r9,r0,r9                               
ffc06c54:	7d 29 03 a6 	mtctr   r9                                     
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
ffc06c58:	81 3e 27 94 	lwz     r9,10132(r30)                          
)                                                                     
{                                                                     
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( the_jnode->type ) {                                         
ffc06c5c:	4e 80 04 20 	bctr                                           
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
ffc06c60:	80 89 00 08 	lwz     r4,8(r9)                               
ffc06c64:	38 60 00 2f 	li      r3,47                                  
ffc06c68:	48 00 e0 71 	bl      ffc14cd8 <fputc>                       
      break;                                                          
ffc06c6c:	48 00 00 94 	b       ffc06d00 <IMFS_print_jnode+0xf8>       
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
ffc06c70:	3c 80 ff c2 	lis     r4,-62                                 
ffc06c74:	80 69 00 08 	lwz     r3,8(r9)                               
ffc06c78:	38 84 3e 28 	addi    r4,r4,15912                            
ffc06c7c:	80 bf 00 50 	lwz     r5,80(r31)                             
ffc06c80:	80 df 00 54 	lwz     r6,84(r31)                             
ffc06c84:	48 00 00 18 	b       ffc06c9c <IMFS_print_jnode+0x94>       
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      fprintf(stdout, " (file %" PRId32 " %p)",                       
ffc06c88:	3c 80 ff c2 	lis     r4,-62                                 
ffc06c8c:	80 69 00 08 	lwz     r3,8(r9)                               
ffc06c90:	80 bf 00 54 	lwz     r5,84(r31)                             
ffc06c94:	38 84 3e 3b 	addi    r4,r4,15931                            
ffc06c98:	80 df 00 58 	lwz     r6,88(r31)                             
ffc06c9c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc06ca0:	48 00 df 51 	bl      ffc14bf0 <fprintf>                     
        (uint32_t)the_jnode->info.linearfile.size,                    
        the_jnode->info.linearfile.direct                             
      );                                                              
      break;                                                          
ffc06ca4:	48 00 00 5c 	b       ffc06d00 <IMFS_print_jnode+0xf8>       
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
ffc06ca8:	80 69 00 08 	lwz     r3,8(r9)                               
ffc06cac:	3c 80 ff c2 	lis     r4,-62                                 
ffc06cb0:	80 bf 00 54 	lwz     r5,84(r31)                             
ffc06cb4:	38 84 3e 4a 	addi    r4,r4,15946                            
ffc06cb8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc06cbc:	48 00 df 35 	bl      ffc14bf0 <fprintf>                     
        (uint32_t)the_jnode->info.file.size );                        
#endif                                                                
      break;                                                          
ffc06cc0:	48 00 00 40 	b       ffc06d00 <IMFS_print_jnode+0xf8>       
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
ffc06cc4:	3c 60 ff c2 	lis     r3,-62                                 
ffc06cc8:	38 63 3e 56 	addi    r3,r3,15958                            
ffc06ccc:	48 00 00 0c 	b       ffc06cd8 <IMFS_print_jnode+0xd0>       
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
ffc06cd0:	3c 60 ff c2 	lis     r3,-62                                 
ffc06cd4:	38 63 3e 6a 	addi    r3,r3,15978                            
ffc06cd8:	80 89 00 08 	lwz     r4,8(r9)                               
ffc06cdc:	48 00 e1 19 	bl      ffc14df4 <fputs>                       
      return;                                                         
ffc06ce0:	48 00 00 2c 	b       ffc06d0c <IMFS_print_jnode+0x104>      
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
ffc06ce4:	81 3e 27 94 	lwz     r9,10132(r30)                          <== NOT EXECUTED
ffc06ce8:	3c 80 ff c2 	lis     r4,-62                                 <== NOT EXECUTED
ffc06cec:	38 84 3e 7d 	addi    r4,r4,15997                            <== NOT EXECUTED
ffc06cf0:	80 69 00 08 	lwz     r3,8(r9)                               <== NOT EXECUTED
ffc06cf4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc06cf8:	48 00 de f9 	bl      ffc14bf0 <fprintf>                     <== NOT EXECUTED
      return;                                                         
ffc06cfc:	48 00 00 10 	b       ffc06d0c <IMFS_print_jnode+0x104>      <== NOT EXECUTED
  }                                                                   
  puts("");                                                           
ffc06d00:	3c 60 ff c2 	lis     r3,-62                                 
ffc06d04:	38 63 45 17 	addi    r3,r3,17687                            
ffc06d08:	48 01 00 9d 	bl      ffc16da4 <puts>                        
}                                                                     
ffc06d0c:	39 61 00 10 	addi    r11,r1,16                              
ffc06d10:	4b ff c8 20 	b       ffc03530 <_restgpr_30_x>               
                                                                      

ffc03f84 <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 */ ) {
ffc03f84:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc03f88:	7c 08 02 a6 	mflr    r0                                     
ffc03f8c:	90 01 00 24 	stw     r0,36(r1)                              
ffc03f90:	bf c1 00 18 	stmw    r30,24(r1)                             
ffc03f94:	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 );                
ffc03f98:	38 a0 00 20 	li      r5,32                                  
)                                                                     
{                                                                     
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
ffc03f9c:	83 e4 00 00 	lwz     r31,0(r4)                              
                                                                      
  strncpy( the_jnode->name, new_name, IMFS_NAME_MAX );                
ffc03fa0:	7c c4 33 78 	mr      r4,r6                                  
ffc03fa4:	38 7f 00 0c 	addi    r3,r31,12                              
ffc03fa8:	48 00 d6 c5 	bl      ffc1166c <strncpy>                     
                                                                      
  if ( the_jnode->Parent != NULL )                                    
ffc03fac:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc03fb0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc03fb4:	41 9e 00 0c 	beq-    cr7,ffc03fc0 <IMFS_rename+0x3c>        <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc03fb8:	7f e3 fb 78 	mr      r3,r31                                 
ffc03fbc:	48 00 4c 61 	bl      ffc08c1c <_Chain_Extract>              
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
                                                                      
  new_parent = new_parent_loc->node_access;                           
ffc03fc0:	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 );                               
ffc03fc4:	7f e4 fb 78 	mr      r4,r31                                 
  the_jnode->Parent = new_parent;                                     
ffc03fc8:	90 7f 00 08 	stw     r3,8(r31)                              
ffc03fcc:	38 63 00 50 	addi    r3,r3,80                               
ffc03fd0:	48 00 4c 1d 	bl      ffc08bec <_Chain_Append>               
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
ffc03fd4:	38 61 00 08 	addi    r3,r1,8                                
ffc03fd8:	38 80 00 00 	li      r4,0                                   
ffc03fdc:	48 00 0a 35 	bl      ffc04a10 <gettimeofday>                
ffc03fe0:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  return 0;                                                           
}                                                                     
ffc03fe4:	39 61 00 20 	addi    r11,r1,32                              
ffc03fe8:	38 60 00 00 	li      r3,0                                   
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
ffc03fec:	90 1f 00 48 	stw     r0,72(r31)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc03ff0:	4b ff c5 50 	b       ffc00540 <_restgpr_30_x>               
                                                                      

ffc0c078 <IMFS_skip_separator>: static void IMFS_skip_separator ( const char *path, /* IN */ size_t *len, /* IN/OUT */ int *index /* IN/OUT */ ) {
ffc0c078:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0c07c:	7c 08 02 a6 	mflr    r0                                     
ffc0c080:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc0c084:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0c088:	7c 9e 23 78 	mr      r30,r4                                 
ffc0c08c:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0c090:	7c bd 2b 78 	mr      r29,r5                                 
  while ( IMFS_is_separator( path[*index] ) && path[*index] && *len ) {
ffc0c094:	48 00 00 18 	b       ffc0c0ac <IMFS_skip_separator+0x34>    
    ++(*index);                                                       
ffc0c098:	39 29 00 01 	addi    r9,r9,1                                
ffc0c09c:	91 3d 00 00 	stw     r9,0(r29)                              
    --(*len);                                                         
ffc0c0a0:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc0c0a4:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0c0a8:	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 ) {
ffc0c0ac:	80 1d 00 00 	lwz     r0,0(r29)                              
ffc0c0b0:	7c 7f 00 ae 	lbzx    r3,r31,r0                              
ffc0c0b4:	4b ff 98 c1 	bl      ffc05974 <rtems_filesystem_is_separator>
ffc0c0b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c0bc:	41 9e 00 20 	beq-    cr7,ffc0c0dc <IMFS_skip_separator+0x64>
ffc0c0c0:	81 3d 00 00 	lwz     r9,0(r29)                              
ffc0c0c4:	7c 1f 48 ae 	lbzx    r0,r31,r9                              
ffc0c0c8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c0cc:	41 9e 00 10 	beq-    cr7,ffc0c0dc <IMFS_skip_separator+0x64>
ffc0c0d0:	80 1e 00 00 	lwz     r0,0(r30)                              
ffc0c0d4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c0d8:	40 9e ff c0 	bne+    cr7,ffc0c098 <IMFS_skip_separator+0x20><== ALWAYS TAKEN
    ++(*index);                                                       
    --(*len);                                                         
  }                                                                   
}                                                                     
ffc0c0dc:	39 61 00 18 	addi    r11,r1,24                              
ffc0c0e0:	4b ff 44 5c 	b       ffc0053c <_restgpr_29_x>               
                                                                      

ffc0cc64 <IMFS_stat>: int IMFS_stat( rtems_filesystem_location_info_t *loc, struct stat *buf ) {
ffc0cc64:	7c 08 02 a6 	mflr    r0                                     
ffc0cc68:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0cc6c:	90 01 00 0c 	stw     r0,12(r1)                              
  IMFS_fs_info_t *fs_info;                                            
  IMFS_jnode_t   *the_jnode;                                          
  IMFS_device_t  *io;                                                 
                                                                      
  the_jnode = loc->node_access;                                       
ffc0cc70:	81 23 00 00 	lwz     r9,0(r3)                               
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
ffc0cc74:	81 69 00 4c 	lwz     r11,76(r9)                             
ffc0cc78:	38 0b ff fe 	addi    r0,r11,-2                              
ffc0cc7c:	2b 80 00 05 	cmplwi  cr7,r0,5                               
ffc0cc80:	41 9d 00 54 	bgt-    cr7,ffc0ccd4 <IMFS_stat+0x70>          <== NEVER TAKEN
ffc0cc84:	3d 60 ff c2 	lis     r11,-62                                
ffc0cc88:	39 6b c6 24 	addi    r11,r11,-14812                         
ffc0cc8c:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0cc90:	7c 0b 00 2e 	lwzx    r0,r11,r0                              
ffc0cc94:	7d 60 5a 14 	add     r11,r0,r11                             
ffc0cc98:	7d 69 03 a6 	mtctr   r11                                    
ffc0cc9c:	4e 80 04 20 	bctr                                           
                                                                      
    case IMFS_DEVICE:                                                 
      io           = &the_jnode->info.device;                         
      buf->st_rdev = rtems_filesystem_make_dev_t( io->major, io->minor );
ffc0cca0:	80 09 00 54 	lwz     r0,84(r9)                              
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
ffc0cca4:	81 69 00 50 	lwz     r11,80(r9)                             
ffc0cca8:	90 04 00 1c 	stw     r0,28(r4)                              
ffc0ccac:	91 64 00 18 	stw     r11,24(r4)                             
      break;                                                          
ffc0ccb0:	48 00 00 38 	b       ffc0cce8 <IMFS_stat+0x84>              
                                                                      
    case IMFS_LINEAR_FILE:                                            
    case IMFS_MEMORY_FILE:                                            
      buf->st_size = the_jnode->info.file.size;                       
ffc0ccb4:	81 49 00 50 	lwz     r10,80(r9)                             
ffc0ccb8:	81 69 00 54 	lwz     r11,84(r9)                             
ffc0ccbc:	48 00 00 0c 	b       ffc0ccc8 <IMFS_stat+0x64>              
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
ffc0ccc0:	39 40 00 00 	li      r10,0                                  
ffc0ccc4:	39 60 00 00 	li      r11,0                                  
ffc0ccc8:	91 44 00 20 	stw     r10,32(r4)                             
ffc0cccc:	91 64 00 24 	stw     r11,36(r4)                             
      break;                                                          
ffc0ccd0:	48 00 00 18 	b       ffc0cce8 <IMFS_stat+0x84>              
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
ffc0ccd4:	48 00 2f b1 	bl      ffc0fc84 <__errno>                     
ffc0ccd8:	38 00 00 86 	li      r0,134                                 
ffc0ccdc:	90 03 00 00 	stw     r0,0(r3)                               
ffc0cce0:	38 60 ff ff 	li      r3,-1                                  
ffc0cce4:	48 00 00 70 	b       ffc0cd54 <IMFS_stat+0xf0>              
                                                                      
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
ffc0cce8:	81 63 00 10 	lwz     r11,16(r3)                             
  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;                                                           
ffc0ccec:	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 );
ffc0ccf0:	81 6b 00 34 	lwz     r11,52(r11)                            
ffc0ccf4:	80 0b 00 00 	lwz     r0,0(r11)                              
ffc0ccf8:	39 60 00 00 	li      r11,0                                  
ffc0ccfc:	61 6b ff fe 	ori     r11,r11,65534                          
  /*                                                                  
   * 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 =                                                       
ffc0cd00:	90 04 00 04 	stw     r0,4(r4)                               
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
ffc0cd04:	80 09 00 30 	lwz     r0,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 =                                                       
ffc0cd08:	91 64 00 00 	stw     r11,0(r4)                              
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
ffc0cd0c:	90 04 00 0c 	stw     r0,12(r4)                              
  buf->st_nlink = the_jnode->st_nlink;                                
ffc0cd10:	a0 09 00 34 	lhz     r0,52(r9)                              
ffc0cd14:	b0 04 00 10 	sth     r0,16(r4)                              
  buf->st_ino   = the_jnode->st_ino;                                  
ffc0cd18:	80 09 00 38 	lwz     r0,56(r9)                              
ffc0cd1c:	90 04 00 08 	stw     r0,8(r4)                               
  buf->st_uid   = the_jnode->st_uid;                                  
ffc0cd20:	a0 09 00 3c 	lhz     r0,60(r9)                              
ffc0cd24:	b0 04 00 12 	sth     r0,18(r4)                              
  buf->st_gid   = the_jnode->st_gid;                                  
ffc0cd28:	a0 09 00 3e 	lhz     r0,62(r9)                              
ffc0cd2c:	b0 04 00 14 	sth     r0,20(r4)                              
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
ffc0cd30:	80 09 00 40 	lwz     r0,64(r9)                              
ffc0cd34:	90 04 00 28 	stw     r0,40(r4)                              
  buf->st_mtime = the_jnode->stat_mtime;                              
ffc0cd38:	80 09 00 44 	lwz     r0,68(r9)                              
ffc0cd3c:	90 04 00 30 	stw     r0,48(r4)                              
  buf->st_ctime = the_jnode->stat_ctime;                              
ffc0cd40:	80 09 00 48 	lwz     r0,72(r9)                              
                                                                      
  buf->st_blksize = imfs_rq_memfile_bytes_per_block;                  
ffc0cd44:	3d 20 00 00 	lis     r9,0                                   
  buf->st_uid   = the_jnode->st_uid;                                  
  buf->st_gid   = the_jnode->st_gid;                                  
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
ffc0cd48:	90 04 00 38 	stw     r0,56(r4)                              
                                                                      
  buf->st_blksize = imfs_rq_memfile_bytes_per_block;                  
ffc0cd4c:	80 09 26 f8 	lwz     r0,9976(r9)                            
ffc0cd50:	90 04 00 40 	stw     r0,64(r4)                              
                                                                      
  return 0;                                                           
}                                                                     
ffc0cd54:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0cd58:	38 21 00 08 	addi    r1,r1,8                                
ffc0cd5c:	7c 08 03 a6 	mtlr    r0                                     
ffc0cd60:	4e 80 00 20 	blr                                            
                                                                      

ffc0408c <IMFS_unlink>: int IMFS_unlink( rtems_filesystem_location_info_t *parentloc, /* IN */ rtems_filesystem_location_info_t *loc /* IN */ ) {
ffc0408c:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc04090:	7c 08 02 a6 	mflr    r0                                     
ffc04094:	90 01 00 3c 	stw     r0,60(r1)                              
ffc04098:	bf 81 00 28 	stmw    r28,40(r1)                             
ffc0409c:	7c 7d 1b 78 	mr      r29,r3                                 
ffc040a0:	7c 9f 23 78 	mr      r31,r4                                 
  IMFS_jnode_t                      *node;                            
  rtems_filesystem_location_info_t   the_link;                        
  int                                result = 0;                      
                                                                      
  node = loc->node_access;                                            
ffc040a4:	83 c4 00 00 	lwz     r30,0(r4)                              
  /*                                                                  
   * If this is the last last pointer to the node                     
   * free the node.                                                   
   */                                                                 
                                                                      
  if ( node->type == IMFS_HARD_LINK ) {                               
ffc040a8:	80 1e 00 4c 	lwz     r0,76(r30)                             
ffc040ac:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc040b0:	40 9e 00 94 	bne-    cr7,ffc04144 <IMFS_unlink+0xb8>        
                                                                      
    if ( !node->info.hard_link.link_node )                            
ffc040b4:	80 1e 00 50 	lwz     r0,80(r30)                             
ffc040b8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc040bc:	40 be 00 18 	bne+    cr7,ffc040d4 <IMFS_unlink+0x48>        <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc040c0:	48 00 bb c5 	bl      ffc0fc84 <__errno>                     <== NOT EXECUTED
ffc040c4:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc040c8:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc040cc:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc040d0:	48 00 00 90 	b       ffc04160 <IMFS_unlink+0xd4>            <== NOT EXECUTED
                                                                      
    the_link = *loc;                                                  
ffc040d4:	3b 81 00 10 	addi    r28,r1,16                              
    the_link.node_access = node->info.hard_link.link_node;            
    IMFS_Set_handlers( &the_link );                                   
ffc040d8:	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;                                                  
ffc040dc:	7c a4 a4 aa 	lswi    r5,r4,20                               
ffc040e0:	7c bc a5 aa 	stswi   r5,r28,20                              
    the_link.node_access = node->info.hard_link.link_node;            
ffc040e4:	90 01 00 10 	stw     r0,16(r1)                              
    IMFS_Set_handlers( &the_link );                                   
ffc040e8:	48 00 7f fd 	bl      ffc0c0e4 <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)               
ffc040ec:	81 3e 00 50 	lwz     r9,80(r30)                             
ffc040f0:	a1 69 00 34 	lhz     r11,52(r9)                             
ffc040f4:	2f 8b 00 01 	cmpwi   cr7,r11,1                              
ffc040f8:	40 be 00 2c 	bne+    cr7,ffc04124 <IMFS_unlink+0x98>        
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( parentloc, &the_link );
ffc040fc:	81 21 00 18 	lwz     r9,24(r1)                              
ffc04100:	7f a3 eb 78 	mr      r3,r29                                 
ffc04104:	7f 84 e3 78 	mr      r4,r28                                 
ffc04108:	80 09 00 34 	lwz     r0,52(r9)                              
ffc0410c:	7c 09 03 a6 	mtctr   r0                                     
ffc04110:	4e 80 04 21 	bctrl                                          
        if ( result != 0 )                                            
            return -1;                                                
ffc04114:	38 00 ff ff 	li      r0,-1                                  
     */                                                               
                                                                      
    if ( node->info.hard_link.link_node->st_nlink == 1)               
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( parentloc, &the_link );
        if ( result != 0 )                                            
ffc04118:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0411c:	41 be 00 28 	beq+    cr7,ffc04144 <IMFS_unlink+0xb8>        
ffc04120:	48 00 00 40 	b       ffc04160 <IMFS_unlink+0xd4>            
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
ffc04124:	39 6b ff ff 	addi    r11,r11,-1                             
ffc04128:	b1 69 00 34 	sth     r11,52(r9)                             
        IMFS_update_ctime( node->info.hard_link.link_node );          
ffc0412c:	38 61 00 08 	addi    r3,r1,8                                
ffc04130:	38 80 00 00 	li      r4,0                                   
ffc04134:	48 00 08 dd 	bl      ffc04a10 <gettimeofday>                
ffc04138:	81 3e 00 50 	lwz     r9,80(r30)                             
ffc0413c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc04140:	90 09 00 48 	stw     r0,72(r9)                              
                                                                      
  /*                                                                  
   *  Now actually free the node we were asked to free.               
   */                                                                 
                                                                      
  result = (*loc->handlers->rmnod_h)( parentloc, loc );               
ffc04144:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc04148:	7f a3 eb 78 	mr      r3,r29                                 
ffc0414c:	7f e4 fb 78 	mr      r4,r31                                 
ffc04150:	80 09 00 34 	lwz     r0,52(r9)                              
ffc04154:	7c 09 03 a6 	mtctr   r0                                     
ffc04158:	4e 80 04 21 	bctrl                                          
ffc0415c:	7c 60 1b 78 	mr      r0,r3                                  
                                                                      
  return result;                                                      
}                                                                     
ffc04160:	39 61 00 38 	addi    r11,r1,56                              
ffc04164:	7c 03 03 78 	mr      r3,r0                                  
ffc04168:	4b ff c3 d0 	b       ffc00538 <_restgpr_28_x>               
                                                                      

ffc0416c <IMFS_unmount>: #include <rtems/seterr.h> int IMFS_unmount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
ffc0416c:	7c 08 02 a6 	mflr    r0                                     
ffc04170:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc04174:	90 01 00 0c 	stw     r0,12(r1)                              
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
ffc04178:	81 23 00 08 	lwz     r9,8(r3)                               
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
ffc0417c:	80 09 00 4c 	lwz     r0,76(r9)                              
ffc04180:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc04184:	41 be 00 10 	beq+    cr7,ffc04194 <IMFS_unmount+0x28>       <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc04188:	48 00 ba fd 	bl      ffc0fc84 <__errno>                     <== NOT EXECUTED
ffc0418c:	38 00 00 14 	li      r0,20                                  <== NOT EXECUTED
ffc04190:	48 00 00 18 	b       ffc041a8 <IMFS_unmount+0x3c>           <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
ffc04194:	80 09 00 5c 	lwz     r0,92(r9)                              
ffc04198:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0419c:	40 be 00 18 	bne+    cr7,ffc041b4 <IMFS_unmount+0x48>       <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );  /* XXX */        
ffc041a0:	48 00 ba e5 	bl      ffc0fc84 <__errno>                     <== NOT EXECUTED
ffc041a4:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc041a8:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc041ac:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc041b0:	48 00 00 10 	b       ffc041c0 <IMFS_unmount+0x54>           <== NOT EXECUTED
  /*                                                                  
   * 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;                                  
ffc041b4:	38 00 00 00 	li      r0,0                                   
ffc041b8:	90 09 00 5c 	stw     r0,92(r9)                              
                                                                      
  return 0;                                                           
ffc041bc:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc041c0:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc041c4:	38 21 00 08 	addi    r1,r1,8                                
ffc041c8:	7c 08 03 a6 	mtlr    r0                                     
ffc041cc:	4e 80 00 20 	blr                                            
                                                                      

ffc035dc <Stack_check_Dump_threads_usage>: static rtems_printk_plugin_t print_handler; void Stack_check_Dump_threads_usage( Thread_Control *the_thread ) {
ffc035dc:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc035e0:	7c 08 02 a6 	mflr    r0                                     
ffc035e4:	90 01 00 44 	stw     r0,68(r1)                              
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
      if (*base != U32_PATTERN)                                       
ffc035e8:	3c 00 a5 a5 	lis     r0,-23131                              
ffc035ec:	60 00 a5 a5 	ori     r0,r0,42405                            
static rtems_printk_plugin_t   print_handler;                         
                                                                      
void Stack_check_Dump_threads_usage(                                  
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc035f0:	be e1 00 1c 	stmw    r23,28(r1)                             
ffc035f4:	7c 7b 1b 78 	mr      r27,r3                                 
      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);                        
ffc035f8:	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);                       
ffc035fc:	81 63 00 b8 	lwz     r11,184(r3)                            
  size = Stack_check_usable_stack_size(stack);                        
ffc03600:	3b 9c ff 80 	addi    r28,r28,-128                           
      current = 0;                                                    
    } else                                                            
  #endif                                                              
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
ffc03604:	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;                                       
ffc03608:	39 2b 01 00 	addi    r9,r11,256                             
    for (ebase = base + length; base < ebase; base++)                 
ffc0360c:	57 8a 00 3a 	rlwinm  r10,r28,0,0,29                         
ffc03610:	7d 49 52 14 	add     r10,r9,r10                             
ffc03614:	48 00 00 14 	b       ffc03628 <Stack_check_Dump_threads_usage+0x4c>
      if (*base != U32_PATTERN)                                       
ffc03618:	81 09 00 00 	lwz     r8,0(r9)                               
ffc0361c:	7f 88 00 00 	cmpw    cr7,r8,r0                              
ffc03620:	40 9e 00 18 	bne-    cr7,ffc03638 <Stack_check_Dump_threads_usage+0x5c>
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
ffc03624:	39 29 00 04 	addi    r9,r9,4                                
ffc03628:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc0362c:	41 9c ff ec 	blt+    cr7,ffc03618 <Stack_check_Dump_threads_usage+0x3c><== 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;                                                         
ffc03630:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
ffc03634:	48 00 00 1c 	b       ffc03650 <Stack_check_Dump_threads_usage+0x74><== NOT EXECUTED
  low  = Stack_check_usable_stack_start(stack);                       
  size = Stack_check_usable_stack_size(stack);                        
                                                                      
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
                                                                      
  if ( high_water_mark )                                              
ffc03638:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
  else                                                                
    used = 0;                                                         
ffc0363c:	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 )                                              
ffc03640:	41 9e 00 10 	beq-    cr7,ffc03650 <Stack_check_Dump_threads_usage+0x74><== NEVER TAKEN
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
ffc03644:	3b ab 00 80 	addi    r29,r11,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 );  
ffc03648:	7f bd e2 14 	add     r29,r29,r28                            
ffc0364c:	7f a9 e8 50 	subf    r29,r9,r29                             
                                                                      
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if ( the_thread )                                                 
  #endif                                                              
    {                                                                 
      (*print_handler)(                                               
ffc03650:	3f c0 00 00 	lis     r30,0                                  
ffc03654:	83 1b 00 08 	lwz     r24,8(r27)                             
ffc03658:	3b fe 28 50 	addi    r31,r30,10320                          
ffc0365c:	83 3e 28 50 	lwz     r25,10320(r30)                         
ffc03660:	82 ff 00 04 	lwz     r23,4(r31)                             
ffc03664:	38 80 00 05 	li      r4,5                                   
ffc03668:	38 a1 00 08 	addi    r5,r1,8                                
ffc0366c:	7f 03 c3 78 	mr      r3,r24                                 
ffc03670:	48 00 42 55 	bl      ffc078c4 <rtems_object_get_name>       
ffc03674:	3c 80 ff c1 	lis     r4,-63                                 
ffc03678:	7c 66 1b 78 	mr      r6,r3                                  
ffc0367c:	7f 29 03 a6 	mtctr   r25                                    
ffc03680:	38 84 61 28 	addi    r4,r4,24872                            
ffc03684:	7f 05 c3 78 	mr      r5,r24                                 
ffc03688:	7e e3 bb 78 	mr      r3,r23                                 
ffc0368c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03690:	4e 80 04 21 	bctrl                                          
                                                                      
  (*print_handler)(                                                   
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
ffc03694:	80 db 00 b4 	lwz     r6,180(r27)                            
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
ffc03698:	80 1e 28 50 	lwz     r0,10320(r30)                          
ffc0369c:	3c 80 ff c1 	lis     r4,-63                                 
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
ffc036a0:	80 bb 00 b8 	lwz     r5,184(r27)                            
ffc036a4:	38 c6 ff ff 	addi    r6,r6,-1                               
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
ffc036a8:	7c 09 03 a6 	mtctr   r0                                     
ffc036ac:	80 7f 00 04 	lwz     r3,4(r31)                              
ffc036b0:	38 84 61 35 	addi    r4,r4,24885                            
ffc036b4:	7c c5 32 14 	add     r6,r5,r6                               
ffc036b8:	7f 47 d3 78 	mr      r7,r26                                 
ffc036bc:	7f 88 e3 78 	mr      r8,r28                                 
ffc036c0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc036c4:	4e 80 04 21 	bctrl                                          
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
ffc036c8:	80 1f 00 08 	lwz     r0,8(r31)                              
    (*print_handler)( print_context, "Unavailable\n" );               
ffc036cc:	80 7f 00 04 	lwz     r3,4(r31)                              
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
ffc036d0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    (*print_handler)( print_context, "Unavailable\n" );               
ffc036d4:	80 1e 28 50 	lwz     r0,10320(r30)                          
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
ffc036d8:	40 be 00 1c 	bne+    cr7,ffc036f4 <Stack_check_Dump_threads_usage+0x118><== ALWAYS TAKEN
    (*print_handler)( print_context, "Unavailable\n" );               
ffc036dc:	3c 80 ff c1 	lis     r4,-63                                 <== NOT EXECUTED
ffc036e0:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc036e4:	38 84 61 53 	addi    r4,r4,24915                            <== NOT EXECUTED
ffc036e8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc036ec:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc036f0:	48 00 00 1c 	b       ffc0370c <Stack_check_Dump_threads_usage+0x130><== NOT EXECUTED
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
ffc036f4:	3c 80 ff c1 	lis     r4,-63                                 
ffc036f8:	7c 09 03 a6 	mtctr   r0                                     
ffc036fc:	38 84 61 60 	addi    r4,r4,24928                            
ffc03700:	7f a5 eb 78 	mr      r5,r29                                 
ffc03704:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03708:	4e 80 04 21 	bctrl                                          
  }                                                                   
                                                                      
                                                                      
}                                                                     
ffc0370c:	39 61 00 40 	addi    r11,r1,64                              
ffc03710:	48 01 0e 0c 	b       ffc1451c <_restgpr_23_x>               
                                                                      

ffc037e4 <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) {
ffc037e4:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc037e8:	7c 08 02 a6 	mflr    r0                                     
ffc037ec:	90 01 00 3c 	stw     r0,60(r1)                              
ffc037f0:	bf a1 00 2c 	stmw    r29,44(r1)                             
ffc037f4:	7c 7d 1b 78 	mr      r29,r3                                 
ffc037f8:	7c 9e 23 78 	mr      r30,r4                                 
  Stack_Control *stack = &running->Start.Initial_stack;               
  void          *pattern_area = Stack_check_Get_pattern(stack);       
ffc037fc:	83 e3 00 b8 	lwz     r31,184(r3)                            
  char           name[32];                                            
                                                                      
  printk("BLOWN STACK!!!\n");                                         
ffc03800:	3c 60 ff c1 	lis     r3,-63                                 
ffc03804:	38 63 61 66 	addi    r3,r3,24934                            
ffc03808:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0380c:	48 00 1b 15 	bl      ffc05320 <printk>                      
  printk("task control block: 0x%08" PRIxPTR "\n", running);          
ffc03810:	3c 60 ff c1 	lis     r3,-63                                 
ffc03814:	38 63 61 76 	addi    r3,r3,24950                            
ffc03818:	7f a4 eb 78 	mr      r4,r29                                 
ffc0381c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03820:	48 00 1b 01 	bl      ffc05320 <printk>                      
  printk("task ID: 0x%08lx\n", (unsigned long) running->Object.id);   
ffc03824:	80 9d 00 08 	lwz     r4,8(r29)                              
ffc03828:	3c 60 ff c1 	lis     r3,-63                                 
ffc0382c:	38 63 61 93 	addi    r3,r3,24979                            
ffc03830:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03834:	48 00 1a ed 	bl      ffc05320 <printk>                      
  printk(                                                             
ffc03838:	80 9d 00 0c 	lwz     r4,12(r29)                             
ffc0383c:	3c 60 ff c1 	lis     r3,-63                                 
ffc03840:	38 63 61 a5 	addi    r3,r3,24997                            
ffc03844:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03848:	48 00 1a d9 	bl      ffc05320 <printk>                      
    "task name: 0x%08" PRIx32 "\n",                                   
    running->Object.name.name_u32                                     
  );                                                                  
  printk(                                                             
ffc0384c:	80 7d 00 08 	lwz     r3,8(r29)                              
ffc03850:	38 a1 00 08 	addi    r5,r1,8                                
ffc03854:	38 80 00 20 	li      r4,32                                  
ffc03858:	48 00 40 6d 	bl      ffc078c4 <rtems_object_get_name>       
ffc0385c:	7c 64 1b 78 	mr      r4,r3                                  
ffc03860:	3c 60 ff c1 	lis     r3,-63                                 
ffc03864:	38 63 61 b9 	addi    r3,r3,25017                            
ffc03868:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0386c:	48 00 1a b5 	bl      ffc05320 <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)                              
ffc03870:	80 bd 00 b8 	lwz     r5,184(r29)                            
ffc03874:	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(                                                             
ffc03878:	3c 60 ff c1 	lis     r3,-63                                 
ffc0387c:	38 63 61 cf 	addi    r3,r3,25039                            
ffc03880:	7c c5 22 14 	add     r6,r5,r4                               
ffc03884:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03888:	48 00 1a 99 	bl      ffc05320 <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) {                                                  
ffc0388c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc03890:	40 be 00 20 	bne+    cr7,ffc038b0 <Stack_check_report_blown_task+0xcc><== NEVER TAKEN
    printk(                                                           
ffc03894:	3c 60 ff c1 	lis     r3,-63                                 
ffc03898:	38 63 62 00 	addi    r3,r3,25088                            
ffc0389c:	38 80 00 80 	li      r4,128                                 
ffc038a0:	38 bf 00 08 	addi    r5,r31,8                               
ffc038a4:	38 df 00 88 	addi    r6,r31,136                             
ffc038a8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc038ac:	48 00 1a 75 	bl      ffc05320 <printk>                      
          rtems_configuration_get_user_multiprocessing_table()->node  
      );                                                              
    }                                                                 
  #endif                                                              
                                                                      
  rtems_fatal_error_occurred(0x81);                                   
ffc038b0:	38 60 00 81 	li      r3,129                                 
ffc038b4:	48 00 4a 2d 	bl      ffc082e0 <rtems_fatal_error_occurred>  
                                                                      

ffc0e784 <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();
ffc0e784:	3d 20 00 00 	lis     r9,0                                   
ffc0e788:	80 09 20 28 	lwz     r0,8232(r9)                            
  ticks                 = microseconds / microseconds_per_tick;       
ffc0e78c:	7d 23 03 96 	divwu   r9,r3,r0                               
  if ( (microseconds % microseconds_per_tick) != 0 )                  
ffc0e790:	7c 09 01 d6 	mullw   r0,r9,r0                               
ffc0e794:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc0e798:	41 9e 00 08 	beq-    cr7,ffc0e7a0 <TOD_MICROSECONDS_TO_TICKS+0x1c><== ALWAYS TAKEN
    ticks += 1;                                                       
ffc0e79c:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
                                                                      
  return ticks;                                                       
}                                                                     
ffc0e7a0:	7d 23 4b 78 	mr      r3,r9                                  
ffc0e7a4:	4e 80 00 20 	blr                                            
                                                                      

ffc099f4 <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();
ffc099f4:	3d 20 00 00 	lis     r9,0                                   
ffc099f8:	81 29 20 10 	lwz     r9,8208(r9)                            
ffc099fc:	38 00 03 e8 	li      r0,1000                                
ffc09a00:	7c 09 03 96 	divwu   r0,r9,r0                               
  ticks                 = milliseconds / milliseconds_per_tick;       
ffc09a04:	7d 23 03 96 	divwu   r9,r3,r0                               
  if ( (milliseconds % milliseconds_per_tick) != 0 )                  
ffc09a08:	7c 09 01 d6 	mullw   r0,r9,r0                               
ffc09a0c:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc09a10:	41 9e 00 08 	beq-    cr7,ffc09a18 <TOD_MILLISECONDS_TO_TICKS+0x24><== ALWAYS TAKEN
    ticks += 1;                                                       
ffc09a14:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
                                                                      
  return ticks;                                                       
}                                                                     
ffc09a18:	7d 23 4b 78 	mr      r3,r9                                  
ffc09a1c:	4e 80 00 20 	blr                                            
                                                                      

ffc11b2c <_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 ) {
ffc11b2c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc11b30:	7c 08 02 a6 	mflr    r0                                     
ffc11b34:	90 01 00 24 	stw     r0,36(r1)                              
  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;                  
ffc11b38:	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                 
)                                                                     
{                                                                     
ffc11b3c:	bf 81 00 10 	stmw    r28,16(r1)                             
ffc11b40:	7c 7f 1b 78 	mr      r31,r3                                 
ffc11b44:	7c 9d 23 78 	mr      r29,r4                                 
  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;                  
ffc11b48:	90 03 00 48 	stw     r0,72(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)) {              
ffc11b4c:	70 c0 00 03 	andi.   r0,r6,3                                
ffc11b50:	7c dc 33 78 	mr      r28,r6                                 
)                                                                     
{                                                                     
  size_t message_buffering_required = 0;                              
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
ffc11b54:	90 a3 00 44 	stw     r5,68(r3)                              
  the_message_queue->number_of_pending_messages = 0;                  
  the_message_queue->maximum_message_size       = maximum_message_size;
ffc11b58:	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)) {              
ffc11b5c:	41 82 00 18 	beq-    ffc11b74 <_CORE_message_queue_Initialize+0x48>
    allocated_message_size += sizeof(uint32_t);                       
ffc11b60:	3b 86 00 04 	addi    r28,r6,4                               
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
ffc11b64:	57 9c 00 3a 	rlwinm  r28,r28,0,0,29                         
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
ffc11b68:	7f 9c 30 40 	cmplw   cr7,r28,r6                             
    return false;                                                     
ffc11b6c:	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)                  
ffc11b70:	41 bc 00 80 	blt+    cr7,ffc11bf0 <_CORE_message_queue_Initialize+0xc4><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Calculate how much total memory is required for message buffering and
   *  check for overflow on the multiplication.                       
   */                                                                 
  if ( !size_t_mult32_with_overflow(                                  
ffc11b74:	3b 9c 00 10 	addi    r28,r28,16                             
  size_t  a,                                                          
  size_t  b,                                                          
  size_t *c                                                           
)                                                                     
{                                                                     
  long long x = (long long)a*b;                                       
ffc11b78:	7d 45 e0 16 	mulhwu  r10,r5,r28                             
ffc11b7c:	7d 65 e1 d6 	mullw   r11,r5,r28                             
                                                                      
  if ( x > SIZE_MAX )                                                 
ffc11b80:	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;                                                     
ffc11b84:	3b c0 00 00 	li      r30,0                                  
  size_t *c                                                           
)                                                                     
{                                                                     
  long long x = (long long)a*b;                                       
                                                                      
  if ( x > SIZE_MAX )                                                 
ffc11b88:	41 9d 00 68 	bgt-    cr7,ffc11bf0 <_CORE_message_queue_Initialize+0xc4>
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
     _Workspace_Allocate( message_buffering_required );               
ffc11b8c:	7d 63 5b 78 	mr      r3,r11                                 
ffc11b90:	90 a1 00 08 	stw     r5,8(r1)                               
ffc11b94:	48 00 32 61 	bl      ffc14df4 <_Workspace_Allocate>         
                                                                      
  if (the_message_queue->message_buffers == 0)                        
ffc11b98:	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 *)  
ffc11b9c:	90 7f 00 5c 	stw     r3,92(r31)                             
     _Workspace_Allocate( message_buffering_required );               
ffc11ba0:	7c 64 1b 78 	mr      r4,r3                                  
                                                                      
  if (the_message_queue->message_buffers == 0)                        
ffc11ba4:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc11ba8:	41 9e 00 48 	beq-    cr7,ffc11bf0 <_CORE_message_queue_Initialize+0xc4>
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
ffc11bac:	38 7f 00 60 	addi    r3,r31,96                              
ffc11bb0:	7f 86 e3 78 	mr      r6,r28                                 
ffc11bb4:	48 00 50 b9 	bl      ffc16c6c <_Chain_Initialize>           
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
                                                                      
  _Thread_queue_Initialize(                                           
ffc11bb8:	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 );                        
ffc11bbc:	38 1f 00 50 	addi    r0,r31,80                              
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc11bc0:	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 );                        
ffc11bc4:	39 3f 00 54 	addi    r9,r31,84                              
ffc11bc8:	68 84 00 01 	xori    r4,r4,1                                
                                                                      
  head->next = tail;                                                  
ffc11bcc:	91 3f 00 50 	stw     r9,80(r31)                             
ffc11bd0:	7c 84 00 34 	cntlzw  r4,r4                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc11bd4:	90 1f 00 58 	stw     r0,88(r31)                             
ffc11bd8:	7f e3 fb 78 	mr      r3,r31                                 
ffc11bdc:	54 84 d9 7e 	rlwinm  r4,r4,27,5,31                          
ffc11be0:	38 a0 00 80 	li      r5,128                                 
ffc11be4:	38 c0 00 06 	li      r6,6                                   
ffc11be8:	48 00 27 a1 	bl      ffc14388 <_Thread_queue_Initialize>    
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
ffc11bec:	3b c0 00 01 	li      r30,1                                  
}                                                                     
ffc11bf0:	39 61 00 20 	addi    r11,r1,32                              
ffc11bf4:	7f c3 f3 78 	mr      r3,r30                                 
ffc11bf8:	4b ff 3d e0 	b       ffc059d8 <_restgpr_28_x>               
                                                                      

ffc0907c <_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 ) {
ffc0907c:	7c 08 02 a6 	mflr    r0                                     
ffc09080:	7c 2b 0b 78 	mr      r11,r1                                 
ffc09084:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc09088:	90 01 00 14 	stw     r0,20(r1)                              
ffc0908c:	48 01 13 91 	bl      ffc1a41c <_savegpr_31>                 
ffc09090:	7c 7f 1b 78 	mr      r31,r3                                 
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
ffc09094:	48 00 1c c1 	bl      ffc0ad54 <_Thread_queue_Dequeue>       
ffc09098:	2f 83 00 00 	cmpwi   cr7,r3,0                               
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
ffc0909c:	38 00 00 00 	li      r0,0                                   
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
ffc090a0:	40 be 00 38 	bne+    cr7,ffc090d8 <_CORE_semaphore_Surrender+0x5c>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc090a4:	7d 60 00 a6 	mfmsr   r11                                    
ffc090a8:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc090ac:	7d 60 00 78 	andc    r0,r11,r0                              
ffc090b0:	7c 00 01 24 	mtmsr   r0                                     
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
ffc090b4:	81 3f 00 48 	lwz     r9,72(r31)                             
        the_semaphore->count += 1;                                    
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
ffc090b8:	38 00 00 04 	li      r0,4                                   
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
ffc090bc:	81 5f 00 40 	lwz     r10,64(r31)                            
ffc090c0:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc090c4:	40 9c 00 10 	bge-    cr7,ffc090d4 <_CORE_semaphore_Surrender+0x58><== NEVER TAKEN
        the_semaphore->count += 1;                                    
ffc090c8:	39 29 00 01 	addi    r9,r9,1                                
ffc090cc:	91 3f 00 48 	stw     r9,72(r31)                             
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
ffc090d0:	38 00 00 00 	li      r0,0                                   
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc090d4:	7d 60 01 24 	mtmsr   r11                                    
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc090d8:	39 61 00 10 	addi    r11,r1,16                              
ffc090dc:	7c 03 03 78 	mr      r3,r0                                  
ffc090e0:	4b ff 74 64 	b       ffc00544 <_restgpr_31_x>               
                                                                      

ffc07c5c <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
ffc07c5c:	7c 2b 0b 78 	mr      r11,r1                                 
ffc07c60:	7c 08 02 a6 	mflr    r0                                     
ffc07c64:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc07c68:	90 01 00 14 	stw     r0,20(r1)                              
ffc07c6c:	48 01 27 b1 	bl      ffc1a41c <_savegpr_31>                 
ffc07c70:	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 ];               
ffc07c74:	81 03 01 2c 	lwz     r8,300(r3)                             
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
ffc07c78:	80 e3 00 30 	lwz     r7,48(r3)                              
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc07c7c:	7c 00 00 a6 	mfmsr   r0                                     
ffc07c80:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc07c84:	7c 09 48 78 	andc    r9,r0,r9                               
ffc07c88:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
  _ISR_Disable( level );                                              
  pending_events  = api->pending_events;                              
ffc07c8c:	81 68 00 00 	lwz     r11,0(r8)                              
  event_condition = (rtems_event_set) the_thread->Wait.count;         
ffc07c90:	81 43 00 24 	lwz     r10,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 ) ) {                      
ffc07c94:	7d 49 58 39 	and.    r9,r10,r11                             
ffc07c98:	41 82 00 f4 	beq-    ffc07d8c <_Event_Surrender+0x130>      
                                                                      
  /*                                                                  
   *  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() &&                                       
ffc07c9c:	3c c0 00 00 	lis     r6,0                                   
ffc07ca0:	38 c6 2d b8 	addi    r6,r6,11704                            
ffc07ca4:	80 a6 00 08 	lwz     r5,8(r6)                               
ffc07ca8:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc07cac:	41 9e 00 64 	beq-    cr7,ffc07d10 <_Event_Surrender+0xb4>   
ffc07cb0:	80 c6 00 0c 	lwz     r6,12(r6)                              
ffc07cb4:	7f 83 30 00 	cmpw    cr7,r3,r6                              
ffc07cb8:	40 be 00 58 	bne+    cr7,ffc07d10 <_Event_Surrender+0xb4>   
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
ffc07cbc:	3c c0 00 00 	lis     r6,0                                   
ffc07cc0:	80 a6 28 0c 	lwz     r5,10252(r6)                           
  /*                                                                  
   *  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 ) &&                          
ffc07cc4:	2f 85 00 02 	cmpwi   cr7,r5,2                               
ffc07cc8:	41 9e 00 10 	beq-    cr7,ffc07cd8 <_Event_Surrender+0x7c>   <== NEVER TAKEN
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
ffc07ccc:	80 c6 28 0c 	lwz     r6,10252(r6)                           
   *  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) ||   
ffc07cd0:	2f 86 00 01 	cmpwi   cr7,r6,1                               
ffc07cd4:	40 be 00 3c 	bne+    cr7,ffc07d10 <_Event_Surrender+0xb4>   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
ffc07cd8:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc07cdc:	41 9e 00 0c 	beq-    cr7,ffc07ce8 <_Event_Surrender+0x8c>   
ffc07ce0:	70 e5 00 02 	andi.   r5,r7,2                                
ffc07ce4:	41 82 00 a8 	beq-    ffc07d8c <_Event_Surrender+0x130>      <== NEVER TAKEN
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) );                            
ffc07ce8:	7d 6b 48 78 	andc    r11,r11,r9                             
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
ffc07cec:	91 68 00 00 	stw     r11,0(r8)                              
      the_thread->Wait.count = 0;                                     
ffc07cf0:	39 60 00 00 	li      r11,0                                  
ffc07cf4:	91 7f 00 24 	stw     r11,36(r31)                            
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
ffc07cf8:	81 7f 00 28 	lwz     r11,40(r31)                            
ffc07cfc:	91 2b 00 00 	stw     r9,0(r11)                              
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
ffc07d00:	39 60 00 03 	li      r11,3                                  
ffc07d04:	3d 20 00 00 	lis     r9,0                                   
ffc07d08:	91 69 28 0c 	stw     r11,10252(r9)                          
ffc07d0c:	48 00 00 80 	b       ffc07d8c <_Event_Surrender+0x130>      
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_event (              
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_FOR_EVENT);                    
ffc07d10:	80 df 00 10 	lwz     r6,16(r31)                             
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
ffc07d14:	70 c5 01 00 	andi.   r5,r6,256                              
ffc07d18:	41 82 00 74 	beq-    ffc07d8c <_Event_Surrender+0x130>      
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
ffc07d1c:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc07d20:	41 9e 00 0c 	beq-    cr7,ffc07d2c <_Event_Surrender+0xd0>   
ffc07d24:	70 ea 00 02 	andi.   r10,r7,2                               
ffc07d28:	41 82 00 64 	beq-    ffc07d8c <_Event_Surrender+0x130>      <== NEVER TAKEN
ffc07d2c:	7d 6b 48 78 	andc    r11,r11,r9                             
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
ffc07d30:	91 68 00 00 	stw     r11,0(r8)                              
      the_thread->Wait.count = 0;                                     
ffc07d34:	39 60 00 00 	li      r11,0                                  
ffc07d38:	91 7f 00 24 	stw     r11,36(r31)                            
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
ffc07d3c:	81 7f 00 28 	lwz     r11,40(r31)                            
ffc07d40:	91 2b 00 00 	stw     r9,0(r11)                              
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  __asm__ volatile (                                                  
ffc07d44:	7d 20 00 a6 	mfmsr   r9                                     
ffc07d48:	7c 00 01 24 	mtmsr   r0                                     
ffc07d4c:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
ffc07d50:	81 3f 00 50 	lwz     r9,80(r31)                             
ffc07d54:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc07d58:	41 9e 00 0c 	beq-    cr7,ffc07d64 <_Event_Surrender+0x108>  
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc07d5c:	7c 00 01 24 	mtmsr   r0                                     
ffc07d60:	48 00 00 18 	b       ffc07d78 <_Event_Surrender+0x11c>      
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
ffc07d64:	39 20 00 03 	li      r9,3                                   
ffc07d68:	91 3f 00 50 	stw     r9,80(r31)                             
ffc07d6c:	7c 00 01 24 	mtmsr   r0                                     
        _ISR_Enable( level );                                         
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
        (void) _Watchdog_Remove( &the_thread->Timer );                
ffc07d70:	38 7f 00 48 	addi    r3,r31,72                              
ffc07d74:	48 00 3c f9 	bl      ffc0ba6c <_Watchdog_Remove>            
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
ffc07d78:	3c 80 10 03 	lis     r4,4099                                
ffc07d7c:	7f e3 fb 78 	mr      r3,r31                                 
ffc07d80:	60 84 ff f8 	ori     r4,r4,65528                            
ffc07d84:	48 00 28 8d 	bl      ffc0a610 <_Thread_Clear_state>         
ffc07d88:	48 00 00 08 	b       ffc07d90 <_Event_Surrender+0x134>      
ffc07d8c:	7c 00 01 24 	mtmsr   r0                                     
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
ffc07d90:	39 61 00 10 	addi    r11,r1,16                              
ffc07d94:	4b ff 87 b0 	b       ffc00544 <_restgpr_31_x>               
                                                                      

ffc07d98 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
ffc07d98:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc07d9c:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc07da0:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
void _Event_Timeout(                                                  
  Objects_Id  id,                                                     
  void       *ignored                                                 
)                                                                     
{                                                                     
ffc07da4:	90 01 00 1c 	stw     r0,28(r1)                              
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc07da8:	48 00 2c 69 	bl      ffc0aa10 <_Thread_Get>                 
  switch ( location ) {                                               
ffc07dac:	80 01 00 08 	lwz     r0,8(r1)                               
ffc07db0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07db4:	40 9e 00 6c 	bne-    cr7,ffc07e20 <_Event_Timeout+0x88>     <== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc07db8:	7d 60 00 a6 	mfmsr   r11                                    
ffc07dbc:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc07dc0:	7d 69 48 78 	andc    r9,r11,r9                              
ffc07dc4:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
ffc07dc8:	3d 20 00 00 	lis     r9,0                                   
            _ISR_Enable( level );                                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
ffc07dcc:	90 03 00 24 	stw     r0,36(r3)                              
        if ( _Thread_Is_executing( the_thread ) ) {                   
ffc07dd0:	80 09 2d c4 	lwz     r0,11716(r9)                           
ffc07dd4:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc07dd8:	40 be 00 1c 	bne+    cr7,ffc07df4 <_Event_Timeout+0x5c>     
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
ffc07ddc:	3d 20 00 00 	lis     r9,0                                   
ffc07de0:	80 09 28 0c 	lwz     r0,10252(r9)                           
ffc07de4:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc07de8:	40 be 00 0c 	bne+    cr7,ffc07df4 <_Event_Timeout+0x5c>     
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
ffc07dec:	38 00 00 02 	li      r0,2                                   
ffc07df0:	90 09 28 0c 	stw     r0,10252(r9)                           
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
ffc07df4:	38 00 00 06 	li      r0,6                                   
ffc07df8:	90 03 00 34 	stw     r0,52(r3)                              
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc07dfc:	7d 60 01 24 	mtmsr   r11                                    
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
ffc07e00:	3c 80 10 03 	lis     r4,4099                                
ffc07e04:	60 84 ff f8 	ori     r4,r4,65528                            
ffc07e08:	48 00 28 09 	bl      ffc0a610 <_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--;                                 
ffc07e0c:	3d 20 00 00 	lis     r9,0                                   
ffc07e10:	81 69 27 c8 	lwz     r11,10184(r9)                          
ffc07e14:	38 0b ff ff 	addi    r0,r11,-1                              
ffc07e18:	90 09 27 c8 	stw     r0,10184(r9)                           
    return _Thread_Dispatch_disable_level;                            
ffc07e1c:	80 09 27 c8 	lwz     r0,10184(r9)                           
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
ffc07e20:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc07e24:	38 21 00 18 	addi    r1,r1,24                               
ffc07e28:	7c 08 03 a6 	mtlr    r0                                     
ffc07e2c:	4e 80 00 20 	blr                                            
                                                                      

ffc0db4c <_Heap_Extend>: Heap_Control *heap, void *extend_area_begin_ptr, uintptr_t extend_area_size, uintptr_t *extended_size_ptr ) {
ffc0db4c:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc0db50:	7c 08 02 a6 	mflr    r0                                     
ffc0db54:	be c1 00 18 	stmw    r22,24(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;
ffc0db58:	7f c4 2a 14 	add     r30,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 ) {                        
ffc0db5c:	7f 9e 20 40 	cmplw   cr7,r30,r4                             
  Heap_Control *heap,                                                 
  void *extend_area_begin_ptr,                                        
  uintptr_t extend_area_size,                                         
  uintptr_t *extended_size_ptr                                        
)                                                                     
{                                                                     
ffc0db60:	90 01 00 44 	stw     r0,68(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;                              
ffc0db64:	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                                        
)                                                                     
{                                                                     
ffc0db68:	7c d9 33 78 	mr      r25,r6                                 
ffc0db6c:	7c 7f 1b 78 	mr      r31,r3                                 
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const first_block = heap->first_block;                  
ffc0db70:	83 83 00 20 	lwz     r28,32(r3)                             
  Heap_Control *heap,                                                 
  void *extend_area_begin_ptr,                                        
  uintptr_t extend_area_size,                                         
  uintptr_t *extended_size_ptr                                        
)                                                                     
{                                                                     
ffc0db74:	7c 9d 23 78 	mr      r29,r4                                 
  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;                              
ffc0db78:	93 41 00 0c 	stw     r26,12(r1)                             
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
    return false;                                                     
ffc0db7c:	38 00 00 00 	li      r0,0                                   
  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;                              
  Heap_Block *extend_last_block = NULL;                               
ffc0db80:	93 41 00 08 	stw     r26,8(r1)                              
  uintptr_t const page_size = heap->page_size;                        
ffc0db84:	83 63 00 10 	lwz     r27,16(r3)                             
  uintptr_t const min_block_size = heap->min_block_size;              
ffc0db88:	80 c3 00 14 	lwz     r6,20(r3)                              
  uintptr_t const extend_area_begin = (uintptr_t) extend_area_begin_ptr;
  uintptr_t const extend_area_end = extend_area_begin + extend_area_size;
  uintptr_t const free_size = stats->free_size;                       
ffc0db8c:	83 03 00 30 	lwz     r24,48(r3)                             
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
ffc0db90:	41 bc 02 70 	blt+    cr7,ffc0de00 <_Heap_Extend+0x2b4>      
    return false;                                                     
  }                                                                   
                                                                      
  extend_area_ok = _Heap_Get_first_and_last_block(                    
ffc0db94:	7c 83 23 78 	mr      r3,r4                                  
ffc0db98:	38 e1 00 0c 	addi    r7,r1,12                               
ffc0db9c:	7c a4 2b 78 	mr      r4,r5                                  
ffc0dba0:	39 01 00 08 	addi    r8,r1,8                                
ffc0dba4:	7f 65 db 78 	mr      r5,r27                                 
ffc0dba8:	4b ff b4 51 	bl      ffc08ff8 <_Heap_Get_first_and_last_block>
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
    /* For simplicity we reject extend areas that are too small */    
    return false;                                                     
ffc0dbac:	7f 40 d3 78 	mr      r0,r26                                 
    page_size,                                                        
    min_block_size,                                                   
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
ffc0dbb0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0dbb4:	41 9e 02 4c 	beq-    cr7,ffc0de00 <_Heap_Extend+0x2b4>      
ffc0dbb8:	7f 89 e3 78 	mr      r9,r28                                 
ffc0dbbc:	3a c0 00 00 	li      r22,0                                  
ffc0dbc0:	39 40 00 00 	li      r10,0                                  
ffc0dbc4:	3a e0 00 00 	li      r23,0                                  
    return false;                                                     
  }                                                                   
                                                                      
  do {                                                                
    uintptr_t const sub_area_begin = (start_block != first_block) ?   
      (uintptr_t) start_block : heap->area_begin;                     
ffc0dbc8:	7f 89 e0 00 	cmpw    cr7,r9,r28                             
ffc0dbcc:	7d 2b 4b 78 	mr      r11,r9                                 
ffc0dbd0:	40 be 00 08 	bne+    cr7,ffc0dbd8 <_Heap_Extend+0x8c>       
ffc0dbd4:	81 7f 00 18 	lwz     r11,24(r31)                            
    uintptr_t const sub_area_end = start_block->prev_size;            
ffc0dbd8:	80 09 00 00 	lwz     r0,0(r9)                               
    Heap_Block *const end_block =                                     
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
ffc0dbdc:	7f 80 e8 40 	cmplw   cr7,r0,r29                             
ffc0dbe0:	40 9d 00 0c 	ble-    cr7,ffc0dbec <_Heap_Extend+0xa0>       
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
ffc0dbe4:	7f 9e 58 40 	cmplw   cr7,r30,r11                            
ffc0dbe8:	41 9d 02 14 	bgt-    cr7,ffc0ddfc <_Heap_Extend+0x2b0>      
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
ffc0dbec:	7f 9e 58 00 	cmpw    cr7,r30,r11                            
ffc0dbf0:	41 9e 00 10 	beq-    cr7,ffc0dc00 <_Heap_Extend+0xb4>       
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
ffc0dbf4:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc0dbf8:	41 9c 00 10 	blt-    cr7,ffc0dc08 <_Heap_Extend+0xbc>       
ffc0dbfc:	48 00 00 10 	b       ffc0dc0c <_Heap_Extend+0xc0>           
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
ffc0dc00:	7d 37 4b 78 	mr      r23,r9                                 
ffc0dc04:	48 00 00 08 	b       ffc0dc0c <_Heap_Extend+0xc0>           
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
ffc0dc08:	7d 2a 4b 78 	mr      r10,r9                                 
ffc0dc0c:	7d 60 db 96 	divwu   r11,r0,r27                             
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
ffc0dc10:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc0dc14:	7d 6b d9 d6 	mullw   r11,r11,r27                            
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
ffc0dc18:	39 6b ff f8 	addi    r11,r11,-8                             
ffc0dc1c:	40 be 00 10 	bne+    cr7,ffc0dc2c <_Heap_Extend+0xe0>       
      start_block->prev_size = extend_area_end;                       
ffc0dc20:	93 c9 00 00 	stw     r30,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 )   
ffc0dc24:	7d 7a 5b 78 	mr      r26,r11                                
ffc0dc28:	48 00 00 10 	b       ffc0dc38 <_Heap_Extend+0xec>           
                                                                      
      merge_above_block = end_block;                                  
    } else if ( sub_area_end < extend_area_begin ) {                  
ffc0dc2c:	7f 80 e8 40 	cmplw   cr7,r0,r29                             
ffc0dc30:	40 9c 00 08 	bge-    cr7,ffc0dc38 <_Heap_Extend+0xec>       
ffc0dc34:	7d 76 5b 78 	mr      r22,r11                                
    - 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;                
ffc0dc38:	81 2b 00 04 	lwz     r9,4(r11)                              
ffc0dc3c:	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);                 
ffc0dc40:	7d 29 5a 14 	add     r9,r9,r11                              
      link_above_block = end_block;                                   
    }                                                                 
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
ffc0dc44:	7f 89 e0 00 	cmpw    cr7,r9,r28                             
ffc0dc48:	40 9e ff 80 	bne+    cr7,ffc0dbc8 <_Heap_Extend+0x7c>       
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
ffc0dc4c:	80 1f 00 18 	lwz     r0,24(r31)                             
ffc0dc50:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc0dc54:	40 9c 00 0c 	bge-    cr7,ffc0dc60 <_Heap_Extend+0x114>      
    heap->area_begin = extend_area_begin;                             
ffc0dc58:	93 bf 00 18 	stw     r29,24(r31)                            
ffc0dc5c:	48 00 00 14 	b       ffc0dc70 <_Heap_Extend+0x124>          
  } else if ( heap->area_end < extend_area_end ) {                    
ffc0dc60:	80 1f 00 1c 	lwz     r0,28(r31)                             
ffc0dc64:	7f 80 f0 40 	cmplw   cr7,r0,r30                             
ffc0dc68:	40 9c 00 08 	bge-    cr7,ffc0dc70 <_Heap_Extend+0x124>      
    heap->area_end = extend_area_end;                                 
ffc0dc6c:	93 df 00 1c 	stw     r30,28(r31)                            
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
ffc0dc70:	81 61 00 0c 	lwz     r11,12(r1)                             
ffc0dc74:	81 21 00 08 	lwz     r9,8(r1)                               
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
ffc0dc78:	93 cb 00 00 	stw     r30,0(r11)                             
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
ffc0dc7c:	7c 0b 48 50 	subf    r0,r11,r9                              
    (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;                   
ffc0dc80:	60 08 00 01 	ori     r8,r0,1                                
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
ffc0dc84:	90 09 00 00 	stw     r0,0(r9)                               
  extend_last_block->size_and_flag = 0;                               
ffc0dc88:	38 00 00 00 	li      r0,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 =                                 
ffc0dc8c:	91 0b 00 04 	stw     r8,4(r11)                              
    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;                               
ffc0dc90:	90 09 00 04 	stw     r0,4(r9)                               
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
ffc0dc94:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc0dc98:	7f 80 58 40 	cmplw   cr7,r0,r11                             
ffc0dc9c:	40 9d 00 0c 	ble-    cr7,ffc0dca8 <_Heap_Extend+0x15c>      
    heap->first_block = extend_first_block;                           
ffc0dca0:	91 7f 00 20 	stw     r11,32(r31)                            
ffc0dca4:	48 00 00 14 	b       ffc0dcb8 <_Heap_Extend+0x16c>          
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
ffc0dca8:	80 1f 00 24 	lwz     r0,36(r31)                             
ffc0dcac:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc0dcb0:	40 9c 00 08 	bge-    cr7,ffc0dcb8 <_Heap_Extend+0x16c>      
    heap->last_block = extend_last_block;                             
ffc0dcb4:	91 3f 00 24 	stw     r9,36(r31)                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
ffc0dcb8:	2f 97 00 00 	cmpwi   cr7,r23,0                              
ffc0dcbc:	41 9e 00 48 	beq-    cr7,ffc0dd04 <_Heap_Extend+0x1b8>      
  Heap_Control *heap,                                                 
  uintptr_t extend_area_begin,                                        
  Heap_Block *first_block                                             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
ffc0dcc0:	80 1f 00 10 	lwz     r0,16(r31)                             
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
ffc0dcc4:	3b bd 00 08 	addi    r29,r29,8                              
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_up(                        
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  uintptr_t remainder = value % alignment;                            
ffc0dcc8:	7d 3d 03 96 	divwu   r9,r29,r0                              
ffc0dccc:	7d 29 01 d6 	mullw   r9,r9,r0                               
                                                                      
  if ( remainder != 0 ) {                                             
ffc0dcd0:	7d 29 e8 51 	subf.   r9,r9,r29                              
ffc0dcd4:	41 82 00 0c 	beq-    ffc0dce0 <_Heap_Extend+0x194>          <== NEVER TAKEN
    return value - remainder + alignment;                             
ffc0dcd8:	7f bd 02 14 	add     r29,r29,r0                             
ffc0dcdc:	7f a9 e8 50 	subf    r29,r9,r29                             
  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;                
ffc0dce0:	80 17 00 00 	lwz     r0,0(r23)                              
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  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 =                             
ffc0dce4:	38 9d ff f8 	addi    r4,r29,-8                              
  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;
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
ffc0dce8:	7f e3 fb 78 	mr      r3,r31                                 
  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;                
ffc0dcec:	90 1d ff f8 	stw     r0,-8(r29)                             
  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 =                              
ffc0dcf0:	7c 04 b8 50 	subf    r0,r4,r23                              
    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;
ffc0dcf4:	60 00 00 01 	ori     r0,r0,1                                
ffc0dcf8:	90 04 00 04 	stw     r0,4(r4)                               
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
ffc0dcfc:	4b ff fe 15 	bl      ffc0db10 <_Heap_Free_block>            
ffc0dd00:	48 00 00 1c 	b       ffc0dd1c <_Heap_Extend+0x1d0>          
    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 ) {                            
ffc0dd04:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0dd08:	41 9e 00 14 	beq-    cr7,ffc0dd1c <_Heap_Extend+0x1d0>      
    _Heap_Link_below(                                                 
ffc0dd0c:	81 21 00 08 	lwz     r9,8(r1)                               
{                                                                     
  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;           
ffc0dd10:	7d 49 50 50 	subf    r10,r9,r10                             
ffc0dd14:	61 4a 00 01 	ori     r10,r10,1                              
)                                                                     
{                                                                     
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const link_begin = (uintptr_t) link;                      
                                                                      
  last_block->size_and_flag =                                         
ffc0dd18:	91 49 00 04 	stw     r10,4(r9)                              
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
ffc0dd1c:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0dd20:	41 9e 00 4c 	beq-    cr7,ffc0dd6c <_Heap_Extend+0x220>      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc0dd24:	80 1f 00 10 	lwz     r0,16(r31)                             
)                                                                     
{                                                                     
  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,      
ffc0dd28:	3b de ff f8 	addi    r30,r30,-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(             
ffc0dd2c:	7f da f0 50 	subf    r30,r26,r30                            
ffc0dd30:	7f de 03 96 	divwu   r30,r30,r0                             
ffc0dd34:	7f de 01 d6 	mullw   r30,r30,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)                 
ffc0dd38:	80 1a 00 04 	lwz     r0,4(r26)                              
      | HEAP_PREV_BLOCK_USED;                                         
                                                                      
  _Heap_Block_set_size( last_block, last_block_new_size );            
                                                                      
  _Heap_Free_block( heap, last_block );                               
ffc0dd3c:	7f e3 fb 78 	mr      r3,r31                                 
  );                                                                  
  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)                 
ffc0dd40:	7c 1e 00 50 	subf    r0,r30,r0                              
    page_size                                                         
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
ffc0dd44:	7d 3e d2 14 	add     r9,r30,r26                             
    (last_block->size_and_flag - last_block_new_size)                 
      | HEAP_PREV_BLOCK_USED;                                         
ffc0dd48:	60 00 00 01 	ori     r0,r0,1                                
    page_size                                                         
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
ffc0dd4c:	90 09 00 04 	stw     r0,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 );                               
ffc0dd50:	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;       
ffc0dd54:	80 1a 00 04 	lwz     r0,4(r26)                              
ffc0dd58:	54 00 07 fe 	clrlwi  r0,r0,31                               
                                                                      
  block->size_and_flag = size | flag;                                 
ffc0dd5c:	7f de 03 78 	or      r30,r30,r0                             
ffc0dd60:	93 da 00 04 	stw     r30,4(r26)                             
ffc0dd64:	4b ff fd ad 	bl      ffc0db10 <_Heap_Free_block>            
ffc0dd68:	48 00 00 34 	b       ffc0dd9c <_Heap_Extend+0x250>          
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
ffc0dd6c:	2f 96 00 00 	cmpwi   cr7,r22,0                              
ffc0dd70:	41 9e 00 2c 	beq-    cr7,ffc0dd9c <_Heap_Extend+0x250>      
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;       
ffc0dd74:	81 76 00 04 	lwz     r11,4(r22)                             
)                                                                     
{                                                                     
  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 );       
ffc0dd78:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0dd7c:	55 6b 07 fe 	clrlwi  r11,r11,31                             
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
    _Heap_Link_above(                                                 
ffc0dd80:	81 21 00 08 	lwz     r9,8(r1)                               
)                                                                     
{                                                                     
  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 );       
ffc0dd84:	7c 16 00 50 	subf    r0,r22,r0                              
                                                                      
  block->size_and_flag = size | flag;                                 
ffc0dd88:	7d 60 03 78 	or      r0,r11,r0                              
ffc0dd8c:	90 16 00 04 	stw     r0,4(r22)                              
                                                                      
  last_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                  
ffc0dd90:	80 09 00 04 	lwz     r0,4(r9)                               
ffc0dd94:	60 00 00 01 	ori     r0,r0,1                                
ffc0dd98:	90 09 00 04 	stw     r0,4(r9)                               
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
ffc0dd9c:	2f 97 00 00 	cmpwi   cr7,r23,0                              
ffc0dda0:	40 be 00 18 	bne+    cr7,ffc0ddb8 <_Heap_Extend+0x26c>      
ffc0dda4:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0dda8:	40 be 00 10 	bne+    cr7,ffc0ddb8 <_Heap_Extend+0x26c>      
    _Heap_Free_block( heap, extend_first_block );                     
ffc0ddac:	80 81 00 0c 	lwz     r4,12(r1)                              
ffc0ddb0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ddb4:	4b ff fd 5d 	bl      ffc0db10 <_Heap_Free_block>            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
    heap->last_block,                                                 
    (uintptr_t) heap->first_block - (uintptr_t) heap->last_block      
ffc0ddb8:	81 3f 00 24 	lwz     r9,36(r31)                             
  extended_size = stats->free_size - free_size;                       
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
ffc0ddbc:	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(                                               
ffc0ddc0:	80 1f 00 20 	lwz     r0,32(r31)                             
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;       
ffc0ddc4:	81 69 00 04 	lwz     r11,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(                                               
ffc0ddc8:	7c 09 00 50 	subf    r0,r9,r0                               
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;       
ffc0ddcc:	55 6b 07 fe 	clrlwi  r11,r11,31                             
                                                                      
  block->size_and_flag = size | flag;                                 
ffc0ddd0:	7d 60 03 78 	or      r0,r11,r0                              
ffc0ddd4:	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;                       
ffc0ddd8:	80 1f 00 30 	lwz     r0,48(r31)                             
ffc0dddc:	7f 18 00 50 	subf    r24,r24,r0                             
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
ffc0dde0:	80 1f 00 2c 	lwz     r0,44(r31)                             
ffc0dde4:	7c 00 c2 14 	add     r0,r0,r24                              
ffc0dde8:	90 1f 00 2c 	stw     r0,44(r31)                             
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
ffc0ddec:	38 00 00 01 	li      r0,1                                   
  extended_size = stats->free_size - free_size;                       
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
ffc0ddf0:	41 9e 00 10 	beq-    cr7,ffc0de00 <_Heap_Extend+0x2b4>      <== NEVER TAKEN
    *extended_size_ptr = extended_size;                               
ffc0ddf4:	93 19 00 00 	stw     r24,0(r25)                             
ffc0ddf8:	48 00 00 08 	b       ffc0de00 <_Heap_Extend+0x2b4>          
      _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;                                                   
ffc0ddfc:	38 00 00 00 	li      r0,0                                   
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
ffc0de00:	39 61 00 40 	addi    r11,r1,64                              
ffc0de04:	7c 03 03 78 	mr      r3,r0                                  
ffc0de08:	4b ff 26 d0 	b       ffc004d8 <_restgpr_22_x>               
                                                                      

ffc0de8c <_Heap_Free>: return do_free; } #endif bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr ) {
ffc0de8c:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0de90:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0de94:	7c 08 02 a6 	mflr    r0                                     
ffc0de98:	7c 69 1b 78 	mr      r9,r3                                  
ffc0de9c:	48 00 c5 81 	bl      ffc1a41c <_savegpr_31>                 
  /*                                                                  
   * 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 ) {                                    
ffc0dea0:	7c 8b 23 79 	mr.     r11,r4                                 
    return do_free;                                                   
  }                                                                   
#endif                                                                
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
{                                                                     
ffc0dea4:	90 01 00 14 	stw     r0,20(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;                                                      
ffc0dea8:	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 ) {                                    
ffc0deac:	41 82 01 e8 	beq-    ffc0e094 <_Heap_Free+0x208>            
ffc0deb0:	80 09 00 10 	lwz     r0,16(r9)                              
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           
ffc0deb4:	80 a9 00 20 	lwz     r5,32(r9)                              
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc0deb8:	7d 6b 03 96 	divwu   r11,r11,r0                             
ffc0debc:	7d 6b 01 d6 	mullw   r11,r11,r0                             
  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;             
ffc0dec0:	38 00 00 00 	li      r0,0                                   
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
ffc0dec4:	39 6b ff f8 	addi    r11,r11,-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;             
ffc0dec8:	7f 8b 28 40 	cmplw   cr7,r11,r5                             
ffc0decc:	41 9c 00 14 	blt-    cr7,ffc0dee0 <_Heap_Free+0x54>         
ffc0ded0:	80 09 00 24 	lwz     r0,36(r9)                              
ffc0ded4:	7c 0b 00 10 	subfc   r0,r11,r0                              
ffc0ded8:	38 00 00 00 	li      r0,0                                   
ffc0dedc:	7c 00 01 14 	adde    r0,r0,r0                               
  }                                                                   
                                                                      
  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 ) ) {                     
ffc0dee0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return false;                                                     
ffc0dee4:	38 60 00 00 	li      r3,0                                   
  }                                                                   
                                                                      
  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 ) ) {                     
ffc0dee8:	41 9e 01 ac 	beq-    cr7,ffc0e094 <_Heap_Free+0x208>        
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc0deec:	80 cb 00 04 	lwz     r6,4(r11)                              
ffc0def0:	38 00 00 00 	li      r0,0                                   
    - 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;                
ffc0def4:	54 c8 00 3c 	rlwinm  r8,r6,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);                 
ffc0def8:	7d 48 5a 14 	add     r10,r8,r11                             
  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;             
ffc0defc:	7f 8a 28 40 	cmplw   cr7,r10,r5                             
ffc0df00:	41 9c 00 14 	blt-    cr7,ffc0df14 <_Heap_Free+0x88>         <== NEVER TAKEN
ffc0df04:	80 09 00 24 	lwz     r0,36(r9)                              
ffc0df08:	7c 0a 00 10 	subfc   r0,r10,r0                              
ffc0df0c:	38 00 00 00 	li      r0,0                                   
ffc0df10:	7c 00 01 14 	adde    r0,r0,r0                               
  _Heap_Protection_block_check( heap, block );                        
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
ffc0df14:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return false;                                                     
ffc0df18:	38 60 00 00 	li      r3,0                                   
  _Heap_Protection_block_check( heap, block );                        
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {                
ffc0df1c:	41 9e 01 78 	beq-    cr7,ffc0e094 <_Heap_Free+0x208>        
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc0df20:	80 0a 00 04 	lwz     r0,4(r10)                              
    return false;                                                     
  }                                                                   
                                                                      
  _Heap_Protection_block_check( heap, next_block );                   
                                                                      
  if ( !_Heap_Is_prev_used( next_block ) ) {                          
ffc0df24:	70 04 00 01 	andi.   r4,r0,1                                
ffc0df28:	41 82 01 6c 	beq-    ffc0e094 <_Heap_Free+0x208>            
  if ( !_Heap_Protection_determine_block_free( heap, block ) ) {      
    return true;                                                      
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
ffc0df2c:	80 69 00 24 	lwz     r3,36(r9)                              
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
ffc0df30:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
ffc0df34:	38 80 00 00 	li      r4,0                                   
ffc0df38:	7f 8a 18 00 	cmpw    cr7,r10,r3                             
ffc0df3c:	41 9e 00 18 	beq-    cr7,ffc0df54 <_Heap_Free+0xc8>         
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc0df40:	7c ea 02 14 	add     r7,r10,r0                              
  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;                 
ffc0df44:	80 e7 00 04 	lwz     r7,4(r7)                               
                                                                      
    return do_free;                                                   
  }                                                                   
#endif                                                                
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
ffc0df48:	70 ff 00 01 	andi.   r31,r7,1                               
ffc0df4c:	7c 80 00 26 	mfcr    r4                                     
ffc0df50:	54 84 1f fe 	rlwinm  r4,r4,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 ) ) {                               
ffc0df54:	70 c7 00 01 	andi.   r7,r6,1                                
  if ( !_Heap_Protection_determine_block_free( heap, block ) ) {      
    return true;                                                      
  }                                                                   
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
ffc0df58:	54 84 06 3e 	clrlwi  r4,r4,24                               
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
ffc0df5c:	40 82 00 94 	bne-    ffc0dff0 <_Heap_Free+0x164>            
    uintptr_t const prev_size = block->prev_size;                     
ffc0df60:	80 cb 00 00 	lwz     r6,0(r11)                              
  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;             
ffc0df64:	39 80 00 00 	li      r12,0                                  
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
ffc0df68:	7c e6 58 50 	subf    r7,r6,r11                              
  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;             
ffc0df6c:	7f 87 28 40 	cmplw   cr7,r7,r5                              
ffc0df70:	41 9c 00 10 	blt-    cr7,ffc0df80 <_Heap_Free+0xf4>         <== NEVER TAKEN
ffc0df74:	7d 87 18 10 	subfc   r12,r7,r3                              
ffc0df78:	39 80 00 00 	li      r12,0                                  
ffc0df7c:	7d 8c 61 14 	adde    r12,r12,r12                            
    Heap_Block * const prev_block = _Heap_Block_at( block, -prev_size );
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, prev_block ) ) {              
ffc0df80:	2f 8c 00 00 	cmpwi   cr7,r12,0                              
      _HAssert( false );                                              
      return( false );                                                
ffc0df84:	38 60 00 00 	li      r3,0                                   
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
    uintptr_t const prev_size = block->prev_size;                     
    Heap_Block * const prev_block = _Heap_Block_at( block, -prev_size );
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, prev_block ) ) {              
ffc0df88:	41 9e 01 0c 	beq-    cr7,ffc0e094 <_Heap_Free+0x208>        <== 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;                 
ffc0df8c:	80 a7 00 04 	lwz     r5,4(r7)                               
      return( false );                                                
    }                                                                 
                                                                      
    /* As we always coalesce free blocks, the block that preceedes prev_block
       must have been used. */                                        
    if ( !_Heap_Is_prev_used ( prev_block) ) {                        
ffc0df90:	70 bf 00 01 	andi.   r31,r5,1                               
ffc0df94:	41 82 01 00 	beq-    ffc0e094 <_Heap_Free+0x208>            <== NEVER TAKEN
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
ffc0df98:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0df9c:	7c c8 32 14 	add     r6,r8,r6                               
ffc0dfa0:	41 9e 00 34 	beq-    cr7,ffc0dfd4 <_Heap_Free+0x148>        
  return _Heap_Free_list_tail(heap)->prev;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
ffc0dfa4:	81 6a 00 08 	lwz     r11,8(r10)                             
      uintptr_t const size = block_size + prev_size + next_block_size;
ffc0dfa8:	7c c6 02 14 	add     r6,r6,r0                               
  Heap_Block *prev = block->prev;                                     
ffc0dfac:	81 4a 00 0c 	lwz     r10,12(r10)                            
                                                                      
  prev->next = next;                                                  
ffc0dfb0:	91 6a 00 08 	stw     r11,8(r10)                             
  next->prev = prev;                                                  
ffc0dfb4:	91 4b 00 0c 	stw     r10,12(r11)                            
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
ffc0dfb8:	81 69 00 38 	lwz     r11,56(r9)                             
ffc0dfbc:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0dfc0:	90 09 00 38 	stw     r0,56(r9)                              
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
ffc0dfc4:	60 c0 00 01 	ori     r0,r6,1                                
ffc0dfc8:	90 07 00 04 	stw     r0,4(r7)                               
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
ffc0dfcc:	7c c6 39 2e 	stwx    r6,r6,r7                               
ffc0dfd0:	48 00 00 9c 	b       ffc0e06c <_Heap_Free+0x1e0>            
    } else {                      /* coalesce prev */                 
      uintptr_t const size = block_size + prev_size;                  
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
ffc0dfd4:	60 c0 00 01 	ori     r0,r6,1                                
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
      next_block->prev_size = size;                                   
ffc0dfd8:	7c c8 59 2e 	stwx    r6,r8,r11                              
      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;        
ffc0dfdc:	90 07 00 04 	stw     r0,4(r7)                               
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
ffc0dfe0:	80 0a 00 04 	lwz     r0,4(r10)                              
ffc0dfe4:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
ffc0dfe8:	90 0a 00 04 	stw     r0,4(r10)                              
ffc0dfec:	48 00 00 80 	b       ffc0e06c <_Heap_Free+0x1e0>            
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
ffc0dff0:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0dff4:	41 9e 00 30 	beq-    cr7,ffc0e024 <_Heap_Free+0x198>        
RTEMS_INLINE_ROUTINE void _Heap_Free_list_replace(                    
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
ffc0dff8:	80 ca 00 08 	lwz     r6,8(r10)                              
    uintptr_t const size = block_size + next_block_size;              
ffc0dffc:	7c e0 42 14 	add     r7,r0,r8                               
  Heap_Block *prev = old_block->prev;                                 
ffc0e000:	81 4a 00 0c 	lwz     r10,12(r10)                            
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
ffc0e004:	60 e0 00 01 	ori     r0,r7,1                                
                                                                      
  new_block->next = next;                                             
ffc0e008:	90 cb 00 08 	stw     r6,8(r11)                              
  new_block->prev = prev;                                             
ffc0e00c:	91 4b 00 0c 	stw     r10,12(r11)                            
                                                                      
  next->prev = new_block;                                             
  prev->next = new_block;                                             
ffc0e010:	91 6a 00 08 	stw     r11,8(r10)                             
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
  new_block->prev = prev;                                             
                                                                      
  next->prev = new_block;                                             
ffc0e014:	91 66 00 0c 	stw     r11,12(r6)                             
ffc0e018:	90 0b 00 04 	stw     r0,4(r11)                              
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
ffc0e01c:	7c e7 59 2e 	stwx    r7,r7,r11                              
ffc0e020:	48 00 00 4c 	b       ffc0e06c <_Heap_Free+0x1e0>            
  } 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;         
ffc0e024:	61 00 00 01 	ori     r0,r8,1                                
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
ffc0e028:	80 e9 00 08 	lwz     r7,8(r9)                               
ffc0e02c:	90 0b 00 04 	stw     r0,4(r11)                              
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
ffc0e030:	80 0a 00 04 	lwz     r0,4(r10)                              
                                                                      
  new_block->next = next;                                             
ffc0e034:	90 eb 00 08 	stw     r7,8(r11)                              
ffc0e038:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
  new_block->prev = block_before;                                     
ffc0e03c:	91 2b 00 0c 	stw     r9,12(r11)                             
    next_block->prev_size = block_size;                               
ffc0e040:	7d 08 59 2e 	stwx    r8,r8,r11                              
  block_before->next = new_block;                                     
  next->prev = new_block;                                             
ffc0e044:	91 67 00 0c 	stw     r11,12(r7)                             
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
ffc0e048:	91 69 00 08 	stw     r11,8(r9)                              
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
ffc0e04c:	81 69 00 38 	lwz     r11,56(r9)                             
  } 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;               
ffc0e050:	90 0a 00 04 	stw     r0,4(r10)                              
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
ffc0e054:	38 0b 00 01 	addi    r0,r11,1                               
    if ( stats->max_free_blocks < stats->free_blocks ) {              
ffc0e058:	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;                                             
ffc0e05c:	90 09 00 38 	stw     r0,56(r9)                              
    if ( stats->max_free_blocks < stats->free_blocks ) {              
ffc0e060:	7f 8b 00 40 	cmplw   cr7,r11,r0                             
ffc0e064:	40 9c 00 08 	bge-    cr7,ffc0e06c <_Heap_Free+0x1e0>        
      stats->max_free_blocks = stats->free_blocks;                    
ffc0e068:	90 09 00 3c 	stw     r0,60(r9)                              
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
ffc0e06c:	81 69 00 40 	lwz     r11,64(r9)                             
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
ffc0e070:	38 60 00 01 	li      r3,1                                   
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
ffc0e074:	38 0b ff ff 	addi    r0,r11,-1                              
  ++stats->frees;                                                     
ffc0e078:	81 69 00 50 	lwz     r11,80(r9)                             
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
ffc0e07c:	90 09 00 40 	stw     r0,64(r9)                              
  ++stats->frees;                                                     
ffc0e080:	38 0b 00 01 	addi    r0,r11,1                               
ffc0e084:	90 09 00 50 	stw     r0,80(r9)                              
  stats->free_size += block_size;                                     
ffc0e088:	80 09 00 30 	lwz     r0,48(r9)                              
ffc0e08c:	7d 00 42 14 	add     r8,r0,r8                               
ffc0e090:	91 09 00 30 	stw     r8,48(r9)                              
                                                                      
  return( true );                                                     
}                                                                     
ffc0e094:	39 61 00 10 	addi    r11,r1,16                              
ffc0e098:	4b ff 24 ac 	b       ffc00544 <_restgpr_31_x>               
                                                                      

ffc1af40 <_Heap_Size_of_alloc_area>: RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down( uintptr_t value, uintptr_t alignment ) { return value - (value % alignment);
ffc1af40:	80 03 00 10 	lwz     r0,16(r3)                              
bool _Heap_Size_of_alloc_area(                                        
  Heap_Control *heap,                                                 
  void *alloc_begin_ptr,                                              
  uintptr_t *alloc_size                                               
)                                                                     
{                                                                     
ffc1af44:	7c 69 1b 78 	mr      r9,r3                                  
RTEMS_INLINE_ROUTINE bool _Heap_Is_block_in_heap(                     
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
ffc1af48:	81 03 00 20 	lwz     r8,32(r3)                              
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc1af4c:	7d 44 03 96 	divwu   r10,r4,r0                              
ffc1af50:	7d 4a 01 d6 	mullw   r10,r10,r0                             
  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;             
ffc1af54:	38 00 00 00 	li      r0,0                                   
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
ffc1af58:	39 4a ff f8 	addi    r10,r10,-8                             
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
ffc1af5c:	7f 8a 40 40 	cmplw   cr7,r10,r8                             
ffc1af60:	41 9c 00 14 	blt-    cr7,ffc1af74 <_Heap_Size_of_alloc_area+0x34>
ffc1af64:	80 03 00 24 	lwz     r0,36(r3)                              
ffc1af68:	7c 0a 00 10 	subfc   r0,r10,r0                              
ffc1af6c:	38 00 00 00 	li      r0,0                                   
ffc1af70:	7c 00 01 14 	adde    r0,r0,r0                               
  uintptr_t const alloc_begin = (uintptr_t) alloc_begin_ptr;          
  Heap_Block *block = _Heap_Block_of_alloc_area( alloc_begin, page_size );
  Heap_Block *next_block = NULL;                                      
  uintptr_t block_size = 0;                                           
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
ffc1af74:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return false;                                                     
ffc1af78:	38 60 00 00 	li      r3,0                                   
  uintptr_t const alloc_begin = (uintptr_t) alloc_begin_ptr;          
  Heap_Block *block = _Heap_Block_of_alloc_area( alloc_begin, page_size );
  Heap_Block *next_block = NULL;                                      
  uintptr_t block_size = 0;                                           
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
ffc1af7c:	4d 9e 00 20 	beqlr   cr7                                    
    - 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;                
ffc1af80:	81 6a 00 04 	lwz     r11,4(r10)                             
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
ffc1af84:	38 00 00 00 	li      r0,0                                   
    - 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;                
ffc1af88:	55 6b 00 3c 	rlwinm  r11,r11,0,0,30                         
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
ffc1af8c:	7d 6b 52 14 	add     r11,r11,r10                            
  const Heap_Control *heap,                                           
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block >= (uintptr_t) heap->first_block           
    && (uintptr_t) block <= (uintptr_t) heap->last_block;             
ffc1af90:	7f 8b 40 40 	cmplw   cr7,r11,r8                             
ffc1af94:	41 9c 00 14 	blt-    cr7,ffc1afa8 <_Heap_Size_of_alloc_area+0x68><== NEVER TAKEN
ffc1af98:	80 09 00 24 	lwz     r0,36(r9)                              
ffc1af9c:	7c 0b 00 10 	subfc   r0,r11,r0                              
ffc1afa0:	38 00 00 00 	li      r0,0                                   
ffc1afa4:	7c 00 01 14 	adde    r0,r0,r0                               
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
ffc1afa8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
ffc1afac:	38 60 00 00 	li      r3,0                                   
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
ffc1afb0:	4d 9e 00 20 	beqlr   cr7                                    
  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;                 
ffc1afb4:	80 0b 00 04 	lwz     r0,4(r11)                              
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
ffc1afb8:	70 09 00 01 	andi.   r9,r0,1                                
ffc1afbc:	4d 82 00 20 	beqlr                                          
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
ffc1afc0:	20 84 00 04 	subfic  r4,r4,4                                
ffc1afc4:	7d 64 5a 14 	add     r11,r4,r11                             
ffc1afc8:	91 65 00 00 	stw     r11,0(r5)                              
                                                                      
  return true;                                                        
ffc1afcc:	38 60 00 01 	li      r3,1                                   
}                                                                     
ffc1afd0:	4e 80 00 20 	blr                                            
                                                                      

ffc09c64 <_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;
ffc09c64:	2f 85 00 00 	cmpwi   cr7,r5,0                               
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
ffc09c68:	94 21 ff 98 	stwu    r1,-104(r1)                            
ffc09c6c:	7c 08 02 a6 	mflr    r0                                     
ffc09c70:	bd c1 00 20 	stmw    r14,32(r1)                             
ffc09c74:	7c 7e 1b 78 	mr      r30,r3                                 
ffc09c78:	7c 9f 23 78 	mr      r31,r4                                 
ffc09c7c:	90 01 00 6c 	stw     r0,108(r1)                             
  uintptr_t const page_size = heap->page_size;                        
ffc09c80:	83 43 00 10 	lwz     r26,16(r3)                             
  uintptr_t const min_block_size = heap->min_block_size;              
ffc09c84:	83 23 00 14 	lwz     r25,20(r3)                             
  Heap_Block *const first_block = heap->first_block;                  
ffc09c88:	83 03 00 20 	lwz     r24,32(r3)                             
  Heap_Block *const last_block = heap->last_block;                    
ffc09c8c:	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;                      
ffc09c90:	41 9e 00 10 	beq-    cr7,ffc09ca0 <_Heap_Walk+0x3c>         
ffc09c94:	3d 20 ff c1 	lis     r9,-63                                 
ffc09c98:	39 29 9b b4 	addi    r9,r9,-25676                           
ffc09c9c:	48 00 00 0c 	b       ffc09ca8 <_Heap_Walk+0x44>             
ffc09ca0:	3d 20 ff c1 	lis     r9,-63                                 
ffc09ca4:	39 29 9b b0 	addi    r9,r9,-25680                           
ffc09ca8:	91 21 00 18 	stw     r9,24(r1)                              
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
ffc09cac:	3d 20 00 00 	lis     r9,0                                   
    return true;                                                      
ffc09cb0:	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() ) ) {                
ffc09cb4:	80 09 27 e0 	lwz     r0,10208(r9)                           
ffc09cb8:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc09cbc:	40 be 04 bc 	bne+    cr7,ffc0a178 <_Heap_Walk+0x514>        
  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)(                                                         
ffc09cc0:	80 1e 00 08 	lwz     r0,8(r30)                              
ffc09cc4:	3c a0 ff c1 	lis     r5,-63                                 
ffc09cc8:	81 1e 00 18 	lwz     r8,24(r30)                             
ffc09ccc:	7f e3 fb 78 	mr      r3,r31                                 
ffc09cd0:	90 01 00 0c 	stw     r0,12(r1)                              
ffc09cd4:	38 80 00 00 	li      r4,0                                   
ffc09cd8:	38 a5 75 95 	addi    r5,r5,30101                            
ffc09cdc:	80 1e 00 0c 	lwz     r0,12(r30)                             
ffc09ce0:	7f 46 d3 78 	mr      r6,r26                                 
ffc09ce4:	81 3e 00 1c 	lwz     r9,28(r30)                             
ffc09ce8:	7f 27 cb 78 	mr      r7,r25                                 
ffc09cec:	90 01 00 10 	stw     r0,16(r1)                              
ffc09cf0:	7f 0a c3 78 	mr      r10,r24                                
ffc09cf4:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09cf8:	92 e1 00 08 	stw     r23,8(r1)                              
ffc09cfc:	7c 09 03 a6 	mtctr   r0                                     
ffc09d00:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09d04:	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 ) {                                             
ffc09d08:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc09d0c:	40 be 00 18 	bne+    cr7,ffc09d24 <_Heap_Walk+0xc0>         
    (*printer)( source, true, "page size is zero\n" );                
ffc09d10:	3c a0 ff c1 	lis     r5,-63                                 
ffc09d14:	7f e3 fb 78 	mr      r3,r31                                 
ffc09d18:	38 80 00 01 	li      r4,1                                   
ffc09d1c:	38 a5 76 26 	addi    r5,r5,30246                            
ffc09d20:	48 00 00 c0 	b       ffc09de0 <_Heap_Walk+0x17c>            
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
ffc09d24:	73 49 00 07 	andi.   r9,r26,7                               
ffc09d28:	41 a2 00 1c 	beq+    ffc09d44 <_Heap_Walk+0xe0>             
    (*printer)(                                                       
ffc09d2c:	3c a0 ff c1 	lis     r5,-63                                 
ffc09d30:	7f e3 fb 78 	mr      r3,r31                                 
ffc09d34:	38 80 00 01 	li      r4,1                                   
ffc09d38:	38 a5 76 39 	addi    r5,r5,30265                            
ffc09d3c:	7f 46 d3 78 	mr      r6,r26                                 
ffc09d40:	48 00 04 54 	b       ffc0a194 <_Heap_Walk+0x530>            
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc09d44:	7c 19 d3 96 	divwu   r0,r25,r26                             
ffc09d48:	7c 00 d1 d6 	mullw   r0,r0,r26                              
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
ffc09d4c:	7f 99 00 00 	cmpw    cr7,r25,r0                             
ffc09d50:	41 be 00 1c 	beq+    cr7,ffc09d6c <_Heap_Walk+0x108>        
    (*printer)(                                                       
ffc09d54:	3c a0 ff c1 	lis     r5,-63                                 
ffc09d58:	7f e3 fb 78 	mr      r3,r31                                 
ffc09d5c:	38 80 00 01 	li      r4,1                                   
ffc09d60:	38 a5 76 57 	addi    r5,r5,30295                            
ffc09d64:	7f 26 cb 78 	mr      r6,r25                                 
ffc09d68:	48 00 04 2c 	b       ffc0a194 <_Heap_Walk+0x530>            
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
ffc09d6c:	38 18 00 08 	addi    r0,r24,8                               
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc09d70:	7d 20 d3 96 	divwu   r9,r0,r26                              
ffc09d74:	7d 29 d1 d6 	mullw   r9,r9,r26                              
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
ffc09d78:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc09d7c:	41 be 00 1c 	beq+    cr7,ffc09d98 <_Heap_Walk+0x134>        
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
ffc09d80:	3c a0 ff c1 	lis     r5,-63                                 
ffc09d84:	7f e3 fb 78 	mr      r3,r31                                 
ffc09d88:	38 80 00 01 	li      r4,1                                   
ffc09d8c:	38 a5 76 7b 	addi    r5,r5,30331                            
ffc09d90:	7f 06 c3 78 	mr      r6,r24                                 
ffc09d94:	48 00 04 00 	b       ffc0a194 <_Heap_Walk+0x530>            
  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;                 
ffc09d98:	80 18 00 04 	lwz     r0,4(r24)                              
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
ffc09d9c:	70 09 00 01 	andi.   r9,r0,1                                
ffc09da0:	40 a2 00 18 	bne+    ffc09db8 <_Heap_Walk+0x154>            
    (*printer)(                                                       
ffc09da4:	3c a0 ff c1 	lis     r5,-63                                 
ffc09da8:	7f e3 fb 78 	mr      r3,r31                                 
ffc09dac:	38 80 00 01 	li      r4,1                                   
ffc09db0:	38 a5 76 ac 	addi    r5,r5,30380                            
ffc09db4:	48 00 00 2c 	b       ffc09de0 <_Heap_Walk+0x17c>            
    - 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;                
ffc09db8:	83 b7 00 04 	lwz     r29,4(r23)                             
ffc09dbc:	57 bd 00 3c 	rlwinm  r29,r29,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);                 
ffc09dc0:	7f b7 ea 14 	add     r29,r23,r29                            
  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;                 
ffc09dc4:	80 1d 00 04 	lwz     r0,4(r29)                              
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
ffc09dc8:	70 09 00 01 	andi.   r9,r0,1                                
ffc09dcc:	40 a2 00 28 	bne+    ffc09df4 <_Heap_Walk+0x190>            
    (*printer)(                                                       
ffc09dd0:	3c a0 ff c1 	lis     r5,-63                                 
ffc09dd4:	7f e3 fb 78 	mr      r3,r31                                 
ffc09dd8:	38 80 00 01 	li      r4,1                                   
ffc09ddc:	38 a5 76 da 	addi    r5,r5,30426                            
ffc09de0:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09de4:	7c 09 03 a6 	mtctr   r0                                     
ffc09de8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09dec:	4e 80 04 21 	bctrl                                          
ffc09df0:	48 00 00 ec 	b       ffc09edc <_Heap_Walk+0x278>            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
ffc09df4:	7f 9d c0 00 	cmpw    cr7,r29,r24                            
ffc09df8:	41 9e 00 18 	beq-    cr7,ffc09e10 <_Heap_Walk+0x1ac>        
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
ffc09dfc:	3c a0 ff c1 	lis     r5,-63                                 
ffc09e00:	7f e3 fb 78 	mr      r3,r31                                 
ffc09e04:	38 80 00 01 	li      r4,1                                   
ffc09e08:	38 a5 76 ef 	addi    r5,r5,30447                            
ffc09e0c:	4b ff ff d4 	b       ffc09de0 <_Heap_Walk+0x17c>            
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
ffc09e10:	81 3e 00 10 	lwz     r9,16(r30)                             
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
ffc09e14:	7f c0 f3 78 	mr      r0,r30                                 
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
ffc09e18:	80 de 00 08 	lwz     r6,8(r30)                              
ffc09e1c:	48 00 00 d0 	b       ffc09eec <_Heap_Walk+0x288>            
  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;             
ffc09e20:	81 5e 00 20 	lwz     r10,32(r30)                            
ffc09e24:	39 60 00 00 	li      r11,0                                  
ffc09e28:	7f 8a 30 40 	cmplw   cr7,r10,r6                             
ffc09e2c:	41 9d 00 14 	bgt-    cr7,ffc09e40 <_Heap_Walk+0x1dc>        
ffc09e30:	81 7e 00 24 	lwz     r11,36(r30)                            
ffc09e34:	7d 66 58 10 	subfc   r11,r6,r11                             
ffc09e38:	39 60 00 00 	li      r11,0                                  
ffc09e3c:	7d 6b 59 14 	adde    r11,r11,r11                            
  const Heap_Block *const first_free_block = _Heap_Free_list_first( heap );
  const Heap_Block *prev_block = free_list_tail;                      
  const Heap_Block *free_block = first_free_block;                    
                                                                      
  while ( free_block != free_list_tail ) {                            
    if ( !_Heap_Is_block_in_heap( heap, free_block ) ) {              
ffc09e40:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc09e44:	40 be 00 18 	bne+    cr7,ffc09e5c <_Heap_Walk+0x1f8>        
      (*printer)(                                                     
ffc09e48:	3c a0 ff c1 	lis     r5,-63                                 
ffc09e4c:	7f e3 fb 78 	mr      r3,r31                                 
ffc09e50:	38 80 00 01 	li      r4,1                                   
ffc09e54:	38 a5 77 1e 	addi    r5,r5,30494                            
ffc09e58:	48 00 03 3c 	b       ffc0a194 <_Heap_Walk+0x530>            
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
ffc09e5c:	39 66 00 08 	addi    r11,r6,8                               
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc09e60:	7d 4b 4b 96 	divwu   r10,r11,r9                             
ffc09e64:	7d 4a 49 d6 	mullw   r10,r10,r9                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
ffc09e68:	7f 8b 50 00 	cmpw    cr7,r11,r10                            
ffc09e6c:	41 be 00 18 	beq+    cr7,ffc09e84 <_Heap_Walk+0x220>        
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
ffc09e70:	3c a0 ff c1 	lis     r5,-63                                 
ffc09e74:	7f e3 fb 78 	mr      r3,r31                                 
ffc09e78:	38 80 00 01 	li      r4,1                                   
ffc09e7c:	38 a5 77 3e 	addi    r5,r5,30526                            
ffc09e80:	48 00 03 14 	b       ffc0a194 <_Heap_Walk+0x530>            
    - 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;                
ffc09e84:	81 66 00 04 	lwz     r11,4(r6)                              
ffc09e88:	55 6b 00 3c 	rlwinm  r11,r11,0,0,30                         
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc09e8c:	7d 66 5a 14 	add     r11,r6,r11                             
  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;                 
ffc09e90:	81 6b 00 04 	lwz     r11,4(r11)                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
ffc09e94:	71 6a 00 01 	andi.   r10,r11,1                              
ffc09e98:	41 a2 00 18 	beq+    ffc09eb0 <_Heap_Walk+0x24c>            
      (*printer)(                                                     
ffc09e9c:	3c a0 ff c1 	lis     r5,-63                                 
ffc09ea0:	7f e3 fb 78 	mr      r3,r31                                 
ffc09ea4:	38 80 00 01 	li      r4,1                                   
ffc09ea8:	38 a5 77 6e 	addi    r5,r5,30574                            
ffc09eac:	48 00 02 e8 	b       ffc0a194 <_Heap_Walk+0x530>            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
ffc09eb0:	80 e6 00 0c 	lwz     r7,12(r6)                              
ffc09eb4:	7f 87 00 00 	cmpw    cr7,r7,r0                              
ffc09eb8:	41 be 00 2c 	beq+    cr7,ffc09ee4 <_Heap_Walk+0x280>        
      (*printer)(                                                     
ffc09ebc:	3c a0 ff c1 	lis     r5,-63                                 
ffc09ec0:	7f e3 fb 78 	mr      r3,r31                                 
ffc09ec4:	38 80 00 01 	li      r4,1                                   
ffc09ec8:	38 a5 77 8a 	addi    r5,r5,30602                            
ffc09ecc:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09ed0:	7c 09 03 a6 	mtctr   r0                                     
ffc09ed4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09ed8:	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;                                                     
ffc09edc:	38 60 00 00 	li      r3,0                                   
ffc09ee0:	48 00 02 98 	b       ffc0a178 <_Heap_Walk+0x514>            
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
ffc09ee4:	7c c0 33 78 	mr      r0,r6                                  
ffc09ee8:	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 ) {                            
ffc09eec:	7f 86 f0 00 	cmpw    cr7,r6,r30                             
ffc09ef0:	40 9e ff 30 	bne+    cr7,ffc09e20 <_Heap_Walk+0x1bc>        
ffc09ef4:	48 00 00 0c 	b       ffc09f00 <_Heap_Walk+0x29c>            
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
ffc09ef8:	7f 7d db 78 	mr      r29,r27                                
ffc09efc:	48 00 00 30 	b       ffc09f2c <_Heap_Walk+0x2c8>            
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
ffc09f00:	3e 60 ff c1 	lis     r19,-63                                
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
      (*printer)(                                                     
ffc09f04:	3e 80 ff c1 	lis     r20,-63                                
  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)(                                                         
ffc09f08:	3e 40 ff c1 	lis     r18,-63                                
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
ffc09f0c:	3a 73 79 2a 	addi    r19,r19,31018                          
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
      (*printer)(                                                     
ffc09f10:	3a 94 79 13 	addi    r20,r20,30995                          
  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)(                                                         
ffc09f14:	3a 52 78 76 	addi    r18,r18,30838                          
ffc09f18:	3e 20 ff c1 	lis     r17,-63                                
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
ffc09f1c:	3e c0 ff c1 	lis     r22,-63                                
ffc09f20:	3e 00 ff c1 	lis     r16,-63                                
  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)(                                                         
ffc09f24:	3d e0 ff c1 	lis     r15,-63                                
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
ffc09f28:	3d c0 ff c1 	lis     r14,-63                                
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc09f2c:	82 bd 00 04 	lwz     r21,4(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;             
ffc09f30:	38 00 00 00 	li      r0,0                                   
ffc09f34:	81 3e 00 20 	lwz     r9,32(r30)                             
    - 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;                
ffc09f38:	56 bc 00 3c 	rlwinm  r28,r21,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);                 
ffc09f3c:	7f 7c ea 14 	add     r27,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;             
ffc09f40:	7f 89 d8 40 	cmplw   cr7,r9,r27                             
ffc09f44:	41 9d 00 14 	bgt-    cr7,ffc09f58 <_Heap_Walk+0x2f4>        <== NEVER TAKEN
ffc09f48:	80 1e 00 24 	lwz     r0,36(r30)                             
ffc09f4c:	7c 1b 00 10 	subfc   r0,r27,r0                              
ffc09f50:	38 00 00 00 	li      r0,0                                   
ffc09f54:	7c 00 01 14 	adde    r0,r0,r0                               
    bool const prev_used = _Heap_Is_prev_used( block );               
    Heap_Block *const next_block = _Heap_Block_at( block, block_size );
    uintptr_t const next_block_begin = (uintptr_t) next_block;        
    bool const is_not_last_block = block != last_block;               
                                                                      
    if ( !_Heap_Is_block_in_heap( heap, next_block ) ) {              
ffc09f58:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09f5c:	40 be 00 18 	bne+    cr7,ffc09f74 <_Heap_Walk+0x310>        
      (*printer)(                                                     
ffc09f60:	3c a0 ff c1 	lis     r5,-63                                 
ffc09f64:	7f e3 fb 78 	mr      r3,r31                                 
ffc09f68:	38 80 00 01 	li      r4,1                                   
ffc09f6c:	38 a5 77 bc 	addi    r5,r5,30652                            
ffc09f70:	48 00 00 a8 	b       ffc0a018 <_Heap_Walk+0x3b4>            
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc09f74:	7d 3c d3 96 	divwu   r9,r28,r26                             
ffc09f78:	7d 29 d1 d6 	mullw   r9,r9,r26                              
    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;               
ffc09f7c:	7f a0 ba 78 	xor     r0,r29,r23                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
ffc09f80:	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;               
ffc09f84:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc09f88:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc09f8c:	68 00 00 01 	xori    r0,r0,1                                
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
ffc09f90:	41 9e 00 28 	beq-    cr7,ffc09fb8 <_Heap_Walk+0x354>        
ffc09f94:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09f98:	41 be 00 20 	beq+    cr7,ffc09fb8 <_Heap_Walk+0x354>        
      (*printer)(                                                     
ffc09f9c:	3c a0 ff c1 	lis     r5,-63                                 
ffc09fa0:	7f e3 fb 78 	mr      r3,r31                                 
ffc09fa4:	38 80 00 01 	li      r4,1                                   
ffc09fa8:	38 a5 77 e9 	addi    r5,r5,30697                            
ffc09fac:	7f a6 eb 78 	mr      r6,r29                                 
ffc09fb0:	7f 87 e3 78 	mr      r7,r28                                 
ffc09fb4:	4b ff ff 18 	b       ffc09ecc <_Heap_Walk+0x268>            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
ffc09fb8:	7f 9c c8 40 	cmplw   cr7,r28,r25                            
ffc09fbc:	40 9c 00 3c 	bge-    cr7,ffc09ff8 <_Heap_Walk+0x394>        
ffc09fc0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09fc4:	41 be 00 34 	beq+    cr7,ffc09ff8 <_Heap_Walk+0x394>        <== NEVER TAKEN
      (*printer)(                                                     
ffc09fc8:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09fcc:	3c a0 ff c1 	lis     r5,-63                                 
ffc09fd0:	7f e3 fb 78 	mr      r3,r31                                 
ffc09fd4:	38 80 00 01 	li      r4,1                                   
ffc09fd8:	7c 09 03 a6 	mtctr   r0                                     
ffc09fdc:	38 a5 78 17 	addi    r5,r5,30743                            
ffc09fe0:	7f a6 eb 78 	mr      r6,r29                                 
ffc09fe4:	7f 87 e3 78 	mr      r7,r28                                 
ffc09fe8:	7f 28 cb 78 	mr      r8,r25                                 
ffc09fec:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09ff0:	4e 80 04 21 	bctrl                                          
ffc09ff4:	4b ff fe e8 	b       ffc09edc <_Heap_Walk+0x278>            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
ffc09ff8:	7f 9b e8 40 	cmplw   cr7,r27,r29                            
ffc09ffc:	41 9d 00 28 	bgt-    cr7,ffc0a024 <_Heap_Walk+0x3c0>        
ffc0a000:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a004:	41 be 00 20 	beq+    cr7,ffc0a024 <_Heap_Walk+0x3c0>        
      (*printer)(                                                     
ffc0a008:	3c a0 ff c1 	lis     r5,-63                                 
ffc0a00c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a010:	38 80 00 01 	li      r4,1                                   
ffc0a014:	38 a5 78 42 	addi    r5,r5,30786                            
ffc0a018:	7f a6 eb 78 	mr      r6,r29                                 
ffc0a01c:	7f 67 db 78 	mr      r7,r27                                 
ffc0a020:	4b ff fe ac 	b       ffc09ecc <_Heap_Walk+0x268>            
  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;                 
ffc0a024:	80 1b 00 04 	lwz     r0,4(r27)                              
ffc0a028:	56 b5 07 fe 	clrlwi  r21,r21,31                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
ffc0a02c:	70 09 00 01 	andi.   r9,r0,1                                
ffc0a030:	40 a2 00 ec 	bne+    ffc0a11c <_Heap_Walk+0x4b8>            
    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 ?                                 
ffc0a034:	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)(                                                         
ffc0a038:	39 2f 75 62 	addi    r9,r15,30050                           
ffc0a03c:	80 1e 00 08 	lwz     r0,8(r30)                              
  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;                            
ffc0a040:	81 7e 00 0c 	lwz     r11,12(r30)                            
ffc0a044:	7f 88 00 00 	cmpw    cr7,r8,r0                              
ffc0a048:	41 9e 00 14 	beq-    cr7,ffc0a05c <_Heap_Walk+0x3f8>        
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
ffc0a04c:	7f 88 f0 00 	cmpw    cr7,r8,r30                             
ffc0a050:	39 36 74 ab 	addi    r9,r22,29867                           
ffc0a054:	40 be 00 08 	bne+    cr7,ffc0a05c <_Heap_Walk+0x3f8>        
ffc0a058:	39 2e 75 72 	addi    r9,r14,30066                           
    block->next,                                                      
    block->next == last_free_block ?                                  
ffc0a05c:	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)(                                                         
ffc0a060:	38 11 75 7c 	addi    r0,r17,30076                           
ffc0a064:	7f 8a 58 00 	cmpw    cr7,r10,r11                            
ffc0a068:	41 9e 00 14 	beq-    cr7,ffc0a07c <_Heap_Walk+0x418>        
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
ffc0a06c:	7f 8a f0 00 	cmpw    cr7,r10,r30                            
ffc0a070:	38 16 74 ab 	addi    r0,r22,29867                           
ffc0a074:	40 be 00 08 	bne+    cr7,ffc0a07c <_Heap_Walk+0x418>        
ffc0a078:	38 10 75 8b 	addi    r0,r16,30091                           
  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)(                                                         
ffc0a07c:	90 01 00 08 	stw     r0,8(r1)                               
ffc0a080:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a084:	38 80 00 00 	li      r4,0                                   
ffc0a088:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0a08c:	7e 45 93 78 	mr      r5,r18                                 
ffc0a090:	7f a6 eb 78 	mr      r6,r29                                 
ffc0a094:	7f 87 e3 78 	mr      r7,r28                                 
ffc0a098:	7c 09 03 a6 	mtctr   r0                                     
ffc0a09c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a0a0:	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 ) {                        
ffc0a0a4:	81 1b 00 00 	lwz     r8,0(r27)                              
ffc0a0a8:	7f 9c 40 00 	cmpw    cr7,r28,r8                             
ffc0a0ac:	41 be 00 34 	beq+    cr7,ffc0a0e0 <_Heap_Walk+0x47c>        
    (*printer)(                                                       
ffc0a0b0:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0a0b4:	3c a0 ff c1 	lis     r5,-63                                 
ffc0a0b8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a0bc:	38 80 00 01 	li      r4,1                                   
ffc0a0c0:	7c 09 03 a6 	mtctr   r0                                     
ffc0a0c4:	38 a5 78 ab 	addi    r5,r5,30891                            
ffc0a0c8:	7f a6 eb 78 	mr      r6,r29                                 
ffc0a0cc:	7f 87 e3 78 	mr      r7,r28                                 
ffc0a0d0:	7f 69 db 78 	mr      r9,r27                                 
ffc0a0d4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a0d8:	4e 80 04 21 	bctrl                                          
ffc0a0dc:	4b ff fe 00 	b       ffc09edc <_Heap_Walk+0x278>            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
ffc0a0e0:	2f 95 00 00 	cmpwi   cr7,r21,0                              
ffc0a0e4:	40 be 00 18 	bne+    cr7,ffc0a0fc <_Heap_Walk+0x498>        
    (*printer)(                                                       
ffc0a0e8:	3c a0 ff c1 	lis     r5,-63                                 
ffc0a0ec:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a0f0:	38 80 00 01 	li      r4,1                                   
ffc0a0f4:	38 a5 78 e4 	addi    r5,r5,30948                            
ffc0a0f8:	48 00 00 98 	b       ffc0a190 <_Heap_Walk+0x52c>            
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
ffc0a0fc:	81 3e 00 08 	lwz     r9,8(r30)                              
ffc0a100:	48 00 00 10 	b       ffc0a110 <_Heap_Walk+0x4ac>            
{                                                                     
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
  const Heap_Block *free_block = _Heap_Free_list_first( heap );       
                                                                      
  while ( free_block != free_list_tail ) {                            
    if ( free_block == block ) {                                      
ffc0a104:	7f 89 e8 00 	cmpw    cr7,r9,r29                             
ffc0a108:	41 9e 00 64 	beq-    cr7,ffc0a16c <_Heap_Walk+0x508>        
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
ffc0a10c:	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 ) {                            
ffc0a110:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc0a114:	40 9e ff f0 	bne+    cr7,ffc0a104 <_Heap_Walk+0x4a0>        
ffc0a118:	48 00 00 68 	b       ffc0a180 <_Heap_Walk+0x51c>            
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
ffc0a11c:	2f 95 00 00 	cmpwi   cr7,r21,0                              
      (*printer)(                                                     
ffc0a120:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a124:	38 80 00 00 	li      r4,0                                   
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
ffc0a128:	41 9e 00 24 	beq-    cr7,ffc0a14c <_Heap_Walk+0x4e8>        
      (*printer)(                                                     
ffc0a12c:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0a130:	7e 85 a3 78 	mr      r5,r20                                 
ffc0a134:	7f a6 eb 78 	mr      r6,r29                                 
ffc0a138:	7f 87 e3 78 	mr      r7,r28                                 
ffc0a13c:	7c 09 03 a6 	mtctr   r0                                     
ffc0a140:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a144:	4e 80 04 21 	bctrl                                          
ffc0a148:	48 00 00 24 	b       ffc0a16c <_Heap_Walk+0x508>            
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
ffc0a14c:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0a150:	7e 65 9b 78 	mr      r5,r19                                 
ffc0a154:	7f a6 eb 78 	mr      r6,r29                                 
ffc0a158:	81 1d 00 00 	lwz     r8,0(r29)                              
ffc0a15c:	7f 87 e3 78 	mr      r7,r28                                 
ffc0a160:	7c 09 03 a6 	mtctr   r0                                     
ffc0a164:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a168:	4e 80 04 21 	bctrl                                          
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
ffc0a16c:	7f 9b c0 00 	cmpw    cr7,r27,r24                            
ffc0a170:	40 9e fd 88 	bne+    cr7,ffc09ef8 <_Heap_Walk+0x294>        
                                                                      
  return true;                                                        
ffc0a174:	38 60 00 01 	li      r3,1                                   
}                                                                     
ffc0a178:	39 61 00 68 	addi    r11,r1,104                             
ffc0a17c:	4b ff 69 80 	b       ffc00afc <_restgpr_14_x>               
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
ffc0a180:	3c a0 ff c1 	lis     r5,-63                                 
ffc0a184:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a188:	38 80 00 01 	li      r4,1                                   
ffc0a18c:	38 a5 79 4f 	addi    r5,r5,31055                            
ffc0a190:	7f a6 eb 78 	mr      r6,r29                                 
ffc0a194:	80 01 00 18 	lwz     r0,24(r1)                              
ffc0a198:	7c 09 03 a6 	mtctr   r0                                     
ffc0a19c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0a1a0:	4e 80 04 21 	bctrl                                          
ffc0a1a4:	4b ff fd 38 	b       ffc09edc <_Heap_Walk+0x278>            
                                                                      

ffc09bb4 <_Heap_Walk_print>: static void _Heap_Walk_print( int source, bool error, const char *fmt, ... ) {
ffc09bb4:	7c 08 02 a6 	mflr    r0                                     
ffc09bb8:	7c 2b 0b 78 	mr      r11,r1                                 
ffc09bbc:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc09bc0:	90 01 00 7c 	stw     r0,124(r1)                             
ffc09bc4:	4b ff 6f 31 	bl      ffc00af4 <_savegpr_31>                 
ffc09bc8:	7c 60 1b 78 	mr      r0,r3                                  
ffc09bcc:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc09bd0:	90 e1 00 20 	stw     r7,32(r1)                              
ffc09bd4:	91 01 00 24 	stw     r8,36(r1)                              
ffc09bd8:	91 21 00 28 	stw     r9,40(r1)                              
ffc09bdc:	91 41 00 2c 	stw     r10,44(r1)                             
ffc09be0:	40 86 00 24 	bne-    cr1,ffc09c04 <_Heap_Walk_print+0x50>   <== ALWAYS TAKEN
ffc09be4:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc09be8:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc09bec:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc09bf0:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc09bf4:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc09bf8:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc09bfc:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc09c00:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  va_list ap;                                                         
                                                                      
  if ( error ) {                                                      
ffc09c04:	2f 84 00 00 	cmpwi   cr7,r4,0                               
{                                                                     
  /* Do nothing */                                                    
}                                                                     
                                                                      
static void _Heap_Walk_print( int source, bool error, const char *fmt, ... )
{                                                                     
ffc09c08:	7c bf 2b 78 	mr      r31,r5                                 
  va_list ap;                                                         
                                                                      
  if ( error ) {                                                      
ffc09c0c:	41 be 00 10 	beq+    cr7,ffc09c1c <_Heap_Walk_print+0x68>   
    printk( "FAIL[%d]: ", source );                                   
ffc09c10:	3c 60 ff c1 	lis     r3,-63                                 
ffc09c14:	38 63 75 4c 	addi    r3,r3,30028                            
ffc09c18:	48 00 00 0c 	b       ffc09c24 <_Heap_Walk_print+0x70>       
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
ffc09c1c:	3c 60 ff c1 	lis     r3,-63                                 
ffc09c20:	38 63 75 57 	addi    r3,r3,30039                            
ffc09c24:	7c 04 03 78 	mr      r4,r0                                  
ffc09c28:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09c2c:	4b ff be b9 	bl      ffc05ae4 <printk>                      
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc09c30:	38 00 00 03 	li      r0,3                                   
ffc09c34:	98 01 00 08 	stb     r0,8(r1)                               
ffc09c38:	38 00 00 00 	li      r0,0                                   
  vprintk( fmt, ap );                                                 
ffc09c3c:	7f e3 fb 78 	mr      r3,r31                                 
    printk( "FAIL[%d]: ", source );                                   
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc09c40:	98 01 00 09 	stb     r0,9(r1)                               
ffc09c44:	38 01 00 80 	addi    r0,r1,128                              
  vprintk( fmt, ap );                                                 
ffc09c48:	38 81 00 08 	addi    r4,r1,8                                
    printk( "FAIL[%d]: ", source );                                   
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc09c4c:	90 01 00 0c 	stw     r0,12(r1)                              
ffc09c50:	38 01 00 10 	addi    r0,r1,16                               
ffc09c54:	90 01 00 10 	stw     r0,16(r1)                              
  vprintk( fmt, ap );                                                 
ffc09c58:	4b ff dc 2d 	bl      ffc07884 <vprintk>                     
  va_end( ap );                                                       
}                                                                     
ffc09c5c:	39 61 00 78 	addi    r11,r1,120                             
ffc09c60:	4b ff 6e e0 	b       ffc00b40 <_restgpr_31_x>               
                                                                      

ffc0960c <_Internal_error_Occurred>: void _Internal_error_Occurred( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
ffc0960c:	7c 2b 0b 78 	mr      r11,r1                                 
ffc09610:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc09614:	7c 08 02 a6 	mflr    r0                                     
ffc09618:	48 01 0e 05 	bl      ffc1a41c <_savegpr_31>                 
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
ffc0961c:	3d 60 00 00 	lis     r11,0                                  
ffc09620:	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                                   
)                                                                     
{                                                                     
ffc09624:	90 01 00 14 	stw     r0,20(r1)                              
ffc09628:	7c bf 2b 78 	mr      r31,r5                                 
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  _Internal_errors_What_happened.is_internal = is_internal;           
ffc0962c:	98 89 00 04 	stb     r4,4(r9)                               
  _Internal_errors_What_happened.the_error   = the_error;             
ffc09630:	90 a9 00 08 	stw     r5,8(r9)                               
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
ffc09634:	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 );       
ffc09638:	48 00 20 f9 	bl      ffc0b730 <_User_extensions_Fatal>      
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
ffc0963c:	38 00 00 05 	li      r0,5                                   
ffc09640:	3d 20 00 00 	lis     r9,0                                   
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
ffc09644:	7f e3 fb 78 	mr      r3,r31                                 
ffc09648:	90 09 28 04 	stw     r0,10244(r9)                           
ffc0964c:	4b ff a3 15 	bl      ffc03960 <_BSP_Fatal_error>            
ffc09650:	48 00 00 00 	b       ffc09650 <_Internal_error_Occurred+0x44><== NOT EXECUTED
                                                                      

ffc09668 <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
ffc09668:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0966c:	7c 08 02 a6 	mflr    r0                                     
ffc09670:	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 )                                       
ffc09674:	80 03 00 18 	lwz     r0,24(r3)                              
 */                                                                   
                                                                      
Objects_Control *_Objects_Allocate(                                   
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc09678:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc0967c:	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 )                                       
ffc09680:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return NULL;                                                      
ffc09684:	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 )                                       
ffc09688:	41 9e 00 70 	beq-    cr7,ffc096f8 <_Objects_Allocate+0x90>  <== 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 );
ffc0968c:	3b df 00 20 	addi    r30,r31,32                             
ffc09690:	7f c3 f3 78 	mr      r3,r30                                 
ffc09694:	4b ff f5 b1 	bl      ffc08c44 <_Chain_Get>                  
                                                                      
  if ( information->auto_extend ) {                                   
ffc09698:	88 1f 00 12 	lbz     r0,18(r31)                             
ffc0969c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc096a0:	41 9e 00 58 	beq-    cr7,ffc096f8 <_Objects_Allocate+0x90>  
    /*                                                                
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
ffc096a4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc096a8:	40 be 00 1c 	bne+    cr7,ffc096c4 <_Objects_Allocate+0x5c>  
      _Objects_Extend_information( information );                     
ffc096ac:	7f e3 fb 78 	mr      r3,r31                                 
ffc096b0:	48 00 00 85 	bl      ffc09734 <_Objects_Extend_information> 
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
ffc096b4:	7f c3 f3 78 	mr      r3,r30                                 
ffc096b8:	4b ff f5 8d 	bl      ffc08c44 <_Chain_Get>                  
    }                                                                 
                                                                      
    if ( the_object ) {                                               
ffc096bc:	2c 03 00 00 	cmpwi   r3,0                                   
ffc096c0:	41 a2 00 38 	beq+    ffc096f8 <_Objects_Allocate+0x90>      
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
ffc096c4:	a1 23 00 0a 	lhz     r9,10(r3)                              
ffc096c8:	a0 1f 00 0a 	lhz     r0,10(r31)                             
ffc096cc:	7c 00 48 50 	subf    r0,r0,r9                               
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
ffc096d0:	a1 3f 00 14 	lhz     r9,20(r31)                             
ffc096d4:	7c 00 4b 96 	divwu   r0,r0,r9                               
                                                                      
      information->inactive_per_block[ block ]--;                     
ffc096d8:	81 3f 00 30 	lwz     r9,48(r31)                             
ffc096dc:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc096e0:	7d 69 00 2e 	lwzx    r11,r9,r0                              
ffc096e4:	39 6b ff ff 	addi    r11,r11,-1                             
ffc096e8:	7d 69 01 2e 	stwx    r11,r9,r0                              
      information->inactive--;                                        
ffc096ec:	a1 3f 00 2c 	lhz     r9,44(r31)                             
ffc096f0:	38 09 ff ff 	addi    r0,r9,-1                               
ffc096f4:	b0 1f 00 2c 	sth     r0,44(r31)                             
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
ffc096f8:	39 61 00 10 	addi    r11,r1,16                              
ffc096fc:	4b ff 6e 44 	b       ffc00540 <_restgpr_30_x>               
                                                                      

ffc09734 <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
ffc09734:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc09738:	7c 08 02 a6 	mflr    r0                                     
ffc0973c:	90 01 00 4c 	stw     r0,76(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 )                           
ffc09740:	81 63 00 34 	lwz     r11,52(r3)                             
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc09744:	be a1 00 1c 	stmw    r21,28(r1)                             
ffc09748:	7c 7f 1b 78 	mr      r31,r3                                 
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
ffc0974c:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
  /*                                                                  
   *  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 );      
ffc09750:	a3 83 00 0a 	lhz     r28,10(r3)                             
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
ffc09754:	41 9e 00 58 	beq-    cr7,ffc097ac <_Objects_Extend_information+0x78>
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
ffc09758:	a1 43 00 14 	lhz     r10,20(r3)                             
                                                                      
    for ( ; block < block_count; block++ ) {                          
ffc0975c:	39 20 00 00 	li      r9,0                                   
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
ffc09760:	a3 63 00 10 	lhz     r27,16(r3)                             
   *  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;                                                  
ffc09764:	3b a0 00 00 	li      r29,0                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
ffc09768:	7f 7b 53 96 	divwu   r27,r27,r10                            
ffc0976c:	2f 9b 00 00 	cmpwi   cr7,r27,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;                                                  
ffc09770:	38 1b 00 01 	addi    r0,r27,1                               
ffc09774:	40 be 00 24 	bne+    cr7,ffc09798 <_Objects_Extend_information+0x64><== ALWAYS TAKEN
ffc09778:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0977c:	48 00 00 1c 	b       ffc09798 <_Objects_Extend_information+0x64><== NOT EXECUTED
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
ffc09780:	57 a8 10 3a 	rlwinm  r8,r29,2,0,29                          
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
ffc09784:	7d 0b 40 2e 	lwzx    r8,r11,r8                              
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
ffc09788:	7d 29 52 14 	add     r9,r9,r10                              
      if ( information->object_blocks[ block ] == NULL ) {            
ffc0978c:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc09790:	41 9e 00 30 	beq-    cr7,ffc097c0 <_Objects_Extend_information+0x8c>
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
ffc09794:	3b bd 00 01 	addi    r29,r29,1                              
ffc09798:	34 00 ff ff 	addic.  r0,r0,-1                               
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
ffc0979c:	7f c9 e2 14 	add     r30,r9,r28                             
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
ffc097a0:	40 82 ff e0 	bne+    ffc09780 <_Objects_Extend_information+0x4c>
                                                                      
  /*                                                                  
   *  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;                                               
ffc097a4:	3b 40 00 01 	li      r26,1                                  
ffc097a8:	48 00 00 1c 	b       ffc097c4 <_Objects_Extend_information+0x90>
  minimum_index = _Objects_Get_index( information->minimum_id );      
ffc097ac:	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;                                               
ffc097b0:	3b 40 00 01 	li      r26,1                                  
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
ffc097b4:	3b a0 00 00 	li      r29,0                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
ffc097b8:	3b 60 00 00 	li      r27,0                                  
ffc097bc:	48 00 00 08 	b       ffc097c4 <_Objects_Extend_information+0x90>
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
        do_extend = false;                                            
ffc097c0:	3b 40 00 00 	li      r26,0                                  
      } else                                                          
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
ffc097c4:	a0 1f 00 14 	lhz     r0,20(r31)                             
ffc097c8:	a2 ff 00 10 	lhz     r23,16(r31)                            
ffc097cc:	7e e0 ba 14 	add     r23,r0,r23                             
  /*                                                                  
   *  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 ) {                           
ffc097d0:	2b 97 ff ff 	cmplwi  cr7,r23,65535                          
ffc097d4:	41 9d 02 10 	bgt-    cr7,ffc099e4 <_Objects_Extend_information+0x2b0>
                                                                      
  /*                                                                  
   * 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;      
ffc097d8:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc097dc:	7c 60 19 d6 	mullw   r3,r0,r3                               
  if ( information->auto_extend ) {                                   
ffc097e0:	88 1f 00 12 	lbz     r0,18(r31)                             
ffc097e4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc097e8:	41 9e 00 14 	beq-    cr7,ffc097fc <_Objects_Extend_information+0xc8>
    new_object_block = _Workspace_Allocate( block_size );             
ffc097ec:	48 00 24 41 	bl      ffc0bc2c <_Workspace_Allocate>         
    if ( !new_object_block )                                          
ffc097f0:	7c 78 1b 79 	mr.     r24,r3                                 
ffc097f4:	40 a2 00 10 	bne+    ffc09804 <_Objects_Extend_information+0xd0>
ffc097f8:	48 00 01 ec 	b       ffc099e4 <_Objects_Extend_information+0x2b0>
      return;                                                         
  } else {                                                            
    new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
ffc097fc:	48 00 24 91 	bl      ffc0bc8c <_Workspace_Allocate_or_fatal_error>
ffc09800:	7c 78 1b 78 	mr      r24,r3                                 
  }                                                                   
                                                                      
  /*                                                                  
   *  Do we need to grow the tables?                                  
   */                                                                 
  if ( do_extend ) {                                                  
ffc09804:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc09808:	41 9e 01 58 	beq-    cr7,ffc09960 <_Objects_Extend_information+0x22c>
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
ffc0980c:	3b 5b 00 01 	addi    r26,r27,1                              
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
ffc09810:	1c 1a 00 03 	mulli   r0,r26,3                               
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
ffc09814:	7c 77 e2 14 	add     r3,r23,r28                             
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
ffc09818:	7c 63 02 14 	add     r3,r3,r0                               
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
ffc0981c:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
ffc09820:	48 00 24 0d 	bl      ffc0bc2c <_Workspace_Allocate>         
                                                                      
    if ( !object_blocks ) {                                           
ffc09824:	7c 76 1b 79 	mr.     r22,r3                                 
ffc09828:	40 a2 00 10 	bne+    ffc09838 <_Objects_Extend_information+0x104>
      _Workspace_Free( new_object_block );                            
ffc0982c:	7f 03 c3 78 	mr      r3,r24                                 
ffc09830:	48 00 24 31 	bl      ffc0bc60 <_Workspace_Free>             
      return;                                                         
ffc09834:	48 00 01 b0 	b       ffc099e4 <_Objects_Extend_information+0x2b0>
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
ffc09838:	a0 1f 00 10 	lhz     r0,16(r31)                             
    }                                                                 
                                                                      
    /*                                                                
     *  Break the block into the various sections.                    
     */                                                               
    inactive_per_block = (uint32_t *) _Addresses_Add_offset(          
ffc0983c:	57 5a 10 3a 	rlwinm  r26,r26,2,0,29                         
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
ffc09840:	7f 36 d2 14 	add     r25,r22,r26                            
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
ffc09844:	7f 80 e0 40 	cmplw   cr7,r0,r28                             
ffc09848:	7f 59 d2 14 	add     r26,r25,r26                            
ffc0984c:	39 20 00 00 	li      r9,0                                   
ffc09850:	40 bd 00 50 	ble+    cr7,ffc098a0 <_Objects_Extend_information+0x16c>
       *  separate parts as size of each block has changed.           
       */                                                             
                                                                      
      memcpy( object_blocks,                                          
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
ffc09854:	57 75 10 3a 	rlwinm  r21,r27,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,                                          
ffc09858:	80 9f 00 34 	lwz     r4,52(r31)                             
ffc0985c:	7e a5 ab 78 	mr      r5,r21                                 
ffc09860:	48 00 71 61 	bl      ffc109c0 <memcpy>                      
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
ffc09864:	80 9f 00 30 	lwz     r4,48(r31)                             
ffc09868:	7e a5 ab 78 	mr      r5,r21                                 
ffc0986c:	7f 23 cb 78 	mr      r3,r25                                 
ffc09870:	48 00 71 51 	bl      ffc109c0 <memcpy>                      
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
ffc09874:	a0 1f 00 10 	lhz     r0,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,                                            
ffc09878:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc0987c:	7f 43 d3 78 	mr      r3,r26                                 
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
ffc09880:	7f 9c 02 14 	add     r28,r28,r0                             
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
ffc09884:	57 85 10 3a 	rlwinm  r5,r28,2,0,29                          
ffc09888:	48 00 71 39 	bl      ffc109c0 <memcpy>                      
ffc0988c:	48 00 00 30 	b       ffc098bc <_Objects_Extend_information+0x188>
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
ffc09890:	55 2a 10 3a 	rlwinm  r10,r9,2,0,29                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
        local_table[ index ] = NULL;                                  
ffc09894:	7d 6a d1 2e 	stwx    r11,r10,r26                            
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
ffc09898:	39 29 00 01 	addi    r9,r9,1                                
ffc0989c:	48 00 00 18 	b       ffc098b4 <_Objects_Extend_information+0x180>
ffc098a0:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
        local_table[ index ] = NULL;                                  
ffc098a4:	39 60 00 00 	li      r11,0                                  
ffc098a8:	38 1c 00 01 	addi    r0,r28,1                               
ffc098ac:	40 be 00 08 	bne+    cr7,ffc098b4 <_Objects_Extend_information+0x180><== ALWAYS TAKEN
ffc098b0:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
ffc098b4:	34 00 ff ff 	addic.  r0,r0,-1                               
ffc098b8:	40 82 ff d8 	bne+    ffc09890 <_Objects_Extend_information+0x15c>
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
ffc098bc:	a1 5f 00 14 	lhz     r10,20(r31)                            
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
ffc098c0:	38 00 00 00 	li      r0,0                                   
ffc098c4:	57 7b 10 3a 	rlwinm  r27,r27,2,0,29                         
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
ffc098c8:	7d 7e 52 14 	add     r11,r30,r10                            
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
ffc098cc:	7c 16 d9 2e 	stwx    r0,r22,r27                             
ffc098d0:	7f 9e 58 40 	cmplw   cr7,r30,r11                            
    inactive_per_block[block_count] = 0;                              
ffc098d4:	7c 19 d9 2e 	stwx    r0,r25,r27                             
                                                                      
    for ( index=index_base ;                                          
ffc098d8:	39 20 00 00 	li      r9,0                                   
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
ffc098dc:	57 c8 10 3a 	rlwinm  r8,r30,2,0,29                          
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
ffc098e0:	38 e0 00 00 	li      r7,0                                   
ffc098e4:	38 0a 00 01 	addi    r0,r10,1                               
ffc098e8:	41 9d 00 0c 	bgt-    cr7,ffc098f4 <_Objects_Extend_information+0x1c0><== NEVER TAKEN
ffc098ec:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc098f0:	40 be 00 18 	bne+    cr7,ffc09908 <_Objects_Extend_information+0x1d4><== ALWAYS TAKEN
ffc098f4:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc098f8:	48 00 00 10 	b       ffc09908 <_Objects_Extend_information+0x1d4><== NOT EXECUTED
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
ffc098fc:	7d 7a 42 14 	add     r11,r26,r8                             
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
ffc09900:	7c eb 49 2e 	stwx    r7,r11,r9                              
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
ffc09904:	39 29 00 04 	addi    r9,r9,4                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
ffc09908:	34 00 ff ff 	addic.  r0,r0,-1                               
ffc0990c:	40 82 ff f0 	bne+    ffc098fc <_Objects_Extend_information+0x1c8>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc09910:	7c 00 00 a6 	mfmsr   r0                                     
ffc09914:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc09918:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0991c:	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)   |    
ffc09920:	81 3f 00 00 	lwz     r9,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;                 
ffc09924:	56 f7 04 3e 	clrlwi  r23,r23,16                             
    information->maximum_id = _Objects_Build_id(                      
ffc09928:	a1 7f 00 04 	lhz     r11,4(r31)                             
ffc0992c:	55 29 c0 0e 	rlwinm  r9,r9,24,0,7                           
    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;                 
ffc09930:	b2 ff 00 10 	sth     r23,16(r31)                            
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
ffc09934:	55 6b d8 08 	rlwinm  r11,r11,27,0,4                         
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
ffc09938:	65 29 00 01 	oris    r9,r9,1                                
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
ffc0993c:	80 7f 00 34 	lwz     r3,52(r31)                             
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
ffc09940:	7d 29 5b 78 	or      r9,r9,r11                              
                                                                      
    information->object_blocks = object_blocks;                       
ffc09944:	92 df 00 34 	stw     r22,52(r31)                            
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
ffc09948:	7d 37 bb 78 	or      r23,r9,r23                             
    information->inactive_per_block = inactive_per_block;             
ffc0994c:	93 3f 00 30 	stw     r25,48(r31)                            
    information->local_table = local_table;                           
ffc09950:	93 5f 00 1c 	stw     r26,28(r31)                            
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
ffc09954:	92 ff 00 0c 	stw     r23,12(r31)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc09958:	7c 00 01 24 	mtmsr   r0                                     
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
                                                                      
    _Workspace_Free( old_tables );                                    
ffc0995c:	48 00 23 05 	bl      ffc0bc60 <_Workspace_Free>             
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
ffc09960:	81 3f 00 34 	lwz     r9,52(r31)                             
ffc09964:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
ffc09968:	3b 81 00 08 	addi    r28,r1,8                               
ffc0996c:	a0 bf 00 14 	lhz     r5,20(r31)                             
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
ffc09970:	7f 09 e9 2e 	stwx    r24,r9,r29                             
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
ffc09974:	7f 83 e3 78 	mr      r3,r28                                 
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
ffc09978:	3b 7f 00 20 	addi    r27,r31,32                             
  information->object_blocks[ block ] = new_object_block;             
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
ffc0997c:	81 3f 00 34 	lwz     r9,52(r31)                             
ffc09980:	80 df 00 18 	lwz     r6,24(r31)                             
ffc09984:	7c 89 e8 2e 	lwzx    r4,r9,r29                              
ffc09988:	48 00 41 a1 	bl      ffc0db28 <_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 ) {
ffc0998c:	48 00 00 30 	b       ffc099bc <_Objects_Extend_information+0x288>
ffc09990:	81 3f 00 00 	lwz     r9,0(r31)                              
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
ffc09994:	7f 63 db 78 	mr      r3,r27                                 
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
                                                                      
    the_object->id = _Objects_Build_id(                               
ffc09998:	a0 1f 00 04 	lhz     r0,4(r31)                              
ffc0999c:	55 29 c0 0e 	rlwinm  r9,r9,24,0,7                           
ffc099a0:	65 29 00 01 	oris    r9,r9,1                                
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
ffc099a4:	54 00 d8 08 	rlwinm  r0,r0,27,0,4                           
ffc099a8:	7d 20 03 78 	or      r0,r9,r0                               
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
ffc099ac:	7c 00 f3 78 	or      r0,r0,r30                              
ffc099b0:	90 04 00 08 	stw     r0,8(r4)                               
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
ffc099b4:	3b de 00 01 	addi    r30,r30,1                              
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
ffc099b8:	4b ff f2 35 	bl      ffc08bec <_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 ) {
ffc099bc:	7f 83 e3 78 	mr      r3,r28                                 
ffc099c0:	4b ff f2 85 	bl      ffc08c44 <_Chain_Get>                  
ffc099c4:	7c 64 1b 79 	mr.     r4,r3                                  
ffc099c8:	40 82 ff c8 	bne+    ffc09990 <_Objects_Extend_information+0x25c>
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
ffc099cc:	a0 1f 00 14 	lhz     r0,20(r31)                             
ffc099d0:	81 3f 00 30 	lwz     r9,48(r31)                             
ffc099d4:	7c 09 e9 2e 	stwx    r0,r9,r29                              
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
ffc099d8:	a1 3f 00 2c 	lhz     r9,44(r31)                             
ffc099dc:	7c 00 4a 14 	add     r0,r0,r9                               
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
  information->inactive =                                             
ffc099e0:	b0 1f 00 2c 	sth     r0,44(r31)                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
}                                                                     
ffc099e4:	39 61 00 48 	addi    r11,r1,72                              
ffc099e8:	4b ff 6b 34 	b       ffc0051c <_restgpr_21_x>               
                                                                      

ffc09aa0 <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint16_t the_class ) {
ffc09aa0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc09aa4:	7c 08 02 a6 	mflr    r0                                     
ffc09aa8:	bf a1 00 0c 	stmw    r29,12(r1)                             
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
ffc09aac:	7c 9d 23 79 	mr.     r29,r4                                 
                                                                      
Objects_Information *_Objects_Get_information(                        
  Objects_APIs   the_api,                                             
  uint16_t       the_class                                            
)                                                                     
{                                                                     
ffc09ab0:	7c 7e 1b 78 	mr      r30,r3                                 
ffc09ab4:	90 01 00 1c 	stw     r0,28(r1)                              
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
    return NULL;                                                      
ffc09ab8:	3b e0 00 00 	li      r31,0                                  
)                                                                     
{                                                                     
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
ffc09abc:	41 82 00 50 	beq-    ffc09b0c <_Objects_Get_information+0x6c>
                                                                      
  /*                                                                  
   *  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 );      
ffc09ac0:	48 00 45 dd 	bl      ffc0e09c <_Objects_API_maximum_class>  
  if ( the_class_api_maximum == 0 )                                   
ffc09ac4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc09ac8:	41 82 00 44 	beq-    ffc09b0c <_Objects_Get_information+0x6c>
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
ffc09acc:	7f 9d 18 40 	cmplw   cr7,r29,r3                             
ffc09ad0:	41 9d 00 3c 	bgt-    cr7,ffc09b0c <_Objects_Get_information+0x6c>
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
ffc09ad4:	3d 20 00 00 	lis     r9,0                                   
ffc09ad8:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         
ffc09adc:	39 29 2b e0 	addi    r9,r9,11232                            
ffc09ae0:	7d 29 f0 2e 	lwzx    r9,r9,r30                              
ffc09ae4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc09ae8:	41 9e 00 24 	beq-    cr7,ffc09b0c <_Objects_Get_information+0x6c><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
ffc09aec:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
ffc09af0:	7f e9 e8 2e 	lwzx    r31,r9,r29                             
  if ( !info )                                                        
ffc09af4:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc09af8:	41 9e 00 14 	beq-    cr7,ffc09b0c <_Objects_Get_information+0x6c><== 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 )                                         
ffc09afc:	a0 1f 00 10 	lhz     r0,16(r31)                             
ffc09b00:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09b04:	40 be 00 08 	bne+    cr7,ffc09b0c <_Objects_Get_information+0x6c>
      return NULL;                                                    
ffc09b08:	3b e0 00 00 	li      r31,0                                  
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
ffc09b0c:	39 61 00 18 	addi    r11,r1,24                              
ffc09b10:	7f e3 fb 78 	mr      r3,r31                                 
ffc09b14:	4b ff 6a 28 	b       ffc0053c <_restgpr_29_x>               
                                                                      

ffc0a554 <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
ffc0a554:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0a558:	7c 08 02 a6 	mflr    r0                                     
ffc0a55c:	bf c1 00 18 	stmw    r30,24(r1)                             
ffc0a560:	7c 9e 23 78 	mr      r30,r4                                 
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
ffc0a564:	7c 64 1b 79 	mr.     r4,r3                                  
 */                                                                   
Objects_Name_or_id_lookup_errors _Objects_Id_to_name (                
  Objects_Id      id,                                                 
  Objects_Name   *name                                                
)                                                                     
{                                                                     
ffc0a568:	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;
ffc0a56c:	40 82 00 10 	bne-    ffc0a57c <_Objects_Id_to_name+0x28>    
ffc0a570:	3d 20 00 00 	lis     r9,0                                   
ffc0a574:	81 29 2e 24 	lwz     r9,11812(r9)                           
ffc0a578:	80 89 00 08 	lwz     r4,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);
ffc0a57c:	54 89 47 7e 	rlwinm  r9,r4,8,29,31                          
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
ffc0a580:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0a584:	2b 80 00 02 	cmplwi  cr7,r0,2                               
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
ffc0a588:	3b e0 00 03 	li      r31,3                                  
ffc0a58c:	41 9d 00 38 	bgt-    cr7,ffc0a5c4 <_Objects_Id_to_name+0x70>
ffc0a590:	48 00 00 40 	b       ffc0a5d0 <_Objects_Id_to_name+0x7c>    
  if ( !_Objects_Information_table[ the_api ] )                       
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
ffc0a594:	54 80 3e 7a 	rlwinm  r0,r4,7,25,29                          
ffc0a598:	7c 69 00 2e 	lwzx    r3,r9,r0                               
  if ( !information )                                                 
ffc0a59c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0a5a0:	41 9e 00 24 	beq-    cr7,ffc0a5c4 <_Objects_Id_to_name+0x70><== 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 ); 
ffc0a5a4:	38 a1 00 08 	addi    r5,r1,8                                
ffc0a5a8:	4b ff ff 2d 	bl      ffc0a4d4 <_Objects_Get>                
  if ( !the_object )                                                  
ffc0a5ac:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0a5b0:	41 82 00 14 	beq-    ffc0a5c4 <_Objects_Id_to_name+0x70>    
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
ffc0a5b4:	80 03 00 0c 	lwz     r0,12(r3)                              
  _Thread_Enable_dispatch();                                          
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
ffc0a5b8:	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;                                           
ffc0a5bc:	90 1e 00 00 	stw     r0,0(r30)                              
  _Thread_Enable_dispatch();                                          
ffc0a5c0:	48 00 0d f9 	bl      ffc0b3b8 <_Thread_Enable_dispatch>     
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
}                                                                     
ffc0a5c4:	39 61 00 20 	addi    r11,r1,32                              
ffc0a5c8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a5cc:	4b ff 65 20 	b       ffc00aec <_restgpr_30_x>               
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
ffc0a5d0:	3d 60 00 00 	lis     r11,0                                  
ffc0a5d4:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc0a5d8:	39 6b 2c 40 	addi    r11,r11,11328                          
ffc0a5dc:	7d 2b 48 2e 	lwzx    r9,r11,r9                              
ffc0a5e0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0a5e4:	40 9e ff b0 	bne+    cr7,ffc0a594 <_Objects_Id_to_name+0x40>
ffc0a5e8:	4b ff ff dc 	b       ffc0a5c4 <_Objects_Id_to_name+0x70>    
                                                                      

ffc0ed88 <_RBTree_Extract_unprotected>: */ void _RBTree_Extract_unprotected( RBTree_Control *the_rbtree, RBTree_Node *the_node ) {
ffc0ed88:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0ed8c:	7c 08 02 a6 	mflr    r0                                     
ffc0ed90:	bf 81 00 08 	stmw    r28,8(r1)                              
  RBTree_Node *leaf, *target;                                         
  RBTree_Color victim_color;                                          
  RBTree_Direction dir;                                               
                                                                      
  if (!the_node) return;                                              
ffc0ed94:	7c 9e 23 79 	mr.     r30,r4                                 
 */                                                                   
void _RBTree_Extract_unprotected(                                     
    RBTree_Control *the_rbtree,                                       
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
ffc0ed98:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0ed9c:	90 01 00 1c 	stw     r0,28(r1)                              
  RBTree_Node *leaf, *target;                                         
  RBTree_Color victim_color;                                          
  RBTree_Direction dir;                                               
                                                                      
  if (!the_node) return;                                              
ffc0eda0:	41 82 01 b4 	beq-    ffc0ef54 <_RBTree_Extract_unprotected+0x1cc>
                                                                      
  /* check if min needs to be updated */                              
  if (the_node == the_rbtree->first[RBT_LEFT]) {                      
ffc0eda4:	80 03 00 08 	lwz     r0,8(r3)                               
ffc0eda8:	7f 9e 00 00 	cmpw    cr7,r30,r0                             
ffc0edac:	40 be 00 24 	bne+    cr7,ffc0edd0 <_RBTree_Extract_unprotected+0x48>
    if (the_node->child[RBT_RIGHT])                                   
ffc0edb0:	80 1e 00 08 	lwz     r0,8(r30)                              
ffc0edb4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0edb8:	40 be 00 14 	bne+    cr7,ffc0edcc <_RBTree_Extract_unprotected+0x44>
      the_rbtree->first[RBT_LEFT] = the_node->child[RBT_RIGHT];       
    else {                                                            
      the_rbtree->first[RBT_LEFT] = the_node->parent;                 
ffc0edbc:	81 3e 00 00 	lwz     r9,0(r30)                              
      if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree,           
ffc0edc0:	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;                 
ffc0edc4:	91 23 00 08 	stw     r9,8(r3)                               
      if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree,           
ffc0edc8:	40 be 00 08 	bne+    cr7,ffc0edd0 <_RBTree_Extract_unprotected+0x48>
            the_rbtree->first[RBT_LEFT]))                             
        the_rbtree->first[RBT_LEFT] = NULL;                           
ffc0edcc:	90 1f 00 08 	stw     r0,8(r31)                              
    }                                                                 
  }                                                                   
  /* check if max needs to be updated: note, min can equal max (1 element) */
  if (the_node == the_rbtree->first[RBT_RIGHT]) {                     
ffc0edd0:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc0edd4:	83 9e 00 04 	lwz     r28,4(r30)                             
ffc0edd8:	7f 9e 00 00 	cmpw    cr7,r30,r0                             
ffc0eddc:	40 be 00 20 	bne+    cr7,ffc0edfc <_RBTree_Extract_unprotected+0x74>
    if (the_node->child[RBT_LEFT])                                    
ffc0ede0:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0ede4:	40 be 00 14 	bne+    cr7,ffc0edf8 <_RBTree_Extract_unprotected+0x70>
      the_rbtree->first[RBT_RIGHT] = the_node->child[RBT_LEFT];       
    else {                                                            
      the_rbtree->first[RBT_RIGHT] = the_node->parent;                
ffc0ede8:	80 1e 00 00 	lwz     r0,0(r30)                              
      if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree,           
ffc0edec:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
  /* 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;                
ffc0edf0:	90 1f 00 0c 	stw     r0,12(r31)                             
      if(_RBTree_Are_nodes_equal((RBTree_Node *)the_rbtree,           
ffc0edf4:	40 be 00 08 	bne+    cr7,ffc0edfc <_RBTree_Extract_unprotected+0x74>
            the_rbtree->first[RBT_RIGHT]))                            
        the_rbtree->first[RBT_RIGHT] = NULL;                          
ffc0edf8:	93 9f 00 0c 	stw     r28,12(r31)                            
   * 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]) {      
ffc0edfc:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0ee00:	80 1e 00 08 	lwz     r0,8(r30)                              
ffc0ee04:	7f 9d e3 78 	mr      r29,r28                                
ffc0ee08:	41 9e 00 d0 	beq-    cr7,ffc0eed8 <_RBTree_Extract_unprotected+0x150>
ffc0ee0c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ee10:	40 be 00 0c 	bne+    cr7,ffc0ee1c <_RBTree_Extract_unprotected+0x94>
ffc0ee14:	48 00 00 d0 	b       ffc0eee4 <_RBTree_Extract_unprotected+0x15c>
    target = the_node->child[RBT_LEFT]; /* find max in node->child[RBT_LEFT] */
    while (target->child[RBT_RIGHT]) target = target->child[RBT_RIGHT];
ffc0ee18:	7c 1d 03 78 	mr      r29,r0                                 
ffc0ee1c:	80 1d 00 08 	lwz     r0,8(r29)                              
ffc0ee20:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ee24:	40 9e ff f4 	bne+    cr7,ffc0ee18 <_RBTree_Extract_unprotected+0x90>
     * 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];                                   
ffc0ee28:	83 9d 00 04 	lwz     r28,4(r29)                             
    if(leaf) {                                                        
ffc0ee2c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0ee30:	41 9e 00 10 	beq-    cr7,ffc0ee40 <_RBTree_Extract_unprotected+0xb8>
      leaf->parent = target->parent;                                  
ffc0ee34:	80 1d 00 00 	lwz     r0,0(r29)                              
ffc0ee38:	90 1c 00 00 	stw     r0,0(r28)                              
ffc0ee3c:	48 00 00 0c 	b       ffc0ee48 <_RBTree_Extract_unprotected+0xc0>
    } else {                                                          
      /* fix the tree here if the child is a null leaf. */            
      _RBTree_Extract_validate_unprotected(target);                   
ffc0ee40:	7f a3 eb 78 	mr      r3,r29                                 
ffc0ee44:	4b ff fd 6d 	bl      ffc0ebb0 <_RBTree_Extract_validate_unprotected>
    }                                                                 
    victim_color = target->color;                                     
    dir = target != target->parent->child[0];                         
ffc0ee48:	81 7d 00 00 	lwz     r11,0(r29)                             
      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;                                     
ffc0ee4c:	81 3d 00 0c 	lwz     r9,12(r29)                             
    dir = target != target->parent->child[0];                         
ffc0ee50:	80 0b 00 04 	lwz     r0,4(r11)                              
ffc0ee54:	7f a0 02 78 	xor     r0,r29,r0                              
ffc0ee58:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc0ee5c:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc0ee60:	68 00 00 01 	xori    r0,r0,1                                
    target->parent->child[dir] = leaf;                                
ffc0ee64:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0ee68:	7d 6b 02 14 	add     r11,r11,r0                             
ffc0ee6c:	93 8b 00 04 	stw     r28,4(r11)                             
                                                                      
    /* now replace the_node with target */                            
    dir = the_node != the_node->parent->child[0];                     
ffc0ee70:	81 7e 00 00 	lwz     r11,0(r30)                             
ffc0ee74:	80 0b 00 04 	lwz     r0,4(r11)                              
ffc0ee78:	7f c0 02 78 	xor     r0,r30,r0                              
ffc0ee7c:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc0ee80:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc0ee84:	68 00 00 01 	xori    r0,r0,1                                
    the_node->parent->child[dir] = target;                            
ffc0ee88:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0ee8c:	7d 6b 02 14 	add     r11,r11,r0                             
ffc0ee90:	93 ab 00 04 	stw     r29,4(r11)                             
                                                                      
    /* set target's new children to the original node's children */   
    target->child[RBT_RIGHT] = the_node->child[RBT_RIGHT];            
ffc0ee94:	80 1e 00 08 	lwz     r0,8(r30)                              
ffc0ee98:	90 1d 00 08 	stw     r0,8(r29)                              
    if (the_node->child[RBT_RIGHT])                                   
ffc0ee9c:	81 7e 00 08 	lwz     r11,8(r30)                             
ffc0eea0:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0eea4:	41 9e 00 08 	beq-    cr7,ffc0eeac <_RBTree_Extract_unprotected+0x124><== NEVER TAKEN
      the_node->child[RBT_RIGHT]->parent = target;                    
ffc0eea8:	93 ab 00 00 	stw     r29,0(r11)                             
    target->child[RBT_LEFT] = the_node->child[RBT_LEFT];              
ffc0eeac:	80 1e 00 04 	lwz     r0,4(r30)                              
ffc0eeb0:	90 1d 00 04 	stw     r0,4(r29)                              
    if (the_node->child[RBT_LEFT])                                    
ffc0eeb4:	81 7e 00 04 	lwz     r11,4(r30)                             
ffc0eeb8:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0eebc:	41 9e 00 08 	beq-    cr7,ffc0eec4 <_RBTree_Extract_unprotected+0x13c>
      the_node->child[RBT_LEFT]->parent = target;                     
ffc0eec0:	93 ab 00 00 	stw     r29,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;                                
ffc0eec4:	80 1e 00 00 	lwz     r0,0(r30)                              
ffc0eec8:	90 1d 00 00 	stw     r0,0(r29)                              
    target->color = the_node->color;                                  
ffc0eecc:	80 1e 00 0c 	lwz     r0,12(r30)                             
ffc0eed0:	90 1d 00 0c 	stw     r0,12(r29)                             
ffc0eed4:	48 00 00 4c 	b       ffc0ef20 <_RBTree_Extract_unprotected+0x198>
     * violated. We will fix it later.                                
     * For now we store the color of the node being deleted in victim_color.
     */                                                               
    leaf = the_node->child[RBT_LEFT] ?                                
              the_node->child[RBT_LEFT] : the_node->child[RBT_RIGHT]; 
    if( leaf ) {                                                      
ffc0eed8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0eedc:	7c 1c 03 78 	mr      r28,r0                                 
ffc0eee0:	41 9e 00 10 	beq-    cr7,ffc0eef0 <_RBTree_Extract_unprotected+0x168>
      leaf->parent = the_node->parent;                                
ffc0eee4:	80 1e 00 00 	lwz     r0,0(r30)                              
ffc0eee8:	90 1c 00 00 	stw     r0,0(r28)                              
ffc0eeec:	48 00 00 0c 	b       ffc0eef8 <_RBTree_Extract_unprotected+0x170>
    } else {                                                          
      /* fix the tree here if the child is a null leaf. */            
      _RBTree_Extract_validate_unprotected(the_node);                 
ffc0eef0:	7f c3 f3 78 	mr      r3,r30                                 
ffc0eef4:	4b ff fc bd 	bl      ffc0ebb0 <_RBTree_Extract_validate_unprotected>
    }                                                                 
    victim_color = the_node->color;                                   
                                                                      
    /* remove the_node from the tree */                               
    dir = the_node != the_node->parent->child[0];                     
ffc0eef8:	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;                                   
ffc0eefc:	81 3e 00 0c 	lwz     r9,12(r30)                             
                                                                      
    /* remove the_node from the tree */                               
    dir = the_node != the_node->parent->child[0];                     
ffc0ef00:	80 0b 00 04 	lwz     r0,4(r11)                              
ffc0ef04:	7f c0 02 78 	xor     r0,r30,r0                              
ffc0ef08:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc0ef0c:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc0ef10:	68 00 00 01 	xori    r0,r0,1                                
    the_node->parent->child[dir] = leaf;                              
ffc0ef14:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0ef18:	7d 6b 02 14 	add     r11,r11,r0                             
ffc0ef1c:	93 8b 00 04 	stw     r28,4(r11)                             
  /* 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 */             
ffc0ef20:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ef24:	40 9e 00 10 	bne-    cr7,ffc0ef34 <_RBTree_Extract_unprotected+0x1ac>
    if (leaf) {                                                       
ffc0ef28:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0ef2c:	41 9e 00 08 	beq-    cr7,ffc0ef34 <_RBTree_Extract_unprotected+0x1ac>
      leaf->color = RBT_BLACK; /* case 2 */                           
ffc0ef30:	91 3c 00 0c 	stw     r9,12(r28)                             
                                                                      
  /* 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;          
ffc0ef34:	81 3f 00 04 	lwz     r9,4(r31)                              
 */                                                                   
RTEMS_INLINE_ROUTINE void _RBTree_Set_off_rbtree(                     
    RBTree_Node *node                                                 
    )                                                                 
{                                                                     
  node->parent = node->child[RBT_LEFT] = node->child[RBT_RIGHT] = NULL;
ffc0ef38:	38 00 00 00 	li      r0,0                                   
ffc0ef3c:	90 1e 00 08 	stw     r0,8(r30)                              
ffc0ef40:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ef44:	90 1e 00 04 	stw     r0,4(r30)                              
ffc0ef48:	90 1e 00 00 	stw     r0,0(r30)                              
ffc0ef4c:	41 9e 00 08 	beq-    cr7,ffc0ef54 <_RBTree_Extract_unprotected+0x1cc>
ffc0ef50:	90 09 00 0c 	stw     r0,12(r9)                              
}                                                                     
ffc0ef54:	39 61 00 18 	addi    r11,r1,24                              
ffc0ef58:	4b ff 1b e4 	b       ffc00b3c <_restgpr_28_x>               
                                                                      

ffc0ebb0 <_RBTree_Extract_validate_unprotected>: * of the extract operation. */ void _RBTree_Extract_validate_unprotected( RBTree_Node *the_node ) {
ffc0ebb0:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0ebb4:	7c 08 02 a6 	mflr    r0                                     
ffc0ebb8:	90 01 00 24 	stw     r0,36(r1)                              
ffc0ebbc:	bf 41 00 08 	stmw    r26,8(r1)                              
ffc0ebc0:	7c 7e 1b 78 	mr      r30,r3                                 
  RBTree_Node *parent, *sibling;                                      
  RBTree_Direction dir;                                               
                                                                      
  parent = the_node->parent;                                          
ffc0ebc4:	83 e3 00 00 	lwz     r31,0(r3)                              
  if(!parent->parent) return;                                         
ffc0ebc8:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc0ebcc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ebd0:	41 9e 01 b0 	beq-    cr7,ffc0ed80 <_RBTree_Extract_validate_unprotected+0x1d0>
                                                                      
  sibling = _RBTree_Sibling(the_node);                                
ffc0ebd4:	4b ff ff 29 	bl      ffc0eafc <_RBTree_Sibling>             
     * 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;                                     
ffc0ebd8:	3b 40 00 00 	li      r26,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;                                     
ffc0ebdc:	3b 60 00 01 	li      r27,1                                  
  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) {               
ffc0ebe0:	48 00 01 58 	b       ffc0ed38 <_RBTree_Extract_validate_unprotected+0x188>
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
ffc0ebe4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ebe8:	41 9e 00 48 	beq-    cr7,ffc0ec30 <_RBTree_Extract_validate_unprotected+0x80><== NEVER TAKEN
ffc0ebec:	80 03 00 0c 	lwz     r0,12(r3)                              
ffc0ebf0:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0ebf4:	40 be 00 3c 	bne+    cr7,ffc0ec30 <_RBTree_Extract_validate_unprotected+0x80>
     * update sibling pointer.                                        
     */                                                               
    if (_RBTree_Is_red(sibling)) {                                    
      parent->color = RBT_RED;                                        
      sibling->color = RBT_BLACK;                                     
      dir = the_node != parent->child[0];                             
ffc0ebf8:	83 bf 00 04 	lwz     r29,4(r31)                             
     * 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;                                        
ffc0ebfc:	90 1f 00 0c 	stw     r0,12(r31)                             
      sibling->color = RBT_BLACK;                                     
      dir = the_node != parent->child[0];                             
ffc0ec00:	7f dd ea 78 	xor     r29,r30,r29                            
ffc0ec04:	7f bd 00 34 	cntlzw  r29,r29                                
     * 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;                                     
ffc0ec08:	93 43 00 0c 	stw     r26,12(r3)                             
      dir = the_node != parent->child[0];                             
ffc0ec0c:	57 bd d9 7e 	rlwinm  r29,r29,27,5,31                        
ffc0ec10:	6b bd 00 01 	xori    r29,r29,1                              
      _RBTree_Rotate(parent, dir);                                    
ffc0ec14:	7f a4 eb 78 	mr      r4,r29                                 
      sibling = parent->child[!dir];                                  
ffc0ec18:	6b bd 00 01 	xori    r29,r29,1                              
ffc0ec1c:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
     */                                                               
    if (_RBTree_Is_red(sibling)) {                                    
      parent->color = RBT_RED;                                        
      sibling->color = RBT_BLACK;                                     
      dir = the_node != parent->child[0];                             
      _RBTree_Rotate(parent, dir);                                    
ffc0ec20:	7f e3 fb 78 	mr      r3,r31                                 
      sibling = parent->child[!dir];                                  
ffc0ec24:	7f bf ea 14 	add     r29,r31,r29                            
     */                                                               
    if (_RBTree_Is_red(sibling)) {                                    
      parent->color = RBT_RED;                                        
      sibling->color = RBT_BLACK;                                     
      dir = the_node != parent->child[0];                             
      _RBTree_Rotate(parent, dir);                                    
ffc0ec28:	4b ff ff 11 	bl      ffc0eb38 <_RBTree_Rotate>              
      sibling = parent->child[!dir];                                  
ffc0ec2c:	80 7d 00 04 	lwz     r3,4(r29)                              
    }                                                                 
                                                                      
    /* sibling is black, see if both of its children are also black. */
    if (!_RBTree_Is_red(sibling->child[RBT_RIGHT]) &&                 
ffc0ec30:	81 23 00 08 	lwz     r9,8(r3)                               
ffc0ec34:	38 00 00 00 	li      r0,0                                   
ffc0ec38:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ec3c:	41 9e 00 14 	beq-    cr7,ffc0ec50 <_RBTree_Extract_validate_unprotected+0xa0>
 *  This function maintains the properties of the red-black tree.     
 *                                                                    
 *  @note It does NOT disable interrupts to ensure the atomicity      
 *        of the extract operation.                                   
 */                                                                   
void _RBTree_Extract_validate_unprotected(                            
ffc0ec40:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc0ec44:	68 00 00 01 	xori    r0,r0,1                                
ffc0ec48:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc0ec4c:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
      _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]) &&                 
ffc0ec50:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ec54:	40 9e 00 40 	bne-    cr7,ffc0ec94 <_RBTree_Extract_validate_unprotected+0xe4>
        !_RBTree_Is_red(sibling->child[RBT_LEFT])) {                  
ffc0ec58:	81 23 00 04 	lwz     r9,4(r3)                               
ffc0ec5c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ec60:	41 9e 00 14 	beq-    cr7,ffc0ec74 <_RBTree_Extract_validate_unprotected+0xc4>
 *  This function maintains the properties of the red-black tree.     
 *                                                                    
 *  @note It does NOT disable interrupts to ensure the atomicity      
 *        of the extract operation.                                   
 */                                                                   
void _RBTree_Extract_validate_unprotected(                            
ffc0ec64:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc0ec68:	68 00 00 01 	xori    r0,r0,1                                
ffc0ec6c:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc0ec70:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
      _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]) &&                 
ffc0ec74:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ec78:	40 9e 00 1c 	bne-    cr7,ffc0ec94 <_RBTree_Extract_validate_unprotected+0xe4>
        !_RBTree_Is_red(sibling->child[RBT_LEFT])) {                  
        sibling->color = RBT_RED;                                     
ffc0ec7c:	93 63 00 0c 	stw     r27,12(r3)                             
ffc0ec80:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc0ec84:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc0ec88:	40 be 00 e0 	bne+    cr7,ffc0ed68 <_RBTree_Extract_validate_unprotected+0x1b8>
        if (_RBTree_Is_red(parent)) {                                 
          parent->color = RBT_BLACK;                                  
ffc0ec8c:	90 1f 00 0c 	stw     r0,12(r31)                             
          break;                                                      
ffc0ec90:	48 00 00 c0 	b       ffc0ed50 <_RBTree_Extract_validate_unprotected+0x1a0>
       * 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];                             
ffc0ec94:	83 bf 00 04 	lwz     r29,4(r31)                             
ffc0ec98:	38 00 00 00 	li      r0,0                                   
ffc0ec9c:	7f dd ea 78 	xor     r29,r30,r29                            
ffc0eca0:	7f bd 00 34 	cntlzw  r29,r29                                
ffc0eca4:	57 bd d9 7e 	rlwinm  r29,r29,27,5,31                        
ffc0eca8:	6b bd 00 01 	xori    r29,r29,1                              
      if (!_RBTree_Is_red(sibling->child[!dir])) {                    
ffc0ecac:	6b bc 00 01 	xori    r28,r29,1                              
ffc0ecb0:	57 89 10 3a 	rlwinm  r9,r28,2,0,29                          
ffc0ecb4:	7d 23 4a 14 	add     r9,r3,r9                               
ffc0ecb8:	81 29 00 04 	lwz     r9,4(r9)                               
ffc0ecbc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ecc0:	41 9e 00 14 	beq-    cr7,ffc0ecd4 <_RBTree_Extract_validate_unprotected+0x124>
 *  This function maintains the properties of the red-black tree.     
 *                                                                    
 *  @note It does NOT disable interrupts to ensure the atomicity      
 *        of the extract operation.                                   
 */                                                                   
void _RBTree_Extract_validate_unprotected(                            
ffc0ecc4:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc0ecc8:	68 00 00 01 	xori    r0,r0,1                                
ffc0eccc:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc0ecd0:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
       * In both cases, first check if one of sibling's children is black,
       * and if so rotate in the proper direction and update sibling pointer.
       * Then switch the sibling and parent colors, and rotate through parent.
       */                                                             
      dir = the_node != parent->child[0];                             
      if (!_RBTree_Is_red(sibling->child[!dir])) {                    
ffc0ecd4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ecd8:	40 be 00 30 	bne+    cr7,ffc0ed08 <_RBTree_Extract_validate_unprotected+0x158>
        sibling->color = RBT_RED;                                     
ffc0ecdc:	39 20 00 01 	li      r9,1                                   
ffc0ece0:	91 23 00 0c 	stw     r9,12(r3)                              
        sibling->child[dir]->color = RBT_BLACK;                       
ffc0ece4:	57 a9 10 3a 	rlwinm  r9,r29,2,0,29                          
ffc0ece8:	7d 23 4a 14 	add     r9,r3,r9                               
ffc0ecec:	81 29 00 04 	lwz     r9,4(r9)                               
        _RBTree_Rotate(sibling, !dir);                                
ffc0ecf0:	6b a4 00 01 	xori    r4,r29,1                               
       * 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;                       
ffc0ecf4:	90 09 00 0c 	stw     r0,12(r9)                              
        _RBTree_Rotate(sibling, !dir);                                
ffc0ecf8:	4b ff fe 41 	bl      ffc0eb38 <_RBTree_Rotate>              
        sibling = parent->child[!dir];                                
ffc0ecfc:	57 89 10 3a 	rlwinm  r9,r28,2,0,29                          
ffc0ed00:	7d 3f 4a 14 	add     r9,r31,r9                              
ffc0ed04:	80 69 00 04 	lwz     r3,4(r9)                               
      }                                                               
      sibling->color = parent->color;                                 
ffc0ed08:	80 1f 00 0c 	lwz     r0,12(r31)                             
      parent->color = RBT_BLACK;                                      
      sibling->child[!dir]->color = RBT_BLACK;                        
ffc0ed0c:	57 9c 10 3a 	rlwinm  r28,r28,2,0,29                         
      _RBTree_Rotate(parent, dir);                                    
ffc0ed10:	7f a4 eb 78 	mr      r4,r29                                 
        sibling->color = RBT_RED;                                     
        sibling->child[dir]->color = RBT_BLACK;                       
        _RBTree_Rotate(sibling, !dir);                                
        sibling = parent->child[!dir];                                
      }                                                               
      sibling->color = parent->color;                                 
ffc0ed14:	90 03 00 0c 	stw     r0,12(r3)                              
      parent->color = RBT_BLACK;                                      
      sibling->child[!dir]->color = RBT_BLACK;                        
ffc0ed18:	7c 63 e2 14 	add     r3,r3,r28                              
        sibling->child[dir]->color = RBT_BLACK;                       
        _RBTree_Rotate(sibling, !dir);                                
        sibling = parent->child[!dir];                                
      }                                                               
      sibling->color = parent->color;                                 
      parent->color = RBT_BLACK;                                      
ffc0ed1c:	38 00 00 00 	li      r0,0                                   
      sibling->child[!dir]->color = RBT_BLACK;                        
ffc0ed20:	81 23 00 04 	lwz     r9,4(r3)                               
      _RBTree_Rotate(parent, dir);                                    
ffc0ed24:	7f e3 fb 78 	mr      r3,r31                                 
        sibling->child[dir]->color = RBT_BLACK;                       
        _RBTree_Rotate(sibling, !dir);                                
        sibling = parent->child[!dir];                                
      }                                                               
      sibling->color = parent->color;                                 
      parent->color = RBT_BLACK;                                      
ffc0ed28:	90 1f 00 0c 	stw     r0,12(r31)                             
      sibling->child[!dir]->color = RBT_BLACK;                        
ffc0ed2c:	90 09 00 0c 	stw     r0,12(r9)                              
      _RBTree_Rotate(parent, dir);                                    
ffc0ed30:	4b ff fe 09 	bl      ffc0eb38 <_RBTree_Rotate>              
      break; /* done */                                               
ffc0ed34:	48 00 00 1c 	b       ffc0ed50 <_RBTree_Extract_validate_unprotected+0x1a0>
  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) {               
ffc0ed38:	80 1e 00 0c 	lwz     r0,12(r30)                             
ffc0ed3c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0ed40:	41 9e 00 10 	beq-    cr7,ffc0ed50 <_RBTree_Extract_validate_unprotected+0x1a0>
ffc0ed44:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc0ed48:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ed4c:	40 9e fe 98 	bne+    cr7,ffc0ebe4 <_RBTree_Extract_validate_unprotected+0x34>
      sibling->child[!dir]->color = RBT_BLACK;                        
      _RBTree_Rotate(parent, dir);                                    
      break; /* done */                                               
    }                                                                 
  } /* while */                                                       
  if(!the_node->parent->parent) the_node->color = RBT_BLACK;          
ffc0ed50:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc0ed54:	80 09 00 00 	lwz     r0,0(r9)                               
ffc0ed58:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ed5c:	40 be 00 24 	bne+    cr7,ffc0ed80 <_RBTree_Extract_validate_unprotected+0x1d0>
ffc0ed60:	90 1e 00 0c 	stw     r0,12(r30)                             
ffc0ed64:	48 00 00 1c 	b       ffc0ed80 <_RBTree_Extract_validate_unprotected+0x1d0>
        if (_RBTree_Is_red(parent)) {                                 
          parent->color = RBT_BLACK;                                  
          break;                                                      
        }                                                             
        the_node = parent; /* done if parent is red */                
        parent = the_node->parent;                                    
ffc0ed68:	83 bf 00 00 	lwz     r29,0(r31)                             
        sibling = _RBTree_Sibling(the_node);                          
ffc0ed6c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ed70:	7f fe fb 78 	mr      r30,r31                                
ffc0ed74:	4b ff fd 89 	bl      ffc0eafc <_RBTree_Sibling>             
        if (_RBTree_Is_red(parent)) {                                 
          parent->color = RBT_BLACK;                                  
          break;                                                      
        }                                                             
        the_node = parent; /* done if parent is red */                
        parent = the_node->parent;                                    
ffc0ed78:	7f bf eb 78 	mr      r31,r29                                
        sibling = _RBTree_Sibling(the_node);                          
ffc0ed7c:	4b ff ff bc 	b       ffc0ed38 <_RBTree_Extract_validate_unprotected+0x188>
      _RBTree_Rotate(parent, dir);                                    
      break; /* done */                                               
    }                                                                 
  } /* while */                                                       
  if(!the_node->parent->parent) the_node->color = RBT_BLACK;          
}                                                                     
ffc0ed80:	39 61 00 20 	addi    r11,r1,32                              
ffc0ed84:	4b ff 1d b0 	b       ffc00b34 <_restgpr_26_x>               
                                                                      

ffc0b338 <_RBTree_Initialize>: void *starting_address, size_t number_nodes, size_t node_size, bool is_unique ) {
ffc0b338:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0b33c:	7c 08 02 a6 	mflr    r0                                     
ffc0b340:	bf 81 00 08 	stmw    r28,8(r1)                              
  size_t      count;                                                  
  RBTree_Node *next;                                                  
                                                                      
  /* TODO: Error message? */                                          
  if (!the_rbtree) return;                                            
ffc0b344:	7c 7d 1b 79 	mr.     r29,r3                                 
  void                    *starting_address,                          
  size_t                   number_nodes,                              
  size_t                   node_size,                                 
  bool                     is_unique                                  
)                                                                     
{                                                                     
ffc0b348:	7c df 33 78 	mr      r31,r6                                 
ffc0b34c:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0b350:	7c fe 3b 78 	mr      r30,r7                                 
  size_t      count;                                                  
  RBTree_Node *next;                                                  
                                                                      
  /* TODO: Error message? */                                          
  if (!the_rbtree) return;                                            
ffc0b354:	41 82 00 44 	beq-    ffc0b398 <_RBTree_Initialize+0x60>     <== NEVER TAKEN
    RBTree_Control          *the_rbtree,                              
    RBTree_Compare_function  compare_function,                        
    bool                     is_unique                                
    )                                                                 
{                                                                     
  the_rbtree->permanent_null   = NULL;                                
ffc0b358:	38 00 00 00 	li      r0,0                                   
  the_rbtree->root             = NULL;                                
  the_rbtree->first[0]         = NULL;                                
  the_rbtree->first[1]         = NULL;                                
  the_rbtree->compare_function = compare_function;                    
ffc0b35c:	90 9d 00 10 	stw     r4,16(r29)                             
                                                                      
  /* could do sanity checks here */                                   
  _RBTree_Initialize_empty(the_rbtree, compare_function, is_unique);  
                                                                      
  count = number_nodes;                                               
  next  = starting_address;                                           
ffc0b360:	7c bc 2b 78 	mr      r28,r5                                 
    RBTree_Control          *the_rbtree,                              
    RBTree_Compare_function  compare_function,                        
    bool                     is_unique                                
    )                                                                 
{                                                                     
  the_rbtree->permanent_null   = NULL;                                
ffc0b364:	90 1d 00 00 	stw     r0,0(r29)                              
  the_rbtree->root             = NULL;                                
ffc0b368:	90 1d 00 04 	stw     r0,4(r29)                              
  the_rbtree->first[0]         = NULL;                                
ffc0b36c:	90 1d 00 08 	stw     r0,8(r29)                              
  the_rbtree->first[1]         = NULL;                                
ffc0b370:	90 1d 00 0c 	stw     r0,12(r29)                             
  the_rbtree->compare_function = compare_function;                    
  the_rbtree->is_unique        = is_unique;                           
ffc0b374:	99 1d 00 14 	stb     r8,20(r29)                             
  while ( count-- ) {                                                 
ffc0b378:	48 00 00 18 	b       ffc0b390 <_RBTree_Initialize+0x58>     
    _RBTree_Insert(the_rbtree, next);                                 
ffc0b37c:	7f 84 e3 78 	mr      r4,r28                                 
ffc0b380:	7f a3 eb 78 	mr      r3,r29                                 
ffc0b384:	4b ff ff a1 	bl      ffc0b324 <_RBTree_Insert>              
 *    node_size        - size of node in bytes                        
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _RBTree_Initialize(                                              
ffc0b388:	7f 9c f2 14 	add     r28,r28,r30                            
ffc0b38c:	3b ff ff ff 	addi    r31,r31,-1                             
  /* could do sanity checks here */                                   
  _RBTree_Initialize_empty(the_rbtree, compare_function, is_unique);  
                                                                      
  count = number_nodes;                                               
  next  = starting_address;                                           
  while ( count-- ) {                                                 
ffc0b390:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0b394:	40 9e ff e8 	bne+    cr7,ffc0b37c <_RBTree_Initialize+0x44> 
    _RBTree_Insert(the_rbtree, next);                                 
    next           = (RBTree_Node *)                                  
                        _Addresses_Add_offset( (void *) next, node_size );
  }                                                                   
}                                                                     
ffc0b398:	39 61 00 18 	addi    r11,r1,24                              
ffc0b39c:	4b ff 65 e8 	b       ffc01984 <_restgpr_28_x>               
                                                                      

ffc0eafc <_RBTree_Sibling>: */ RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Sibling( RBTree_Node *the_node ) { if(!the_node) return NULL;
ffc0eafc:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0eb00:	38 00 00 00 	li      r0,0                                   
ffc0eb04:	41 82 00 2c 	beq-    ffc0eb30 <_RBTree_Sibling+0x34>        
  if(!(the_node->parent)) return NULL;                                
ffc0eb08:	81 23 00 00 	lwz     r9,0(r3)                               
ffc0eb0c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0eb10:	41 9e 00 20 	beq-    cr7,ffc0eb30 <_RBTree_Sibling+0x34>    <== NEVER TAKEN
  if(!(the_node->parent->parent)) return NULL;                        
ffc0eb14:	81 69 00 00 	lwz     r11,0(r9)                              
ffc0eb18:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0eb1c:	41 9e 00 14 	beq-    cr7,ffc0eb30 <_RBTree_Sibling+0x34>    
                                                                      
  if(the_node == the_node->parent->child[RBT_LEFT])                   
ffc0eb20:	80 09 00 04 	lwz     r0,4(r9)                               
ffc0eb24:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc0eb28:	40 be 00 08 	bne+    cr7,ffc0eb30 <_RBTree_Sibling+0x34>    
    return the_node->parent->child[RBT_RIGHT];                        
ffc0eb2c:	80 09 00 08 	lwz     r0,8(r9)                               
  else                                                                
    return the_node->parent->child[RBT_LEFT];                         
}                                                                     
ffc0eb30:	7c 03 03 78 	mr      r3,r0                                  
ffc0eb34:	4e 80 00 20 	blr                                            
                                                                      

ffc0f008 <_RBTree_Validate_insert_unprotected>: * append operation. */ void _RBTree_Validate_insert_unprotected( RBTree_Node *the_node ) {
ffc0f008:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0f00c:	7c 08 02 a6 	mflr    r0                                     
ffc0f010:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc0f014:	7c 7e 1b 78 	mr      r30,r3                                 
      /* 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;                            
ffc0f018:	3b 80 00 00 	li      r28,0                                  
 *        append operation.                                           
 */                                                                   
void _RBTree_Validate_insert_unprotected(                             
    RBTree_Node    *the_node                                          
    )                                                                 
{                                                                     
ffc0f01c:	90 01 00 24 	stw     r0,36(r1)                              
      if (dir != pdir) {                                              
        _RBTree_Rotate(the_node->parent, pdir);                       
        the_node = the_node->child[pdir];                             
      }                                                               
      the_node->parent->color = RBT_BLACK;                            
      g->color = RBT_RED;                                             
ffc0f020:	3b 60 00 01 	li      r27,1                                  
  RBTree_Node *u,*g;                                                  
                                                                      
  /* note: the insert root case is handled already */                 
  /* if the parent is black, nothing needs to be done                 
   * otherwise may need to loop a few times */                        
  while (_RBTree_Is_red(_RBTree_Parent(the_node))) {                  
ffc0f024:	48 00 00 74 	b       ffc0f098 <_RBTree_Validate_insert_unprotected+0x90>
    )                                                                 
{                                                                     
  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;                
ffc0f028:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc0f02c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f030:	41 9e 00 90 	beq-    cr7,ffc0f0c0 <_RBTree_Validate_insert_unprotected+0xb8><== 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])                   
ffc0f034:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc0f038:	7f 83 48 00 	cmpw    cr7,r3,r9                              
ffc0f03c:	40 be 00 08 	bne+    cr7,ffc0f044 <_RBTree_Validate_insert_unprotected+0x3c>
    return the_node->parent->child[RBT_RIGHT];                        
ffc0f040:	81 3f 00 08 	lwz     r9,8(r31)                              
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
ffc0f044:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0f048:	41 9e 00 78 	beq-    cr7,ffc0f0c0 <_RBTree_Validate_insert_unprotected+0xb8>
ffc0f04c:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc0f050:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0f054:	40 be 00 6c 	bne+    cr7,ffc0f0c0 <_RBTree_Validate_insert_unprotected+0xb8>
    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;                            
ffc0f058:	93 83 00 0c 	stw     r28,12(r3)                             
      u->color = RBT_BLACK;                                           
      g->color = RBT_RED;                                             
ffc0f05c:	7f fe fb 78 	mr      r30,r31                                
    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;                                           
ffc0f060:	93 89 00 0c 	stw     r28,12(r9)                             
      g->color = RBT_RED;                                             
ffc0f064:	90 1f 00 0c 	stw     r0,12(r31)                             
ffc0f068:	48 00 00 30 	b       ffc0f098 <_RBTree_Validate_insert_unprotected+0x90>
      RBTree_Direction dir = the_node != the_node->parent->child[0];  
      RBTree_Direction pdir = the_node->parent != g->child[0];        
                                                                      
      /* ensure node is on the same branch direction as parent */     
      if (dir != pdir) {                                              
        _RBTree_Rotate(the_node->parent, pdir);                       
ffc0f06c:	7f a4 eb 78 	mr      r4,r29                                 
ffc0f070:	4b ff ff 21 	bl      ffc0ef90 <_RBTree_Rotate>              
        the_node = the_node->child[pdir];                             
ffc0f074:	57 a0 10 3a 	rlwinm  r0,r29,2,0,29                          
ffc0f078:	7f de 02 14 	add     r30,r30,r0                             
ffc0f07c:	83 de 00 04 	lwz     r30,4(r30)                             
      }                                                               
      the_node->parent->color = RBT_BLACK;                            
ffc0f080:	81 3e 00 00 	lwz     r9,0(r30)                              
      g->color = RBT_RED;                                             
                                                                      
      /* now rotate grandparent in the other branch direction (toward uncle) */
      _RBTree_Rotate(g, (1-pdir));                                    
ffc0f084:	7f e3 fb 78 	mr      r3,r31                                 
ffc0f088:	20 9d 00 01 	subfic  r4,r29,1                               
      /* ensure node is on the same branch direction as parent */     
      if (dir != pdir) {                                              
        _RBTree_Rotate(the_node->parent, pdir);                       
        the_node = the_node->child[pdir];                             
      }                                                               
      the_node->parent->color = RBT_BLACK;                            
ffc0f08c:	93 89 00 0c 	stw     r28,12(r9)                             
      g->color = RBT_RED;                                             
ffc0f090:	93 7f 00 0c 	stw     r27,12(r31)                            
                                                                      
      /* now rotate grandparent in the other branch direction (toward uncle) */
      _RBTree_Rotate(g, (1-pdir));                                    
ffc0f094:	4b ff fe fd 	bl      ffc0ef90 <_RBTree_Rotate>              
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
    return _RBTree_Insert_unprotected( tree, node );                  
  _ISR_Enable( level );                                               
}                                                                     
ffc0f098:	80 7e 00 00 	lwz     r3,0(r30)                              
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Parent(                     
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
  if (!the_node->parent->parent) return NULL;                         
ffc0f09c:	83 e3 00 00 	lwz     r31,0(r3)                              
ffc0f0a0:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0f0a4:	41 9e 00 14 	beq-    cr7,ffc0f0b8 <_RBTree_Validate_insert_unprotected+0xb0>
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
ffc0f0a8:	80 03 00 0c 	lwz     r0,12(r3)                              
ffc0f0ac:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0f0b0:	40 be 00 44 	bne+    cr7,ffc0f0f4 <_RBTree_Validate_insert_unprotected+0xec>
ffc0f0b4:	4b ff ff 74 	b       ffc0f028 <_RBTree_Validate_insert_unprotected+0x20>
                                                                      
      /* 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;          
ffc0f0b8:	93 fe 00 0c 	stw     r31,12(r30)                            
ffc0f0bc:	48 00 00 38 	b       ffc0f0f4 <_RBTree_Validate_insert_unprotected+0xec>
      u->color = RBT_BLACK;                                           
      g->color = RBT_RED;                                             
      the_node = g;                                                   
    } else { /* if uncle is black */                                  
      RBTree_Direction dir = the_node != the_node->parent->child[0];  
      RBTree_Direction pdir = the_node->parent != g->child[0];        
ffc0f0c0:	83 bf 00 04 	lwz     r29,4(r31)                             
      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];  
ffc0f0c4:	80 03 00 04 	lwz     r0,4(r3)                               
      RBTree_Direction pdir = the_node->parent != g->child[0];        
ffc0f0c8:	7c 7d ea 78 	xor     r29,r3,r29                             
      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];  
ffc0f0cc:	7f c0 02 78 	xor     r0,r30,r0                              
      RBTree_Direction pdir = the_node->parent != g->child[0];        
ffc0f0d0:	7f bd 00 34 	cntlzw  r29,r29                                
      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];  
ffc0f0d4:	7c 00 00 34 	cntlzw  r0,r0                                  
      RBTree_Direction pdir = the_node->parent != g->child[0];        
ffc0f0d8:	57 bd d9 7e 	rlwinm  r29,r29,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];  
ffc0f0dc:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
      RBTree_Direction pdir = the_node->parent != g->child[0];        
ffc0f0e0:	6b bd 00 01 	xori    r29,r29,1                              
      the_node->parent->color = RBT_BLACK;                            
      u->color = RBT_BLACK;                                           
      g->color = RBT_RED;                                             
      the_node = g;                                                   
    } else { /* if uncle is black */                                  
      RBTree_Direction dir = the_node != the_node->parent->child[0];  
ffc0f0e4:	68 00 00 01 	xori    r0,r0,1                                
      RBTree_Direction pdir = the_node->parent != g->child[0];        
                                                                      
      /* ensure node is on the same branch direction as parent */     
      if (dir != pdir) {                                              
ffc0f0e8:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc0f0ec:	40 be ff 80 	bne-    cr7,ffc0f06c <_RBTree_Validate_insert_unprotected+0x64>
ffc0f0f0:	4b ff ff 90 	b       ffc0f080 <_RBTree_Validate_insert_unprotected+0x78>
      /* 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;          
}                                                                     
ffc0f0f4:	39 61 00 20 	addi    r11,r1,32                              
ffc0f0f8:	4b ff 1a 40 	b       ffc00b38 <_restgpr_27_x>               
                                                                      

ffc0d828 <_RTEMS_tasks_Post_switch_extension>: */ void _RTEMS_tasks_Post_switch_extension( Thread_Control *executing ) {
ffc0d828:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0d82c:	7c 08 02 a6 	mflr    r0                                     
ffc0d830:	90 01 00 24 	stw     r0,36(r1)                              
ffc0d834:	bf c1 00 18 	stmw    r30,24(r1)                             
  RTEMS_API_Control *api;                                             
  ASR_Information   *asr;                                             
  rtems_signal_set   signal_set;                                      
  Modes_Control      prev_mode;                                       
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
ffc0d838:	83 e3 01 2c 	lwz     r31,300(r3)                            
  if ( !api )                                                         
ffc0d83c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0d840:	41 9e 00 7c 	beq-    cr7,ffc0d8bc <_RTEMS_tasks_Post_switch_extension+0x94><== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0d844:	7c 00 00 a6 	mfmsr   r0                                     
ffc0d848:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0d84c:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0d850:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
    signal_set = asr->signals_posted;                                 
    asr->signals_posted = 0;                                          
ffc0d854:	39 20 00 00 	li      r9,0                                   
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
    signal_set = asr->signals_posted;                                 
ffc0d858:	83 df 00 14 	lwz     r30,20(r31)                            
    asr->signals_posted = 0;                                          
ffc0d85c:	91 3f 00 14 	stw     r9,20(r31)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0d860:	7c 00 01 24 	mtmsr   r0                                     
  _ISR_Enable( level );                                               
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
ffc0d864:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0d868:	41 be 00 54 	beq+    cr7,ffc0d8bc <_RTEMS_tasks_Post_switch_extension+0x94>
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
ffc0d86c:	81 3f 00 1c 	lwz     r9,28(r31)                             
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
ffc0d870:	38 80 00 00 	li      r4,0                                   
ffc0d874:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc0d878:	60 84 ff ff 	ori     r4,r4,65535                            
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
ffc0d87c:	38 09 00 01 	addi    r0,r9,1                                
ffc0d880:	90 1f 00 1c 	stw     r0,28(r31)                             
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
ffc0d884:	38 a1 00 08 	addi    r5,r1,8                                
ffc0d888:	48 00 1e c1 	bl      ffc0f748 <rtems_task_mode>             
                                                                      
  (*asr->handler)( signal_set );                                      
ffc0d88c:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc0d890:	7f c3 f3 78 	mr      r3,r30                                 
ffc0d894:	7c 09 03 a6 	mtctr   r0                                     
ffc0d898:	4e 80 04 21 	bctrl                                          
                                                                      
  asr->nest_level -= 1;                                               
ffc0d89c:	81 3f 00 1c 	lwz     r9,28(r31)                             
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
ffc0d8a0:	38 80 00 00 	li      r4,0                                   
ffc0d8a4:	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;                                               
ffc0d8a8:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0d8ac:	90 1f 00 1c 	stw     r0,28(r31)                             
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
ffc0d8b0:	60 84 ff ff 	ori     r4,r4,65535                            
ffc0d8b4:	38 a1 00 08 	addi    r5,r1,8                                
ffc0d8b8:	48 00 1e 91 	bl      ffc0f748 <rtems_task_mode>             
                                                                      
}                                                                     
ffc0d8bc:	39 61 00 20 	addi    r11,r1,32                              
ffc0d8c0:	4b ff 2c 80 	b       ffc00540 <_restgpr_30_x>               
                                                                      

ffc09324 <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
ffc09324:	7c 2b 0b 78 	mr      r11,r1                                 
ffc09328:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0932c:	7c 08 02 a6 	mflr    r0                                     
ffc09330:	7c 64 1b 78 	mr      r4,r3                                  
ffc09334:	3c 60 00 00 	lis     r3,0                                   
ffc09338:	48 01 2a cd 	bl      ffc1be04 <_savegpr_31>                 
ffc0933c:	38 63 2c 00 	addi    r3,r3,11264                            
ffc09340:	90 01 00 24 	stw     r0,36(r1)                              
ffc09344:	38 a1 00 08 	addi    r5,r1,8                                
ffc09348:	48 00 21 3d 	bl      ffc0b484 <_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 ) {                                               
ffc0934c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc09350:	7c 7f 1b 78 	mr      r31,r3                                 
ffc09354:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09358:	40 9e 00 88 	bne-    cr7,ffc093e0 <_Rate_monotonic_Timeout+0xbc><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
ffc0935c:	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);                   
ffc09360:	80 03 00 10 	lwz     r0,16(r3)                              
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
ffc09364:	70 09 40 00 	andi.   r9,r0,16384                            
ffc09368:	41 82 00 24 	beq-    ffc0938c <_Rate_monotonic_Timeout+0x68>
ffc0936c:	81 23 00 20 	lwz     r9,32(r3)                              
ffc09370:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc09374:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc09378:	40 be 00 14 	bne+    cr7,ffc0938c <_Rate_monotonic_Timeout+0x68>
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
ffc0937c:	3c 80 10 03 	lis     r4,4099                                
ffc09380:	60 84 ff f8 	ori     r4,r4,65528                            
ffc09384:	48 00 2b 89 	bl      ffc0bf0c <_Thread_Clear_state>         
ffc09388:	48 00 00 18 	b       ffc093a0 <_Rate_monotonic_Timeout+0x7c>
        _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 ) {
ffc0938c:	80 1f 00 38 	lwz     r0,56(r31)                             
ffc09390:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc09394:	40 be 00 30 	bne+    cr7,ffc093c4 <_Rate_monotonic_Timeout+0xa0>
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
ffc09398:	38 00 00 03 	li      r0,3                                   
ffc0939c:	90 1f 00 38 	stw     r0,56(r31)                             
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
ffc093a0:	7f e3 fb 78 	mr      r3,r31                                 
ffc093a4:	4b ff f9 35 	bl      ffc08cd8 <_Rate_monotonic_Initiate_statistics>
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc093a8:	80 1f 00 3c 	lwz     r0,60(r31)                             
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc093ac:	3c 60 00 00 	lis     r3,0                                   
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc093b0:	90 1f 00 1c 	stw     r0,28(r31)                             
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc093b4:	38 63 2d c8 	addi    r3,r3,11720                            
ffc093b8:	38 9f 00 10 	addi    r4,r31,16                              
ffc093bc:	48 00 3f 51 	bl      ffc0d30c <_Watchdog_Insert>            
ffc093c0:	48 00 00 0c 	b       ffc093cc <_Rate_monotonic_Timeout+0xa8>
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
ffc093c4:	38 00 00 04 	li      r0,4                                   
ffc093c8:	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--;                                 
ffc093cc:	3d 20 00 00 	lis     r9,0                                   
ffc093d0:	81 69 28 08 	lwz     r11,10248(r9)                          
ffc093d4:	38 0b ff ff 	addi    r0,r11,-1                              
ffc093d8:	90 09 28 08 	stw     r0,10248(r9)                           
    return _Thread_Dispatch_disable_level;                            
ffc093dc:	80 09 28 08 	lwz     r0,10248(r9)                           
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
ffc093e0:	39 61 00 20 	addi    r11,r1,32                              
ffc093e4:	4b ff 7e 28 	b       ffc0120c <_restgpr_31_x>               
                                                                      

ffc0a844 <_Scheduler_EDF_Allocate>: #include <rtems/score/wkspace.h> void *_Scheduler_EDF_Allocate( Thread_Control *the_thread ) {
ffc0a844:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0a848:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0a84c:	7c 08 02 a6 	mflr    r0                                     
ffc0a850:	48 01 15 99 	bl      ffc1bde8 <_savegpr_31>                 
ffc0a854:	7c 7f 1b 78 	mr      r31,r3                                 
  void *sched;                                                        
  Scheduler_EDF_Per_thread *schinfo;                                  
                                                                      
  sched = _Workspace_Allocate( sizeof(Scheduler_EDF_Per_thread) );    
ffc0a858:	38 60 00 18 	li      r3,24                                  
#include <rtems/score/wkspace.h>                                      
                                                                      
void *_Scheduler_EDF_Allocate(                                        
  Thread_Control      *the_thread                                     
)                                                                     
{                                                                     
ffc0a85c:	90 01 00 14 	stw     r0,20(r1)                              
  void *sched;                                                        
  Scheduler_EDF_Per_thread *schinfo;                                  
                                                                      
  sched = _Workspace_Allocate( sizeof(Scheduler_EDF_Per_thread) );    
ffc0a860:	48 00 1e 0d 	bl      ffc0c66c <_Workspace_Allocate>         
                                                                      
  if ( sched ) {                                                      
ffc0a864:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0a868:	41 82 00 14 	beq-    ffc0a87c <_Scheduler_EDF_Allocate+0x38><== 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;  
ffc0a86c:	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;                               
ffc0a870:	90 7f 00 8c 	stw     r3,140(r31)                            
    schinfo = (Scheduler_EDF_Per_thread *)(the_thread->scheduler_info);
    schinfo->thread = the_thread;                                     
ffc0a874:	93 e3 00 00 	stw     r31,0(r3)                              
    schinfo->queue_state = SCHEDULER_EDF_QUEUE_STATE_NEVER_HAS_BEEN;  
ffc0a878:	90 03 00 14 	stw     r0,20(r3)                              
  }                                                                   
                                                                      
  return sched;                                                       
}                                                                     
ffc0a87c:	39 61 00 10 	addi    r11,r1,16                              
ffc0a880:	4b ff 62 c8 	b       ffc00b48 <_restgpr_31_x>               
                                                                      

ffc0a884 <_Scheduler_EDF_Block>: #include <rtems/score/thread.h> void _Scheduler_EDF_Block( Thread_Control *the_thread ) {
ffc0a884:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0a888:	7c 08 02 a6 	mflr    r0                                     
ffc0a88c:	bf c1 00 08 	stmw    r30,8(r1)                              
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_heir (                           
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Heir );                              
ffc0a890:	3f c0 00 00 	lis     r30,0                                  
ffc0a894:	3b de 2e 38 	addi    r30,r30,11832                          
ffc0a898:	90 01 00 14 	stw     r0,20(r1)                              
ffc0a89c:	7c 7f 1b 78 	mr      r31,r3                                 
  _Scheduler_EDF_Extract( the_thread );                               
ffc0a8a0:	48 00 00 89 	bl      ffc0a928 <_Scheduler_EDF_Extract>      
                                                                      
  /* TODO: flash critical section? */                                 
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
ffc0a8a4:	80 1e 00 10 	lwz     r0,16(r30)                             
ffc0a8a8:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
ffc0a8ac:	40 be 00 08 	bne+    cr7,ffc0a8b4 <_Scheduler_EDF_Block+0x30><== NEVER TAKEN
    _Scheduler_EDF_Schedule();                                        
ffc0a8b0:	48 00 01 e1 	bl      ffc0aa90 <_Scheduler_EDF_Schedule>     
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
ffc0a8b4:	80 1e 00 0c 	lwz     r0,12(r30)                             
ffc0a8b8:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
ffc0a8bc:	40 be 00 0c 	bne+    cr7,ffc0a8c8 <_Scheduler_EDF_Block+0x44><== NEVER TAKEN
    _Thread_Dispatch_necessary = true;                                
ffc0a8c0:	38 00 00 01 	li      r0,1                                   
ffc0a8c4:	98 1e 00 18 	stb     r0,24(r30)                             
}                                                                     
ffc0a8c8:	39 61 00 10 	addi    r11,r1,16                              
ffc0a8cc:	4b ff 62 78 	b       ffc00b44 <_restgpr_30_x>               
                                                                      

ffc0aac8 <_Scheduler_EDF_Unblock>: #include <rtems/score/scheduleredf.h> void _Scheduler_EDF_Unblock( Thread_Control *the_thread ) {
ffc0aac8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0aacc:	7c 08 02 a6 	mflr    r0                                     
ffc0aad0:	bf c1 00 08 	stmw    r30,8(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(                             
ffc0aad4:	3f c0 00 00 	lis     r30,0                                  
#include <rtems/score/scheduleredf.h>                                 
                                                                      
void _Scheduler_EDF_Unblock(                                          
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
ffc0aad8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0aadc:	90 01 00 14 	stw     r0,20(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(                             
ffc0aae0:	3b de 2e 38 	addi    r30,r30,11832                          
                                                                      
void _Scheduler_EDF_Unblock(                                          
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Scheduler_EDF_Enqueue(the_thread);                                 
ffc0aae4:	4b ff fe 0d 	bl      ffc0a8f0 <_Scheduler_EDF_Enqueue>      
ffc0aae8:	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(                             
ffc0aaec:	81 3e 00 10 	lwz     r9,16(r30)                             
ffc0aaf0:	80 0b 21 10 	lwz     r0,8464(r11)                           
ffc0aaf4:	80 69 00 14 	lwz     r3,20(r9)                              
ffc0aaf8:	80 9f 00 14 	lwz     r4,20(r31)                             
ffc0aafc:	7c 09 03 a6 	mtctr   r0                                     
ffc0ab00:	4e 80 04 21 	bctrl                                          
ffc0ab04:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ab08:	40 bc 00 34 	bge+    cr7,ffc0ab3c <_Scheduler_EDF_Unblock+0x74>
         _Thread_Heir->current_priority,                              
         the_thread->current_priority )) {                            
    _Thread_Heir = the_thread;                                        
    if ( _Thread_Executing->is_preemptible ||                         
ffc0ab0c:	81 3e 00 0c 	lwz     r9,12(r30)                             
   *    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;                                        
ffc0ab10:	93 fe 00 10 	stw     r31,16(r30)                            
    if ( _Thread_Executing->is_preemptible ||                         
ffc0ab14:	88 09 00 74 	lbz     r0,116(r9)                             
ffc0ab18:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ab1c:	40 9e 00 10 	bne-    cr7,ffc0ab2c <_Scheduler_EDF_Unblock+0x64><== ALWAYS TAKEN
ffc0ab20:	80 1f 00 14 	lwz     r0,20(r31)                             <== NOT EXECUTED
ffc0ab24:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc0ab28:	40 9e 00 14 	bne-    cr7,ffc0ab3c <_Scheduler_EDF_Unblock+0x74><== NOT EXECUTED
         the_thread->current_priority == 0 )                          
      _Thread_Dispatch_necessary = true;                              
ffc0ab2c:	3d 20 00 00 	lis     r9,0                                   
ffc0ab30:	38 00 00 01 	li      r0,1                                   
ffc0ab34:	39 29 2e 38 	addi    r9,r9,11832                            
ffc0ab38:	98 09 00 18 	stb     r0,24(r9)                              
  }                                                                   
}                                                                     
ffc0ab3c:	39 61 00 10 	addi    r11,r1,16                              
ffc0ab40:	4b ff 60 04 	b       ffc00b44 <_restgpr_30_x>               
                                                                      

ffc0ab44 <_Scheduler_EDF_Update>: #include <rtems/score/thread.h> void _Scheduler_EDF_Update( Thread_Control *the_thread ) {
ffc0ab44:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0ab48:	7c 08 02 a6 	mflr    r0                                     
ffc0ab4c:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0ab50:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc0ab54:	7c 7f 1b 78 	mr      r31,r3                                 
  Scheduler_EDF_Per_thread *sched_info =                              
ffc0ab58:	83 c3 00 8c 	lwz     r30,140(r3)                            
    (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) {
ffc0ab5c:	80 1e 00 14 	lwz     r0,20(r30)                             
ffc0ab60:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0ab64:	40 be 00 20 	bne+    cr7,ffc0ab84 <_Scheduler_EDF_Update+0x40>
    /* Shifts the priority to the region of background tasks. */      
    the_thread->Start.initial_priority |= (SCHEDULER_EDF_PRIO_MSB);   
ffc0ab68:	80 03 00 b0 	lwz     r0,176(r3)                             
ffc0ab6c:	64 00 80 00 	oris    r0,r0,32768                            
ffc0ab70:	90 03 00 b0 	stw     r0,176(r3)                             
    the_thread->real_priority    = the_thread->Start.initial_priority;
ffc0ab74:	90 03 00 18 	stw     r0,24(r3)                              
    the_thread->current_priority = the_thread->Start.initial_priority;
ffc0ab78:	90 03 00 14 	stw     r0,20(r3)                              
    sched_info->queue_state = SCHEDULER_EDF_QUEUE_STATE_NOT_PRESENTLY;
ffc0ab7c:	38 00 00 00 	li      r0,0                                   
ffc0ab80:	90 1e 00 14 	stw     r0,20(r30)                             
  }                                                                   
                                                                      
  if ( sched_info->queue_state == SCHEDULER_EDF_QUEUE_STATE_YES ) {   
ffc0ab84:	80 1e 00 14 	lwz     r0,20(r30)                             
ffc0ab88:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0ab8c:	40 be 00 68 	bne+    cr7,ffc0abf4 <_Scheduler_EDF_Update+0xb0><== ALWAYS TAKEN
    _RBTree_Extract(&_Scheduler_EDF_Ready_queue, the_node);           
ffc0ab90:	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);                        
ffc0ab94:	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);           
ffc0ab98:	3b bd 2e 5c 	addi    r29,r29,11868                          <== NOT EXECUTED
ffc0ab9c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc0aba0:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc0aba4:	48 00 43 b9 	bl      ffc0ef5c <_RBTree_Extract>             <== NOT EXECUTED
    _RBTree_Insert(&_Scheduler_EDF_Ready_queue, the_node);            
ffc0aba8:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc0abac:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc0abb0:	48 00 46 35 	bl      ffc0f1e4 <_RBTree_Insert>              <== NOT EXECUTED
                                                                      
    _Scheduler_EDF_Schedule();                                        
ffc0abb4:	4b ff fe dd 	bl      ffc0aa90 <_Scheduler_EDF_Schedule>     <== NOT EXECUTED
    if ( _Thread_Executing != _Thread_Heir ) {                        
ffc0abb8:	3d 60 00 00 	lis     r11,0                                  <== NOT EXECUTED
ffc0abbc:	39 4b 2e 38 	addi    r10,r11,11832                          <== NOT EXECUTED
ffc0abc0:	81 2a 00 0c 	lwz     r9,12(r10)                             <== NOT EXECUTED
ffc0abc4:	80 0a 00 10 	lwz     r0,16(r10)                             <== NOT EXECUTED
ffc0abc8:	7f 89 00 00 	cmpw    cr7,r9,r0                              <== NOT EXECUTED
ffc0abcc:	41 9e 00 28 	beq-    cr7,ffc0abf4 <_Scheduler_EDF_Update+0xb0><== NOT EXECUTED
      if ( _Thread_Executing->is_preemptible ||                       
ffc0abd0:	88 09 00 74 	lbz     r0,116(r9)                             <== NOT EXECUTED
ffc0abd4:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc0abd8:	40 9e 00 10 	bne-    cr7,ffc0abe8 <_Scheduler_EDF_Update+0xa4><== NOT EXECUTED
ffc0abdc:	80 1f 00 14 	lwz     r0,20(r31)                             <== NOT EXECUTED
ffc0abe0:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc0abe4:	40 9e 00 10 	bne-    cr7,ffc0abf4 <_Scheduler_EDF_Update+0xb0><== NOT EXECUTED
           the_thread->current_priority == 0 )                        
        _Thread_Dispatch_necessary = true;                            
ffc0abe8:	39 6b 2e 38 	addi    r11,r11,11832                          <== NOT EXECUTED
ffc0abec:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0abf0:	98 0b 00 18 	stb     r0,24(r11)                             <== NOT EXECUTED
    }                                                                 
  }                                                                   
}                                                                     
ffc0abf4:	39 61 00 18 	addi    r11,r1,24                              
ffc0abf8:	4b ff 5f 48 	b       ffc00b40 <_restgpr_29_x>               
                                                                      

ffc0abfc <_Scheduler_EDF_Yield>: #include <rtems/score/scheduler.h> #include <rtems/score/scheduleredf.h> #include <rtems/score/thread.h> void _Scheduler_EDF_Yield(void) {
ffc0abfc:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc0ac00:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
  Scheduler_EDF_Per_thread *first_info;                               
  RBTree_Node              *first_node;                               
  ISR_Level                 level;                                    
                                                                      
  Thread_Control *executing  = _Thread_Executing;                     
ffc0ac04:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
#include <rtems/score/scheduler.h>                                    
#include <rtems/score/scheduleredf.h>                                 
#include <rtems/score/thread.h>                                       
                                                                      
void _Scheduler_EDF_Yield(void)                                       
{                                                                     
ffc0ac08:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
ffc0ac0c:	bf 81 00 08 	stmw    r28,8(r1)                              <== NOT EXECUTED
  Scheduler_EDF_Per_thread *first_info;                               
  RBTree_Node              *first_node;                               
  ISR_Level                 level;                                    
                                                                      
  Thread_Control *executing  = _Thread_Executing;                     
ffc0ac10:	83 e9 2e 44 	lwz     r31,11844(r9)                          <== NOT EXECUTED
  Scheduler_EDF_Per_thread *executing_info =                          
ffc0ac14:	83 9f 00 8c 	lwz     r28,140(r31)                           <== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0ac18:	7f a0 00 a6 	mfmsr   r29                                    <== NOT EXECUTED
ffc0ac1c:	7c 10 42 a6 	mfsprg  r0,0                                   <== NOT EXECUTED
ffc0ac20:	7f a0 00 78 	andc    r0,r29,r0                              <== NOT EXECUTED
ffc0ac24:	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);
ffc0ac28:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc0ac2c:	81 29 2e 60 	lwz     r9,11872(r9)                           <== NOT EXECUTED
ffc0ac30:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc0ac34:	81 69 00 04 	lwz     r11,4(r9)                              <== NOT EXECUTED
ffc0ac38:	2f 8b 00 00 	cmpwi   cr7,r11,0                              <== NOT EXECUTED
ffc0ac3c:	40 be 00 10 	bne+    cr7,ffc0ac4c <_Scheduler_EDF_Yield+0x50><== NOT EXECUTED
#include <rtems/score/isr.h>                                          
#include <rtems/score/scheduler.h>                                    
#include <rtems/score/scheduleredf.h>                                 
#include <rtems/score/thread.h>                                       
                                                                      
void _Scheduler_EDF_Yield(void)                                       
ffc0ac40:	80 09 00 08 	lwz     r0,8(r9)                               <== NOT EXECUTED
ffc0ac44:	7c 00 00 34 	cntlzw  r0,r0                                  <== NOT EXECUTED
ffc0ac48:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          <== NOT EXECUTED
    (Scheduler_EDF_Per_thread *) executing->scheduler_info;           
  RBTree_Node *executing_node = &(executing_info->Node);              
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  if ( !_RBTree_Has_only_one_node(&_Scheduler_EDF_Ready_queue) ) {    
ffc0ac4c:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc0ac50:	40 be 00 6c 	bne+    cr7,ffc0acbc <_Scheduler_EDF_Yield+0xc0><== NOT EXECUTED
    /*                                                                
     * 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 );   
ffc0ac54:	3f c0 00 00 	lis     r30,0                                  <== NOT EXECUTED
  ISR_Level                 level;                                    
                                                                      
  Thread_Control *executing  = _Thread_Executing;                     
  Scheduler_EDF_Per_thread *executing_info =                          
    (Scheduler_EDF_Per_thread *) executing->scheduler_info;           
  RBTree_Node *executing_node = &(executing_info->Node);              
ffc0ac58:	3b 9c 00 04 	addi    r28,r28,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 );   
ffc0ac5c:	3b de 2e 5c 	addi    r30,r30,11868                          <== NOT EXECUTED
ffc0ac60:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc0ac64:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc0ac68:	48 00 42 f5 	bl      ffc0ef5c <_RBTree_Extract>             <== NOT EXECUTED
    _RBTree_Insert( &_Scheduler_EDF_Ready_queue, executing_node );    
ffc0ac6c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc0ac70:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc0ac74:	48 00 45 71 	bl      ffc0f1e4 <_RBTree_Insert>              <== NOT EXECUTED
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  __asm__ volatile (                                                  
ffc0ac78:	7c 00 00 a6 	mfmsr   r0                                     <== NOT EXECUTED
ffc0ac7c:	7f a0 01 24 	mtmsr   r29                                    <== NOT EXECUTED
ffc0ac80:	7c 00 01 24 	mtmsr   r0                                     <== NOT EXECUTED
ffc0ac84:	3f 80 00 00 	lis     r28,0                                  <== NOT EXECUTED
ffc0ac88:	3b 9c 2e 38 	addi    r28,r28,11832                          <== NOT EXECUTED
                                                                      
    _ISR_Flash( level );                                              
                                                                      
    if ( _Thread_Is_heir( executing ) ) {                             
ffc0ac8c:	80 1c 00 10 	lwz     r0,16(r28)                             <== NOT EXECUTED
ffc0ac90:	7f 9f 00 00 	cmpw    cr7,r31,r0                             <== NOT EXECUTED
ffc0ac94:	40 be 00 18 	bne+    cr7,ffc0acac <_Scheduler_EDF_Yield+0xb0><== NOT EXECUTED
      first_node = _RBTree_Peek( &_Scheduler_EDF_Ready_queue, RBT_LEFT );
ffc0ac98:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc0ac9c:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc0aca0:	48 00 45 59 	bl      ffc0f1f8 <_RBTree_Peek>                <== NOT EXECUTED
      first_info =                                                    
        _RBTree_Container_of(first_node, Scheduler_EDF_Per_thread, Node);
      _Thread_Heir = first_info->thread;                              
ffc0aca4:	80 03 ff fc 	lwz     r0,-4(r3)                              <== NOT EXECUTED
ffc0aca8:	90 1c 00 10 	stw     r0,16(r28)                             <== NOT EXECUTED
    }                                                                 
    _Thread_Dispatch_necessary = true;                                
ffc0acac:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc0acb0:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0acb4:	39 29 2e 38 	addi    r9,r9,11832                            <== NOT EXECUTED
ffc0acb8:	48 00 00 1c 	b       ffc0acd4 <_Scheduler_EDF_Yield+0xd8>   <== NOT EXECUTED
ffc0acbc:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc0acc0:	39 29 2e 38 	addi    r9,r9,11832                            <== NOT EXECUTED
  }                                                                   
  else if ( !_Thread_Is_heir( executing ) )                           
ffc0acc4:	80 09 00 10 	lwz     r0,16(r9)                              <== NOT EXECUTED
ffc0acc8:	7f 9f 00 00 	cmpw    cr7,r31,r0                             <== NOT EXECUTED
ffc0accc:	41 9e 00 0c 	beq-    cr7,ffc0acd8 <_Scheduler_EDF_Yield+0xdc><== NOT EXECUTED
    _Thread_Dispatch_necessary = true;                                
ffc0acd0:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0acd4:	98 09 00 18 	stb     r0,24(r9)                              <== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0acd8:	7f a0 01 24 	mtmsr   r29                                    <== NOT EXECUTED
                                                                      
  _ISR_Enable( level );                                               
}                                                                     
ffc0acdc:	39 61 00 18 	addi    r11,r1,24                              <== NOT EXECUTED
ffc0ace0:	4b ff 5e 5c 	b       ffc00b3c <_restgpr_28_x>               <== NOT EXECUTED
                                                                      

ffc09f54 <_Scheduler_priority_Block>: ) { Scheduler_priority_Per_thread *sched_info; Chain_Control *ready; sched_info = (Scheduler_priority_Per_thread *) the_thread->scheduler_info;
ffc09f54:	81 63 00 8c 	lwz     r11,140(r3)                            
  ready      = sched_info->ready_chain;                               
ffc09f58:	81 2b 00 00 	lwz     r9,0(r11)                              
                                                                      
  if ( _Chain_Has_only_one_node( ready ) ) {                          
ffc09f5c:	81 49 00 00 	lwz     r10,0(r9)                              
ffc09f60:	80 09 00 08 	lwz     r0,8(r9)                               
ffc09f64:	7f 8a 00 00 	cmpw    cr7,r10,r0                             
ffc09f68:	40 be 00 4c 	bne+    cr7,ffc09fb4 <_Scheduler_priority_Block+0x60>
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
ffc09f6c:	38 09 00 04 	addi    r0,r9,4                                
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc09f70:	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;                                                  
ffc09f74:	90 09 00 00 	stw     r0,0(r9)                               
  head->previous = NULL;                                              
ffc09f78:	38 00 00 00 	li      r0,0                                   
ffc09f7c:	90 09 00 04 	stw     r0,4(r9)                               
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Remove (                  
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor &= the_priority_map->block_minor;          
ffc09f80:	81 2b 00 04 	lwz     r9,4(r11)                              
ffc09f84:	80 0b 00 14 	lwz     r0,20(r11)                             
ffc09f88:	81 49 00 00 	lwz     r10,0(r9)                              
ffc09f8c:	7d 40 00 38 	and     r0,r10,r0                              
  if ( *the_priority_map->minor == 0 )                                
ffc09f90:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Remove (                  
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor &= the_priority_map->block_minor;          
ffc09f94:	90 09 00 00 	stw     r0,0(r9)                               
  if ( *the_priority_map->minor == 0 )                                
ffc09f98:	40 9e 00 2c 	bne-    cr7,ffc09fc4 <_Scheduler_priority_Block+0x70>
    _Priority_Major_bit_map &= the_priority_map->block_major;         
ffc09f9c:	3d 20 00 00 	lis     r9,0                                   
ffc09fa0:	80 0b 00 10 	lwz     r0,16(r11)                             
ffc09fa4:	81 49 28 08 	lwz     r10,10248(r9)                          
ffc09fa8:	7d 40 00 38 	and     r0,r10,r0                              
ffc09fac:	90 09 28 08 	stw     r0,10248(r9)                           
ffc09fb0:	48 00 00 14 	b       ffc09fc4 <_Scheduler_priority_Block+0x70>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc09fb4:	81 63 00 00 	lwz     r11,0(r3)                              
  previous       = the_node->previous;                                
ffc09fb8:	81 23 00 04 	lwz     r9,4(r3)                               
  next->previous = previous;                                          
ffc09fbc:	91 2b 00 04 	stw     r9,4(r11)                              
  previous->next = next;                                              
ffc09fc0:	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 );                              
ffc09fc4:	3d 20 00 00 	lis     r9,0                                   
{                                                                     
  _Scheduler_priority_Ready_queue_extract( the_thread );              
                                                                      
  /* TODO: flash critical section? */                                 
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
ffc09fc8:	80 09 2d c8 	lwz     r0,11720(r9)                           
ffc09fcc:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc09fd0:	40 be 00 60 	bne+    cr7,ffc0a030 <_Scheduler_priority_Block+0xdc>
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 );         
ffc09fd4:	3d 40 00 00 	lis     r10,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                          
ffc09fd8:	3d 20 00 00 	lis     r9,0                                   
ffc09fdc:	80 0a 28 08 	lwz     r0,10248(r10)                          
ffc09fe0:	81 29 20 e0 	lwz     r9,8416(r9)                            
ffc09fe4:	7c 0b 00 34 	cntlzw  r11,r0                                 
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc09fe8:	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 );         
ffc09fec:	90 0a 28 08 	stw     r0,10248(r10)                          
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc09ff0:	39 08 2d e0 	addi    r8,r8,11744                            
ffc09ff4:	55 6a 10 3a 	rlwinm  r10,r11,2,0,29                         
ffc09ff8:	7c 08 50 2e 	lwzx    r0,r8,r10                              
ffc09ffc:	7c 07 00 34 	cntlzw  r7,r0                                  
ffc0a000:	7c 08 51 2e 	stwx    r0,r8,r10                              
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
ffc0a004:	55 60 20 36 	rlwinm  r0,r11,4,0,27                          
ffc0a008:	7c 00 3a 14 	add     r0,r0,r7                               
  Chain_Control       *the_ready_queue                                
)                                                                     
{                                                                     
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
ffc0a00c:	1c 00 00 0c 	mulli   r0,r0,12                               
ffc0a010:	7d 69 02 14 	add     r11,r9,r0                              
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc0a014:	7c 09 00 2e 	lwzx    r0,r9,r0                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0a018:	39 2b 00 04 	addi    r9,r11,4                               
ffc0a01c:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc0a020:	40 be 00 08 	bne+    cr7,ffc0a028 <_Scheduler_priority_Block+0xd4><== ALWAYS TAKEN
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
                                                                      
  return NULL;                                                        
ffc0a024:	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(               
ffc0a028:	3d 20 00 00 	lis     r9,0                                   
ffc0a02c:	90 09 2d c8 	stw     r0,11720(r9)                           
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
ffc0a030:	3d 20 00 00 	lis     r9,0                                   
ffc0a034:	39 29 2d b8 	addi    r9,r9,11704                            
     _Scheduler_priority_Schedule_body();                             
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
ffc0a038:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc0a03c:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc0a040:	4c be 00 20 	bnelr+  cr7                                    
    _Thread_Dispatch_necessary = true;                                
ffc0a044:	38 00 00 01 	li      r0,1                                   
ffc0a048:	98 09 00 18 	stb     r0,24(r9)                              
ffc0a04c:	4e 80 00 20 	blr                                            
                                                                      

ffc0a220 <_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 );
ffc0a220:	3d 40 00 00 	lis     r10,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                          
ffc0a224:	3d 20 00 00 	lis     r9,0                                   
ffc0a228:	80 0a 28 08 	lwz     r0,10248(r10)                          
ffc0a22c:	81 29 20 e0 	lwz     r9,8416(r9)                            
ffc0a230:	7c 0b 00 34 	cntlzw  r11,r0                                 
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0a234:	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 );         
ffc0a238:	90 0a 28 08 	stw     r0,10248(r10)                          
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0a23c:	39 08 2d e0 	addi    r8,r8,11744                            
ffc0a240:	55 6a 10 3a 	rlwinm  r10,r11,2,0,29                         
ffc0a244:	7c 08 50 2e 	lwzx    r0,r8,r10                              
ffc0a248:	7c 07 00 34 	cntlzw  r7,r0                                  
ffc0a24c:	7c 08 51 2e 	stwx    r0,r8,r10                              
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
ffc0a250:	55 60 20 36 	rlwinm  r0,r11,4,0,27                          
ffc0a254:	7c 00 3a 14 	add     r0,r0,r7                               
  Chain_Control       *the_ready_queue                                
)                                                                     
{                                                                     
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
ffc0a258:	1c 00 00 0c 	mulli   r0,r0,12                               
ffc0a25c:	7d 69 02 14 	add     r11,r9,r0                              
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc0a260:	7c 09 00 2e 	lwzx    r0,r9,r0                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0a264:	39 2b 00 04 	addi    r9,r11,4                               
ffc0a268:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc0a26c:	40 be 00 08 	bne+    cr7,ffc0a274 <_Scheduler_priority_Schedule+0x54><== ALWAYS TAKEN
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
                                                                      
  return NULL;                                                        
ffc0a270:	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(               
ffc0a274:	3d 20 00 00 	lis     r9,0                                   
ffc0a278:	90 09 2d c8 	stw     r0,11720(r9)                           
#include <rtems/score/schedulerpriority.h>                            
                                                                      
void _Scheduler_priority_Schedule(void)                               
{                                                                     
  _Scheduler_priority_Schedule_body();                                
}                                                                     
ffc0a27c:	4e 80 00 20 	blr                                            
                                                                      

ffc08d50 <_TOD_Validate>: uint32_t days_in_month; uint32_t ticks_per_second; ticks_per_second = TOD_MICROSECONDS_PER_SECOND / rtems_configuration_get_microseconds_per_tick(); if ((!the_tod) ||
ffc08d50:	2c 03 00 00 	cmpwi   r3,0                                   
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
ffc08d54:	3d 20 00 00 	lis     r9,0                                   
ffc08d58:	81 29 20 30 	lwz     r9,8240(r9)                            
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
     return false;                                                    
ffc08d5c:	38 00 00 00 	li      r0,0                                   
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
ffc08d60:	41 82 00 94 	beq-    ffc08df4 <_TOD_Validate+0xa4>          <== NEVER TAKEN
)                                                                     
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
ffc08d64:	3d 60 00 0f 	lis     r11,15                                 
ffc08d68:	61 6b 42 40 	ori     r11,r11,16960                          
ffc08d6c:	7d 2b 4b 96 	divwu   r9,r11,r9                              
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
ffc08d70:	81 63 00 18 	lwz     r11,24(r3)                             
ffc08d74:	7f 8b 48 40 	cmplw   cr7,r11,r9                             
ffc08d78:	40 9c 00 7c 	bge-    cr7,ffc08df4 <_TOD_Validate+0xa4>      
      (the_tod->ticks  >= ticks_per_second)       ||                  
ffc08d7c:	81 23 00 14 	lwz     r9,20(r3)                              
ffc08d80:	2b 89 00 3b 	cmplwi  cr7,r9,59                              
ffc08d84:	41 9d 00 70 	bgt-    cr7,ffc08df4 <_TOD_Validate+0xa4>      
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
ffc08d88:	81 23 00 10 	lwz     r9,16(r3)                              
ffc08d8c:	2b 89 00 3b 	cmplwi  cr7,r9,59                              
ffc08d90:	41 9d 00 64 	bgt-    cr7,ffc08df4 <_TOD_Validate+0xa4>      
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
ffc08d94:	81 23 00 0c 	lwz     r9,12(r3)                              
ffc08d98:	2b 89 00 17 	cmplwi  cr7,r9,23                              
ffc08d9c:	41 9d 00 58 	bgt-    cr7,ffc08df4 <_TOD_Validate+0xa4>      
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
ffc08da0:	81 23 00 04 	lwz     r9,4(r3)                               
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
      (the_tod->ticks  >= ticks_per_second)       ||                  
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
ffc08da4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08da8:	41 9e 00 4c 	beq-    cr7,ffc08df4 <_TOD_Validate+0xa4>      <== NEVER TAKEN
      (the_tod->month  == 0)                      ||                  
ffc08dac:	2b 89 00 0c 	cmplwi  cr7,r9,12                              
ffc08db0:	41 9d 00 44 	bgt-    cr7,ffc08df4 <_TOD_Validate+0xa4>      
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
ffc08db4:	81 43 00 00 	lwz     r10,0(r3)                              
      (the_tod->ticks  >= ticks_per_second)       ||                  
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
ffc08db8:	2b 8a 07 c3 	cmplwi  cr7,r10,1987                           
ffc08dbc:	40 9d 00 38 	ble-    cr7,ffc08df4 <_TOD_Validate+0xa4>      
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
ffc08dc0:	81 63 00 08 	lwz     r11,8(r3)                              
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
ffc08dc4:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc08dc8:	41 9e 00 2c 	beq-    cr7,ffc08df4 <_TOD_Validate+0xa4>      <== NEVER TAKEN
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
ffc08dcc:	71 40 00 03 	andi.   r0,r10,3                               
ffc08dd0:	3d 40 ff c2 	lis     r10,-62                                
ffc08dd4:	39 4a ea 14 	addi    r10,r10,-5612                          
ffc08dd8:	40 82 00 08 	bne-    ffc08de0 <_TOD_Validate+0x90>          
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
ffc08ddc:	39 29 00 0d 	addi    r9,r9,13                               
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
ffc08de0:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc08de4:	7c 0a 48 2e 	lwzx    r0,r10,r9                              
 *    false - if the the_tod is invalid                               
 *                                                                    
 *  NOTE: This routine only works for leap-years through 2099.        
 */                                                                   
                                                                      
bool _TOD_Validate(                                                   
ffc08de8:	7c 0b 00 10 	subfc   r0,r11,r0                              
ffc08dec:	38 00 00 00 	li      r0,0                                   
ffc08df0:	7c 00 01 14 	adde    r0,r0,r0                               
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
ffc08df4:	7c 03 03 78 	mr      r3,r0                                  
ffc08df8:	4e 80 00 20 	blr                                            
                                                                      

ffc0a4f8 <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
ffc0a4f8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0a4fc:	7c 08 02 a6 	mflr    r0                                     
ffc0a500:	90 01 00 24 	stw     r0,36(r1)                              
ffc0a504:	bf 81 00 10 	stmw    r28,16(r1)                             
ffc0a508:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0a50c:	7c be 2b 78 	mr      r30,r5                                 
  States_Control state, original_state;                               
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
ffc0a510:	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 );                                
ffc0a514:	90 81 00 08 	stw     r4,8(r1)                               
ffc0a518:	48 00 0e 55 	bl      ffc0b36c <_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 )                  
ffc0a51c:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc0a520:	80 81 00 08 	lwz     r4,8(r1)                               
ffc0a524:	7f 80 20 00 	cmpw    cr7,r0,r4                              
ffc0a528:	41 9e 00 0c 	beq-    cr7,ffc0a534 <_Thread_Change_priority+0x3c>
    _Thread_Set_priority( the_thread, new_priority );                 
ffc0a52c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a530:	48 00 0d b1 	bl      ffc0b2e0 <_Thread_Set_priority>        
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0a534:	7f 80 00 a6 	mfmsr   r28                                    
ffc0a538:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0a53c:	7f 80 00 78 	andc    r0,r28,r0                              
ffc0a540:	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;                                  
ffc0a544:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc0a548:	57 bd 07 7a 	rlwinm  r29,r29,0,29,29                        
  if ( state != STATES_TRANSIENT ) {                                  
ffc0a54c:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc0a550:	41 9e 00 38 	beq-    cr7,ffc0a588 <_Thread_Change_priority+0x90>
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
ffc0a554:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0a558:	40 9e 00 0c 	bne-    cr7,ffc0a564 <_Thread_Change_priority+0x6c><== NEVER TAKEN
RTEMS_INLINE_ROUTINE States_Control _States_Clear (                   
  States_Control states_to_clear,                                     
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state & ~states_to_clear);                         
ffc0a55c:	54 09 07 b8 	rlwinm  r9,r0,0,30,28                          
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
ffc0a560:	91 3f 00 10 	stw     r9,16(r31)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0a564:	7f 80 01 24 	mtmsr   r28                                    
    _ISR_Enable( level );                                             
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
ffc0a568:	3d 20 00 03 	lis     r9,3                                   
ffc0a56c:	61 29 be e0 	ori     r9,r9,48864                            
ffc0a570:	7c 0b 48 39 	and.    r11,r0,r9                              
ffc0a574:	41 a2 00 94 	beq+    ffc0a608 <_Thread_Change_priority+0x110>
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
ffc0a578:	80 7f 00 44 	lwz     r3,68(r31)                             
ffc0a57c:	7f e4 fb 78 	mr      r4,r31                                 
ffc0a580:	48 00 0c a5 	bl      ffc0b224 <_Thread_queue_Requeue>       
ffc0a584:	48 00 00 84 	b       ffc0a608 <_Thread_Change_priority+0x110>
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
ffc0a588:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0a58c:	40 9e 00 30 	bne-    cr7,ffc0a5bc <_Thread_Change_priority+0xc4><== NEVER TAKEN
     *  the TRANSIENT state.  So we have to place it on the appropriate
     *  Ready Queue with interrupts off.                              
     */                                                               
    the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
                                                                      
    if ( prepend_it )                                                 
ffc0a590:	2f 9e 00 00 	cmpwi   cr7,r30,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 );
ffc0a594:	93 bf 00 10 	stw     r29,16(r31)                            
ffc0a598:	3d 20 00 00 	lis     r9,0                                   
ffc0a59c:	39 29 20 e0 	addi    r9,r9,8416                             
                                                                      
    if ( prepend_it )                                                 
ffc0a5a0:	41 9e 00 0c 	beq-    cr7,ffc0a5ac <_Thread_Change_priority+0xb4>
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Enqueue_first(                   
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Scheduler.Operations.enqueue_first( the_thread );                  
ffc0a5a4:	80 09 00 28 	lwz     r0,40(r9)                              
ffc0a5a8:	48 00 00 08 	b       ffc0a5b0 <_Thread_Change_priority+0xb8>
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Enqueue(                         
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Scheduler.Operations.enqueue( the_thread );                        
ffc0a5ac:	80 09 00 24 	lwz     r0,36(r9)                              
ffc0a5b0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a5b4:	7c 09 03 a6 	mtctr   r0                                     
ffc0a5b8:	4e 80 04 21 	bctrl                                          
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  __asm__ volatile (                                                  
ffc0a5bc:	7c 00 00 a6 	mfmsr   r0                                     
ffc0a5c0:	7f 80 01 24 	mtmsr   r28                                    
ffc0a5c4:	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();                                   
ffc0a5c8:	3d 20 00 00 	lis     r9,0                                   
ffc0a5cc:	80 09 20 e8 	lwz     r0,8424(r9)                            
ffc0a5d0:	7c 09 03 a6 	mtctr   r0                                     
ffc0a5d4:	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 );                       
ffc0a5d8:	3d 20 00 00 	lis     r9,0                                   
ffc0a5dc:	39 29 2d b8 	addi    r9,r9,11704                            
ffc0a5e0:	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() &&                       
ffc0a5e4:	80 09 00 10 	lwz     r0,16(r9)                              
ffc0a5e8:	7f 8b 00 00 	cmpw    cr7,r11,r0                             
ffc0a5ec:	41 9e 00 18 	beq-    cr7,ffc0a604 <_Thread_Change_priority+0x10c>
ffc0a5f0:	88 0b 00 74 	lbz     r0,116(r11)                            
ffc0a5f4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a5f8:	41 9e 00 0c 	beq-    cr7,ffc0a604 <_Thread_Change_priority+0x10c>
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
ffc0a5fc:	38 00 00 01 	li      r0,1                                   
ffc0a600:	98 09 00 18 	stb     r0,24(r9)                              
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0a604:	7f 80 01 24 	mtmsr   r28                                    
  _ISR_Enable( level );                                               
}                                                                     
ffc0a608:	39 61 00 20 	addi    r11,r1,32                              
ffc0a60c:	4b ff 5f 2c 	b       ffc00538 <_restgpr_28_x>               
                                                                      

ffc0a828 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
ffc0a828:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0a82c:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0a830:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
void _Thread_Delay_ended(                                             
  Objects_Id  id,                                                     
  void       *ignored __attribute__((unused))                         
)                                                                     
{                                                                     
ffc0a834:	90 01 00 1c 	stw     r0,28(r1)                              
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0a838:	48 00 01 d9 	bl      ffc0aa10 <_Thread_Get>                 
  switch ( location ) {                                               
ffc0a83c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0a840:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a844:	40 9e 00 24 	bne-    cr7,ffc0a868 <_Thread_Delay_ended+0x40><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
ffc0a848:	3c 80 10 00 	lis     r4,4096                                
ffc0a84c:	60 84 00 18 	ori     r4,r4,24                               
ffc0a850:	4b ff fd c1 	bl      ffc0a610 <_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--;                                 
ffc0a854:	3d 20 00 00 	lis     r9,0                                   
ffc0a858:	81 69 27 c8 	lwz     r11,10184(r9)                          
ffc0a85c:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0a860:	90 09 27 c8 	stw     r0,10184(r9)                           
    return _Thread_Dispatch_disable_level;                            
ffc0a864:	80 09 27 c8 	lwz     r0,10184(r9)                           
          | STATES_INTERRUPTIBLE_BY_SIGNAL                            
      );                                                              
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
ffc0a868:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0a86c:	38 21 00 18 	addi    r1,r1,24                               
ffc0a870:	7c 08 03 a6 	mtlr    r0                                     
ffc0a874:	4e 80 00 20 	blr                                            
                                                                      

ffc0a878 <_Thread_Dispatch>: * * This rountine increments the thread dispatch level */ RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void) { _Thread_Dispatch_disable_level++;
ffc0a878:	3d 20 00 00 	lis     r9,0                                   
 *  INTERRUPT LATENCY:                                                
 *    dispatch thread                                                 
 *    no dispatch thread                                              
 */                                                                   
void _Thread_Dispatch( void )                                         
{                                                                     
ffc0a87c:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0a880:	7c 08 02 a6 	mflr    r0                                     
ffc0a884:	81 69 27 c8 	lwz     r11,10184(r9)                          
ffc0a888:	90 01 00 3c 	stw     r0,60(r1)                              
ffc0a88c:	38 0b 00 01 	addi    r0,r11,1                               
ffc0a890:	90 09 27 c8 	stw     r0,10184(r9)                           
ffc0a894:	bf 21 00 1c 	stmw    r25,28(r1)                             
    return _Thread_Dispatch_disable_level;                            
ffc0a898:	80 09 27 c8 	lwz     r0,10184(r9)                           
  #endif                                                              
                                                                      
  /*                                                                  
   *  Now determine if we need to perform a dispatch on the current CPU.
   */                                                                 
  executing   = _Thread_Executing;                                    
ffc0a89c:	3f 80 00 00 	lis     r28,0                                  
ffc0a8a0:	3b bc 2d b8 	addi    r29,r28,11704                          
ffc0a8a4:	83 fd 00 0c 	lwz     r31,12(r29)                            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0a8a8:	7c 00 00 a6 	mfmsr   r0                                     
ffc0a8ac:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0a8b0:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0a8b4:	7d 20 01 24 	mtmsr   r9                                     
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
                                                                      
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_necessary = false;                               
ffc0a8b8:	3b 20 00 00 	li      r25,0                                  
#if __RTEMS_ADA__                                                     
    executing->rtems_ada_self = rtems_ada_self;                       
    rtems_ada_self = heir->rtems_ada_self;                            
#endif                                                                
    if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
ffc0a8bc:	3f 40 00 00 	lis     r26,0                                  
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
        _Timestamp_Subtract(                                          
ffc0a8c0:	3b bd 00 1c 	addi    r29,r29,28                             
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
ffc0a8c4:	3f 60 00 00 	lis     r27,0                                  
  /*                                                                  
   *  Now determine if we need to perform a dispatch on the current CPU.
   */                                                                 
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
ffc0a8c8:	48 00 00 d8 	b       ffc0a9a0 <_Thread_Dispatch+0x128>      
                                                                      
    heir = _Thread_Heir;                                              
ffc0a8cc:	83 c9 00 10 	lwz     r30,16(r9)                             
    _Thread_Dispatch_necessary = false;                               
ffc0a8d0:	9b 29 00 18 	stb     r25,24(r9)                             
    /*                                                                
     *  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 )                                          
ffc0a8d4:	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;                                         
ffc0a8d8:	93 c9 00 0c 	stw     r30,12(r9)                             
    /*                                                                
     *  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 )                                          
ffc0a8dc:	41 9e 00 d4 	beq-    cr7,ffc0a9b0 <_Thread_Dispatch+0x138>  
     */                                                               
#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 )
ffc0a8e0:	81 3e 00 7c 	lwz     r9,124(r30)                            
ffc0a8e4:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc0a8e8:	40 be 00 0c 	bne+    cr7,ffc0a8f4 <_Thread_Dispatch+0x7c>   
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
ffc0a8ec:	81 3a 27 c4 	lwz     r9,10180(r26)                          
ffc0a8f0:	91 3e 00 78 	stw     r9,120(r30)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0a8f4:	7c 00 01 24 	mtmsr   r0                                     
    _ISR_Enable( level );                                             
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
ffc0a8f8:	38 61 00 10 	addi    r3,r1,16                               
ffc0a8fc:	48 00 33 85 	bl      ffc0dc80 <_TOD_Get_uptime>             
        _Timestamp_Subtract(                                          
ffc0a900:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a904:	38 81 00 10 	addi    r4,r1,16                               
ffc0a908:	38 a1 00 08 	addi    r5,r1,8                                
ffc0a90c:	48 00 0c 8d 	bl      ffc0b598 <_Timespec_Subtract>          
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
ffc0a910:	38 7f 00 84 	addi    r3,r31,132                             
ffc0a914:	38 81 00 08 	addi    r4,r1,8                                
ffc0a918:	48 00 0c 25 	bl      ffc0b53c <_Timespec_Add_to>            
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
ffc0a91c:	81 3b 27 dc 	lwz     r9,10204(r27)                          
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
ffc0a920:	81 41 00 10 	lwz     r10,16(r1)                             
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
ffc0a924:	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;                 
ffc0a928:	81 61 00 14 	lwz     r11,20(r1)                             
ffc0a92c:	91 5d 00 00 	stw     r10,0(r29)                             
ffc0a930:	91 7d 00 04 	stw     r11,4(r29)                             
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
ffc0a934:	41 9e 00 14 	beq-    cr7,ffc0a948 <_Thread_Dispatch+0xd0>   <== NEVER TAKEN
      executing->libc_reent = *_Thread_libc_reent;                    
ffc0a938:	80 09 00 00 	lwz     r0,0(r9)                               
ffc0a93c:	90 1f 01 28 	stw     r0,296(r31)                            
      *_Thread_libc_reent = heir->libc_reent;                         
ffc0a940:	80 1e 01 28 	lwz     r0,296(r30)                            
ffc0a944:	90 09 00 00 	stw     r0,0(r9)                               
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
ffc0a948:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a94c:	7f c4 f3 78 	mr      r4,r30                                 
ffc0a950:	48 00 0f 71 	bl      ffc0b8c0 <_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 )                              
ffc0a954:	80 1f 01 24 	lwz     r0,292(r31)                            
ffc0a958:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a95c:	41 9e 00 0c 	beq-    cr7,ffc0a968 <_Thread_Dispatch+0xf0>   
      _Context_Save_fp( &executing->fp_context );                     
ffc0a960:	38 7f 01 24 	addi    r3,r31,292                             
ffc0a964:	48 00 fb 9d 	bl      ffc1a500 <_CPU_Context_save_fp>        
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
ffc0a968:	38 7f 00 c4 	addi    r3,r31,196                             
ffc0a96c:	38 9e 00 c4 	addi    r4,r30,196                             
ffc0a970:	48 00 fd 11 	bl      ffc1a680 <_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 )                              
ffc0a974:	80 1f 01 24 	lwz     r0,292(r31)                            
ffc0a978:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a97c:	41 9e 00 0c 	beq-    cr7,ffc0a988 <_Thread_Dispatch+0x110>  
      _Context_Restore_fp( &executing->fp_context );                  
ffc0a980:	38 7f 01 24 	addi    r3,r31,292                             
ffc0a984:	48 00 fc 3d 	bl      ffc1a5c0 <_CPU_Context_restore_fp>     
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
ffc0a988:	39 3c 2d b8 	addi    r9,r28,11704                           
ffc0a98c:	83 e9 00 0c 	lwz     r31,12(r9)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0a990:	7c 00 00 a6 	mfmsr   r0                                     
ffc0a994:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0a998:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0a99c:	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 ) {                      
ffc0a9a0:	39 3c 2d b8 	addi    r9,r28,11704                           
ffc0a9a4:	89 69 00 18 	lbz     r11,24(r9)                             
ffc0a9a8:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0a9ac:	40 9e ff 20 	bne+    cr7,ffc0a8cc <_Thread_Dispatch+0x54>   
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0a9b0:	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--;                                 
ffc0a9b4:	3d 20 00 00 	lis     r9,0                                   
ffc0a9b8:	81 69 27 c8 	lwz     r11,10184(r9)                          
ffc0a9bc:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0a9c0:	90 09 27 c8 	stw     r0,10184(r9)                           
    return _Thread_Dispatch_disable_level;                            
ffc0a9c4:	80 09 27 c8 	lwz     r0,10184(r9)                           
                                                                      
  _ISR_Enable( level );                                               
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  _API_extensions_Run_postswitch();                                   
ffc0a9c8:	4b ff e0 95 	bl      ffc08a5c <_API_extensions_Run_postswitch>
}                                                                     
ffc0a9cc:	39 61 00 38 	addi    r11,r1,56                              
ffc0a9d0:	4b ff 5b 5c 	b       ffc0052c <_restgpr_25_x>               
                                                                      

ffc0fad8 <_Thread_Handler>: * Input parameters: NONE * * Output parameters: NONE */ void _Thread_Handler( void ) {
ffc0fad8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0fadc:	7c 08 02 a6 	mflr    r0                                     
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static bool doneConstructors;                                     
    bool doCons;                                                      
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
ffc0fae0:	3d 20 00 00 	lis     r9,0                                   
 *  Input parameters:   NONE                                          
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
void _Thread_Handler( void )                                          
{                                                                     
ffc0fae4:	90 01 00 14 	stw     r0,20(r1)                              
ffc0fae8:	bf c1 00 08 	stmw    r30,8(r1)                              
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static bool doneConstructors;                                     
    bool doCons;                                                      
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
ffc0faec:	83 e9 2d c4 	lwz     r31,11716(r9)                          
                                                                      
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
  level = executing->Start.isr_level;                                 
ffc0faf0:	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);                                                  
ffc0faf4:	38 00 00 00 	li      r0,0                                   
ffc0faf8:	7c 00 00 a6 	mfmsr   r0                                     
  if (!(level & CPU_MODES_INTERRUPT_MASK)) {                          
ffc0fafc:	71 2b 00 01 	andi.   r11,r9,1                               
                                                                      
static inline uint32_t ppc_interrupt_get_disable_mask( void )         
{                                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0fb00:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0fb04:	40 82 00 0c 	bne-    ffc0fb10 <_Thread_Handler+0x38>        
    msr |= ppc_interrupt_get_disable_mask();                          
ffc0fb08:	7d 20 03 78 	or      r0,r9,r0                               
ffc0fb0c:	48 00 00 08 	b       ffc0fb14 <_Thread_Handler+0x3c>        
  }                                                                   
  else {                                                              
    msr &= ~ppc_interrupt_get_disable_mask();                         
ffc0fb10:	7c 00 48 78 	andc    r0,r0,r9                               
  }                                                                   
  _CPU_MSR_SET(msr);                                                  
ffc0fb14:	7c 00 01 24 	mtmsr   r0                                     
      doCons = !doneConstructors                                      
        && _Objects_Get_API( executing->Object.id ) != OBJECTS_INTERNAL_API;
      if (doCons)                                                     
        doneConstructors = true;                                      
    #else                                                             
      doCons = !doneConstructors;                                     
ffc0fb18:	3d 20 00 00 	lis     r9,0                                   
ffc0fb1c:	8b c9 29 80 	lbz     r30,10624(r9)                          
      doneConstructors = true;                                        
ffc0fb20:	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 );                         
ffc0fb24:	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;                                        
ffc0fb28:	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 );                         
ffc0fb2c:	4b ff bb 61 	bl      ffc0b68c <_User_extensions_Thread_begin>
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
ffc0fb30:	4b ff ae a5 	bl      ffc0a9d4 <_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) */ {                    
ffc0fb34:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0fb38:	40 be 00 08 	bne+    cr7,ffc0fb40 <_Thread_Handler+0x68>    
      INIT_NAME ();                                                   
ffc0fb3c:	48 00 b7 01 	bl      ffc1b23c <_init>                       
        _Thread_Enable_dispatch();                                    
      #endif                                                          
    }                                                                 
 #endif                                                               
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
ffc0fb40:	80 1f 00 94 	lwz     r0,148(r31)                            
ffc0fb44:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0fb48:	40 be 00 18 	bne+    cr7,ffc0fb60 <_Thread_Handler+0x88>    <== NEVER TAKEN
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
ffc0fb4c:	80 1f 00 90 	lwz     r0,144(r31)                            
ffc0fb50:	80 7f 00 9c 	lwz     r3,156(r31)                            
ffc0fb54:	7c 09 03 a6 	mtctr   r0                                     
ffc0fb58:	4e 80 04 21 	bctrl                                          
      #endif                                                          
    }                                                                 
 #endif                                                               
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
    executing->Wait.return_argument =                                 
ffc0fb5c:	90 7f 00 28 	stw     r3,40(r31)                             
   *  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 );                       
ffc0fb60:	7f e3 fb 78 	mr      r3,r31                                 
ffc0fb64:	4b ff bb 7d 	bl      ffc0b6e0 <_User_extensions_Thread_exitted>
                                                                      
  _Internal_error_Occurred(                                           
ffc0fb68:	38 60 00 00 	li      r3,0                                   
ffc0fb6c:	38 80 00 01 	li      r4,1                                   
ffc0fb70:	38 a0 00 05 	li      r5,5                                   
ffc0fb74:	4b ff 9a 99 	bl      ffc0960c <_Internal_error_Occurred>    
                                                                      

ffc0aac0 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
ffc0aac0:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0aac4:	7c 08 02 a6 	mflr    r0                                     
ffc0aac8:	be e1 00 0c 	stmw    r23,12(r1)                             
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
ffc0aacc:	3b 20 00 00 	li      r25,0                                  
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
ffc0aad0:	7d 3a 4b 78 	mr      r26,r9                                 
ffc0aad4:	90 01 00 34 	stw     r0,52(r1)                              
ffc0aad8:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0aadc:	7c 9f 23 78 	mr      r31,r4                                 
ffc0aae0:	81 21 00 40 	lwz     r9,64(r1)                              
                                                                      
  /*                                                                  
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
ffc0aae4:	7c 83 23 78 	mr      r3,r4                                  
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
ffc0aae8:	93 24 01 2c 	stw     r25,300(r4)                            
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
ffc0aaec:	7c dd 33 78 	mr      r29,r6                                 
ffc0aaf0:	7c fc 3b 78 	mr      r28,r7                                 
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
ffc0aaf4:	93 24 01 30 	stw     r25,304(r4)                            
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
ffc0aaf8:	7d 1b 43 78 	mr      r27,r8                                 
ffc0aafc:	7d 57 53 78 	mr      r23,r10                                
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
ffc0ab00:	93 24 01 28 	stw     r25,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 );
ffc0ab04:	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                          
)                                                                     
{                                                                     
ffc0ab08:	83 09 00 00 	lwz     r24,0(r9)                              
                                                                      
  /*                                                                  
   *  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 );
ffc0ab0c:	48 00 08 b5 	bl      ffc0b3c0 <_Thread_Stack_Allocate>      
    if ( !actual_stack_size || actual_stack_size < stack_size )       
ffc0ab10:	2c 03 00 00 	cmpwi   r3,0                                   
      return false;                     /* stack allocation failed */ 
ffc0ab14:	38 00 00 00 	li      r0,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 )       
ffc0ab18:	41 82 01 80 	beq-    ffc0ac98 <_Thread_Initialize+0x1d8>    
ffc0ab1c:	7f 83 e8 40 	cmplw   cr7,r3,r29                             
ffc0ab20:	41 9c 01 78 	blt-    cr7,ffc0ac98 <_Thread_Initialize+0x1d8><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
ffc0ab24:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
ffc0ab28:	80 1f 00 c0 	lwz     r0,192(r31)                            
  the_stack->size = size;                                             
ffc0ab2c:	90 7f 00 b4 	stw     r3,180(r31)                            
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
ffc0ab30:	90 1f 00 b8 	stw     r0,184(r31)                            
ffc0ab34:	41 be 00 14 	beq+    cr7,ffc0ab48 <_Thread_Initialize+0x88> 
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
ffc0ab38:	38 60 01 08 	li      r3,264                                 
ffc0ab3c:	48 00 10 f1 	bl      ffc0bc2c <_Workspace_Allocate>         
      if ( !fp_area )                                                 
ffc0ab40:	7c 79 1b 79 	mr.     r25,r3                                 
ffc0ab44:	41 82 01 10 	beq-    ffc0ac54 <_Thread_Initialize+0x194>    
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0ab48:	3d 20 00 00 	lis     r9,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;                           
ffc0ab4c:	93 3f 01 24 	stw     r25,292(r31)                           
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc0ab50:	38 00 00 00 	li      r0,0                                   
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0ab54:	80 69 27 e8 	lwz     r3,10216(r9)                           
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
ffc0ab58:	3b a0 00 00 	li      r29,0                                  
      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;                           
ffc0ab5c:	93 3f 00 bc 	stw     r25,188(r31)                           
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0ab60:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ab64:	90 1f 00 50 	stw     r0,80(r31)                             
  the_watchdog->routine   = routine;                                  
ffc0ab68:	90 1f 00 64 	stw     r0,100(r31)                            
  the_watchdog->id        = id;                                       
ffc0ab6c:	90 1f 00 68 	stw     r0,104(r31)                            
  the_watchdog->user_data = user_data;                                
ffc0ab70:	90 1f 00 6c 	stw     r0,108(r31)                            
ffc0ab74:	41 be 00 18 	beq+    cr7,ffc0ab8c <_Thread_Initialize+0xcc> 
    extensions_area = _Workspace_Allocate(                            
ffc0ab78:	38 63 00 01 	addi    r3,r3,1                                
ffc0ab7c:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
ffc0ab80:	48 00 10 ad 	bl      ffc0bc2c <_Workspace_Allocate>         
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
ffc0ab84:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc0ab88:	41 82 00 d0 	beq-    ffc0ac58 <_Thread_Initialize+0x198>    
   * if they are linked to the thread. An extension user may          
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
ffc0ab8c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
ffc0ab90:	93 bf 01 34 	stw     r29,308(r31)                           
   * if they are linked to the thread. An extension user may          
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
ffc0ab94:	41 9e 00 30 	beq-    cr7,ffc0abc4 <_Thread_Initialize+0x104>
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
ffc0ab98:	3d 20 00 00 	lis     r9,0                                   
ffc0ab9c:	81 69 27 e8 	lwz     r11,10216(r9)                          
      the_thread->extensions[i] = NULL;                               
ffc0aba0:	38 00 00 00 	li      r0,0                                   
   * 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++ )              
ffc0aba4:	39 20 00 00 	li      r9,0                                   
ffc0aba8:	48 00 00 14 	b       ffc0abbc <_Thread_Initialize+0xfc>     
      the_thread->extensions[i] = NULL;                               
ffc0abac:	81 1f 01 34 	lwz     r8,308(r31)                            
ffc0abb0:	55 2a 10 3a 	rlwinm  r10,r9,2,0,29                          
   * 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++ )              
ffc0abb4:	39 29 00 01 	addi    r9,r9,1                                
      the_thread->extensions[i] = NULL;                               
ffc0abb8:	7c 08 51 2e 	stwx    r0,r8,r10                              
   * 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++ )              
ffc0abbc:	7f 89 58 40 	cmplw   cr7,r9,r11                             
ffc0abc0:	40 9d ff ec 	ble+    cr7,ffc0abac <_Thread_Initialize+0xec> 
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
ffc0abc4:	80 01 00 38 	lwz     r0,56(r1)                              
 */                                                                   
RTEMS_INLINE_ROUTINE void* _Scheduler_Allocate(                       
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  return _Scheduler.Operations.allocate( the_thread );                
ffc0abc8:	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;                         
ffc0abcc:	3b 80 00 00 	li      r28,0                                  
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
ffc0abd0:	9b 5f 00 a0 	stb     r26,160(r31)                           
ffc0abd4:	7f e3 fb 78 	mr      r3,r31                                 
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
ffc0abd8:	90 1f 00 a8 	stw     r0,168(r31)                            
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
ffc0abdc:	80 01 00 3c 	lwz     r0,60(r1)                              
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
ffc0abe0:	92 ff 00 a4 	stw     r23,164(r31)                           
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
ffc0abe4:	90 1f 00 ac 	stw     r0,172(r31)                            
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
ffc0abe8:	38 00 00 01 	li      r0,1                                   
ffc0abec:	90 1f 00 10 	stw     r0,16(r31)                             
ffc0abf0:	80 09 20 f8 	lwz     r0,8440(r9)                            
  the_thread->Wait.queue              = NULL;                         
ffc0abf4:	93 9f 00 44 	stw     r28,68(r31)                            
ffc0abf8:	7c 09 03 a6 	mtctr   r0                                     
  the_thread->resource_count          = 0;                            
ffc0abfc:	93 9f 00 1c 	stw     r28,28(r31)                            
  the_thread->real_priority           = priority;                     
ffc0ac00:	93 7f 00 18 	stw     r27,24(r31)                            
  the_thread->Start.initial_priority  = priority;                     
ffc0ac04:	93 7f 00 b0 	stw     r27,176(r31)                           
ffc0ac08:	4e 80 04 21 	bctrl                                          
  sched =_Scheduler_Allocate( the_thread );                           
  if ( !sched )                                                       
ffc0ac0c:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc0ac10:	41 82 00 4c 	beq-    ffc0ac5c <_Thread_Initialize+0x19c>    
    goto failed;                                                      
  _Thread_Set_priority( the_thread, priority );                       
ffc0ac14:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ac18:	7f 64 db 78 	mr      r4,r27                                 
ffc0ac1c:	48 00 06 c5 	bl      ffc0b2e0 <_Thread_Set_priority>        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
ffc0ac20:	a0 1f 00 0a 	lhz     r0,10(r31)                             
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc0ac24:	81 3e 00 1c 	lwz     r9,28(r30)                             
   *  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 );    
ffc0ac28:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ac2c:	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 );             
ffc0ac30:	93 9f 00 84 	stw     r28,132(r31)                           
ffc0ac34:	93 9f 00 88 	stw     r28,136(r31)                           
ffc0ac38:	7f e9 01 2e 	stwx    r31,r9,r0                              
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
ffc0ac3c:	93 1f 00 0c 	stw     r24,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 );    
ffc0ac40:	48 00 0b 51 	bl      ffc0b790 <_User_extensions_Thread_create>
  if ( extension_status )                                             
    return true;                                                      
ffc0ac44:	38 00 00 01 	li      r0,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 )                                             
ffc0ac48:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ac4c:	41 be 00 10 	beq+    cr7,ffc0ac5c <_Thread_Initialize+0x19c>
ffc0ac50:	48 00 00 48 	b       ffc0ac98 <_Thread_Initialize+0x1d8>    
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
ffc0ac54:	3b a0 00 00 	li      r29,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;                                  
ffc0ac58:	3b 40 00 00 	li      r26,0                                  
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
    return true;                                                      
                                                                      
failed:                                                               
  _Workspace_Free( the_thread->libc_reent );                          
ffc0ac5c:	80 7f 01 28 	lwz     r3,296(r31)                            
ffc0ac60:	48 00 10 01 	bl      ffc0bc60 <_Workspace_Free>             
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    _Workspace_Free( the_thread->API_Extensions[i] );                 
ffc0ac64:	80 7f 01 2c 	lwz     r3,300(r31)                            
ffc0ac68:	48 00 0f f9 	bl      ffc0bc60 <_Workspace_Free>             
ffc0ac6c:	80 7f 01 30 	lwz     r3,304(r31)                            
ffc0ac70:	48 00 0f f1 	bl      ffc0bc60 <_Workspace_Free>             
                                                                      
  _Workspace_Free( extensions_area );                                 
ffc0ac74:	7f a3 eb 78 	mr      r3,r29                                 
ffc0ac78:	48 00 0f e9 	bl      ffc0bc60 <_Workspace_Free>             
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    _Workspace_Free( fp_area );                                       
ffc0ac7c:	7f 23 cb 78 	mr      r3,r25                                 
ffc0ac80:	48 00 0f e1 	bl      ffc0bc60 <_Workspace_Free>             
  #endif                                                              
                                                                      
   _Workspace_Free( sched );                                          
ffc0ac84:	7f 43 d3 78 	mr      r3,r26                                 
ffc0ac88:	48 00 0f d9 	bl      ffc0bc60 <_Workspace_Free>             
                                                                      
   _Thread_Stack_Free( the_thread );                                  
ffc0ac8c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ac90:	48 00 07 a5 	bl      ffc0b434 <_Thread_Stack_Free>          
  return false;                                                       
ffc0ac94:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc0ac98:	39 61 00 30 	addi    r11,r1,48                              
ffc0ac9c:	7c 03 03 78 	mr      r3,r0                                  
ffc0aca0:	4b ff 58 84 	b       ffc00524 <_restgpr_23_x>               
                                                                      

ffc0bc5c <_Thread_Restart>: bool _Thread_Restart( Thread_Control *the_thread, void *pointer_argument, Thread_Entry_numeric_type numeric_argument ) {
ffc0bc5c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0bc60:	7c 08 02 a6 	mflr    r0                                     
ffc0bc64:	90 01 00 1c 	stw     r0,28(r1)                              
      _Thread_Restart_self();                                         
                                                                      
    return true;                                                      
  }                                                                   
                                                                      
  return false;                                                       
ffc0bc68:	38 00 00 00 	li      r0,0                                   
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_dormant (                        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_DORMANT);                              
ffc0bc6c:	81 23 00 10 	lwz     r9,16(r3)                              
bool _Thread_Restart(                                                 
  Thread_Control            *the_thread,                              
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
ffc0bc70:	bf c1 00 10 	stmw    r30,16(r1)                             
ffc0bc74:	7c 7f 1b 78 	mr      r31,r3                                 
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
ffc0bc78:	71 2b 00 01 	andi.   r11,r9,1                               
ffc0bc7c:	40 a2 00 70 	bne+    ffc0bcec <_Thread_Restart+0x90>        
                                                                      
    _Thread_Set_transient( the_thread );                              
ffc0bc80:	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 );                         
ffc0bc84:	3f c0 00 00 	lis     r30,0                                  
ffc0bc88:	3b de 2d d8 	addi    r30,r30,11736                          
ffc0bc8c:	90 a1 00 0c 	stw     r5,12(r1)                              
ffc0bc90:	48 00 00 f5 	bl      ffc0bd84 <_Thread_Set_transient>       
                                                                      
    _Thread_Reset( the_thread, pointer_argument, numeric_argument );  
ffc0bc94:	7f e3 fb 78 	mr      r3,r31                                 
ffc0bc98:	80 81 00 08 	lwz     r4,8(r1)                               
ffc0bc9c:	80 a1 00 0c 	lwz     r5,12(r1)                              
ffc0bca0:	48 00 31 d1 	bl      ffc0ee70 <_Thread_Reset>               
                                                                      
    _Thread_Load_environment( the_thread );                           
ffc0bca4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0bca8:	48 00 2e 8d 	bl      ffc0eb34 <_Thread_Load_environment>    
                                                                      
    _Thread_Ready( the_thread );                                      
ffc0bcac:	7f e3 fb 78 	mr      r3,r31                                 
ffc0bcb0:	48 00 31 79 	bl      ffc0ee28 <_Thread_Ready>               
                                                                      
    _User_extensions_Thread_restart( the_thread );                    
ffc0bcb4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0bcb8:	48 00 05 c1 	bl      ffc0c278 <_User_extensions_Thread_restart>
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
ffc0bcbc:	81 3e 00 0c 	lwz     r9,12(r30)                             
      _Thread_Restart_self();                                         
                                                                      
    return true;                                                      
ffc0bcc0:	38 00 00 01 	li      r0,1                                   
                                                                      
    _Thread_Ready( the_thread );                                      
                                                                      
    _User_extensions_Thread_restart( the_thread );                    
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
ffc0bcc4:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
ffc0bcc8:	40 be 00 24 	bne+    cr7,ffc0bcec <_Thread_Restart+0x90>    
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Restart_self( void )                
{                                                                     
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
  if ( _Thread_Executing->fp_context != NULL )                        
ffc0bccc:	80 1f 01 24 	lwz     r0,292(r31)                            
ffc0bcd0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0bcd4:	41 9e 00 0c 	beq-    cr7,ffc0bce0 <_Thread_Restart+0x84>    <== NEVER TAKEN
    _Context_Restore_fp( &_Thread_Executing->fp_context );            
ffc0bcd8:	38 7f 01 24 	addi    r3,r31,292                             
ffc0bcdc:	48 00 f3 c5 	bl      ffc1b0a0 <_CPU_Context_restore_fp>     
#endif                                                                
                                                                      
  _CPU_Context_Restart_self( &_Thread_Executing->Registers );         
ffc0bce0:	80 7e 00 0c 	lwz     r3,12(r30)                             
ffc0bce4:	38 63 00 c4 	addi    r3,r3,196                              
ffc0bce8:	48 00 f5 79 	bl      ffc1b260 <_CPU_Context_restore>        
                                                                      
    return true;                                                      
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
ffc0bcec:	39 61 00 18 	addi    r11,r1,24                              
ffc0bcf0:	7c 03 03 78 	mr      r3,r0                                  
ffc0bcf4:	4b ff 50 c0 	b       ffc00db4 <_restgpr_30_x>               
                                                                      

ffc0e348 <_Thread_queue_Process_timeout>: #include <rtems/score/tqdata.h> void _Thread_queue_Process_timeout( Thread_Control *the_thread ) {
ffc0e348:	7c 08 02 a6 	mflr    r0                                     
ffc0e34c:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0e350:	7c 64 1b 78 	mr      r4,r3                                  
ffc0e354:	90 01 00 0c 	stw     r0,12(r1)                              
  Thread_queue_Control *the_thread_queue = the_thread->Wait.queue;    
ffc0e358:	80 63 00 44 	lwz     r3,68(r3)                              
   *  If it is not satisfied, then it is "nothing happened" and       
   *  this is the "timeout" transition.  After a request is satisfied,
   *  a timeout is not allowed to occur.                              
   */                                                                 
                                                                      
  if ( the_thread_queue->sync_state != THREAD_BLOCKING_OPERATION_SYNCHRONIZED &&
ffc0e35c:	80 03 00 30 	lwz     r0,48(r3)                              
ffc0e360:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e364:	41 9e 00 30 	beq-    cr7,ffc0e394 <_Thread_queue_Process_timeout+0x4c>
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
ffc0e368:	3d 20 00 00 	lis     r9,0                                   
ffc0e36c:	81 29 2d c4 	lwz     r9,11716(r9)                           
ffc0e370:	7f 84 48 00 	cmpw    cr7,r4,r9                              
ffc0e374:	40 be 00 20 	bne+    cr7,ffc0e394 <_Thread_queue_Process_timeout+0x4c><== NEVER TAKEN
       _Thread_Is_executing( the_thread ) ) {                         
    if ( the_thread_queue->sync_state != THREAD_BLOCKING_OPERATION_SATISFIED ) {
ffc0e378:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0e37c:	41 9e 00 24 	beq-    cr7,ffc0e3a0 <_Thread_queue_Process_timeout+0x58>
      the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
ffc0e380:	80 03 00 3c 	lwz     r0,60(r3)                              
ffc0e384:	90 04 00 34 	stw     r0,52(r4)                              
      the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;
ffc0e388:	38 00 00 02 	li      r0,2                                   
ffc0e38c:	90 03 00 30 	stw     r0,48(r3)                              
ffc0e390:	48 00 00 10 	b       ffc0e3a0 <_Thread_queue_Process_timeout+0x58>
    }                                                                 
  } else {                                                            
    the_thread->Wait.return_code = the_thread->Wait.queue->timeout_status;
ffc0e394:	80 03 00 3c 	lwz     r0,60(r3)                              
ffc0e398:	90 04 00 34 	stw     r0,52(r4)                              
    _Thread_queue_Extract( the_thread->Wait.queue, the_thread );      
ffc0e39c:	4b ff fe 85 	bl      ffc0e220 <_Thread_queue_Extract>       
  }                                                                   
}                                                                     
ffc0e3a0:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0e3a4:	38 21 00 08 	addi    r1,r1,8                                
ffc0e3a8:	7c 08 03 a6 	mtlr    r0                                     
ffc0e3ac:	4e 80 00 20 	blr                                            
                                                                      

ffc0b224 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
ffc0b224:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0b228:	7c 08 02 a6 	mflr    r0                                     
ffc0b22c:	bf a1 00 1c 	stmw    r29,28(r1)                             
  /*                                                                  
   * Just in case the thread really wasn't blocked on a thread queue  
   * when we get here.                                                
   */                                                                 
  if ( !the_thread_queue )                                            
ffc0b230:	7c 7f 1b 79 	mr.     r31,r3                                 
                                                                      
void _Thread_queue_Requeue(                                           
  Thread_queue_Control *the_thread_queue,                             
  Thread_Control       *the_thread                                    
)                                                                     
{                                                                     
ffc0b234:	7c 9e 23 78 	mr      r30,r4                                 
ffc0b238:	90 01 00 2c 	stw     r0,44(r1)                              
  /*                                                                  
   * Just in case the thread really wasn't blocked on a thread queue  
   * when we get here.                                                
   */                                                                 
  if ( !the_thread_queue )                                            
ffc0b23c:	41 82 00 54 	beq-    ffc0b290 <_Thread_queue_Requeue+0x6c>  <== 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 ) {
ffc0b240:	80 1f 00 34 	lwz     r0,52(r31)                             
ffc0b244:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0b248:	40 be 00 48 	bne+    cr7,ffc0b290 <_Thread_queue_Requeue+0x6c><== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0b24c:	7f a0 00 a6 	mfmsr   r29                                    
ffc0b250:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0b254:	7f a9 48 78 	andc    r9,r29,r9                              
ffc0b258:	7d 20 01 24 	mtmsr   r9                                     
    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 ) ) {
ffc0b25c:	3d 60 00 03 	lis     r11,3                                  
ffc0b260:	81 24 00 10 	lwz     r9,16(r4)                              
ffc0b264:	61 6b be e0 	ori     r11,r11,48864                          
ffc0b268:	7d 6a 48 39 	and.    r10,r11,r9                             
ffc0b26c:	41 a2 00 20 	beq+    ffc0b28c <_Thread_queue_Requeue+0x68>  <== NEVER TAKEN
                                                                      
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;
ffc0b270:	90 1f 00 30 	stw     r0,48(r31)                             
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
ffc0b274:	38 a0 00 01 	li      r5,1                                   
ffc0b278:	48 00 2f e1 	bl      ffc0e258 <_Thread_queue_Extract_priority_helper>
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
ffc0b27c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b280:	7f c4 f3 78 	mr      r4,r30                                 
ffc0b284:	38 a1 00 08 	addi    r5,r1,8                                
ffc0b288:	4b ff fd 19 	bl      ffc0afa0 <_Thread_queue_Enqueue_priority>
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0b28c:	7f a0 01 24 	mtmsr   r29                                    
    }                                                                 
    _ISR_Enable( level );                                             
  }                                                                   
}                                                                     
ffc0b290:	39 61 00 28 	addi    r11,r1,40                              
ffc0b294:	4b ff 52 a8 	b       ffc0053c <_restgpr_29_x>               
                                                                      

ffc0b298 <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
ffc0b298:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0b29c:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0b2a0:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
void _Thread_queue_Timeout(                                           
  Objects_Id  id,                                                     
  void       *ignored __attribute__((unused))                         
)                                                                     
{                                                                     
ffc0b2a4:	90 01 00 1c 	stw     r0,28(r1)                              
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0b2a8:	4b ff f7 69 	bl      ffc0aa10 <_Thread_Get>                 
  switch ( location ) {                                               
ffc0b2ac:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0b2b0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0b2b4:	40 9e 00 1c 	bne-    cr7,ffc0b2d0 <_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 );                    
ffc0b2b8:	48 00 30 91 	bl      ffc0e348 <_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--;                                 
ffc0b2bc:	3d 20 00 00 	lis     r9,0                                   
ffc0b2c0:	81 69 27 c8 	lwz     r11,10184(r9)                          
ffc0b2c4:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0b2c8:	90 09 27 c8 	stw     r0,10184(r9)                           
    return _Thread_Dispatch_disable_level;                            
ffc0b2cc:	80 09 27 c8 	lwz     r0,10184(r9)                           
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
ffc0b2d0:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0b2d4:	38 21 00 18 	addi    r1,r1,24                               
ffc0b2d8:	7c 08 03 a6 	mtlr    r0                                     
ffc0b2dc:	4e 80 00 20 	blr                                            
                                                                      

ffc18edc <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
ffc18edc:	94 21 ff 98 	stwu    r1,-104(r1)                            
ffc18ee0:	7c 08 02 a6 	mflr    r0                                     
ffc18ee4:	be 21 00 2c 	stmw    r17,44(r1)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc18ee8:	3a 21 00 14 	addi    r17,r1,20                              
ffc18eec:	3a 81 00 18 	addi    r20,r1,24                              
ffc18ef0:	90 01 00 6c 	stw     r0,108(r1)                             
ffc18ef4:	3b 61 00 0c 	addi    r27,r1,12                              
  head->previous = NULL;                                              
ffc18ef8:	38 00 00 00 	li      r0,0                                   
  tail->previous = head;                                              
ffc18efc:	3b 81 00 08 	addi    r28,r1,8                               
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc18f00:	92 81 00 14 	stw     r20,20(r1)                             
ffc18f04:	7c 7f 1b 78 	mr      r31,r3                                 
  head->previous = NULL;                                              
ffc18f08:	90 01 00 18 	stw     r0,24(r1)                              
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
ffc18f0c:	3e 40 00 00 	lis     r18,0                                  
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc18f10:	3b 43 00 30 	addi    r26,r3,48                              
  tail->previous = head;                                              
ffc18f14:	92 21 00 1c 	stw     r17,28(r1)                             
static void _Timer_server_Process_tod_watchdogs(                      
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
ffc18f18:	3e 60 00 00 	lis     r19,0                                  
     /*                                                               
      *  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 ); 
ffc18f1c:	3b a3 00 68 	addi    r29,r3,104                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc18f20:	93 61 00 08 	stw     r27,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;                        
ffc18f24:	3a a0 00 00 	li      r21,0                                  
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
ffc18f28:	3a c0 00 00 	li      r22,0                                  
  head->previous = NULL;                                              
ffc18f2c:	90 01 00 0c 	stw     r0,12(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;                                              
ffc18f30:	3a e0 00 01 	li      r23,1                                  
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
ffc18f34:	3b 03 00 08 	addi    r24,r3,8                               
  tail->previous = head;                                              
ffc18f38:	93 81 00 10 	stw     r28,16(r1)                             
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
ffc18f3c:	3b 23 00 40 	addi    r25,r3,64                              
{                                                                     
  /*                                                                  
   *  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;                                    
ffc18f40:	92 3f 00 78 	stw     r17,120(r31)                           
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
ffc18f44:	80 12 28 d0 	lwz     r0,10448(r18)                          
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc18f48:	7f 85 e3 78 	mr      r5,r28                                 
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
ffc18f4c:	80 9f 00 3c 	lwz     r4,60(r31)                             
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc18f50:	7f 43 d3 78 	mr      r3,r26                                 
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
ffc18f54:	90 1f 00 3c 	stw     r0,60(r31)                             
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc18f58:	7c 84 00 50 	subf    r4,r4,r0                               
ffc18f5c:	48 00 49 89 	bl      ffc1d8e4 <_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();
ffc18f60:	83 d3 28 b4 	lwz     r30,10420(r19)                         
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
ffc18f64:	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 ) {                                   
ffc18f68:	7f 9e 28 40 	cmplw   cr7,r30,r5                             
ffc18f6c:	40 bd 00 18 	ble+    cr7,ffc18f84 <_Timer_server_Body+0xa8> 
    /*                                                                
     *  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 );
ffc18f70:	7c 85 f0 50 	subf    r4,r5,r30                              
ffc18f74:	7f a3 eb 78 	mr      r3,r29                                 
ffc18f78:	7f 85 e3 78 	mr      r5,r28                                 
ffc18f7c:	48 00 49 69 	bl      ffc1d8e4 <_Watchdog_Adjust_to_chain>   
ffc18f80:	48 00 00 18 	b       ffc18f98 <_Timer_server_Body+0xbc>     
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
ffc18f84:	40 bc 00 14 	bge+    cr7,ffc18f98 <_Timer_server_Body+0xbc> 
     /*                                                               
      *  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 ); 
ffc18f88:	7f a3 eb 78 	mr      r3,r29                                 
ffc18f8c:	38 80 00 01 	li      r4,1                                   
ffc18f90:	7c be 28 50 	subf    r5,r30,r5                              
ffc18f94:	48 00 48 99 	bl      ffc1d82c <_Watchdog_Adjust>            
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
ffc18f98:	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 );
ffc18f9c:	80 7f 00 78 	lwz     r3,120(r31)                            
ffc18fa0:	48 00 0b 7d 	bl      ffc19b1c <_Chain_Get>                  
                                                                      
    if ( timer == NULL ) {                                            
ffc18fa4:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc18fa8:	41 82 00 2c 	beq-    ffc18fd4 <_Timer_server_Body+0xf8>     
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
ffc18fac:	80 1e 00 38 	lwz     r0,56(r30)                             
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
ffc18fb0:	7f 43 d3 78 	mr      r3,r26                                 
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
ffc18fb4:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc18fb8:	41 9e 00 10 	beq-    cr7,ffc18fc8 <_Timer_server_Body+0xec> 
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
ffc18fbc:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc18fc0:	40 9e ff dc 	bne+    cr7,ffc18f9c <_Timer_server_Body+0xc0> <== NEVER TAKEN
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
ffc18fc4:	7f a3 eb 78 	mr      r3,r29                                 
ffc18fc8:	38 9e 00 10 	addi    r4,r30,16                              
ffc18fcc:	48 00 49 c9 	bl      ffc1d994 <_Watchdog_Insert>            
ffc18fd0:	4b ff ff cc 	b       ffc18f9c <_Timer_server_Body+0xc0>     
     *  of zero it will be processed in the next iteration of the timer server
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
ffc18fd4:	4b ff fe 1d 	bl      ffc18df0 <ppc_interrupt_disable>       
    if ( _Chain_Is_empty( insert_chain ) ) {                          
ffc18fd8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc18fdc:	7f 80 a0 00 	cmpw    cr7,r0,r20                             
ffc18fe0:	40 be 00 1c 	bne+    cr7,ffc18ffc <_Timer_server_Body+0x120><== NEVER TAKEN
      ts->insert_chain = NULL;                                        
ffc18fe4:	93 df 00 78 	stw     r30,120(r31)                           
ffc18fe8:	7c 60 01 24 	mtmsr   r3                                     
  _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 ) ) {                          
ffc18fec:	80 01 00 08 	lwz     r0,8(r1)                               
ffc18ff0:	7f 80 d8 00 	cmpw    cr7,r0,r27                             
ffc18ff4:	40 be 00 10 	bne+    cr7,ffc19004 <_Timer_server_Body+0x128>
ffc18ff8:	48 00 00 50 	b       ffc19048 <_Timer_server_Body+0x16c>    
ffc18ffc:	7c 60 01 24 	mtmsr   r3                                     <== NOT EXECUTED
ffc19000:	4b ff ff 44 	b       ffc18f44 <_Timer_server_Body+0x68>     <== NOT EXECUTED
                                                                      
        /*                                                            
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
ffc19004:	4b ff fd ed 	bl      ffc18df0 <ppc_interrupt_disable>       
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc19008:	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))                                   
ffc1900c:	7f 89 d8 00 	cmpw    cr7,r9,r27                             
ffc19010:	41 9e 00 30 	beq-    cr7,ffc19040 <_Timer_server_Body+0x164>
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
ffc19014:	81 69 00 00 	lwz     r11,0(r9)                              
                                                                      
  head->next = new_first;                                             
  new_first->previous = head;                                         
ffc19018:	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;                                             
ffc1901c:	91 61 00 08 	stw     r11,8(r1)                              
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
ffc19020:	92 a9 00 08 	stw     r21,8(r9)                              
ffc19024:	7c 60 01 24 	mtmsr   r3                                     
        /*                                                            
         *  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 );    
ffc19028:	80 09 00 1c 	lwz     r0,28(r9)                              
ffc1902c:	80 69 00 20 	lwz     r3,32(r9)                              
ffc19030:	80 89 00 24 	lwz     r4,36(r9)                              
ffc19034:	7c 09 03 a6 	mtctr   r0                                     
ffc19038:	4e 80 04 21 	bctrl                                          
      }                                                               
ffc1903c:	4b ff ff c8 	b       ffc19004 <_Timer_server_Body+0x128>    
ffc19040:	7c 60 01 24 	mtmsr   r3                                     
ffc19044:	4b ff fe fc 	b       ffc18f40 <_Timer_server_Body+0x64>     
    } else {                                                          
      ts->active = false;                                             
ffc19048:	9a df 00 7c 	stb     r22,124(r31)                           
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
ffc1904c:	4b ff fd b9 	bl      ffc18e04 <_Thread_Disable_dispatch>    
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
ffc19050:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc19054:	38 80 00 08 	li      r4,8                                   
ffc19058:	48 00 40 f9 	bl      ffc1d150 <_Thread_Set_state>           
        _Timer_server_Reset_interval_system_watchdog( ts );           
ffc1905c:	7f e3 fb 78 	mr      r3,r31                                 
ffc19060:	4b ff fd bd 	bl      ffc18e1c <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
ffc19064:	7f e3 fb 78 	mr      r3,r31                                 
ffc19068:	4b ff fe 15 	bl      ffc18e7c <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
ffc1906c:	48 00 37 0d 	bl      ffc1c778 <_Thread_Enable_dispatch>     
                                                                      
      ts->active = true;                                              
ffc19070:	9a ff 00 7c 	stb     r23,124(r31)                           
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
ffc19074:	7f 03 c3 78 	mr      r3,r24                                 
ffc19078:	48 00 4a 75 	bl      ffc1daec <_Watchdog_Remove>            
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
ffc1907c:	7f 23 cb 78 	mr      r3,r25                                 
ffc19080:	48 00 4a 6d 	bl      ffc1daec <_Watchdog_Remove>            
ffc19084:	4b ff fe bc 	b       ffc18f40 <_Timer_server_Body+0x64>     
                                                                      

ffc19088 <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
ffc19088:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1908c:	7c 08 02 a6 	mflr    r0                                     
ffc19090:	90 01 00 14 	stw     r0,20(r1)                              
  if ( ts->insert_chain == NULL ) {                                   
ffc19094:	80 03 00 78 	lwz     r0,120(r3)                             
                                                                      
static void _Timer_server_Schedule_operation_method(                  
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
ffc19098:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc1909c:	7c 7f 1b 78 	mr      r31,r3                                 
  if ( ts->insert_chain == NULL ) {                                   
ffc190a0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
static void _Timer_server_Schedule_operation_method(                  
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
ffc190a4:	7c 9e 23 78 	mr      r30,r4                                 
  if ( ts->insert_chain == NULL ) {                                   
ffc190a8:	40 be 01 00 	bne+    cr7,ffc191a8 <_Timer_server_Schedule_operation_method+0x120>
   *  is the reference point for the delta chain.  Thus if we do not update the
   *  reference point we have to add DT to the initial delta of the watchdog
   *  being inserted.  This could result in an integer overflow.      
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
ffc190ac:	4b ff fd 59 	bl      ffc18e04 <_Thread_Disable_dispatch>    
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
ffc190b0:	80 1e 00 38 	lwz     r0,56(r30)                             
ffc190b4:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc190b8:	40 be 00 6c 	bne+    cr7,ffc19124 <_Timer_server_Schedule_operation_method+0x9c>
    /*                                                                
     *  We have to advance the last known ticks value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
ffc190bc:	4b ff fd 35 	bl      ffc18df0 <ppc_interrupt_disable>       
    snapshot = _Watchdog_Ticks_since_boot;                            
ffc190c0:	3d 20 00 00 	lis     r9,0                                   
ffc190c4:	80 09 28 d0 	lwz     r0,10448(r9)                           
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc190c8:	39 7f 00 34 	addi    r11,r31,52                             
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc190cc:	81 3f 00 30 	lwz     r9,48(r31)                             
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
ffc190d0:	81 5f 00 3c 	lwz     r10,60(r31)                            
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
ffc190d4:	7f 89 58 00 	cmpw    cr7,r9,r11                             
ffc190d8:	41 9e 00 20 	beq-    cr7,ffc190f8 <_Timer_server_Schedule_operation_method+0x70>
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
ffc190dc:	81 09 00 10 	lwz     r8,16(r9)                              
      first_watchdog = _Watchdog_First( &ts->Interval_watchdogs.Chain );
                                                                      
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
ffc190e0:	7d 4a 00 50 	subf    r10,r10,r0                             
                                                                      
      delta_interval = first_watchdog->delta_interval;                
      if (delta_interval > delta) {                                   
        delta_interval -= delta;                                      
      } else {                                                        
        delta_interval = 0;                                           
ffc190e4:	39 60 00 00 	li      r11,0                                  
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
      if (delta_interval > delta) {                                   
ffc190e8:	7f 88 50 40 	cmplw   cr7,r8,r10                             
ffc190ec:	40 9d 00 08 	ble-    cr7,ffc190f4 <_Timer_server_Schedule_operation_method+0x6c>
        delta_interval -= delta;                                      
ffc190f0:	7d 6a 40 50 	subf    r11,r10,r8                             
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
ffc190f4:	91 69 00 10 	stw     r11,16(r9)                             
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
ffc190f8:	90 1f 00 3c 	stw     r0,60(r31)                             
ffc190fc:	7c 60 01 24 	mtmsr   r3                                     
    _ISR_Enable( level );                                             
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
ffc19100:	38 7f 00 30 	addi    r3,r31,48                              
ffc19104:	38 9e 00 10 	addi    r4,r30,16                              
ffc19108:	48 00 48 8d 	bl      ffc1d994 <_Watchdog_Insert>            
                                                                      
    if ( !ts->active ) {                                              
ffc1910c:	88 1f 00 7c 	lbz     r0,124(r31)                            
ffc19110:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc19114:	40 be 00 8c 	bne+    cr7,ffc191a0 <_Timer_server_Schedule_operation_method+0x118>
      _Timer_server_Reset_interval_system_watchdog( ts );             
ffc19118:	7f e3 fb 78 	mr      r3,r31                                 
ffc1911c:	4b ff fd 01 	bl      ffc18e1c <_Timer_server_Reset_interval_system_watchdog>
ffc19120:	48 00 00 80 	b       ffc191a0 <_Timer_server_Schedule_operation_method+0x118>
    }                                                                 
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
ffc19124:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc19128:	40 be 00 78 	bne+    cr7,ffc191a0 <_Timer_server_Schedule_operation_method+0x118>
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
ffc1912c:	4b ff fc c5 	bl      ffc18df0 <ppc_interrupt_disable>       
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
ffc19130:	3d 20 00 00 	lis     r9,0                                   
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
ffc19134:	81 1f 00 74 	lwz     r8,116(r31)                            
    /*                                                                
     *  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();        
ffc19138:	80 09 28 b4 	lwz     r0,10420(r9)                           
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc1913c:	39 7f 00 6c 	addi    r11,r31,108                            
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc19140:	81 3f 00 68 	lwz     r9,104(r31)                            
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
ffc19144:	7f 89 58 00 	cmpw    cr7,r9,r11                             
ffc19148:	41 9e 00 30 	beq-    cr7,ffc19178 <_Timer_server_Schedule_operation_method+0xf0>
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
      if ( snapshot > last_snapshot ) {                               
ffc1914c:	7f 80 40 40 	cmplw   cr7,r0,r8                              
    _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;                
ffc19150:	81 49 00 10 	lwz     r10,16(r9)                             
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
ffc19154:	7d 6a 42 14 	add     r11,r10,r8                             
        delta_interval += delta;                                      
ffc19158:	7d 60 58 50 	subf    r11,r0,r11                             
    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 ) {                               
ffc1915c:	40 9d 00 18 	ble-    cr7,ffc19174 <_Timer_server_Schedule_operation_method+0xec>
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
ffc19160:	7d 08 00 50 	subf    r8,r8,r0                               
        if (delta_interval > delta) {                                 
ffc19164:	7f 8a 40 40 	cmplw   cr7,r10,r8                             
          delta_interval -= delta;                                    
        } else {                                                      
          delta_interval = 0;                                         
ffc19168:	39 60 00 00 	li      r11,0                                  
      if ( snapshot > last_snapshot ) {                               
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
        if (delta_interval > delta) {                                 
ffc1916c:	40 9d 00 08 	ble-    cr7,ffc19174 <_Timer_server_Schedule_operation_method+0xec><== NEVER TAKEN
          delta_interval -= delta;                                    
ffc19170:	7d 68 50 50 	subf    r11,r8,r10                             
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
        delta_interval += delta;                                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
ffc19174:	91 69 00 10 	stw     r11,16(r9)                             
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
ffc19178:	90 1f 00 74 	stw     r0,116(r31)                            
ffc1917c:	7c 60 01 24 	mtmsr   r3                                     
    _ISR_Enable( level );                                             
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
ffc19180:	38 7f 00 68 	addi    r3,r31,104                             
ffc19184:	38 9e 00 10 	addi    r4,r30,16                              
ffc19188:	48 00 48 0d 	bl      ffc1d994 <_Watchdog_Insert>            
                                                                      
    if ( !ts->active ) {                                              
ffc1918c:	88 1f 00 7c 	lbz     r0,124(r31)                            
ffc19190:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc19194:	40 be 00 0c 	bne+    cr7,ffc191a0 <_Timer_server_Schedule_operation_method+0x118>
      _Timer_server_Reset_tod_system_watchdog( ts );                  
ffc19198:	7f e3 fb 78 	mr      r3,r31                                 
ffc1919c:	4b ff fc e1 	bl      ffc18e7c <_Timer_server_Reset_tod_system_watchdog>
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
ffc191a0:	48 00 35 d9 	bl      ffc1c778 <_Thread_Enable_dispatch>     
ffc191a4:	48 00 00 0c 	b       ffc191b0 <_Timer_server_Schedule_operation_method+0x128>
     *  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 );           
ffc191a8:	80 63 00 78 	lwz     r3,120(r3)                             
ffc191ac:	48 00 09 19 	bl      ffc19ac4 <_Chain_Append>               
  }                                                                   
}                                                                     
ffc191b0:	39 61 00 10 	addi    r11,r1,16                              
ffc191b4:	4b ff 4f e8 	b       ffc0e19c <_restgpr_30_x>               
                                                                      

ffc0b5d8 <_User_extensions_Handler_initialization>: #include <rtems/score/userext.h> #include <rtems/score/wkspace.h> #include <string.h> void _User_extensions_Handler_initialization(void) {
ffc0b5d8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0b5dc:	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;  
ffc0b5e0:	3d 20 00 00 	lis     r9,0                                   
#include <rtems/score/userext.h>                                      
#include <rtems/score/wkspace.h>                                      
#include <string.h>                                                   
                                                                      
void _User_extensions_Handler_initialization(void)                    
{                                                                     
ffc0b5e4:	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;  
ffc0b5e8:	39 29 20 04 	addi    r9,r9,8196                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0b5ec:	3d 60 00 00 	lis     r11,0                                  
#include <rtems/score/userext.h>                                      
#include <rtems/score/wkspace.h>                                      
#include <string.h>                                                   
                                                                      
void _User_extensions_Handler_initialization(void)                    
{                                                                     
ffc0b5f0:	bf 81 00 08 	stmw    r28,8(r1)                              
  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;          
ffc0b5f4:	83 a9 00 3c 	lwz     r29,60(r9)                             
  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;  
ffc0b5f8:	83 c9 00 38 	lwz     r30,56(r9)                             
ffc0b5fc:	39 2b 2d 74 	addi    r9,r11,11636                           
  initial_extensions   = Configuration.User_extension_table;          
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
ffc0b600:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc0b604:	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;                                                  
ffc0b608:	38 09 00 04 	addi    r0,r9,4                                
ffc0b60c:	90 0b 2d 74 	stw     r0,11636(r11)                          
  head->previous = NULL;                                              
ffc0b610:	38 00 00 00 	li      r0,0                                   
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0b614:	3d 60 00 00 	lis     r11,0                                  
  head->previous = NULL;                                              
ffc0b618:	90 09 00 04 	stw     r0,4(r9)                               
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0b61c:	39 2b 2c 50 	addi    r9,r11,11344                           
ffc0b620:	39 49 00 04 	addi    r10,r9,4                               
ffc0b624:	91 4b 2c 50 	stw     r10,11344(r11)                         
  head->previous = NULL;                                              
ffc0b628:	90 09 00 04 	stw     r0,4(r9)                               
  tail->previous = head;                                              
ffc0b62c:	91 29 00 08 	stw     r9,8(r9)                               
ffc0b630:	41 9e 00 54 	beq-    cr7,ffc0b684 <_User_extensions_Handler_initialization+0xac><== NEVER TAKEN
    extension = (User_extensions_Control *)                           
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
ffc0b634:	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 *)                           
ffc0b638:	7f 83 e3 78 	mr      r3,r28                                 
ffc0b63c:	48 00 06 51 	bl      ffc0bc8c <_Workspace_Allocate_or_fatal_error>
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
ffc0b640:	7f 85 e3 78 	mr      r5,r28                                 
ffc0b644:	38 80 00 00 	li      r4,0                                   
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
    extension = (User_extensions_Control *)                           
ffc0b648:	7c 7f 1b 78 	mr      r31,r3                                 
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
ffc0b64c:	48 00 54 59 	bl      ffc10aa4 <memset>                      
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
ffc0b650:	3b 80 00 00 	li      r28,0                                  
ffc0b654:	48 00 00 28 	b       ffc0b67c <_User_extensions_Handler_initialization+0xa4>
#include <rtems/config.h>                                             
#include <rtems/score/userext.h>                                      
#include <rtems/score/wkspace.h>                                      
#include <string.h>                                                   
                                                                      
void _User_extensions_Handler_initialization(void)                    
ffc0b658:	57 83 28 34 	rlwinm  r3,r28,5,0,26                          
RTEMS_INLINE_ROUTINE void _User_extensions_Add_set_with_table(        
  User_extensions_Control     *extension,                             
  const User_extensions_Table *extension_table                        
)                                                                     
{                                                                     
  extension->Callouts = *extension_table;                             
ffc0b65c:	38 9f 00 14 	addi    r4,r31,20                              
ffc0b660:	7c 7d 1a 14 	add     r3,r29,r3                              
ffc0b664:	7c a3 04 aa 	lswi    r5,r3,32                               
ffc0b668:	7c a4 05 aa 	stswi   r5,r4,32                               
                                                                      
  _User_extensions_Add_set( extension );                              
ffc0b66c:	7f e3 fb 78 	mr      r3,r31                                 
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
ffc0b670:	3b 9c 00 01 	addi    r28,r28,1                              
ffc0b674:	48 00 2d 85 	bl      ffc0e3f8 <_User_extensions_Add_set>    
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
ffc0b678:	3b ff 00 34 	addi    r31,r31,52                             
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
ffc0b67c:	7f 9c f0 00 	cmpw    cr7,r28,r30                            
ffc0b680:	40 9e ff d8 	bne+    cr7,ffc0b658 <_User_extensions_Handler_initialization+0x80>
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
    }                                                                 
  }                                                                   
}                                                                     
ffc0b684:	39 61 00 18 	addi    r11,r1,24                              
ffc0b688:	4b ff 4e b0 	b       ffc00538 <_restgpr_28_x>               
                                                                      

ffc0d328 <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
ffc0d328:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0d32c:	7c 08 02 a6 	mflr    r0                                     
ffc0d330:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0d334:	bf 81 00 08 	stmw    r28,8(r1)                              
ffc0d338:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0d33c:	7c be 2b 78 	mr      r30,r5                                 
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0d340:	7c 00 00 a6 	mfmsr   r0                                     
ffc0d344:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0d348:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0d34c:	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;                    
ffc0d350:	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 );                            
ffc0d354:	3b a3 00 04 	addi    r29,r3,4                               
   *       hence the compiler must not assume *header to remain       
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
ffc0d358:	7f 89 e8 00 	cmpw    cr7,r9,r29                             
ffc0d35c:	41 9e 00 78 	beq-    cr7,ffc0d3d4 <_Watchdog_Adjust+0xac>   
    switch ( direction ) {                                            
ffc0d360:	2f 84 00 00 	cmpwi   cr7,r4,0                               
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
ffc0d364:	3b 80 00 01 	li      r28,1                                  
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
    switch ( direction ) {                                            
ffc0d368:	41 9e 00 64 	beq-    cr7,ffc0d3cc <_Watchdog_Adjust+0xa4>   
ffc0d36c:	2f 84 00 01 	cmpwi   cr7,r4,1                               
ffc0d370:	40 be 00 64 	bne+    cr7,ffc0d3d4 <_Watchdog_Adjust+0xac>   <== NEVER TAKEN
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
ffc0d374:	81 69 00 10 	lwz     r11,16(r9)                             
ffc0d378:	7f cb 2a 14 	add     r30,r11,r5                             
ffc0d37c:	48 00 00 18 	b       ffc0d394 <_Watchdog_Adjust+0x6c>       
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0d380:	81 3f 00 00 	lwz     r9,0(r31)                              
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
ffc0d384:	81 69 00 10 	lwz     r11,16(r9)                             
ffc0d388:	7f 9e 58 40 	cmplw   cr7,r30,r11                            
ffc0d38c:	40 bc 00 10 	bge+    cr7,ffc0d39c <_Watchdog_Adjust+0x74>   
            _Watchdog_First( header )->delta_interval -= units;       
ffc0d390:	7f de 58 50 	subf    r30,r30,r11                            
ffc0d394:	93 c9 00 10 	stw     r30,16(r9)                             
            break;                                                    
ffc0d398:	48 00 00 3c 	b       ffc0d3d4 <_Watchdog_Adjust+0xac>       
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
ffc0d39c:	93 89 00 10 	stw     r28,16(r9)                             
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
ffc0d3a0:	7f cb f0 50 	subf    r30,r11,r30                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0d3a4:	7c 00 01 24 	mtmsr   r0                                     
            _Watchdog_First( header )->delta_interval = 1;            
                                                                      
            _ISR_Enable( level );                                     
                                                                      
            _Watchdog_Tickle( header );                               
ffc0d3a8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d3ac:	48 00 02 35 	bl      ffc0d5e0 <_Watchdog_Tickle>            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0d3b0:	7c 00 00 a6 	mfmsr   r0                                     
ffc0d3b4:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0d3b8:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0d3bc:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
            _ISR_Disable( level );                                    
                                                                      
            if ( _Chain_Is_empty( header ) )                          
ffc0d3c0:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc0d3c4:	7f 89 e8 00 	cmpw    cr7,r9,r29                             
ffc0d3c8:	41 9e 00 0c 	beq-    cr7,ffc0d3d4 <_Watchdog_Adjust+0xac>   
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
ffc0d3cc:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0d3d0:	40 9e ff b0 	bne+    cr7,ffc0d380 <_Watchdog_Adjust+0x58>   <== ALWAYS TAKEN
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0d3d4:	7c 00 01 24 	mtmsr   r0                                     
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
ffc0d3d8:	39 61 00 18 	addi    r11,r1,24                              
ffc0d3dc:	4b ff 3f 64 	b       ffc01340 <_restgpr_28_x>               
                                                                      

ffc0ba6c <_Watchdog_Remove>: */ Watchdog_States _Watchdog_Remove( Watchdog_Control *the_watchdog ) {
ffc0ba6c:	7c 69 1b 78 	mr      r9,r3                                  
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0ba70:	7c 00 00 a6 	mfmsr   r0                                     
ffc0ba74:	7d 70 42 a6 	mfsprg  r11,0                                  
ffc0ba78:	7c 0b 58 78 	andc    r11,r0,r11                             
ffc0ba7c:	7d 60 01 24 	mtmsr   r11                                    
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  previous_state = the_watchdog->state;                               
ffc0ba80:	80 63 00 08 	lwz     r3,8(r3)                               
  switch ( previous_state ) {                                         
ffc0ba84:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc0ba88:	41 9e 00 18 	beq-    cr7,ffc0baa0 <_Watchdog_Remove+0x34>   
ffc0ba8c:	2b 83 00 01 	cmplwi  cr7,r3,1                               
ffc0ba90:	41 9c 00 70 	blt-    cr7,ffc0bb00 <_Watchdog_Remove+0x94>   
ffc0ba94:	2b 83 00 03 	cmplwi  cr7,r3,3                               
ffc0ba98:	41 9d 00 68 	bgt-    cr7,ffc0bb00 <_Watchdog_Remove+0x94>   <== NEVER TAKEN
ffc0ba9c:	48 00 00 10 	b       ffc0baac <_Watchdog_Remove+0x40>       
                                                                      
      /*                                                              
       *  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;                        
ffc0baa0:	39 60 00 00 	li      r11,0                                  
ffc0baa4:	91 69 00 08 	stw     r11,8(r9)                              
      break;                                                          
ffc0baa8:	48 00 00 58 	b       ffc0bb00 <_Watchdog_Remove+0x94>       
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
ffc0baac:	39 60 00 00 	li      r11,0                                  
ffc0bab0:	91 69 00 08 	stw     r11,8(r9)                              
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
ffc0bab4:	81 69 00 00 	lwz     r11,0(r9)                              
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
ffc0bab8:	81 4b 00 00 	lwz     r10,0(r11)                             
ffc0babc:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0bac0:	41 9e 00 14 	beq-    cr7,ffc0bad4 <_Watchdog_Remove+0x68>   
        next_watchdog->delta_interval += the_watchdog->delta_interval;
ffc0bac4:	81 0b 00 10 	lwz     r8,16(r11)                             
ffc0bac8:	81 49 00 10 	lwz     r10,16(r9)                             
ffc0bacc:	7d 48 52 14 	add     r10,r8,r10                             
ffc0bad0:	91 4b 00 10 	stw     r10,16(r11)                            
                                                                      
      if ( _Watchdog_Sync_count )                                     
ffc0bad4:	3d 40 00 00 	lis     r10,0                                  
ffc0bad8:	81 4a 27 f8 	lwz     r10,10232(r10)                         
ffc0badc:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0bae0:	41 9e 00 14 	beq-    cr7,ffc0baf4 <_Watchdog_Remove+0x88>   
        _Watchdog_Sync_level = _ISR_Nest_level;                       
ffc0bae4:	3d 40 00 00 	lis     r10,0                                  
ffc0bae8:	81 0a 2d c0 	lwz     r8,11712(r10)                          
ffc0baec:	3d 40 00 00 	lis     r10,0                                  
ffc0baf0:	91 0a 27 f0 	stw     r8,10224(r10)                          
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
ffc0baf4:	81 49 00 04 	lwz     r10,4(r9)                              
  next->previous = previous;                                          
ffc0baf8:	91 4b 00 04 	stw     r10,4(r11)                             
  previous->next = next;                                              
ffc0bafc:	91 6a 00 00 	stw     r11,0(r10)                             
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
ffc0bb00:	3d 60 00 00 	lis     r11,0                                  
ffc0bb04:	81 6b 27 fc 	lwz     r11,10236(r11)                         
ffc0bb08:	91 69 00 18 	stw     r11,24(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0bb0c:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
ffc0bb10:	4e 80 00 20 	blr                                            
                                                                      

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

ffc14bd4 <_fat_block_read>: uint32_t start, uint32_t offset, uint32_t count, void *buff ) {
ffc14bd4:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc14bd8:	7c 08 02 a6 	mflr    r0                                     
ffc14bdc:	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;                             
ffc14be0:	38 00 00 00 	li      r0,0                                   
    uint32_t                              start,                      
    uint32_t                              offset,                     
    uint32_t                              count,                      
    void                                 *buff                        
    )                                                                 
{                                                                     
ffc14be4:	bf 01 00 18 	stmw    r24,24(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;                             
ffc14be8:	7c 3b 0b 78 	mr      r27,r1                                 
    uint32_t                              start,                      
    uint32_t                              offset,                     
    uint32_t                              count,                      
    void                                 *buff                        
    )                                                                 
{                                                                     
ffc14bec:	7c df 33 78 	mr      r31,r6                                 
ffc14bf0:	7c f9 3b 78 	mr      r25,r7                                 
    int                     rc = RC_OK;                               
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
ffc14bf4:	83 43 00 34 	lwz     r26,52(r3)                             
    ssize_t                 cmpltd = 0;                               
    uint32_t                blk = start;                              
    uint32_t                ofs = offset;                             
    rtems_bdbuf_buffer     *block = NULL;                             
ffc14bf8:	94 1b 00 08 	stwu    r0,8(r27)                              
{                                                                     
    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;                             
ffc14bfc:	7c bc 2b 78 	mr      r28,r5                                 
    )                                                                 
{                                                                     
    int                     rc = RC_OK;                               
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
    ssize_t                 cmpltd = 0;                               
    uint32_t                blk = start;                              
ffc14c00:	7c 9d 23 78 	mr      r29,r4                                 
    void                                 *buff                        
    )                                                                 
{                                                                     
    int                     rc = RC_OK;                               
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
    ssize_t                 cmpltd = 0;                               
ffc14c04:	3b c0 00 00 	li      r30,0                                  
    uint32_t                blk = start;                              
    uint32_t                ofs = offset;                             
    rtems_bdbuf_buffer     *block = NULL;                             
    uint32_t                c = 0;                                    
                                                                      
    while (count > 0)                                                 
ffc14c08:	48 00 00 5c 	b       ffc14c64 <_fat_block_read+0x90>        
    {                                                                 
        rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);  
ffc14c0c:	7f 43 d3 78 	mr      r3,r26                                 
ffc14c10:	7f a4 eb 78 	mr      r4,r29                                 
ffc14c14:	38 a0 00 01 	li      r5,1                                   
ffc14c18:	7f 66 db 78 	mr      r6,r27                                 
ffc14c1c:	4b ff fc 81 	bl      ffc1489c <fat_buf_access>              
        if (rc != RC_OK)                                              
ffc14c20:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc14c24:	40 9e 00 4c 	bne-    cr7,ffc14c70 <_fat_block_read+0x9c>    <== NEVER TAKEN
            return -1;                                                
                                                                      
        c = MIN(count, (fs_info->vol.bps - ofs));                     
ffc14c28:	a3 1a 00 00 	lhz     r24,0(r26)                             
ffc14c2c:	7f 1c c0 50 	subf    r24,r28,r24                            
ffc14c30:	7f 98 f8 40 	cmplw   cr7,r24,r31                            
ffc14c34:	40 9d 00 08 	ble-    cr7,ffc14c3c <_fat_block_read+0x68>    
ffc14c38:	7f f8 fb 78 	mr      r24,r31                                
        memcpy((buff + cmpltd), (block->buffer + ofs), c);            
ffc14c3c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc14c40:	7c 79 f2 14 	add     r3,r25,r30                             
ffc14c44:	7f 05 c3 78 	mr      r5,r24                                 
ffc14c48:	80 89 00 24 	lwz     r4,36(r9)                              
                                                                      
        count -= c;                                                   
ffc14c4c:	7f f8 f8 50 	subf    r31,r24,r31                            
        cmpltd += c;                                                  
ffc14c50:	7f d8 f2 14 	add     r30,r24,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);            
ffc14c54:	7c 84 e2 14 	add     r4,r4,r28                              
ffc14c58:	48 00 94 85 	bl      ffc1e0dc <memcpy>                      
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        blk++;                                                        
ffc14c5c:	3b bd 00 01 	addi    r29,r29,1                              
        ofs = 0;                                                      
ffc14c60:	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)                                                 
ffc14c64:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc14c68:	40 9e ff a4 	bne+    cr7,ffc14c0c <_fat_block_read+0x38>    
ffc14c6c:	48 00 00 08 	b       ffc14c74 <_fat_block_read+0xa0>        
    {                                                                 
        rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);  
        if (rc != RC_OK)                                              
            return -1;                                                
ffc14c70:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
        cmpltd += c;                                                  
        blk++;                                                        
        ofs = 0;                                                      
    }                                                                 
    return cmpltd;                                                    
}                                                                     
ffc14c74:	39 61 00 38 	addi    r11,r1,56                              
ffc14c78:	7f c3 f3 78 	mr      r3,r30                                 
ffc14c7c:	4b fe de 60 	b       ffc02adc <_restgpr_24_x>               
                                                                      

ffc14d40 <_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);
ffc14d40:	80 63 00 34 	lwz     r3,52(r3)                              <== NOT EXECUTED
ffc14d44:	4b ff fd 3c 	b       ffc14a80 <fat_buf_release>             <== NOT EXECUTED
                                                                      

ffc14c80 <_fat_block_write>: rtems_filesystem_mount_table_entry_t *mt_entry, uint32_t start, uint32_t offset, uint32_t count, const void *buff) {
ffc14c80:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc14c84:	7c 08 02 a6 	mflr    r0                                     
ffc14c88:	90 01 00 44 	stw     r0,68(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;                                 
ffc14c8c:	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)                       
{                                                                     
ffc14c90:	be e1 00 1c 	stmw    r23,28(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;                                 
ffc14c94:	7c 3b 0b 78 	mr      r27,r1                                 
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              start,                      
    uint32_t                              offset,                     
    uint32_t                              count,                      
    const void                           *buff)                       
{                                                                     
ffc14c98:	7c df 33 78 	mr      r31,r6                                 
ffc14c9c:	7c f7 3b 78 	mr      r23,r7                                 
    int                 rc = RC_OK;                                   
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
ffc14ca0:	83 43 00 34 	lwz     r26,52(r3)                             
    ssize_t             cmpltd = 0;                                   
    uint32_t            blk  = start;                                 
    uint32_t            ofs = offset;                                 
    rtems_bdbuf_buffer *block = NULL;                                 
ffc14ca4:	94 1b 00 08 	stwu    r0,8(r27)                              
{                                                                     
    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;                                 
ffc14ca8:	7c b9 2b 78 	mr      r25,r5                                 
    const void                           *buff)                       
{                                                                     
    int                 rc = RC_OK;                                   
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
    ssize_t             cmpltd = 0;                                   
    uint32_t            blk  = start;                                 
ffc14cac:	7c 9c 23 78 	mr      r28,r4                                 
    uint32_t                              count,                      
    const void                           *buff)                       
{                                                                     
    int                 rc = RC_OK;                                   
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
    ssize_t             cmpltd = 0;                                   
ffc14cb0:	3b a0 00 00 	li      r29,0                                  
}                                                                     
                                                                      
static inline void                                                    
fat_buf_mark_modified(fat_fs_info_t *fs_info)                         
{                                                                     
    fs_info->c.modified = true;                                       
ffc14cb4:	3b 00 00 01 	li      r24,1                                  
    uint32_t            blk  = start;                                 
    uint32_t            ofs = offset;                                 
    rtems_bdbuf_buffer *block = NULL;                                 
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
ffc14cb8:	48 00 00 6c 	b       ffc14d24 <_fat_block_write+0xa4>       
    {                                                                 
        c = MIN(count, (fs_info->vol.bps - ofs));                     
ffc14cbc:	a0 1a 00 00 	lhz     r0,0(r26)                              
ffc14cc0:	7f d9 00 50 	subf    r30,r25,r0                             
ffc14cc4:	7f 9e f8 40 	cmplw   cr7,r30,r31                            
ffc14cc8:	40 9d 00 08 	ble-    cr7,ffc14cd0 <_fat_block_write+0x50>   
ffc14ccc:	7f fe fb 78 	mr      r30,r31                                
                                                                      
        if (c == fs_info->vol.bps)                                    
ffc14cd0:	7f 9e 00 00 	cmpw    cr7,r30,r0                             
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_GET, &block);
ffc14cd4:	7f 43 d3 78 	mr      r3,r26                                 
ffc14cd8:	7f 84 e3 78 	mr      r4,r28                                 
ffc14cdc:	38 a0 00 02 	li      r5,2                                   
                                                                      
    while(count > 0)                                                  
    {                                                                 
        c = MIN(count, (fs_info->vol.bps - ofs));                     
                                                                      
        if (c == fs_info->vol.bps)                                    
ffc14ce0:	41 9e 00 08 	beq-    cr7,ffc14ce8 <_fat_block_write+0x68>   
            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);
ffc14ce4:	38 a0 00 01 	li      r5,1                                   
ffc14ce8:	7f 66 db 78 	mr      r6,r27                                 
ffc14cec:	4b ff fb b1 	bl      ffc1489c <fat_buf_access>              
        if (rc != RC_OK)                                              
ffc14cf0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc14cf4:	40 9e 00 3c 	bne-    cr7,ffc14d30 <_fat_block_write+0xb0>   <== NEVER TAKEN
            return -1;                                                
                                                                      
        memcpy((block->buffer + ofs), (buff + cmpltd), c);            
ffc14cf8:	81 21 00 08 	lwz     r9,8(r1)                               
ffc14cfc:	7c 97 ea 14 	add     r4,r23,r29                             
ffc14d00:	7f c5 f3 78 	mr      r5,r30                                 
ffc14d04:	80 69 00 24 	lwz     r3,36(r9)                              
                                                                      
        fat_buf_mark_modified(fs_info);                               
                                                                      
        count -= c;                                                   
ffc14d08:	7f fe f8 50 	subf    r31,r30,r31                            
        cmpltd +=c;                                                   
ffc14d0c:	7f be ea 14 	add     r29,r30,r29                            
        else                                                          
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);
        if (rc != RC_OK)                                              
            return -1;                                                
                                                                      
        memcpy((block->buffer + ofs), (buff + cmpltd), c);            
ffc14d10:	7c 63 ca 14 	add     r3,r3,r25                              
ffc14d14:	48 00 93 c9 	bl      ffc1e0dc <memcpy>                      
ffc14d18:	9b 1a 00 84 	stb     r24,132(r26)                           
                                                                      
        fat_buf_mark_modified(fs_info);                               
                                                                      
        count -= c;                                                   
        cmpltd +=c;                                                   
        blk++;                                                        
ffc14d1c:	3b 9c 00 01 	addi    r28,r28,1                              
        ofs = 0;                                                      
ffc14d20:	3b 20 00 00 	li      r25,0                                  
    uint32_t            blk  = start;                                 
    uint32_t            ofs = offset;                                 
    rtems_bdbuf_buffer *block = NULL;                                 
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
ffc14d24:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc14d28:	40 9e ff 94 	bne+    cr7,ffc14cbc <_fat_block_write+0x3c>   
ffc14d2c:	48 00 00 08 	b       ffc14d34 <_fat_block_write+0xb4>       
        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)                                              
            return -1;                                                
ffc14d30:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
        cmpltd +=c;                                                   
        blk++;                                                        
        ofs = 0;                                                      
    }                                                                 
    return cmpltd;                                                    
}                                                                     
ffc14d34:	39 61 00 40 	addi    r11,r1,64                              
ffc14d38:	7f a3 eb 78 	mr      r3,r29                                 
ffc14d3c:	4b fe dd 9c 	b       ffc02ad8 <_restgpr_23_x>               
                                                                      

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

ffc13c28 <_hash_search>: rtems_chain_control *hash, uint32_t key1, uint32_t key2, fat_file_fd_t **ret ) {
ffc13c28:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc13c2c:	7c 08 02 a6 	mflr    r0                                     
ffc13c30:	7d 80 00 26 	mfcr    r12                                    
        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) )              
ffc13c34:	2e 06 00 00 	cmpwi   cr4,r6,0                               
    rtems_chain_control                   *hash,                      
    uint32_t                               key1,                      
    uint32_t                               key2,                      
    fat_file_fd_t                          **ret                      
    )                                                                 
{                                                                     
ffc13c38:	90 01 00 2c 	stw     r0,44(r1)                              
    uint32_t          mod = (key1) % FAT_HASH_MODULE;                 
ffc13c3c:	54 a0 07 fe 	clrlwi  r0,r5,31                               
    rtems_chain_node *the_node = rtems_chain_first(hash + mod);       
ffc13c40:	1c 00 00 0c 	mulli   r0,r0,12                               
    rtems_chain_control                   *hash,                      
    uint32_t                               key1,                      
    uint32_t                               key2,                      
    fat_file_fd_t                          **ret                      
    )                                                                 
{                                                                     
ffc13c44:	bf 41 00 10 	stmw    r26,16(r1)                             
    uint32_t          mod = (key1) % FAT_HASH_MODULE;                 
    rtems_chain_node *the_node = rtems_chain_first(hash + mod);       
ffc13c48:	7f 64 02 14 	add     r27,r4,r0                              
    rtems_chain_control                   *hash,                      
    uint32_t                               key1,                      
    uint32_t                               key2,                      
    fat_file_fd_t                          **ret                      
    )                                                                 
{                                                                     
ffc13c4c:	91 81 00 0c 	stw     r12,12(r1)                             
ffc13c50:	7c 7f 1b 78 	mr      r31,r3                                 
ffc13c54:	7c be 2b 78 	mr      r30,r5                                 
ffc13c58:	7c fc 3b 78 	mr      r28,r7                                 
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc13c5c:	7f a4 00 2e 	lwzx    r29,r4,r0                              
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
ffc13c60:	3b 7b 00 04 	addi    r27,r27,4                              
        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) )              
ffc13c64:	7c da 33 78 	mr      r26,r6                                 
    )                                                                 
{                                                                     
    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) ; )          
ffc13c68:	48 00 00 38 	b       ffc13ca0 <_hash_search+0x78>           
    {                                                                 
        fat_file_fd_t *ffd = (fat_file_fd_t *)the_node;               
        uint32_t       ck =  fat_construct_key(mt_entry, &ffd->dir_pos.sname);
ffc13c6c:	7f e3 fb 78 	mr      r3,r31                                 
ffc13c70:	38 9d 00 20 	addi    r4,r29,32                              
ffc13c74:	4b ff ff 5d 	bl      ffc13bd0 <fat_construct_key>           
                                                                      
        if ( (key1) == ck)                                            
ffc13c78:	7f 9e 18 00 	cmpw    cr7,r30,r3                             
ffc13c7c:	40 be 00 20 	bne+    cr7,ffc13c9c <_hash_search+0x74>       
        {                                                             
            if ( ((key2) == 0) || ((key2) == ffd->ino) )              
ffc13c80:	41 92 00 10 	beq-    cr4,ffc13c90 <_hash_search+0x68>       <== ALWAYS TAKEN
ffc13c84:	80 1d 00 0c 	lwz     r0,12(r29)                             <== NOT EXECUTED
ffc13c88:	7f 9a 00 00 	cmpw    cr7,r26,r0                             <== NOT EXECUTED
ffc13c8c:	40 be 00 10 	bne+    cr7,ffc13c9c <_hash_search+0x74>       <== NOT EXECUTED
            {                                                         
                *ret = (void *)the_node;                              
ffc13c90:	93 bc 00 00 	stw     r29,0(r28)                             
                return 0;                                             
ffc13c94:	38 60 00 00 	li      r3,0                                   
ffc13c98:	48 00 00 14 	b       ffc13cac <_hash_search+0x84>           
            }                                                         
        }                                                             
        the_node = the_node->next;                                    
ffc13c9c:	83 bd 00 00 	lwz     r29,0(r29)                             
    )                                                                 
{                                                                     
    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) ; )          
ffc13ca0:	7f 9d d8 00 	cmpw    cr7,r29,r27                            
ffc13ca4:	40 9e ff c8 	bne+    cr7,ffc13c6c <_hash_search+0x44>       
                return 0;                                             
            }                                                         
        }                                                             
        the_node = the_node->next;                                    
    }                                                                 
    return -1;                                                        
ffc13ca8:	38 60 ff ff 	li      r3,-1                                  
}                                                                     
ffc13cac:	81 81 00 0c 	lwz     r12,12(r1)                             
ffc13cb0:	39 61 00 28 	addi    r11,r1,40                              
ffc13cb4:	7d 80 81 20 	mtcrf   8,r12                                  
ffc13cb8:	4b fe ee 2c 	b       ffc02ae4 <_restgpr_26_x>               
                                                                      

ffc213c0 <_rename_r>: int _rename_r( struct _reent *ptr __attribute__((unused)), const char *old, const char *new ) {
ffc213c0:	94 21 ff 90 	stwu    r1,-112(r1)                            
ffc213c4:	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 );              
ffc213c8:	7c 83 23 78 	mr      r3,r4                                  
int _rename_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *old,                                                 
  const char    *new                                                  
)                                                                     
{                                                                     
ffc213cc:	bf 41 00 58 	stmw    r26,88(r1)                             
ffc213d0:	7c 9d 23 78 	mr      r29,r4                                 
ffc213d4:	7c bb 2b 78 	mr      r27,r5                                 
ffc213d8:	90 01 00 74 	stw     r0,116(r1)                             
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
ffc213dc:	4b fe 56 f5 	bl      ffc06ad0 <rtems_filesystem_dirname>    
                                                                      
  if ( old_parent_pathlen == 0 )                                      
ffc213e0:	7c 7a 1b 79 	mr.     r26,r3                                 
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
ffc213e4:	7f a3 eb 78 	mr      r3,r29                                 
   *  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 )                                      
ffc213e8:	40 82 00 18 	bne-    ffc21400 <_rename_r+0x40>              
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
ffc213ec:	38 81 00 0c 	addi    r4,r1,12                               
ffc213f0:	38 a1 00 24 	addi    r5,r1,36                               
ffc213f4:	4b fe 70 19 	bl      ffc0840c <rtems_filesystem_get_start_loc>
  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;     
ffc213f8:	3b c0 00 00 	li      r30,0                                  
ffc213fc:	48 00 00 28 	b       ffc21424 <_rename_r+0x64>              
  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, 
ffc21400:	7f 44 d3 78 	mr      r4,r26                                 
ffc21404:	38 a0 00 02 	li      r5,2                                   
ffc21408:	38 c1 00 24 	addi    r6,r1,36                               
ffc2140c:	38 e0 00 00 	li      r7,0                                   
ffc21410:	4b fe 56 65 	bl      ffc06a74 <rtems_filesystem_evaluate_path>
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
      return -1;                                                      
ffc21414:	3b 80 ff ff 	li      r28,-1                                 
  else {                                                              
    result = rtems_filesystem_evaluate_path( old, old_parent_pathlen, 
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
ffc21418:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2141c:	40 9e 01 5c 	bne-    cr7,ffc21578 <_rename_r+0x1b8>         <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_old_parentloc = true;                                        
ffc21420:	3b c0 00 01 	li      r30,1                                  
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
ffc21424:	3b 81 00 38 	addi    r28,r1,56                              
ffc21428:	3b e1 00 24 	addi    r31,r1,36                              
ffc2142c:	7c bf a4 aa 	lswi    r5,r31,20                              
ffc21430:	7c bc a5 aa 	stswi   r5,r28,20                              
  name = old + old_parent_pathlen;                                    
ffc21434:	7f bd d2 14 	add     r29,r29,r26                            
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc21438:	7f a3 eb 78 	mr      r3,r29                                 
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  old_loc = old_parent_loc;                                           
  name = old + old_parent_pathlen;                                    
ffc2143c:	93 a1 00 08 	stw     r29,8(r1)                              
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc21440:	4b ff 2a f1 	bl      ffc13f30 <strlen>                      
ffc21444:	7c 64 1b 78 	mr      r4,r3                                  
ffc21448:	7f a3 eb 78 	mr      r3,r29                                 
ffc2144c:	4b fe 56 cd 	bl      ffc06b18 <rtems_filesystem_prefix_separators>
ffc21450:	7f bd 1a 14 	add     r29,r29,r3                             
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
ffc21454:	7f a3 eb 78 	mr      r3,r29                                 
   * 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 ) ); 
ffc21458:	93 a1 00 08 	stw     r29,8(r1)                              
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
ffc2145c:	4b ff 2a d5 	bl      ffc13f30 <strlen>                      
ffc21460:	38 a0 00 00 	li      r5,0                                   
ffc21464:	7c 64 1b 78 	mr      r4,r3                                  
ffc21468:	7f 86 e3 78 	mr      r6,r28                                 
ffc2146c:	7f a3 eb 78 	mr      r3,r29                                 
ffc21470:	38 e0 00 00 	li      r7,0                                   
ffc21474:	4b fe 55 7d 	bl      ffc069f0 <rtems_filesystem_evaluate_relative_path>
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
ffc21478:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2147c:	41 9e 00 18 	beq-    cr7,ffc21494 <_rename_r+0xd4>          
    if ( free_old_parentloc )                                         
ffc21480:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
      rtems_filesystem_freenode( &old_parent_loc );                   
    return -1;                                                        
ffc21484:	3b 80 ff ff 	li      r28,-1                                 
                                                                      
  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 );                   
ffc21488:	7f e3 fb 78 	mr      r3,r31                                 
  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 )                                         
ffc2148c:	41 be 00 ec 	beq+    cr7,ffc21578 <_rename_r+0x1b8>         
ffc21490:	48 00 00 e4 	b       ffc21574 <_rename_r+0x1b4>             
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
ffc21494:	7f 63 db 78 	mr      r3,r27                                 
ffc21498:	38 81 00 0c 	addi    r4,r1,12                               
ffc2149c:	38 a1 00 10 	addi    r5,r1,16                               
ffc214a0:	4b fe 6f 6d 	bl      ffc0840c <rtems_filesystem_get_start_loc>
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
ffc214a4:	81 21 00 1c 	lwz     r9,28(r1)                              
ffc214a8:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc214ac:	38 81 00 10 	addi    r4,r1,16                               
ffc214b0:	80 09 00 04 	lwz     r0,4(r9)                               
ffc214b4:	38 a1 00 08 	addi    r5,r1,8                                
ffc214b8:	7c 7b 1a 14 	add     r3,r27,r3                              
ffc214bc:	7c 09 03 a6 	mtctr   r0                                     
ffc214c0:	4e 80 04 21 	bctrl                                          
  if ( result != 0 ) {                                                
ffc214c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc214c8:	41 be 00 28 	beq+    cr7,ffc214f0 <_rename_r+0x130>         
    rtems_filesystem_freenode( &new_parent_loc );                     
ffc214cc:	38 61 00 10 	addi    r3,r1,16                               
ffc214d0:	4b fe 57 95 	bl      ffc06c64 <rtems_filesystem_freenode>   
    if ( free_old_parentloc )                                         
ffc214d4:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc214d8:	41 be 00 0c 	beq+    cr7,ffc214e4 <_rename_r+0x124>         
      rtems_filesystem_freenode( &old_parent_loc );                   
ffc214dc:	7f e3 fb 78 	mr      r3,r31                                 
ffc214e0:	4b fe 57 85 	bl      ffc06c64 <rtems_filesystem_freenode>   
    rtems_filesystem_freenode( &old_loc );                            
ffc214e4:	38 61 00 38 	addi    r3,r1,56                               
ffc214e8:	4b fe 57 7d 	bl      ffc06c64 <rtems_filesystem_freenode>   
ffc214ec:	48 00 00 40 	b       ffc2152c <_rename_r+0x16c>             
  /*                                                                  
   *  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 ) {         
ffc214f0:	80 01 00 20 	lwz     r0,32(r1)                              
ffc214f4:	81 21 00 34 	lwz     r9,52(r1)                              
ffc214f8:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc214fc:	41 be 00 38 	beq+    cr7,ffc21534 <_rename_r+0x174>         
    rtems_filesystem_freenode( &new_parent_loc );                     
ffc21500:	38 61 00 10 	addi    r3,r1,16                               
ffc21504:	4b fe 57 61 	bl      ffc06c64 <rtems_filesystem_freenode>   
    if ( free_old_parentloc )                                         
ffc21508:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc2150c:	41 be 00 0c 	beq+    cr7,ffc21518 <_rename_r+0x158>         
      rtems_filesystem_freenode( &old_parent_loc );                   
ffc21510:	7f e3 fb 78 	mr      r3,r31                                 
ffc21514:	4b fe 57 51 	bl      ffc06c64 <rtems_filesystem_freenode>   
    rtems_filesystem_freenode( &old_loc );                            
ffc21518:	38 61 00 38 	addi    r3,r1,56                               
ffc2151c:	4b fe 57 49 	bl      ffc06c64 <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( EXDEV );                    
ffc21520:	4b ff 11 c5 	bl      ffc126e4 <__errno>                     
ffc21524:	38 00 00 12 	li      r0,18                                  
ffc21528:	90 03 00 00 	stw     r0,0(r3)                               
ffc2152c:	3b 80 ff ff 	li      r28,-1                                 
ffc21530:	48 00 00 48 	b       ffc21578 <_rename_r+0x1b8>             
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
ffc21534:	81 21 00 1c 	lwz     r9,28(r1)                              
ffc21538:	7f 84 e3 78 	mr      r4,r28                                 
ffc2153c:	38 a1 00 10 	addi    r5,r1,16                               
ffc21540:	80 c1 00 08 	lwz     r6,8(r1)                               
ffc21544:	80 09 00 40 	lwz     r0,64(r9)                              
ffc21548:	7f e3 fb 78 	mr      r3,r31                                 
ffc2154c:	7c 09 03 a6 	mtctr   r0                                     
ffc21550:	4e 80 04 21 	bctrl                                          
ffc21554:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
ffc21558:	38 61 00 10 	addi    r3,r1,16                               
ffc2155c:	4b fe 57 09 	bl      ffc06c64 <rtems_filesystem_freenode>   
  if ( free_old_parentloc )                                           
ffc21560:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc21564:	41 be 00 0c 	beq+    cr7,ffc21570 <_rename_r+0x1b0>         
    rtems_filesystem_freenode( &old_parent_loc );                     
ffc21568:	7f e3 fb 78 	mr      r3,r31                                 
ffc2156c:	4b fe 56 f9 	bl      ffc06c64 <rtems_filesystem_freenode>   
  rtems_filesystem_freenode( &old_loc );                              
ffc21570:	38 61 00 38 	addi    r3,r1,56                               
ffc21574:	4b fe 56 f1 	bl      ffc06c64 <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc21578:	39 61 00 70 	addi    r11,r1,112                             
ffc2157c:	7f 83 e3 78 	mr      r3,r28                                 
ffc21580:	4b fe 12 ec 	b       ffc0286c <_restgpr_26_x>               
                                                                      

ffc06898 <chroot>: #include <rtems/seterr.h> int chroot( const char *pathname ) {
ffc06898:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0689c:	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) {             
ffc068a0:	3d 20 00 00 	lis     r9,0                                   
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
ffc068a4:	bf a1 00 2c 	stmw    r29,44(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) {             
ffc068a8:	3f c0 00 00 	lis     r30,0                                  
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
ffc068ac:	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) {             
ffc068b0:	83 fe 27 1c 	lwz     r31,10012(r30)                         
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
ffc068b4:	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) {             
ffc068b8:	38 09 2a f8 	addi    r0,r9,11000                            
ffc068bc:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
ffc068c0:	40 be 00 24 	bne+    cr7,ffc068e4 <chroot+0x4c>             
   rtems_libio_set_private_env(); /* try to set a new private env*/   
ffc068c4:	48 00 17 01 	bl      ffc07fc4 <rtems_libio_set_private_env> 
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
ffc068c8:	80 1e 27 1c 	lwz     r0,10012(r30)                          
ffc068cc:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc068d0:	40 be 00 14 	bne+    cr7,ffc068e4 <chroot+0x4c>             
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
ffc068d4:	48 00 be 11 	bl      ffc126e4 <__errno>                     
ffc068d8:	38 00 00 86 	li      r0,134                                 
ffc068dc:	90 03 00 00 	stw     r0,0(r3)                               
ffc068e0:	48 00 00 28 	b       ffc06908 <chroot+0x70>                 
  }                                                                   
                                                                      
  result = chdir(pathname);                                           
ffc068e4:	7f a3 eb 78 	mr      r3,r29                                 
ffc068e8:	4b ff fe f5 	bl      ffc067dc <chdir>                       
  if (result) {                                                       
ffc068ec:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc068f0:	41 be 00 20 	beq+    cr7,ffc06910 <chroot+0x78>             
    rtems_set_errno_and_return_minus_one( errno );                    
ffc068f4:	48 00 bd f1 	bl      ffc126e4 <__errno>                     
ffc068f8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc068fc:	48 00 bd e9 	bl      ffc126e4 <__errno>                     
ffc06900:	80 03 00 00 	lwz     r0,0(r3)                               
ffc06904:	90 1f 00 00 	stw     r0,0(r31)                              
ffc06908:	38 60 ff ff 	li      r3,-1                                  
ffc0690c:	48 00 00 50 	b       ffc0695c <chroot+0xc4>                 
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
ffc06910:	3c 60 ff c2 	lis     r3,-62                                 
ffc06914:	3b e1 00 08 	addi    r31,r1,8                               
ffc06918:	38 63 20 c0 	addi    r3,r3,8384                             
ffc0691c:	38 80 00 01 	li      r4,1                                   
ffc06920:	38 a0 00 00 	li      r5,0                                   
ffc06924:	7f e6 fb 78 	mr      r6,r31                                 
ffc06928:	38 e0 00 00 	li      r7,0                                   
ffc0692c:	48 00 01 49 	bl      ffc06a74 <rtems_filesystem_evaluate_path>
ffc06930:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06934:	40 be ff c0 	bne-    cr7,ffc068f4 <chroot+0x5c>             <== 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);                  
ffc06938:	3f c0 00 00 	lis     r30,0                                  
ffc0693c:	80 7e 27 1c 	lwz     r3,10012(r30)                          
ffc06940:	38 63 00 18 	addi    r3,r3,24                               
ffc06944:	48 00 03 21 	bl      ffc06c64 <rtems_filesystem_freenode>   
  rtems_filesystem_root = loc;                                        
ffc06948:	81 7e 27 1c 	lwz     r11,10012(r30)                         
                                                                      
  return 0;                                                           
ffc0694c:	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;                                        
ffc06950:	39 6b 00 18 	addi    r11,r11,24                             
ffc06954:	7c bf a4 aa 	lswi    r5,r31,20                              
ffc06958:	7c ab a5 aa 	stswi   r5,r11,20                              
                                                                      
  return 0;                                                           
}                                                                     
ffc0695c:	39 61 00 38 	addi    r11,r1,56                              
ffc06960:	4b ff bf 18 	b       ffc02878 <_restgpr_29_x>               
                                                                      

ffc03fe4 <create_disk>: return disktab [major].minor + minor; } static rtems_status_code create_disk(dev_t dev, const char *name, rtems_disk_device **dd_ptr) {
ffc03fe4:	94 21 ff c8 	stwu    r1,-56(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) {                                        
ffc03fe8:	3d 20 00 00 	lis     r9,0                                   
  return disktab [major].minor + minor;                               
}                                                                     
                                                                      
static rtems_status_code                                              
create_disk(dev_t dev, const char *name, rtems_disk_device **dd_ptr)  
{                                                                     
ffc03fec:	7c 08 02 a6 	mflr    r0                                     
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  rtems_filesystem_split_dev_t(dev, major, minor);                    
                                                                      
  if (major >= disktab_size) {                                        
ffc03ff0:	39 69 28 70 	addi    r11,r9,10352                           
  return disktab [major].minor + minor;                               
}                                                                     
                                                                      
static rtems_status_code                                              
create_disk(dev_t dev, const char *name, rtems_disk_device **dd_ptr)  
{                                                                     
ffc03ff4:	be a1 00 0c 	stmw    r21,12(r1)                             
ffc03ff8:	7c 7d 1b 78 	mr      r29,r3                                 
ffc03ffc:	7c 9e 23 78 	mr      r30,r4                                 
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  rtems_filesystem_split_dev_t(dev, major, minor);                    
                                                                      
  if (major >= disktab_size) {                                        
ffc04000:	83 49 28 70 	lwz     r26,10352(r9)                          
  return disktab [major].minor + minor;                               
}                                                                     
                                                                      
static rtems_status_code                                              
create_disk(dev_t dev, const char *name, rtems_disk_device **dd_ptr)  
{                                                                     
ffc04004:	7c bc 2b 78 	mr      r28,r5                                 
ffc04008:	90 01 00 3c 	stw     r0,60(r1)                              
ffc0400c:	7c d8 33 78 	mr      r24,r6                                 
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  rtems_filesystem_split_dev_t(dev, major, minor);                    
                                                                      
  if (major >= disktab_size) {                                        
ffc04010:	7f 83 d0 40 	cmplw   cr7,r3,r26                             
ffc04014:	41 9c 00 54 	blt-    cr7,ffc04068 <create_disk+0x84>        
    rtems_disk_device_table *table = disktab;                         
    rtems_device_major_number old_size = disktab_size;                
    rtems_device_major_number new_size = 2 * old_size;                
ffc04018:	57 5f 08 3c 	rlwinm  r31,r26,1,0,30                         
  rtems_device_minor_number minor = 0;                                
                                                                      
  rtems_filesystem_split_dev_t(dev, major, minor);                    
                                                                      
  if (major >= disktab_size) {                                        
    rtems_disk_device_table *table = disktab;                         
ffc0401c:	80 6b 00 04 	lwz     r3,4(r11)                              
    rtems_device_major_number old_size = disktab_size;                
    rtems_device_major_number new_size = 2 * old_size;                
                                                                      
    if (major >= new_size) {                                          
ffc04020:	7f 9d f8 40 	cmplw   cr7,r29,r31                            
ffc04024:	41 9c 00 08 	blt-    cr7,ffc0402c <create_disk+0x48>        <== NEVER TAKEN
      new_size = major + 1;                                           
ffc04028:	3b fd 00 01 	addi    r31,r29,1                              
    }                                                                 
                                                                      
    table = realloc(table, new_size * sizeof(*table));                
ffc0402c:	57 e4 18 38 	rlwinm  r4,r31,3,0,28                          
ffc04030:	48 00 21 69 	bl      ffc06198 <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;                                           
ffc04034:	3a a0 00 1a 	li      r21,26                                 
    if (major >= new_size) {                                          
      new_size = major + 1;                                           
    }                                                                 
                                                                      
    table = realloc(table, new_size * sizeof(*table));                
    if (table == NULL) {                                              
ffc04038:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc0403c:	41 82 01 4c 	beq-    ffc04188 <create_disk+0x1a4>           <== ALWAYS TAKEN
      return NULL;                                                    
    }                                                                 
                                                                      
    memset(table + old_size, 0, (new_size - old_size) * sizeof(*table));
ffc04040:	7c ba f8 50 	subf    r5,r26,r31                             <== NOT EXECUTED
ffc04044:	57 43 18 38 	rlwinm  r3,r26,3,0,28                          <== NOT EXECUTED
ffc04048:	7c 7b 1a 14 	add     r3,r27,r3                              <== NOT EXECUTED
ffc0404c:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc04050:	54 a5 18 38 	rlwinm  r5,r5,3,0,28                           <== NOT EXECUTED
ffc04054:	48 01 03 c9 	bl      ffc1441c <memset>                      <== NOT EXECUTED
    disktab = table;                                                  
ffc04058:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc0405c:	39 69 28 70 	addi    r11,r9,10352                           <== NOT EXECUTED
    disktab_size = new_size;                                          
ffc04060:	93 e9 28 70 	stw     r31,10352(r9)                          <== NOT EXECUTED
    if (table == NULL) {                                              
      return NULL;                                                    
    }                                                                 
                                                                      
    memset(table + old_size, 0, (new_size - old_size) * sizeof(*table));
    disktab = table;                                                  
ffc04064:	93 6b 00 04 	stw     r27,4(r11)                             <== NOT EXECUTED
    disktab_size = new_size;                                          
  }                                                                   
                                                                      
  if (disktab [major].minor == NULL || minor >= disktab[major].size) {
ffc04068:	3d 20 00 00 	lis     r9,0                                   
ffc0406c:	83 29 28 74 	lwz     r25,10356(r9)                          
ffc04070:	57 ba 18 38 	rlwinm  r26,r29,3,0,28                         
ffc04074:	7c 79 d0 2e 	lwzx    r3,r25,r26                             
ffc04078:	7f 79 d2 14 	add     r27,r25,r26                            
ffc0407c:	82 db 00 04 	lwz     r22,4(r27)                             
ffc04080:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04084:	41 9e 00 0c 	beq-    cr7,ffc04090 <create_disk+0xac>        
ffc04088:	7f 9e b0 40 	cmplw   cr7,r30,r22                            
ffc0408c:	41 9c 00 54 	blt-    cr7,ffc040e0 <create_disk+0xfc>        <== ALWAYS TAKEN
    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) {                                              
ffc04090:	2f 96 00 00 	cmpwi   cr7,r22,0                              
      new_size = DISKTAB_INITIAL_SIZE;                                
ffc04094:	3b e0 00 08 	li      r31,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) {                                              
ffc04098:	41 9e 00 08 	beq-    cr7,ffc040a0 <create_disk+0xbc>        <== ALWAYS TAKEN
      new_size = DISKTAB_INITIAL_SIZE;                                
    } else {                                                          
      new_size = 2 * old_size;                                        
ffc0409c:	56 df 08 3c 	rlwinm  r31,r22,1,0,30                         <== NOT EXECUTED
    }                                                                 
    if (minor >= new_size) {                                          
ffc040a0:	7f 9e f8 40 	cmplw   cr7,r30,r31                            
ffc040a4:	41 9c 00 08 	blt-    cr7,ffc040ac <create_disk+0xc8>        
      new_size = minor + 1;                                           
ffc040a8:	3b fe 00 01 	addi    r31,r30,1                              
    }                                                                 
                                                                      
    table = realloc(table, new_size * sizeof(*table));                
ffc040ac:	57 e4 10 3a 	rlwinm  r4,r31,2,0,29                          
ffc040b0:	48 00 20 e9 	bl      ffc06198 <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;                                           
ffc040b4:	3a a0 00 1a 	li      r21,26                                 
    if (minor >= new_size) {                                          
      new_size = minor + 1;                                           
    }                                                                 
                                                                      
    table = realloc(table, new_size * sizeof(*table));                
    if (table == NULL) {                                              
ffc040b8:	7c 77 1b 79 	mr.     r23,r3                                 
ffc040bc:	41 82 00 cc 	beq-    ffc04188 <create_disk+0x1a4>           
      return NULL;                                                    
    }                                                                 
                                                                      
    memset(table + old_size, 0, (new_size - old_size) * sizeof(*table));
ffc040c0:	7c b6 f8 50 	subf    r5,r22,r31                             
ffc040c4:	56 c3 10 3a 	rlwinm  r3,r22,2,0,29                          
ffc040c8:	7c 77 1a 14 	add     r3,r23,r3                              
ffc040cc:	38 80 00 00 	li      r4,0                                   
ffc040d0:	54 a5 10 3a 	rlwinm  r5,r5,2,0,29                           
ffc040d4:	48 01 03 49 	bl      ffc1441c <memset>                      
    disktab [major].minor = table;                                    
ffc040d8:	7e f9 d1 2e 	stwx    r23,r25,r26                            
    disktab [major].size = new_size;                                  
ffc040dc:	93 fb 00 04 	stw     r31,4(r27)                             
  }                                                                   
                                                                      
  return disktab [major].minor + minor;                               
ffc040e0:	7f 59 d0 2e 	lwzx    r26,r25,r26                            
ffc040e4:	57 db 10 3a 	rlwinm  r27,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) {                                             
    return RTEMS_NO_MEMORY;                                           
ffc040e8:	3a a0 00 1a 	li      r21,26                                 
    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;                               
ffc040ec:	7c 1a da 14 	add     r0,r26,r27                             
{                                                                     
  rtems_disk_device **dd_entry = create_disk_table_entry(dev);        
  rtems_disk_device *dd = NULL;                                       
  char *alloc_name = NULL;                                            
                                                                      
  if (dd_entry == NULL) {                                             
ffc040f0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc040f4:	41 9e 00 94 	beq-    cr7,ffc04188 <create_disk+0x1a4>       <== NEVER TAKEN
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  if (*dd_entry != NULL) {                                            
ffc040f8:	7c 1a d8 2e 	lwzx    r0,r26,r27                             
    return RTEMS_RESOURCE_IN_USE;                                     
ffc040fc:	3a a0 00 0c 	li      r21,12                                 
                                                                      
  if (dd_entry == NULL) {                                             
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  if (*dd_entry != NULL) {                                            
ffc04100:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04104:	40 be 00 84 	bne+    cr7,ffc04188 <create_disk+0x1a4>       
    return RTEMS_RESOURCE_IN_USE;                                     
  }                                                                   
                                                                      
  dd = malloc(sizeof(*dd));                                           
ffc04108:	38 60 00 38 	li      r3,56                                  
ffc0410c:	48 00 15 0d 	bl      ffc05618 <malloc>                      
  if (dd == NULL) {                                                   
    return RTEMS_NO_MEMORY;                                           
ffc04110:	3a a0 00 1a 	li      r21,26                                 
  if (*dd_entry != NULL) {                                            
    return RTEMS_RESOURCE_IN_USE;                                     
  }                                                                   
                                                                      
  dd = malloc(sizeof(*dd));                                           
  if (dd == NULL) {                                                   
ffc04114:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc04118:	41 82 00 70 	beq-    ffc04188 <create_disk+0x1a4>           <== NEVER TAKEN
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  if (name != NULL) {                                                 
ffc0411c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc04120:	41 9e 00 40 	beq-    cr7,ffc04160 <create_disk+0x17c>       
    alloc_name = strdup(name);                                        
ffc04124:	7f 83 e3 78 	mr      r3,r28                                 
ffc04128:	48 01 06 c9 	bl      ffc147f0 <strdup>                      
                                                                      
    if (alloc_name == NULL) {                                         
ffc0412c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  if (dd == NULL) {                                                   
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  if (name != NULL) {                                                 
    alloc_name = strdup(name);                                        
ffc04130:	7c 7c 1b 78 	mr      r28,r3                                 
ffc04134:	7c 79 1b 78 	mr      r25,r3                                 
                                                                      
    if (alloc_name == NULL) {                                         
ffc04138:	40 be 00 5c 	bne+    cr7,ffc04194 <create_disk+0x1b0>       <== ALWAYS TAKEN
      free(dd);                                                       
ffc0413c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc04140:	48 00 11 31 	bl      ffc05270 <free>                        <== NOT EXECUTED
                                                                      
      return RTEMS_NO_MEMORY;                                         
ffc04144:	48 00 00 44 	b       ffc04188 <create_disk+0x1a4>           <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  if (name != NULL) {                                                 
    if (mknod(alloc_name, 0777 | S_IFBLK, dev) < 0) {                 
      free(alloc_name);                                               
ffc04148:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc0414c:	48 00 11 25 	bl      ffc05270 <free>                        <== NOT EXECUTED
      free(dd);                                                       
ffc04150:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc04154:	48 00 11 1d 	bl      ffc05270 <free>                        <== NOT EXECUTED
      return RTEMS_UNSATISFIED;                                       
ffc04158:	3a a0 00 0d 	li      r21,13                                 <== NOT EXECUTED
ffc0415c:	48 00 00 2c 	b       ffc04188 <create_disk+0x1a4>           <== NOT EXECUTED
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;                                            
ffc04160:	3b 20 00 00 	li      r25,0                                  
    }                                                                 
  }                                                                   
                                                                      
  dd->dev = dev;                                                      
  dd->name = alloc_name;                                              
  dd->uses = 0;                                                       
ffc04164:	38 00 00 00 	li      r0,0                                   
      free(dd);                                                       
      return RTEMS_UNSATISFIED;                                       
    }                                                                 
  }                                                                   
                                                                      
  dd->dev = dev;                                                      
ffc04168:	93 bf 00 00 	stw     r29,0(r31)                             
  dd->deleted = false;                                                
                                                                      
  *dd_entry = dd;                                                     
  *dd_ptr = dd;                                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0416c:	3a a0 00 00 	li      r21,0                                  
      free(dd);                                                       
      return RTEMS_UNSATISFIED;                                       
    }                                                                 
  }                                                                   
                                                                      
  dd->dev = dev;                                                      
ffc04170:	93 df 00 04 	stw     r30,4(r31)                             
  dd->name = alloc_name;                                              
ffc04174:	93 3f 00 10 	stw     r25,16(r31)                            
  dd->uses = 0;                                                       
ffc04178:	90 1f 00 14 	stw     r0,20(r31)                             
  dd->deleted = false;                                                
ffc0417c:	98 1f 00 30 	stb     r0,48(r31)                             
                                                                      
  *dd_entry = dd;                                                     
ffc04180:	7f fa d9 2e 	stwx    r31,r26,r27                            
  *dd_ptr = dd;                                                       
ffc04184:	93 f8 00 00 	stw     r31,0(r24)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04188:	39 61 00 38 	addi    r11,r1,56                              
ffc0418c:	7e a3 ab 78 	mr      r3,r21                                 
ffc04190:	48 01 44 30 	b       ffc185c0 <_restgpr_21_x>               
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
  }                                                                   
                                                                      
  if (name != NULL) {                                                 
    if (mknod(alloc_name, 0777 | S_IFBLK, dev) < 0) {                 
ffc04194:	38 80 61 ff 	li      r4,25087                               
ffc04198:	7f a5 eb 78 	mr      r5,r29                                 
ffc0419c:	7f c6 f3 78 	mr      r6,r30                                 
ffc041a0:	48 00 15 a1 	bl      ffc05740 <mknod>                       
ffc041a4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc041a8:	40 9c ff bc 	bge+    cr7,ffc04164 <create_disk+0x180>       <== ALWAYS TAKEN
ffc041ac:	4b ff ff 9c 	b       ffc04148 <create_disk+0x164>           <== NOT EXECUTED
                                                                      

ffc0bf24 <devFS_evaluate_path>: const char *pathname, size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc ) {
ffc0bf24:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0bf28:	7c 08 02 a6 	mflr    r0                                     
ffc0bf2c:	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 ) )                         
ffc0bf30:	54 a0 00 39 	rlwinm. r0,r5,0,0,28                           
  const char                        *pathname,                        
  size_t                             pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
ffc0bf34:	bf 21 00 0c 	stmw    r25,12(r1)                             
ffc0bf38:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0bf3c:	7c 9f 23 78 	mr      r31,r4                                 
ffc0bf40:	7c dd 33 78 	mr      r29,r6                                 
  int                   i;                                            
  rtems_device_name_t  *device_name_table;                            
                                                                      
  /* see if 'flags' is valid */                                       
  if ( !rtems_libio_is_valid_perms( flags ) )                         
ffc0bf44:	41 a2 00 10 	beq+    ffc0bf54 <devFS_evaluate_path+0x30>    <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EPERM );                    
ffc0bf48:	48 00 1b d9 	bl      ffc0db20 <__errno>                     <== NOT EXECUTED
ffc0bf4c:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0bf50:	48 00 00 a0 	b       ffc0bff0 <devFS_evaluate_path+0xcc>    <== NOT EXECUTED
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
ffc0bf54:	83 86 00 00 	lwz     r28,0(r6)                              
  if (!device_name_table)                                             
ffc0bf58:	3b 60 00 00 	li      r27,0                                  
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
ffc0bf5c:	3f 20 00 00 	lis     r25,0                                  
  if ( !rtems_libio_is_valid_perms( flags ) )                         
    rtems_set_errno_and_return_minus_one( EPERM );                    
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
ffc0bf60:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0bf64:	40 be 00 78 	bne+    cr7,ffc0bfdc <devFS_evaluate_path+0xb8>
    rtems_set_errno_and_return_minus_one( EFAULT );                   
ffc0bf68:	48 00 1b b9 	bl      ffc0db20 <__errno>                     
ffc0bf6c:	38 00 00 0e 	li      r0,14                                  
ffc0bf70:	48 00 00 80 	b       ffc0bff0 <devFS_evaluate_path+0xcc>    
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
ffc0bf74:	83 5c 00 00 	lwz     r26,0(r28)                             
ffc0bf78:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0bf7c:	41 9e 00 58 	beq-    cr7,ffc0bfd4 <devFS_evaluate_path+0xb0>
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
ffc0bf80:	7f c3 f3 78 	mr      r3,r30                                 
ffc0bf84:	7f 44 d3 78 	mr      r4,r26                                 
ffc0bf88:	7f e5 fb 78 	mr      r5,r31                                 
ffc0bf8c:	48 00 35 11 	bl      ffc0f49c <strncmp>                     
ffc0bf90:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0bf94:	40 9e 00 40 	bne-    cr7,ffc0bfd4 <devFS_evaluate_path+0xb0>
      continue;                                                       
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
ffc0bf98:	7c 1a f8 ae 	lbzx    r0,r26,r31                             
ffc0bf9c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0bfa0:	40 be 00 34 	bne+    cr7,ffc0bfd4 <devFS_evaluate_path+0xb0><== NEVER TAKEN
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
ffc0bfa4:	3d 20 00 00 	lis     r9,0                                   
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
ffc0bfa8:	93 9d 00 00 	stw     r28,0(r29)                             
    pathloc->handlers = &devFS_file_handlers;                         
ffc0bfac:	38 09 21 84 	addi    r0,r9,8580                             
    pathloc->ops = &devFS_ops;                                        
ffc0bfb0:	3d 20 00 00 	lis     r9,0                                   
    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;                         
ffc0bfb4:	90 1d 00 08 	stw     r0,8(r29)                              
    pathloc->ops = &devFS_ops;                                        
ffc0bfb8:	38 09 21 bc 	addi    r0,r9,8636                             
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
ffc0bfbc:	3d 20 00 00 	lis     r9,0                                   
      continue;                                                       
                                                                      
    /* find the device, set proper values */                          
    pathloc->node_access = (void *)&device_name_table[i];             
    pathloc->handlers = &devFS_file_handlers;                         
    pathloc->ops = &devFS_ops;                                        
ffc0bfc0:	90 1d 00 0c 	stw     r0,12(r29)                             
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
ffc0bfc4:	81 29 27 74 	lwz     r9,10100(r9)                           
ffc0bfc8:	80 09 00 28 	lwz     r0,40(r9)                              
ffc0bfcc:	90 1d 00 10 	stw     r0,16(r29)                             
    return 0;                                                         
ffc0bfd0:	48 00 00 28 	b       ffc0bff8 <devFS_evaluate_path+0xd4>    
  /* 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++) {                     
ffc0bfd4:	3b 7b 00 01 	addi    r27,r27,1                              
ffc0bfd8:	3b 9c 00 14 	addi    r28,r28,20                             
ffc0bfdc:	80 19 27 38 	lwz     r0,10040(r25)                          
ffc0bfe0:	7f 9b 00 40 	cmplw   cr7,r27,r0                             
ffc0bfe4:	41 9c ff 90 	blt+    cr7,ffc0bf74 <devFS_evaluate_path+0x50>
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
    return 0;                                                         
  }                                                                   
                                                                      
  /* no such file or directory */                                     
  rtems_set_errno_and_return_minus_one( ENOENT );                     
ffc0bfe8:	48 00 1b 39 	bl      ffc0db20 <__errno>                     
ffc0bfec:	38 00 00 02 	li      r0,2                                   
ffc0bff0:	90 03 00 00 	stw     r0,0(r3)                               
ffc0bff4:	38 60 ff ff 	li      r3,-1                                  
}                                                                     
ffc0bff8:	39 61 00 28 	addi    r11,r1,40                              
ffc0bffc:	48 00 b3 28 	b       ffc17324 <_restgpr_25_x>               
                                                                      

ffc043f0 <devFS_mknod>: const char *path, mode_t mode, dev_t dev, rtems_filesystem_location_info_t *pathloc ) {
ffc043f0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc043f4:	7c 08 02 a6 	mflr    r0                                     
ffc043f8:	bf 01 00 08 	stmw    r24,8(r1)                              
ffc043fc:	7c 7f 1b 78 	mr      r31,r3                                 
ffc04400:	7c 9e 23 78 	mr      r30,r4                                 
ffc04404:	90 01 00 2c 	stw     r0,44(r1)                              
ffc04408:	7c bd 2b 78 	mr      r29,r5                                 
ffc0440c:	7c dc 33 78 	mr      r28,r6                                 
   * 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') &&                         
ffc04410:	88 03 00 00 	lbz     r0,0(r3)                               
ffc04414:	2f 80 00 64 	cmpwi   cr7,r0,100                             
ffc04418:	40 be 00 2c 	bne+    cr7,ffc04444 <devFS_mknod+0x54>        
ffc0441c:	88 03 00 01 	lbz     r0,1(r3)                               
ffc04420:	2f 80 00 65 	cmpwi   cr7,r0,101                             
ffc04424:	40 be 00 20 	bne+    cr7,ffc04444 <devFS_mknod+0x54>        <== NEVER TAKEN
ffc04428:	88 03 00 02 	lbz     r0,2(r3)                               
ffc0442c:	2f 80 00 76 	cmpwi   cr7,r0,118                             
ffc04430:	40 be 00 14 	bne+    cr7,ffc04444 <devFS_mknod+0x54>        <== NEVER TAKEN
      (path[2] == 'v') && (path[3] == '\0'))                          
ffc04434:	88 03 00 03 	lbz     r0,3(r3)                               
      return 0;                                                       
ffc04438:	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'))                          
ffc0443c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04440:	41 9e 00 e0 	beq-    cr7,ffc04520 <devFS_mknod+0x130>       
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
ffc04444:	57 c0 04 26 	rlwinm  r0,r30,0,16,19                         
ffc04448:	2f 80 60 00 	cmpwi   cr7,r0,24576                           
ffc0444c:	41 9e 00 18 	beq-    cr7,ffc04464 <devFS_mknod+0x74>        
ffc04450:	2f 80 20 00 	cmpwi   cr7,r0,8192                            
ffc04454:	41 be 00 10 	beq+    cr7,ffc04464 <devFS_mknod+0x74>        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc04458:	48 00 96 c9 	bl      ffc0db20 <__errno>                     
ffc0445c:	38 00 00 16 	li      r0,22                                  
ffc04460:	48 00 00 24 	b       ffc04484 <devFS_mknod+0x94>            
  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;    
ffc04464:	83 47 00 00 	lwz     r26,0(r7)                              
  if (!device_name_table)                                             
ffc04468:	3b 20 ff ff 	li      r25,-1                                 
ffc0446c:	3b 60 00 00 	li      r27,0                                  
ffc04470:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
ffc04474:	3f 00 00 00 	lis     r24,0                                  
  else                                                                
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
ffc04478:	40 be 00 4c 	bne+    cr7,ffc044c4 <devFS_mknod+0xd4>        
    rtems_set_errno_and_return_minus_one( EFAULT );                   
ffc0447c:	48 00 96 a5 	bl      ffc0db20 <__errno>                     
ffc04480:	38 00 00 0e 	li      r0,14                                  
ffc04484:	90 03 00 00 	stw     r0,0(r3)                               
ffc04488:	38 60 ff ff 	li      r3,-1                                  
ffc0448c:	48 00 00 94 	b       ffc04520 <devFS_mknod+0x130>           
#include <stdlib.h>                                                   
                                                                      
#include <rtems/seterr.h>                                             
#include "devfs.h"                                                    
                                                                      
int devFS_mknod(                                                      
ffc04490:	1c 1b 00 14 	mulli   r0,r27,20                              
  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)                   
ffc04494:	7c 9a 00 2e 	lwzx    r4,r26,r0                              
ffc04498:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0449c:	41 9e 00 20 	beq-    cr7,ffc044bc <devFS_mknod+0xcc>        
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
ffc044a0:	7f e3 fb 78 	mr      r3,r31                                 
ffc044a4:	48 00 ae 75 	bl      ffc0f318 <strcmp>                      
ffc044a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc044ac:	40 be 00 14 	bne+    cr7,ffc044c0 <devFS_mknod+0xd0>        
              rtems_set_errno_and_return_minus_one( EEXIST );         
ffc044b0:	48 00 96 71 	bl      ffc0db20 <__errno>                     
ffc044b4:	38 00 00 11 	li      r0,17                                  
ffc044b8:	4b ff ff cc 	b       ffc04484 <devFS_mknod+0x94>            
  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)                   
          slot = i;                                                   
ffc044bc:	7f 79 db 78 	mr      r25,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++){           
ffc044c0:	3b 7b 00 01 	addi    r27,r27,1                              
ffc044c4:	80 18 27 38 	lwz     r0,10040(r24)                          
ffc044c8:	7f 9b 00 40 	cmplw   cr7,r27,r0                             
ffc044cc:	41 9c ff c4 	blt+    cr7,ffc04490 <devFS_mknod+0xa0>        
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
ffc044d0:	2f 99 ff ff 	cmpwi   cr7,r25,-1                             
ffc044d4:	40 be 00 10 	bne+    cr7,ffc044e4 <devFS_mknod+0xf4>        
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
ffc044d8:	48 00 96 49 	bl      ffc0db20 <__errno>                     
ffc044dc:	38 00 00 0c 	li      r0,12                                  
ffc044e0:	4b ff ff a4 	b       ffc04484 <devFS_mknod+0x94>            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc044e4:	7f 00 00 a6 	mfmsr   r24                                    
ffc044e8:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc044ec:	7f 00 00 78 	andc    r0,r24,r0                              
ffc044f0:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
ffc044f4:	1f 39 00 14 	mulli   r25,r25,20                             
ffc044f8:	7f fa c9 2e 	stwx    r31,r26,r25                            
  device_name_table[slot].device_name_length = strlen(path);          
ffc044fc:	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;                
ffc04500:	7f 7a ca 14 	add     r27,r26,r25                            
  device_name_table[slot].device_name_length = strlen(path);          
ffc04504:	48 00 ae dd 	bl      ffc0f3e0 <strlen>                      
  device_name_table[slot].major = major;                              
ffc04508:	93 bb 00 08 	stw     r29,8(r27)                             
  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);          
ffc0450c:	90 7b 00 04 	stw     r3,4(r27)                              
  device_name_table[slot].major = major;                              
  device_name_table[slot].minor = minor;                              
ffc04510:	93 9b 00 0c 	stw     r28,12(r27)                            
  device_name_table[slot].mode  = mode;                               
ffc04514:	93 db 00 10 	stw     r30,16(r27)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc04518:	7f 00 01 24 	mtmsr   r24                                    
  _ISR_Enable(level);                                                 
                                                                      
  return 0;                                                           
ffc0451c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc04520:	39 61 00 28 	addi    r11,r1,40                              
ffc04524:	48 01 2d fc 	b       ffc17320 <_restgpr_24_x>               
                                                                      

ffc03f4c <disk_lock>: */ static volatile bool diskdevs_protected; static rtems_status_code disk_lock(void) {
ffc03f4c:	7c 08 02 a6 	mflr    r0                                     
ffc03f50:	7c 2b 0b 78 	mr      r11,r1                                 
ffc03f54:	94 21 ff f0 	stwu    r1,-16(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_obtain(diskdevs_mutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc03f58:	38 80 00 00 	li      r4,0                                   
ffc03f5c:	38 a0 00 00 	li      r5,0                                   
 */                                                                   
static volatile bool diskdevs_protected;                              
                                                                      
static rtems_status_code                                              
disk_lock(void)                                                       
{                                                                     
ffc03f60:	90 01 00 14 	stw     r0,20(r1)                              
ffc03f64:	48 01 46 39 	bl      ffc1859c <_savegpr_31>                 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_obtain(diskdevs_mutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc03f68:	3f e0 00 00 	lis     r31,0                                  
ffc03f6c:	3b ff 28 70 	addi    r31,r31,10352                          
ffc03f70:	80 7f 00 08 	lwz     r3,8(r31)                              
ffc03f74:	48 00 4b a5 	bl      ffc08b18 <rtems_semaphore_obtain>      
  if (sc == RTEMS_SUCCESSFUL) {                                       
    diskdevs_protected = true;                                        
                                                                      
    return RTEMS_SUCCESSFUL;                                          
  } else {                                                            
    return RTEMS_NOT_CONFIGURED;                                      
ffc03f78:	38 00 00 16 	li      r0,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) {                                       
ffc03f7c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc03f80:	40 be 00 10 	bne+    cr7,ffc03f90 <disk_lock+0x44>          <== NEVER TAKEN
    diskdevs_protected = true;                                        
ffc03f84:	38 00 00 01 	li      r0,1                                   
ffc03f88:	98 1f 00 0c 	stb     r0,12(r31)                             
                                                                      
    return RTEMS_SUCCESSFUL;                                          
ffc03f8c:	38 00 00 00 	li      r0,0                                   
  } else {                                                            
    return RTEMS_NOT_CONFIGURED;                                      
  }                                                                   
}                                                                     
ffc03f90:	39 61 00 10 	addi    r11,r1,16                              
ffc03f94:	7c 03 03 78 	mr      r3,r0                                  
ffc03f98:	48 01 46 50 	b       ffc185e8 <_restgpr_31_x>               
                                                                      

ffc03f9c <disk_unlock>: static void disk_unlock(void) {
ffc03f9c:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc03fa0:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  diskdevs_protected = false;                                         
ffc03fa4:	3d 20 00 00 	lis     r9,0                                   
  }                                                                   
}                                                                     
                                                                      
static void                                                           
disk_unlock(void)                                                     
{                                                                     
ffc03fa8:	90 01 00 0c 	stw     r0,12(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  diskdevs_protected = false;                                         
ffc03fac:	39 29 28 70 	addi    r9,r9,10352                            
ffc03fb0:	38 00 00 00 	li      r0,0                                   
ffc03fb4:	98 09 00 0c 	stb     r0,12(r9)                              
                                                                      
  sc = rtems_semaphore_release(diskdevs_mutex);                       
ffc03fb8:	80 69 00 08 	lwz     r3,8(r9)                               
ffc03fbc:	48 00 4c 89 	bl      ffc08c44 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc03fc0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc03fc4:	41 be 00 10 	beq+    cr7,ffc03fd4 <disk_unlock+0x38>        <== ALWAYS TAKEN
    /* FIXME: Error number */                                         
    rtems_fatal_error_occurred(0xdeadbeef);                           
ffc03fc8:	3c 60 de ad 	lis     r3,-8531                               <== NOT EXECUTED
ffc03fcc:	60 63 be ef 	ori     r3,r3,48879                            <== NOT EXECUTED
ffc03fd0:	48 00 52 d1 	bl      ffc092a0 <rtems_fatal_error_occurred>  <== NOT EXECUTED
  }                                                                   
}                                                                     
ffc03fd4:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc03fd8:	38 21 00 08 	addi    r1,r1,8                                
ffc03fdc:	7c 08 03 a6 	mtlr    r0                                     
ffc03fe0:	4e 80 00 20 	blr                                            
                                                                      

ffc05a00 <drainOutput.part.0>: /* * Drain output queue */ static void drainOutput (struct rtems_termios_tty *tty)
ffc05a00:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc05a04:	7c 08 02 a6 	mflr    r0                                     
ffc05a08:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc05a0c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc05a10:	90 01 00 14 	stw     r0,20(r1)                              
{                                                                     
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
    rtems_interrupt_disable (level);                                  
ffc05a14:	4b ff ff d9 	bl      ffc059ec <ppc_interrupt_disable>       
    while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {              
      tty->rawOutBufState = rob_wait;                                 
ffc05a18:	3b c0 00 02 	li      r30,2                                  
ffc05a1c:	48 00 00 2c 	b       ffc05a48 <drainOutput.part.0+0x48>     
ffc05a20:	93 df 00 94 	stw     r30,148(r31)                           <== NOT EXECUTED
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc05a24:	7c 60 01 24 	mtmsr   r3                                     <== NOT EXECUTED
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
ffc05a28:	80 7f 00 8c 	lwz     r3,140(r31)                            <== NOT EXECUTED
ffc05a2c:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc05a30:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc05a34:	48 00 26 71 	bl      ffc080a4 <rtems_semaphore_obtain>      <== NOT EXECUTED
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc05a38:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc05a3c:	41 be 00 08 	beq+    cr7,ffc05a44 <drainOutput.part.0+0x44> <== NOT EXECUTED
        rtems_fatal_error_occurred (sc);                              
ffc05a40:	48 00 2e 39 	bl      ffc08878 <rtems_fatal_error_occurred>  <== NOT EXECUTED
      rtems_interrupt_disable (level);                                
ffc05a44:	4b ff ff a9 	bl      ffc059ec <ppc_interrupt_disable>       <== 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) {              
ffc05a48:	81 3f 00 84 	lwz     r9,132(r31)                            
ffc05a4c:	80 1f 00 80 	lwz     r0,128(r31)                            
ffc05a50:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc05a54:	40 9e ff cc 	bne+    cr7,ffc05a20 <drainOutput.part.0+0x20> <== NEVER TAKEN
ffc05a58:	7c 60 01 24 	mtmsr   r3                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    rtems_interrupt_enable (level);                                   
  }                                                                   
}                                                                     
ffc05a5c:	39 61 00 10 	addi    r11,r1,16                              
ffc05a60:	4b ff aa e0 	b       ffc00540 <_restgpr_30_x>               
                                                                      

ffc066d8 <echo>: /* * Echo a typed character */ static void echo (unsigned char c, struct rtems_termios_tty *tty) {
ffc066d8:	7c 08 02 a6 	mflr    r0                                     
ffc066dc:	7c 2b 0b 78 	mr      r11,r1                                 
ffc066e0:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc066e4:	90 01 00 24 	stw     r0,36(r1)                              
ffc066e8:	48 01 3d 35 	bl      ffc1a41c <_savegpr_31>                 
ffc066ec:	7c 9f 23 78 	mr      r31,r4                                 
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
ffc066f0:	80 04 00 3c 	lwz     r0,60(r4)                              
ffc066f4:	70 09 02 00 	andi.   r9,r0,512                              
ffc066f8:	41 82 00 5c 	beq-    ffc06754 <echo+0x7c>                   <== NEVER TAKEN
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
ffc066fc:	3d 20 00 00 	lis     r9,0                                   
ffc06700:	81 29 27 44 	lwz     r9,10052(r9)                           
ffc06704:	7d 29 1a 14 	add     r9,r9,r3                               
ffc06708:	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) &&                             
ffc0670c:	70 09 00 20 	andi.   r9,r0,32                               
ffc06710:	41 82 00 44 	beq-    ffc06754 <echo+0x7c>                   
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
ffc06714:	2f 83 00 09 	cmpwi   cr7,r3,9                               
ffc06718:	41 9e 00 3c 	beq-    cr7,ffc06754 <echo+0x7c>               
ffc0671c:	2f 83 00 0a 	cmpwi   cr7,r3,10                              
ffc06720:	41 be 00 34 	beq+    cr7,ffc06754 <echo+0x7c>               
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
ffc06724:	68 63 00 40 	xori    r3,r3,64                               
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
ffc06728:	38 00 00 5e 	li      r0,94                                  
    echobuf[1] = c ^ 0x40;                                            
ffc0672c:	98 61 00 09 	stb     r3,9(r1)                               
    rtems_termios_puts (echobuf, 2, tty);                             
ffc06730:	38 80 00 02 	li      r4,2                                   
ffc06734:	38 61 00 08 	addi    r3,r1,8                                
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
ffc06738:	98 01 00 08 	stb     r0,8(r1)                               
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
ffc0673c:	7f e5 fb 78 	mr      r5,r31                                 
ffc06740:	4b ff fd 0d 	bl      ffc0644c <rtems_termios_puts>          
    tty->column += 2;                                                 
ffc06744:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc06748:	38 09 00 02 	addi    r0,r9,2                                
ffc0674c:	90 1f 00 28 	stw     r0,40(r31)                             
ffc06750:	48 00 00 0c 	b       ffc0675c <echo+0x84>                   
  } else {                                                            
    oproc (c, tty);                                                   
ffc06754:	7f e4 fb 78 	mr      r4,r31                                 
ffc06758:	4b ff fe 15 	bl      ffc0656c <oproc>                       
  }                                                                   
}                                                                     
ffc0675c:	39 61 00 20 	addi    r11,r1,32                              
ffc06760:	4b ff 9d e4 	b       ffc00544 <_restgpr_31_x>               
                                                                      

ffc055dc <endgrent>: void endgrent(void) { if (group_fp != NULL)
ffc055dc:	3d 20 00 00 	lis     r9,0                                   
    fclose(group_fp);                                                 
  group_fp = fopen("/etc/group", "r");                                
}                                                                     
                                                                      
void endgrent(void)                                                   
{                                                                     
ffc055e0:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc055e4:	7c 08 02 a6 	mflr    r0                                     
  if (group_fp != NULL)                                               
ffc055e8:	80 69 2a 1c 	lwz     r3,10780(r9)                           
    fclose(group_fp);                                                 
  group_fp = fopen("/etc/group", "r");                                
}                                                                     
                                                                      
void endgrent(void)                                                   
{                                                                     
ffc055ec:	90 01 00 0c 	stw     r0,12(r1)                              
  if (group_fp != NULL)                                               
ffc055f0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc055f4:	41 9e 00 08 	beq-    cr7,ffc055fc <endgrent+0x20>           <== NEVER TAKEN
    fclose(group_fp);                                                 
ffc055f8:	48 00 b2 fd 	bl      ffc108f4 <fclose>                      
}                                                                     
ffc055fc:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc05600:	38 21 00 08 	addi    r1,r1,8                                
ffc05604:	7c 08 03 a6 	mtlr    r0                                     
ffc05608:	4e 80 00 20 	blr                                            
                                                                      

ffc0541c <endpwent>: void endpwent(void) { if (passwd_fp != NULL)
ffc0541c:	3d 20 00 00 	lis     r9,0                                   
    fclose(passwd_fp);                                                
  passwd_fp = fopen("/etc/passwd", "r");                              
}                                                                     
                                                                      
void endpwent(void)                                                   
{                                                                     
ffc05420:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc05424:	7c 08 02 a6 	mflr    r0                                     
  if (passwd_fp != NULL)                                              
ffc05428:	80 69 29 40 	lwz     r3,10560(r9)                           
    fclose(passwd_fp);                                                
  passwd_fp = fopen("/etc/passwd", "r");                              
}                                                                     
                                                                      
void endpwent(void)                                                   
{                                                                     
ffc0542c:	90 01 00 0c 	stw     r0,12(r1)                              
  if (passwd_fp != NULL)                                              
ffc05430:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05434:	41 9e 00 08 	beq-    cr7,ffc0543c <endpwent+0x20>           <== NEVER TAKEN
    fclose(passwd_fp);                                                
ffc05438:	48 00 b4 bd 	bl      ffc108f4 <fclose>                      
}                                                                     
ffc0543c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc05440:	38 21 00 08 	addi    r1,r1,8                                
ffc05444:	7c 08 03 a6 	mtlr    r0                                     
ffc05448:	4e 80 00 20 	blr                                            
                                                                      

ffc06764 <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) {
ffc06764:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc06768:	7c 08 02 a6 	mflr    r0                                     
ffc0676c:	7d 80 00 26 	mfcr    r12                                    
ffc06770:	90 01 00 24 	stw     r0,36(r1)                              
  if (tty->ccount == 0)                                               
ffc06774:	80 03 00 20 	lwz     r0,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)                   
{                                                                     
ffc06778:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc0677c:	7c 7f 1b 78 	mr      r31,r3                                 
  if (tty->ccount == 0)                                               
ffc06780:	2f 80 00 00 	cmpwi   cr7,r0,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)                   
{                                                                     
ffc06784:	91 81 00 08 	stw     r12,8(r1)                              
  if (tty->ccount == 0)                                               
ffc06788:	41 9e 01 d8 	beq-    cr7,ffc06960 <erase+0x1fc>             
    return;                                                           
  if (lineFlag) {                                                     
ffc0678c:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc06790:	41 9e 01 ac 	beq-    cr7,ffc0693c <erase+0x1d8>             
    if (!(tty->termios.c_lflag & ECHO)) {                             
ffc06794:	80 03 00 3c 	lwz     r0,60(r3)                              
ffc06798:	70 09 00 08 	andi.   r9,r0,8                                
ffc0679c:	40 a2 00 0c 	bne+    ffc067a8 <erase+0x44>                  <== ALWAYS TAKEN
      tty->ccount = 0;                                                
ffc067a0:	91 23 00 20 	stw     r9,32(r3)                              <== NOT EXECUTED
      return;                                                         
ffc067a4:	48 00 01 bc 	b       ffc06960 <erase+0x1fc>                 <== NOT EXECUTED
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
ffc067a8:	70 00 00 10 	andi.   r0,r0,16                               
ffc067ac:	40 a2 01 90 	bne+    ffc0693c <erase+0x1d8>                 <== ALWAYS TAKEN
      tty->ccount = 0;                                                
ffc067b0:	90 03 00 20 	stw     r0,32(r3)                              <== NOT EXECUTED
      echo (tty->termios.c_cc[VKILL], tty);                           
ffc067b4:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc067b8:	88 63 00 44 	lbz     r3,68(r3)                              <== NOT EXECUTED
ffc067bc:	4b ff ff 1d 	bl      ffc066d8 <echo>                        <== NOT EXECUTED
      if (tty->termios.c_lflag & ECHOK)                               
ffc067c0:	80 1f 00 3c 	lwz     r0,60(r31)                             <== NOT EXECUTED
        echo ('\n', tty);                                             
ffc067c4:	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)                               
ffc067c8:	70 07 00 20 	andi.   r7,r0,32                               <== NOT EXECUTED
ffc067cc:	41 a2 01 94 	beq+    ffc06960 <erase+0x1fc>                 <== NOT EXECUTED
ffc067d0:	48 00 00 30 	b       ffc06800 <erase+0x9c>                  <== NOT EXECUTED
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
ffc067d4:	80 1f 00 3c 	lwz     r0,60(r31)                             
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
ffc067d8:	39 29 ff ff 	addi    r9,r9,-1                               
ffc067dc:	81 5f 00 1c 	lwz     r10,28(r31)                            
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
ffc067e0:	70 0b 00 08 	andi.   r11,r0,8                               
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
ffc067e4:	91 3f 00 20 	stw     r9,32(r31)                             
ffc067e8:	7f ca 48 ae 	lbzx    r30,r10,r9                             
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
ffc067ec:	41 82 01 48 	beq-    ffc06934 <erase+0x1d0>                 <== NEVER TAKEN
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
ffc067f0:	40 92 00 30 	bne-    cr4,ffc06820 <erase+0xbc>              
ffc067f4:	70 07 00 10 	andi.   r7,r0,16                               
ffc067f8:	40 a2 00 28 	bne+    ffc06820 <erase+0xbc>                  <== ALWAYS TAKEN
        echo (tty->termios.c_cc[VERASE], tty);                        
ffc067fc:	88 7f 00 43 	lbz     r3,67(r31)                             <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc06800:	80 01 00 24 	lwz     r0,36(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);                        
ffc06804:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc06808:	81 81 00 08 	lwz     r12,8(r1)                              <== NOT EXECUTED
ffc0680c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc06810:	bb 61 00 0c 	lmw     r27,12(r1)                             <== NOT EXECUTED
ffc06814:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc06818:	7d 80 81 20 	mtcrf   8,r12                                  <== 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);                        
ffc0681c:	4b ff fe bc 	b       ffc066d8 <echo>                        <== NOT EXECUTED
      } else if (c == '\t') {                                         
ffc06820:	2f 9e 00 09 	cmpwi   cr7,r30,9                              
ffc06824:	40 be 00 90 	bne+    cr7,ffc068b4 <erase+0x150>             
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
            if (tty->termios.c_lflag & ECHOCTL)                       
ffc06828:	39 29 00 01 	addi    r9,r9,1                                
                                                                      
    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;                             
ffc0682c:	83 df 00 2c 	lwz     r30,44(r31)                            
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
ffc06830:	81 1d 27 44 	lwz     r8,10052(r29)                          
    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;                                                    
ffc06834:	39 60 00 00 	li      r11,0                                  
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
            if (tty->termios.c_lflag & ECHOCTL)                       
ffc06838:	70 07 02 00 	andi.   r7,r0,512                              
ffc0683c:	7d 29 03 a6 	mtctr   r9                                     
ffc06840:	48 00 00 40 	b       ffc06880 <erase+0x11c>                 
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
ffc06844:	7c 0a 58 ae 	lbzx    r0,r10,r11                             
ffc06848:	39 6b 00 01 	addi    r11,r11,1                              
          if (c == '\t') {                                            
ffc0684c:	2f 80 00 09 	cmpwi   cr7,r0,9                               
ffc06850:	40 be 00 0c 	bne+    cr7,ffc0685c <erase+0xf8>              
            col = (col | 7) + 1;                                      
ffc06854:	63 de 00 07 	ori     r30,r30,7                              
ffc06858:	48 00 00 24 	b       ffc0687c <erase+0x118>                 
          } else if (iscntrl (c)) {                                   
ffc0685c:	7d 28 02 14 	add     r9,r8,r0                               
ffc06860:	88 09 00 01 	lbz     r0,1(r9)                               
ffc06864:	54 09 df fe 	rlwinm  r9,r0,27,31,31                         
ffc06868:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0686c:	41 9e 00 10 	beq-    cr7,ffc0687c <erase+0x118>             <== ALWAYS TAKEN
            if (tty->termios.c_lflag & ECHOCTL)                       
ffc06870:	41 82 00 10 	beq-    ffc06880 <erase+0x11c>                 <== NOT EXECUTED
              col += 2;                                               
ffc06874:	3b de 00 02 	addi    r30,r30,2                              <== NOT EXECUTED
ffc06878:	48 00 00 08 	b       ffc06880 <erase+0x11c>                 <== NOT EXECUTED
          } else {                                                    
            col++;                                                    
ffc0687c:	3b de 00 01 	addi    r30,r30,1                              
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
ffc06880:	42 00 ff c4 	bdnz+   ffc06844 <erase+0xe0>                  
ffc06884:	48 00 00 20 	b       ffc068a4 <erase+0x140>                 
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
          rtems_termios_puts ("\b", 1, tty);                          
ffc06888:	7f 63 db 78 	mr      r3,r27                                 
ffc0688c:	38 80 00 01 	li      r4,1                                   
ffc06890:	7f e5 fb 78 	mr      r5,r31                                 
ffc06894:	4b ff fb b9 	bl      ffc0644c <rtems_termios_puts>          
          tty->column--;                                              
ffc06898:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc0689c:	38 09 ff ff 	addi    r0,r9,-1                               
ffc068a0:	90 1f 00 28 	stw     r0,40(r31)                             
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
ffc068a4:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc068a8:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc068ac:	41 9d ff dc 	bgt+    cr7,ffc06888 <erase+0x124>             
ffc068b0:	48 00 00 84 	b       ffc06934 <erase+0x1d0>                 
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
ffc068b4:	81 3d 27 44 	lwz     r9,10052(r29)                          
ffc068b8:	3b de 00 01 	addi    r30,r30,1                              
ffc068bc:	7d 29 f0 ae 	lbzx    r9,r9,r30                              
ffc068c0:	71 2b 00 20 	andi.   r11,r9,32                              
ffc068c4:	41 82 00 30 	beq-    ffc068f4 <erase+0x190>                 <== ALWAYS TAKEN
ffc068c8:	70 07 02 00 	andi.   r7,r0,512                              <== NOT EXECUTED
ffc068cc:	41 a2 00 28 	beq+    ffc068f4 <erase+0x190>                 <== NOT EXECUTED
          rtems_termios_puts ("\b \b", 3, tty);                       
ffc068d0:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc068d4:	38 80 00 03 	li      r4,3                                   <== NOT EXECUTED
ffc068d8:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc068dc:	4b ff fb 71 	bl      ffc0644c <rtems_termios_puts>          <== NOT EXECUTED
          if (tty->column)                                            
ffc068e0:	81 3f 00 28 	lwz     r9,40(r31)                             <== NOT EXECUTED
ffc068e4:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc068e8:	41 9e 00 0c 	beq-    cr7,ffc068f4 <erase+0x190>             <== NOT EXECUTED
            tty->column--;                                            
ffc068ec:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc068f0:	91 3f 00 28 	stw     r9,40(r31)                             <== NOT EXECUTED
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
ffc068f4:	81 3d 27 44 	lwz     r9,10052(r29)                          
ffc068f8:	7c 09 f0 ae 	lbzx    r0,r9,r30                              
ffc068fc:	70 09 00 20 	andi.   r9,r0,32                               
ffc06900:	41 82 00 10 	beq-    ffc06910 <erase+0x1ac>                 <== ALWAYS TAKEN
ffc06904:	80 1f 00 3c 	lwz     r0,60(r31)                             <== NOT EXECUTED
ffc06908:	70 0b 02 00 	andi.   r11,r0,512                             <== NOT EXECUTED
ffc0690c:	41 82 00 28 	beq-    ffc06934 <erase+0x1d0>                 <== NOT EXECUTED
          rtems_termios_puts ("\b \b", 3, tty);                       
ffc06910:	7f 83 e3 78 	mr      r3,r28                                 
ffc06914:	38 80 00 03 	li      r4,3                                   
ffc06918:	7f e5 fb 78 	mr      r5,r31                                 
ffc0691c:	4b ff fb 31 	bl      ffc0644c <rtems_termios_puts>          
          if (tty->column)                                            
ffc06920:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc06924:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc06928:	41 9e 00 0c 	beq-    cr7,ffc06934 <erase+0x1d0>             <== NEVER TAKEN
            tty->column--;                                            
ffc0692c:	39 29 ff ff 	addi    r9,r9,-1                               
ffc06930:	91 3f 00 28 	stw     r9,40(r31)                             
        }                                                             
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
ffc06934:	40 b2 00 20 	bne+    cr4,ffc06954 <erase+0x1f0>             
ffc06938:	48 00 00 28 	b       ffc06960 <erase+0x1fc>                 
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
ffc0693c:	2e 04 00 00 	cmpwi   cr4,r4,0                               
          rtems_termios_puts ("\b \b", 3, tty);                       
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
          rtems_termios_puts ("\b \b", 3, tty);                       
ffc06940:	3f 80 ff c2 	lis     r28,-62                                
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
          rtems_termios_puts ("\b", 1, tty);                          
ffc06944:	3f 60 ff c2 	lis     r27,-62                                
ffc06948:	3f a0 00 00 	lis     r29,0                                  
          rtems_termios_puts ("\b \b", 3, tty);                       
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
          rtems_termios_puts ("\b \b", 3, tty);                       
ffc0694c:	3b 9c c4 10 	addi    r28,r28,-15344                         
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
          rtems_termios_puts ("\b", 1, tty);                          
ffc06950:	3b 7b c4 12 	addi    r27,r27,-15342                         
        echo ('\n', tty);                                             
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
ffc06954:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc06958:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0695c:	40 9e fe 78 	bne+    cr7,ffc067d4 <erase+0x70>              
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc06960:	81 81 00 08 	lwz     r12,8(r1)                              
ffc06964:	39 61 00 20 	addi    r11,r1,32                              
ffc06968:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0696c:	4b ff 9b c8 	b       ffc00534 <_restgpr_27_x>               
                                                                      

ffc1489c <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) {
ffc1489c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc148a0:	7c 08 02 a6 	mflr    r0                                     
ffc148a4:	bf 41 00 18 	stmw    r26,24(r1)                             
ffc148a8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc148ac:	7c 9e 23 78 	mr      r30,r4                                 
ffc148b0:	90 01 00 34 	stw     r0,52(r1)                              
ffc148b4:	7c bc 2b 78 	mr      r28,r5                                 
ffc148b8:	7c db 33 78 	mr      r27,r6                                 
    rtems_status_code sc = RTEMS_SUCCESSFUL;                          
    uint8_t           i;                                              
    bool              sec_of_fat;                                     
                                                                      
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
ffc148bc:	88 03 00 85 	lbz     r0,133(r3)                             
ffc148c0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc148c4:	40 9e 00 40 	bne-    cr7,ffc14904 <fat_buf_access+0x68>     
    {                                                                 
        if (op_type == FAT_OP_TYPE_READ)                              
ffc148c8:	2f 9c 00 01 	cmpwi   cr7,r28,1                              
ffc148cc:	80 63 00 58 	lwz     r3,88(r3)                              
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
ffc148d0:	7c 85 23 78 	mr      r5,r4                                  
ffc148d4:	80 9f 00 5c 	lwz     r4,92(r31)                             
ffc148d8:	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)                              
ffc148dc:	40 be 00 0c 	bne+    cr7,ffc148e8 <fat_buf_access+0x4c>     
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
ffc148e0:	4b ff e5 79 	bl      ffc12e58 <rtems_bdbuf_read>            
ffc148e4:	48 00 00 08 	b       ffc148ec <fat_buf_access+0x50>         
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dev, blk, &fs_info->c.buf);
ffc148e8:	4b ff e4 95 	bl      ffc12d7c <rtems_bdbuf_get>             
        if (sc != RTEMS_SUCCESSFUL)                                   
ffc148ec:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc148f0:	40 9e 01 5c 	bne-    cr7,ffc14a4c <fat_buf_access+0x1b0>    <== NEVER TAKEN
            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;                          
ffc148f4:	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;                                     
ffc148f8:	93 df 00 80 	stw     r30,128(r31)                           
        fs_info->c.modified = 0;                                      
ffc148fc:	98 7f 00 84 	stb     r3,132(r31)                            
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
ffc14900:	98 1f 00 85 	stb     r0,133(r31)                            
    }                                                                 
                                                                      
    sec_of_fat = ((fs_info->c.blk_num >= fs_info->vol.fat_loc) &&     
ffc14904:	80 1f 00 80 	lwz     r0,128(r31)                            
ffc14908:	3b a0 00 00 	li      r29,0                                  
ffc1490c:	a1 3f 00 14 	lhz     r9,20(r31)                             
ffc14910:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc14914:	41 9c 00 14 	blt-    cr7,ffc14928 <fat_buf_access+0x8c>     <== NEVER TAKEN
ffc14918:	83 bf 00 1c 	lwz     r29,28(r31)                            
ffc1491c:	7f bd 00 10 	subfc   r29,r29,r0                             
ffc14920:	7f bd e9 10 	subfe   r29,r29,r29                            
ffc14924:	7f bd 00 d0 	neg     r29,r29                                
                  (fs_info->c.blk_num < fs_info->vol.rdir_loc));      
                                                                      
    if (fs_info->c.blk_num != blk)                                    
ffc14928:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc1492c:	41 9e 01 40 	beq-    cr7,ffc14a6c <fat_buf_access+0x1d0>    
    {                                                                 
        if (fs_info->c.modified)                                      
ffc14930:	8b 5f 00 84 	lbz     r26,132(r31)                           
ffc14934:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc14938:	41 9e 00 d4 	beq-    cr7,ffc14a0c <fat_buf_access+0x170>    
        {                                                             
            if (sec_of_fat && !fs_info->vol.mirror)                   
ffc1493c:	73 bd 00 ff 	andi.   r29,r29,255                            
ffc14940:	41 82 00 24 	beq-    ffc14964 <fat_buf_access+0xc8>         <== ALWAYS TAKEN
ffc14944:	88 1f 00 48 	lbz     r0,72(r31)                             <== NOT EXECUTED
ffc14948:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1494c:	40 be 00 18 	bne+    cr7,ffc14964 <fat_buf_access+0xc8>     <== NOT EXECUTED
                memcpy(fs_info->sec_buf, fs_info->c.buf->buffer,      
ffc14950:	81 3f 00 88 	lwz     r9,136(r31)                            <== NOT EXECUTED
ffc14954:	80 7f 00 8c 	lwz     r3,140(r31)                            <== NOT EXECUTED
ffc14958:	80 89 00 24 	lwz     r4,36(r9)                              <== NOT EXECUTED
ffc1495c:	a0 bf 00 00 	lhz     r5,0(r31)                              <== NOT EXECUTED
ffc14960:	48 00 97 7d 	bl      ffc1e0dc <memcpy>                      <== NOT EXECUTED
                       fs_info->vol.bps);                             
                                                                      
            sc = rtems_bdbuf_release_modified(fs_info->c.buf);        
ffc14964:	80 7f 00 88 	lwz     r3,136(r31)                            
ffc14968:	4b ff e8 51 	bl      ffc131b8 <rtems_bdbuf_release_modified>
            fs_info->c.state = FAT_CACHE_EMPTY;                       
ffc1496c:	38 00 00 00 	li      r0,0                                   
            fs_info->c.modified = 0;                                  
            if (sc != RTEMS_SUCCESSFUL)                               
ffc14970:	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;                       
ffc14974:	98 1f 00 85 	stb     r0,133(r31)                            
            fs_info->c.modified = 0;                                  
ffc14978:	98 1f 00 84 	stb     r0,132(r31)                            
            if (sc != RTEMS_SUCCESSFUL)                               
ffc1497c:	40 9e 00 d0 	bne-    cr7,ffc14a4c <fat_buf_access+0x1b0>    <== NEVER TAKEN
                rtems_set_errno_and_return_minus_one(EIO);            
                                                                      
            if (sec_of_fat && !fs_info->vol.mirror)                   
ffc14980:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc14984:	41 9e 00 9c 	beq-    cr7,ffc14a20 <fat_buf_access+0x184>    <== ALWAYS TAKEN
ffc14988:	88 1f 00 48 	lbz     r0,72(r31)                             <== NOT EXECUTED
ffc1498c:	3b a0 00 01 	li      r29,1                                  <== NOT EXECUTED
ffc14990:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc14994:	41 9e 00 68 	beq-    cr7,ffc149fc <fat_buf_access+0x160>    <== NOT EXECUTED
ffc14998:	48 00 00 88 	b       ffc14a20 <fat_buf_access+0x184>        <== NOT EXECUTED
                                                                      
                for (i = 1; i < fs_info->vol.fats; i++)               
                {                                                     
                    sc = rtems_bdbuf_get(fs_info->vol.dev,            
                                         fs_info->c.blk_num +         
                                         fs_info->vol.fat_length * i, 
ffc1499c:	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,            
ffc149a0:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc149a4:	80 1f 00 80 	lwz     r0,128(r31)                            <== NOT EXECUTED
                                         fs_info->c.blk_num +         
                                         fs_info->vol.fat_length * i, 
ffc149a8:	7c bd 29 d6 	mullw   r5,r29,r5                              <== NOT EXECUTED
            {                                                         
                rtems_bdbuf_buffer *b;                                
                                                                      
                for (i = 1; i < fs_info->vol.fats; i++)               
                {                                                     
                    sc = rtems_bdbuf_get(fs_info->vol.dev,            
ffc149ac:	80 7f 00 58 	lwz     r3,88(r31)                             <== NOT EXECUTED
ffc149b0:	80 9f 00 5c 	lwz     r4,92(r31)                             <== NOT EXECUTED
ffc149b4:	7c a5 02 14 	add     r5,r5,r0                               <== NOT EXECUTED
ffc149b8:	4b ff e3 c5 	bl      ffc12d7c <rtems_bdbuf_get>             <== NOT EXECUTED
                                         fs_info->c.blk_num +         
                                         fs_info->vol.fat_length * i, 
                                         &b);                         
                    if ( sc != RTEMS_SUCCESSFUL)                      
ffc149bc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc149c0:	40 9e 00 28 	bne-    cr7,ffc149e8 <fat_buf_access+0x14c>    <== NOT EXECUTED
                        rtems_set_errno_and_return_minus_one(ENOMEM); 
                    memcpy(b->buffer, fs_info->sec_buf, fs_info->vol.bps);
ffc149c4:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
ffc149c8:	80 9f 00 8c 	lwz     r4,140(r31)                            <== NOT EXECUTED
ffc149cc:	80 69 00 24 	lwz     r3,36(r9)                              <== NOT EXECUTED
ffc149d0:	a0 bf 00 00 	lhz     r5,0(r31)                              <== NOT EXECUTED
ffc149d4:	48 00 97 09 	bl      ffc1e0dc <memcpy>                      <== NOT EXECUTED
                    sc = rtems_bdbuf_release_modified(b);             
ffc149d8:	80 61 00 08 	lwz     r3,8(r1)                               <== NOT EXECUTED
ffc149dc:	4b ff e7 dd 	bl      ffc131b8 <rtems_bdbuf_release_modified><== NOT EXECUTED
                    if ( sc != RTEMS_SUCCESSFUL)                      
ffc149e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc149e4:	41 be 00 10 	beq+    cr7,ffc149f4 <fat_buf_access+0x158>    <== NOT EXECUTED
                        rtems_set_errno_and_return_minus_one(ENOMEM); 
ffc149e8:	48 00 88 c1 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc149ec:	38 00 00 0c 	li      r0,12                                  <== NOT EXECUTED
ffc149f0:	48 00 00 64 	b       ffc14a54 <fat_buf_access+0x1b8>        <== NOT EXECUTED
                                                                      
            if (sec_of_fat && !fs_info->vol.mirror)                   
            {                                                         
                rtems_bdbuf_buffer *b;                                
                                                                      
                for (i = 1; i < fs_info->vol.fats; i++)               
ffc149f4:	3b bd 00 01 	addi    r29,r29,1                              <== NOT EXECUTED
ffc149f8:	57 bd 06 3e 	clrlwi  r29,r29,24                             <== NOT EXECUTED
ffc149fc:	88 1f 00 09 	lbz     r0,9(r31)                              <== NOT EXECUTED
ffc14a00:	7f 80 e8 40 	cmplw   cr7,r0,r29                             <== NOT EXECUTED
ffc14a04:	41 9d ff 98 	bgt+    cr7,ffc1499c <fat_buf_access+0x100>    <== NOT EXECUTED
ffc14a08:	48 00 00 18 	b       ffc14a20 <fat_buf_access+0x184>        <== NOT EXECUTED
                }                                                     
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            sc = rtems_bdbuf_release(fs_info->c.buf);                 
ffc14a0c:	80 7f 00 88 	lwz     r3,136(r31)                            
ffc14a10:	4b ff e6 c5 	bl      ffc130d4 <rtems_bdbuf_release>         
            fs_info->c.state = FAT_CACHE_EMPTY;                       
ffc14a14:	9b 5f 00 85 	stb     r26,133(r31)                           
            if (sc != RTEMS_SUCCESSFUL)                               
ffc14a18:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc14a1c:	40 9e 00 30 	bne-    cr7,ffc14a4c <fat_buf_access+0x1b0>    <== NEVER TAKEN
                rtems_set_errno_and_return_minus_one(EIO);            
                                                                      
        }                                                             
        if (op_type == FAT_OP_TYPE_READ)                              
ffc14a20:	2f 9c 00 01 	cmpwi   cr7,r28,1                              
ffc14a24:	80 7f 00 58 	lwz     r3,88(r31)                             
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
ffc14a28:	7f c5 f3 78 	mr      r5,r30                                 
ffc14a2c:	80 9f 00 5c 	lwz     r4,92(r31)                             
ffc14a30:	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)                              
ffc14a34:	40 be 00 0c 	bne+    cr7,ffc14a40 <fat_buf_access+0x1a4>    
            sc = rtems_bdbuf_read(fs_info->vol.dev, blk, &fs_info->c.buf);
ffc14a38:	4b ff e4 21 	bl      ffc12e58 <rtems_bdbuf_read>            
ffc14a3c:	48 00 00 08 	b       ffc14a44 <fat_buf_access+0x1a8>        
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dev, blk, &fs_info->c.buf);
ffc14a40:	4b ff e3 3d 	bl      ffc12d7c <rtems_bdbuf_get>             
        if (sc != RTEMS_SUCCESSFUL)                                   
ffc14a44:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc14a48:	41 be 00 18 	beq+    cr7,ffc14a60 <fat_buf_access+0x1c4>    <== ALWAYS TAKEN
            rtems_set_errno_and_return_minus_one(EIO);                
ffc14a4c:	48 00 88 5d 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc14a50:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc14a54:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc14a58:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc14a5c:	48 00 00 1c 	b       ffc14a78 <fat_buf_access+0x1dc>        <== NOT EXECUTED
        fs_info->c.blk_num = blk;                                     
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
ffc14a60:	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;                                     
ffc14a64:	93 df 00 80 	stw     r30,128(r31)                           
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
ffc14a68:	98 1f 00 85 	stb     r0,133(r31)                            
    }                                                                 
    *buf = fs_info->c.buf;                                            
ffc14a6c:	80 1f 00 88 	lwz     r0,136(r31)                            
    return RC_OK;                                                     
ffc14a70:	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;                                            
ffc14a74:	90 1b 00 00 	stw     r0,0(r27)                              
    return RC_OK;                                                     
}                                                                     
ffc14a78:	39 61 00 30 	addi    r11,r1,48                              
ffc14a7c:	4b fe e0 68 	b       ffc02ae4 <_restgpr_26_x>               
                                                                      

ffc14a80 <fat_buf_release>: int fat_buf_release(fat_fs_info_t *fs_info) {
ffc14a80:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc14a84:	7c 08 02 a6 	mflr    r0                                     
ffc14a88:	bf c1 00 18 	stmw    r30,24(r1)                             
ffc14a8c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc14a90:	90 01 00 24 	stw     r0,36(r1)                              
    rtems_status_code sc = RTEMS_SUCCESSFUL;                          
    uint8_t           i;                                              
    bool              sec_of_fat;                                     
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
ffc14a94:	88 03 00 85 	lbz     r0,133(r3)                             
        return RC_OK;                                                 
ffc14a98:	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)                          
ffc14a9c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc14aa0:	41 9e 01 2c 	beq-    cr7,ffc14bcc <fat_buf_release+0x14c>   
        return RC_OK;                                                 
                                                                      
    sec_of_fat = ((fs_info->c.blk_num >= fs_info->vol.fat_loc) &&     
ffc14aa4:	80 1f 00 80 	lwz     r0,128(r31)                            
ffc14aa8:	3b c0 00 00 	li      r30,0                                  
ffc14aac:	a1 3f 00 14 	lhz     r9,20(r31)                             
ffc14ab0:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc14ab4:	41 9c 00 14 	blt-    cr7,ffc14ac8 <fat_buf_release+0x48>    <== NEVER TAKEN
    *buf = fs_info->c.buf;                                            
    return RC_OK;                                                     
}                                                                     
                                                                      
int                                                                   
fat_buf_release(fat_fs_info_t *fs_info)                               
ffc14ab8:	83 df 00 1c 	lwz     r30,28(r31)                            
ffc14abc:	7f de 00 10 	subfc   r30,r30,r0                             
ffc14ac0:	7f de f1 10 	subfe   r30,r30,r30                            
ffc14ac4:	7f de 00 d0 	neg     r30,r30                                
        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)                                          
ffc14ac8:	88 1f 00 84 	lbz     r0,132(r31)                            
ffc14acc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc14ad0:	41 9e 00 cc 	beq-    cr7,ffc14b9c <fat_buf_release+0x11c>   
    {                                                                 
        if (sec_of_fat && !fs_info->vol.mirror)                       
ffc14ad4:	73 de 00 ff 	andi.   r30,r30,255                            
ffc14ad8:	41 82 00 24 	beq-    ffc14afc <fat_buf_release+0x7c>        
ffc14adc:	88 1f 00 48 	lbz     r0,72(r31)                             
ffc14ae0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc14ae4:	40 be 00 18 	bne+    cr7,ffc14afc <fat_buf_release+0x7c>    <== NEVER TAKEN
            memcpy(fs_info->sec_buf, fs_info->c.buf->buffer, fs_info->vol.bps);
ffc14ae8:	81 3f 00 88 	lwz     r9,136(r31)                            
ffc14aec:	80 7f 00 8c 	lwz     r3,140(r31)                            
ffc14af0:	80 89 00 24 	lwz     r4,36(r9)                              
ffc14af4:	a0 bf 00 00 	lhz     r5,0(r31)                              
ffc14af8:	48 00 95 e5 	bl      ffc1e0dc <memcpy>                      
                                                                      
        sc = rtems_bdbuf_release_modified(fs_info->c.buf);            
ffc14afc:	80 7f 00 88 	lwz     r3,136(r31)                            
ffc14b00:	4b ff e6 b9 	bl      ffc131b8 <rtems_bdbuf_release_modified>
        if (sc != RTEMS_SUCCESSFUL)                                   
ffc14b04:	2c 03 00 00 	cmpwi   r3,0                                   
ffc14b08:	40 82 00 a4 	bne-    ffc14bac <fat_buf_release+0x12c>       <== NEVER TAKEN
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.modified = 0;                                      
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
ffc14b0c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
            memcpy(fs_info->sec_buf, fs_info->c.buf->buffer, fs_info->vol.bps);
                                                                      
        sc = rtems_bdbuf_release_modified(fs_info->c.buf);            
        if (sc != RTEMS_SUCCESSFUL)                                   
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.modified = 0;                                      
ffc14b10:	98 7f 00 84 	stb     r3,132(r31)                            
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
ffc14b14:	41 9e 00 ac 	beq-    cr7,ffc14bc0 <fat_buf_release+0x140>   
ffc14b18:	88 1f 00 48 	lbz     r0,72(r31)                             
ffc14b1c:	3b c0 00 01 	li      r30,1                                  
ffc14b20:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc14b24:	41 9e 00 68 	beq-    cr7,ffc14b8c <fat_buf_release+0x10c>   <== ALWAYS TAKEN
ffc14b28:	48 00 00 98 	b       ffc14bc0 <fat_buf_release+0x140>       <== NOT EXECUTED
                                                                      
            for (i = 1; i < fs_info->vol.fats; i++)                   
            {                                                         
                sc = rtems_bdbuf_get(fs_info->vol.dev,                
                                     fs_info->c.blk_num +             
                                     fs_info->vol.fat_length * i,     
ffc14b2c:	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,                
ffc14b30:	38 c1 00 08 	addi    r6,r1,8                                
ffc14b34:	80 1f 00 80 	lwz     r0,128(r31)                            
                                     fs_info->c.blk_num +             
                                     fs_info->vol.fat_length * i,     
ffc14b38:	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,                
ffc14b3c:	80 7f 00 58 	lwz     r3,88(r31)                             
ffc14b40:	80 9f 00 5c 	lwz     r4,92(r31)                             
ffc14b44:	7c a5 02 14 	add     r5,r5,r0                               
ffc14b48:	4b ff e2 35 	bl      ffc12d7c <rtems_bdbuf_get>             
                                     fs_info->c.blk_num +             
                                     fs_info->vol.fat_length * i,     
                                     &b);                             
                if ( sc != RTEMS_SUCCESSFUL)                          
ffc14b4c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc14b50:	40 9e 00 28 	bne-    cr7,ffc14b78 <fat_buf_release+0xf8>    <== NEVER TAKEN
                    rtems_set_errno_and_return_minus_one(ENOMEM);     
                memcpy(b->buffer, fs_info->sec_buf, fs_info->vol.bps);
ffc14b54:	81 21 00 08 	lwz     r9,8(r1)                               
ffc14b58:	80 9f 00 8c 	lwz     r4,140(r31)                            
ffc14b5c:	80 69 00 24 	lwz     r3,36(r9)                              
ffc14b60:	a0 bf 00 00 	lhz     r5,0(r31)                              
ffc14b64:	48 00 95 79 	bl      ffc1e0dc <memcpy>                      
                sc = rtems_bdbuf_release_modified(b);                 
ffc14b68:	80 61 00 08 	lwz     r3,8(r1)                               
ffc14b6c:	4b ff e6 4d 	bl      ffc131b8 <rtems_bdbuf_release_modified>
                if ( sc != RTEMS_SUCCESSFUL)                          
ffc14b70:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc14b74:	41 be 00 10 	beq+    cr7,ffc14b84 <fat_buf_release+0x104>   <== ALWAYS TAKEN
                    rtems_set_errno_and_return_minus_one(ENOMEM);     
ffc14b78:	48 00 87 31 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc14b7c:	38 00 00 0c 	li      r0,12                                  <== NOT EXECUTED
ffc14b80:	48 00 00 34 	b       ffc14bb4 <fat_buf_release+0x134>       <== NOT EXECUTED
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
        {                                                             
            rtems_bdbuf_buffer *b;                                    
                                                                      
            for (i = 1; i < fs_info->vol.fats; i++)                   
ffc14b84:	3b de 00 01 	addi    r30,r30,1                              
ffc14b88:	57 de 06 3e 	clrlwi  r30,r30,24                             
ffc14b8c:	88 1f 00 09 	lbz     r0,9(r31)                              
ffc14b90:	7f 80 f0 40 	cmplw   cr7,r0,r30                             
ffc14b94:	41 9d ff 98 	bgt+    cr7,ffc14b2c <fat_buf_release+0xac>    
ffc14b98:	48 00 00 28 	b       ffc14bc0 <fat_buf_release+0x140>       
            }                                                         
        }                                                             
    }                                                                 
    else                                                              
    {                                                                 
        sc = rtems_bdbuf_release(fs_info->c.buf);                     
ffc14b9c:	80 7f 00 88 	lwz     r3,136(r31)                            
ffc14ba0:	4b ff e5 35 	bl      ffc130d4 <rtems_bdbuf_release>         
        if (sc != RTEMS_SUCCESSFUL)                                   
ffc14ba4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc14ba8:	41 be 00 18 	beq+    cr7,ffc14bc0 <fat_buf_release+0x140>   <== ALWAYS TAKEN
            rtems_set_errno_and_return_minus_one(EIO);                
ffc14bac:	48 00 86 fd 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc14bb0:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc14bb4:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc14bb8:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc14bbc:	48 00 00 10 	b       ffc14bcc <fat_buf_release+0x14c>       <== NOT EXECUTED
    }                                                                 
    fs_info->c.state = FAT_CACHE_EMPTY;                               
ffc14bc0:	38 00 00 00 	li      r0,0                                   
ffc14bc4:	98 1f 00 85 	stb     r0,133(r31)                            
    return RC_OK;                                                     
ffc14bc8:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc14bcc:	39 61 00 20 	addi    r11,r1,32                              
ffc14bd0:	4b fe df 24 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

ffc13b9c <fat_cluster_num_to_sector_num.isra.0>: uint32_t cln ) { register fat_fs_info_t *fs_info = mt_entry->fs_info; if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc13b9c:	7c 89 23 79 	mr.     r9,r4                                  
ffc13ba0:	40 82 00 18 	bne-    ffc13bb8 <fat_cluster_num_to_sector_num.isra.0+0x1c>
ffc13ba4:	88 03 00 0a 	lbz     r0,10(r3)                              
ffc13ba8:	70 0b 00 03 	andi.   r11,r0,3                               
ffc13bac:	41 a2 00 0c 	beq+    ffc13bb8 <fat_cluster_num_to_sector_num.isra.0+0x1c><== NEVER TAKEN
        return fs_info->vol.rdir_loc;                                 
ffc13bb0:	80 63 00 1c 	lwz     r3,28(r3)                              
ffc13bb4:	4e 80 00 20 	blr                                            
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc13bb8:	88 03 00 05 	lbz     r0,5(r3)                               
ffc13bbc:	39 29 ff fe 	addi    r9,r9,-2                               
ffc13bc0:	7d 29 00 30 	slw     r9,r9,r0                               
ffc13bc4:	80 03 00 30 	lwz     r0,48(r3)                              
ffc13bc8:	7c 69 02 14 	add     r3,r9,r0                               
            fs_info->vol.data_fsec);                                  
}                                                                     
ffc13bcc:	4e 80 00 20 	blr                                            
                                                                      

ffc14d48 <fat_cluster_read>: fat_cluster_read( rtems_filesystem_mount_table_entry_t *mt_entry, uint32_t cln, void *buff ) {
ffc14d48:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc14d4c:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc14d50:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
ffc14d54:	bf a1 00 0c 	stmw    r29,12(r1)                             <== NOT EXECUTED
ffc14d58:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
ffc14d5c:	7c bf 2b 78 	mr      r31,r5                                 <== NOT EXECUTED
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc14d60:	83 a3 00 34 	lwz     r29,52(r3)                             <== NOT EXECUTED
    uint32_t       fsec = 0;                                          
                                                                      
    fsec = fat_cluster_num_to_sector_num(mt_entry, cln);              
ffc14d64:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc14d68:	4b ff fb 01 	bl      ffc14868 <fat_cluster_num_to_sector_num.isra.0><== NOT EXECUTED
                                                                      
    return _fat_block_read(mt_entry, fsec, 0,                         
                           fs_info->vol.spc << fs_info->vol.sec_log2, buff);
ffc14d6c:	88 1d 00 02 	lbz     r0,2(r29)                              <== NOT EXECUTED
ffc14d70:	88 dd 00 04 	lbz     r6,4(r29)                              <== 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);              
ffc14d74:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
                                                                      
    return _fat_block_read(mt_entry, fsec, 0,                         
ffc14d78:	7f e7 fb 78 	mr      r7,r31                                 <== NOT EXECUTED
ffc14d7c:	7c c6 00 30 	slw     r6,r6,r0                               <== NOT EXECUTED
                           fs_info->vol.spc << fs_info->vol.sec_log2, buff);
}                                                                     
ffc14d80:	80 01 00 1c 	lwz     r0,28(r1)                              <== 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,                         
ffc14d84:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
                           fs_info->vol.spc << fs_info->vol.sec_log2, buff);
}                                                                     
ffc14d88:	bb a1 00 0c 	lmw     r29,12(r1)                             <== NOT EXECUTED
ffc14d8c:	7c 08 03 a6 	mtlr    r0                                     <== 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,                         
ffc14d90:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
                           fs_info->vol.spc << fs_info->vol.sec_log2, buff);
}                                                                     
ffc14d94:	38 21 00 18 	addi    r1,r1,24                               <== 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,                         
ffc14d98:	4b ff fe 3c 	b       ffc14bd4 <_fat_block_read>             <== NOT EXECUTED
                                                                      

ffc14fc8 <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 ) {
ffc14fc8:	94 21 ff d8 	stwu    r1,-40(r1)                             <== NOT EXECUTED
ffc14fcc:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc14fd0:	90 01 00 2c 	stw     r0,44(r1)                              <== NOT EXECUTED
ffc14fd4:	bf a1 00 1c 	stmw    r29,28(r1)                             <== NOT EXECUTED
ffc14fd8:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
    ssize_t                 ret1 = 0, ret2 = 0;                       
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
ffc14fdc:	83 e3 00 34 	lwz     r31,52(r3)                             <== NOT EXECUTED
  uint32_t value                                                      
)                                                                     
{                                                                     
  uint32_t   swapped;                                                 
                                                                      
  __asm__ volatile("rlwimi %0,%1,8,24,31;"                            
ffc14fe0:	50 80 46 3e 	rlwimi  r0,r4,8,24,31                          <== NOT EXECUTED
ffc14fe4:	50 80 c4 2e 	rlwimi  r0,r4,24,16,23                         <== NOT EXECUTED
ffc14fe8:	50 80 42 1e 	rlwimi  r0,r4,8,8,15                           <== NOT EXECUTED
ffc14fec:	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);                              
ffc14ff0:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
ffc14ff4:	50 a0 46 3e 	rlwimi  r0,r5,8,24,31                          <== NOT EXECUTED
ffc14ff8:	50 a0 c4 2e 	rlwimi  r0,r5,24,16,23                         <== NOT EXECUTED
ffc14ffc:	50 a0 42 1e 	rlwimi  r0,r5,8,8,15                           <== NOT EXECUTED
ffc15000:	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,                                 
ffc15004:	a0 9f 00 3c 	lhz     r4,60(r31)                             <== NOT EXECUTED
ffc15008:	38 a0 01 e8 	li      r5,488                                 <== NOT EXECUTED
ffc1500c:	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);                                
ffc15010:	90 01 00 08 	stw     r0,8(r1)                               <== NOT EXECUTED
                                                                      
    ret1 = _fat_block_write(mt_entry,                                 
ffc15014:	38 e1 00 0c 	addi    r7,r1,12                               <== NOT EXECUTED
ffc15018:	4b ff fc 69 	bl      ffc14c80 <_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,                                 
ffc1501c:	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,                                 
ffc15020:	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,                                 
ffc15024:	38 a0 01 ec 	li      r5,492                                 <== NOT EXECUTED
ffc15028:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1502c:	38 c0 00 04 	li      r6,4                                   <== NOT EXECUTED
ffc15030:	38 e1 00 08 	addi    r7,r1,8                                <== NOT EXECUTED
ffc15034:	4b ff fc 4d 	bl      ffc14c80 <_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) )                                   
ffc15038:	2f 9d 00 00 	cmpwi   cr7,r29,0                              <== NOT EXECUTED
        return -1;                                                    
ffc1503c:	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) )                                   
ffc15040:	41 9c 00 08 	blt-    cr7,ffc15048 <fat_fat32_update_fsinfo_sector+0x80><== NOT EXECUTED
        return -1;                                                    
ffc15044:	7c 60 fe 70 	srawi   r0,r3,31                               <== NOT EXECUTED
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc15048:	39 61 00 28 	addi    r11,r1,40                              <== NOT EXECUTED
ffc1504c:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
ffc15050:	4b fe da a0 	b       ffc02af0 <_restgpr_29_x>               <== NOT EXECUTED
                                                                      

ffc140e4 <fat_file_close>: int fat_file_close( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd ) {
ffc140e4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc140e8:	7c 08 02 a6 	mflr    r0                                     
ffc140ec:	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)                                        
ffc140f0:	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                      
    )                                                                 
{                                                                     
ffc140f4:	bf 81 00 08 	stmw    r28,8(r1)                              
ffc140f8:	7c 7e 1b 78 	mr      r30,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)                                        
ffc140fc:	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                      
    )                                                                 
{                                                                     
ffc14100:	7c 9f 23 78 	mr      r31,r4                                 
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc14104:	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)                                        
ffc14108:	40 9d 00 14 	ble-    cr7,ffc1411c <fat_file_close+0x38>     
    {                                                                 
        fat_fd->links_num--;                                          
ffc1410c:	39 29 ff ff 	addi    r9,r9,-1                               
ffc14110:	91 24 00 08 	stw     r9,8(r4)                               
        return rc;                                                    
ffc14114:	38 60 00 00 	li      r3,0                                   
ffc14118:	48 00 00 7c 	b       ffc14194 <fat_file_close+0xb0>         
    }                                                                 
                                                                      
    key = fat_construct_key(mt_entry, &fat_fd->dir_pos.sname);        
                                                                      
    if (fat_fd->flags & FAT_FILE_REMOVED)                             
ffc1411c:	88 04 00 30 	lbz     r0,48(r4)                              
ffc14120:	70 1c 00 01 	andi.   r28,r0,1                               
ffc14124:	41 82 00 40 	beq-    ffc14164 <fat_file_close+0x80>         <== ALWAYS TAKEN
    {                                                                 
        rc = fat_file_truncate(mt_entry, fat_fd, 0);                  
ffc14128:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc1412c:	4b ff fe a1 	bl      ffc13fcc <fat_file_truncate>           <== NOT EXECUTED
        if ( rc != RC_OK )                                            
ffc14130:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc14134:	40 a2 00 60 	bne+    ffc14194 <fat_file_close+0xb0>         <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc14138:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1413c:	4b ff 88 b1 	bl      ffc0c9ec <_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) )               
ffc14140:	80 9f 00 0c 	lwz     r4,12(r31)                             <== NOT EXECUTED
ffc14144:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc14148:	48 00 0e 69 	bl      ffc14fb0 <fat_ino_is_unique>           <== NOT EXECUTED
ffc1414c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc14150:	41 be 00 34 	beq+    cr7,ffc14184 <fat_file_close+0xa0>     <== NOT EXECUTED
            fat_free_unique_ino(mt_entry, fat_fd->ino);               
ffc14154:	80 9f 00 0c 	lwz     r4,12(r31)                             <== NOT EXECUTED
ffc14158:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1415c:	48 00 0e 25 	bl      ffc14f80 <fat_free_unique_ino>         <== NOT EXECUTED
ffc14160:	48 00 00 24 	b       ffc14184 <fat_file_close+0xa0>         <== NOT EXECUTED
                                                                      
        free(fat_fd);                                                 
    }                                                                 
    else                                                              
    {                                                                 
        if (fat_ino_is_unique(mt_entry, fat_fd->ino))                 
ffc14164:	80 84 00 0c 	lwz     r4,12(r4)                              
ffc14168:	48 00 0e 49 	bl      ffc14fb0 <fat_ino_is_unique>           
ffc1416c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc14170:	41 9e 00 0c 	beq-    cr7,ffc1417c <fat_file_close+0x98>     <== ALWAYS TAKEN
        {                                                             
            fat_fd->links_num = 0;                                    
ffc14174:	93 9f 00 08 	stw     r28,8(r31)                             <== NOT EXECUTED
ffc14178:	48 00 00 14 	b       ffc1418c <fat_file_close+0xa8>         <== NOT EXECUTED
ffc1417c:	7f e3 fb 78 	mr      r3,r31                                 
ffc14180:	4b ff 88 6d 	bl      ffc0c9ec <_Chain_Extract>              
        }                                                             
        else                                                          
        {                                                             
            _hash_delete(fs_info->vhash, key, fat_fd->ino, fat_fd);   
            free(fat_fd);                                             
ffc14184:	7f e3 fb 78 	mr      r3,r31                                 
ffc14188:	4b ff 37 61 	bl      ffc078e8 <free>                        
        }                                                             
    }                                                                 
    /*                                                                
     * flush any modified "cached" buffer back to disk                
     */                                                               
    rc = fat_buf_release(fs_info);                                    
ffc1418c:	7f a3 eb 78 	mr      r3,r29                                 
ffc14190:	48 00 08 f1 	bl      ffc14a80 <fat_buf_release>             
                                                                      
    return rc;                                                        
}                                                                     
ffc14194:	39 61 00 18 	addi    r11,r1,24                              
ffc14198:	4b fe e9 54 	b       ffc02aec <_restgpr_28_x>               
                                                                      

ffc146c0 <fat_file_datasync>: int fat_file_datasync( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd ) {
ffc146c0:	94 21 ff d0 	stwu    r1,-48(r1)                             <== NOT EXECUTED
ffc146c4:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc146c8:	90 01 00 34 	stw     r0,52(r1)                              <== 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;                        
ffc146cc:	80 04 00 1c 	lwz     r0,28(r4)                              <== NOT EXECUTED
int                                                                   
fat_file_datasync(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
ffc146d0:	bf 61 00 1c 	stmw    r27,28(r1)                             <== NOT EXECUTED
ffc146d4:	7c 7c 1b 78 	mr      r28,r3                                 <== 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;                                                 
ffc146d8:	3b e0 00 00 	li      r31,0                                  <== 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;                        
ffc146dc:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
    rtems_bdbuf_buffer *block = NULL;                                 
ffc146e0:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc146e4:	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)                                   
ffc146e8:	80 04 00 18 	lwz     r0,24(r4)                              <== NOT EXECUTED
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
    int                 rc = RC_OK;                                   
    rtems_status_code   sc = RTEMS_SUCCESSFUL;                        
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
ffc146ec:	83 c3 00 34 	lwz     r30,52(r3)                             <== 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)                                   
ffc146f0:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc146f4:	41 be 00 b4 	beq+    cr7,ffc147a8 <fat_file_datasync+0xe8>  <== 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);                                    
ffc146f8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc146fc:	48 00 03 85 	bl      ffc14a80 <fat_buf_release>             <== NOT EXECUTED
    if (rc != RC_OK)                                                  
ffc14700:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc14704:	41 a2 00 84 	beq+    ffc14788 <fat_file_datasync+0xc8>      <== NOT EXECUTED
ffc14708:	48 00 00 a0 	b       ffc147a8 <fat_file_datasync+0xe8>      <== NOT EXECUTED
        return rc;                                                    
                                                                      
    /* for each cluster of the file ... */                            
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
ffc1470c:	80 7c 00 34 	lwz     r3,52(r28)                             <== NOT EXECUTED
        /* for each sector in cluster ... */                          
        for ( i = 0; i < fs_info->vol.spc; i++ )                      
ffc14710:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
        return rc;                                                    
                                                                      
    /* for each cluster of the file ... */                            
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
ffc14714:	4b ff f4 89 	bl      ffc13b9c <fat_cluster_num_to_sector_num.isra.0><== NOT EXECUTED
ffc14718:	7c 7b 1b 78 	mr      r27,r3                                 <== NOT EXECUTED
        /* for each sector in cluster ... */                          
        for ( i = 0; i < fs_info->vol.spc; i++ )                      
ffc1471c:	48 00 00 48 	b       ffc14764 <fat_file_datasync+0xa4>      <== NOT EXECUTED
        {                                                             
            /* ... sync it */                                         
            sc = rtems_bdbuf_read(fs_info->vol.dev, (sec + i), &block);
ffc14720:	80 7e 00 58 	lwz     r3,88(r30)                             <== NOT EXECUTED
ffc14724:	7c bd da 14 	add     r5,r29,r27                             <== NOT EXECUTED
ffc14728:	80 9e 00 5c 	lwz     r4,92(r30)                             <== NOT EXECUTED
ffc1472c:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc14730:	4b ff e7 29 	bl      ffc12e58 <rtems_bdbuf_read>            <== NOT EXECUTED
            if (sc != RTEMS_SUCCESSFUL)                               
ffc14734:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc14738:	40 9e 00 14 	bne-    cr7,ffc1474c <fat_file_datasync+0x8c>  <== NOT EXECUTED
                rtems_set_errno_and_return_minus_one( EIO );          
                                                                      
            sc = rtems_bdbuf_sync(block);                             
ffc1473c:	80 61 00 08 	lwz     r3,8(r1)                               <== NOT EXECUTED
ffc14740:	4b ff eb 11 	bl      ffc13250 <rtems_bdbuf_sync>            <== NOT EXECUTED
            if ( sc != RTEMS_SUCCESSFUL )                             
ffc14744:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc14748:	41 be 00 18 	beq+    cr7,ffc14760 <fat_file_datasync+0xa0>  <== NOT EXECUTED
                rtems_set_errno_and_return_minus_one( EIO );          
ffc1474c:	48 00 8b 5d 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc14750:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc14754:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc14758:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc1475c:	48 00 00 4c 	b       ffc147a8 <fat_file_datasync+0xe8>      <== 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++ )                      
ffc14760:	3b bd 00 01 	addi    r29,r29,1                              <== NOT EXECUTED
ffc14764:	88 1e 00 04 	lbz     r0,4(r30)                              <== NOT EXECUTED
ffc14768:	7f 9d 00 40 	cmplw   cr7,r29,r0                             <== NOT EXECUTED
ffc1476c:	41 9c ff b4 	blt+    cr7,ffc14720 <fat_file_datasync+0x60>  <== 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);        
ffc14770:	80 81 00 0c 	lwz     r4,12(r1)                              <== NOT EXECUTED
ffc14774:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc14778:	38 a1 00 0c 	addi    r5,r1,12                               <== NOT EXECUTED
ffc1477c:	48 00 71 cd 	bl      ffc1b948 <fat_get_fat_cluster>         <== NOT EXECUTED
        if ( rc != RC_OK )                                            
ffc14780:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc14784:	40 82 00 20 	bne-    ffc147a4 <fat_file_datasync+0xe4>      <== NOT EXECUTED
    rc = fat_buf_release(fs_info);                                    
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    /* for each cluster of the file ... */                            
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc14788:	80 81 00 0c 	lwz     r4,12(r1)                              <== NOT EXECUTED
ffc1478c:	81 3e 00 0c 	lwz     r9,12(r30)                             <== NOT EXECUTED
ffc14790:	80 1e 00 10 	lwz     r0,16(r30)                             <== NOT EXECUTED
ffc14794:	7c 89 48 38 	and     r9,r4,r9                               <== NOT EXECUTED
ffc14798:	7f 89 00 40 	cmplw   cr7,r9,r0                              <== NOT EXECUTED
ffc1479c:	41 9c ff 70 	blt+    cr7,ffc1470c <fat_file_datasync+0x4c>  <== NOT EXECUTED
ffc147a0:	48 00 00 08 	b       ffc147a8 <fat_file_datasync+0xe8>      <== 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);        
ffc147a4:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
        if ( rc != RC_OK )                                            
            return rc;                                                
    }                                                                 
    return rc;                                                        
}                                                                     
ffc147a8:	39 61 00 30 	addi    r11,r1,48                              <== NOT EXECUTED
ffc147ac:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc147b0:	4b fe e3 38 	b       ffc02ae8 <_restgpr_27_x>               <== NOT EXECUTED
                                                                      

ffc14274 <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 ) {
ffc14274:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc14278:	7c 08 02 a6 	mflr    r0                                     
ffc1427c:	90 01 00 44 	stw     r0,68(r1)                              
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       chain = 0;                                         
ffc14280:	38 00 00 00 	li      r0,0                                   
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              new_length,                 
    uint32_t                             *a_length                    
    )                                                                 
{                                                                     
ffc14284:	be e1 00 1c 	stmw    r23,28(r1)                             
ffc14288:	7c d8 33 78 	mr      r24,r6                                 
ffc1428c:	7c 7d 1b 78 	mr      r29,r3                                 
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc14290:	83 83 00 34 	lwz     r28,52(r3)                             
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              new_length,                 
    uint32_t                             *a_length                    
    )                                                                 
{                                                                     
ffc14294:	7c 9f 23 78 	mr      r31,r4                                 
    uint32_t       old_last_cl;                                       
    uint32_t       last_cl = 0;                                       
    uint32_t       bytes_remain = 0;                                  
    uint32_t       cls_added;                                         
                                                                      
    *a_length = new_length;                                           
ffc14298:	90 b8 00 00 	stw     r5,0(r24)                              
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              new_length,                 
    uint32_t                             *a_length                    
    )                                                                 
{                                                                     
ffc1429c:	7c bb 2b 78 	mr      r27,r5                                 
    uint32_t       cls_added;                                         
                                                                      
    *a_length = new_length;                                           
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
        return RC_OK;                                                 
ffc142a0:	3b c0 00 00 	li      r30,0                                  
    uint32_t       bytes_remain = 0;                                  
    uint32_t       cls_added;                                         
                                                                      
    *a_length = new_length;                                           
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
ffc142a4:	82 e4 00 18 	lwz     r23,24(r4)                             
    uint32_t                             *a_length                    
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       chain = 0;                                         
ffc142a8:	90 01 00 14 	stw     r0,20(r1)                              
    uint32_t       bytes_remain = 0;                                  
    uint32_t       cls_added;                                         
                                                                      
    *a_length = new_length;                                           
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
ffc142ac:	7f 85 b8 40 	cmplw   cr7,r5,r23                             
    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;                                       
ffc142b0:	90 01 00 0c 	stw     r0,12(r1)                              
    uint32_t       bytes_remain = 0;                                  
    uint32_t       cls_added;                                         
                                                                      
    *a_length = new_length;                                           
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
ffc142b4:	40 9d 01 ac 	ble-    cr7,ffc14460 <fat_file_extend+0x1ec>   
        return RC_OK;                                                 
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc142b8:	80 04 00 20 	lwz     r0,32(r4)                              
ffc142bc:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc142c0:	40 be 00 1c 	bne+    cr7,ffc142dc <fat_file_extend+0x68>    <== ALWAYS TAKEN
ffc142c4:	80 04 00 24 	lwz     r0,36(r4)                              <== NOT EXECUTED
ffc142c8:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc142cc:	40 9e 00 10 	bne-    cr7,ffc142dc <fat_file_extend+0x68>    <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
ffc142d0:	88 1c 00 0a 	lbz     r0,10(r28)                             <== 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)) &&                               
ffc142d4:	70 09 00 03 	andi.   r9,r0,3                                <== NOT EXECUTED
ffc142d8:	40 82 00 6c 	bne-    ffc14344 <fat_file_extend+0xd0>        <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
        rtems_set_errno_and_return_minus_one( ENOSPC );               
                                                                      
    bytes_remain = (fs_info->vol.bpc -                                
ffc142dc:	a1 3c 00 06 	lhz     r9,6(r28)                              
     * 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;                                                 
ffc142e0:	3b c0 00 00 	li      r30,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))) &
ffc142e4:	38 09 ff ff 	addi    r0,r9,-1                               
ffc142e8:	7c 1a b8 38 	and     r26,r0,r23                             
                                                                      
    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 -                                
ffc142ec:	7f 5a 48 50 	subf    r26,r26,r9                             
ffc142f0:	7f 5a 00 38 	and     r26,r26,r0                             
                   (fat_fd->fat_file_size & (fs_info->vol.bpc - 1))) &
                   (fs_info->vol.bpc - 1);                            
                                                                      
    bytes2add = new_length - fat_fd->fat_file_size;                   
ffc142f4:	7e f7 d8 50 	subf    r23,r23,r27                            
                                                                      
    if (bytes2add > bytes_remain)                                     
ffc142f8:	7f 97 d0 40 	cmplw   cr7,r23,r26                            
ffc142fc:	40 9d 01 64 	ble-    cr7,ffc14460 <fat_file_extend+0x1ec>   
    /*                                                                
     * 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)                                               
ffc14300:	7e fa b8 51 	subf.   r23,r26,r23                            
ffc14304:	41 82 01 5c 	beq-    ffc14460 <fat_file_extend+0x1ec>       <== NEVER TAKEN
        return RC_OK;                                                 
                                                                      
    cls2add = ((bytes2add - 1) >> fs_info->vol.bpc_log2) + 1;         
ffc14308:	88 1c 00 08 	lbz     r0,8(r28)                              
ffc1430c:	3b 37 ff ff 	addi    r25,r23,-1                             
                                                                      
    rc = fat_scan_fat_for_free_clusters(mt_entry, &chain, cls2add,    
ffc14310:	7f a3 eb 78 	mr      r3,r29                                 
     * file ) - return                                                
     */                                                               
    if (bytes2add == 0)                                               
        return RC_OK;                                                 
                                                                      
    cls2add = ((bytes2add - 1) >> fs_info->vol.bpc_log2) + 1;         
ffc14314:	7f 39 04 30 	srw     r25,r25,r0                             
ffc14318:	3b 39 00 01 	addi    r25,r25,1                              
                                                                      
    rc = fat_scan_fat_for_free_clusters(mt_entry, &chain, cls2add,    
ffc1431c:	38 81 00 14 	addi    r4,r1,20                               
ffc14320:	7f 25 cb 78 	mr      r5,r25                                 
ffc14324:	38 c1 00 08 	addi    r6,r1,8                                
ffc14328:	38 e1 00 0c 	addi    r7,r1,12                               
ffc1432c:	48 00 7b 49 	bl      ffc1be74 <fat_scan_fat_for_free_clusters>
                                        &cls_added, &last_cl);        
                                                                      
    /* this means that low level I/O error occured */                 
    if (rc != RC_OK)                                                  
ffc14330:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc14334:	40 82 01 2c 	bne-    ffc14460 <fat_file_extend+0x1ec>       <== NEVER TAKEN
        return rc;                                                    
                                                                      
    /* this means that no space left on device */                     
    if ((cls_added == 0) && (bytes_remain == 0))                      
ffc14338:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1433c:	7f 49 03 79 	or.     r9,r26,r0                              
ffc14340:	40 a2 00 18 	bne+    ffc14358 <fat_file_extend+0xe4>        <== ALWAYS TAKEN
        rtems_set_errno_and_return_minus_one(ENOSPC);                 
ffc14344:	48 00 8f 65 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc14348:	38 00 00 1c 	li      r0,28                                  <== NOT EXECUTED
ffc1434c:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc14350:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc14354:	48 00 01 0c 	b       ffc14460 <fat_file_extend+0x1ec>       <== NOT EXECUTED
                                                                      
    /*  check wether we satisfied request for 'cls2add' clusters */   
    if (cls2add != cls_added)                                         
ffc14358:	7f 99 00 00 	cmpw    cr7,r25,r0                             
ffc1435c:	41 9e 00 2c 	beq-    cr7,ffc14388 <fat_file_extend+0x114>   <== ALWAYS TAKEN
        *a_length = new_length -                                      
                    ((cls2add - cls_added - 1) << fs_info->vol.bpc_log2) -
ffc14360:	89 3c 00 08 	lbz     r9,8(r28)                              <== NOT EXECUTED
ffc14364:	7c 00 00 f8 	not     r0,r0                                  <== NOT EXECUTED
ffc14368:	7f 20 ca 14 	add     r25,r0,r25                             <== NOT EXECUTED
ffc1436c:	7f 39 48 30 	slw     r25,r25,r9                             <== NOT EXECUTED
                    (bytes2add & (fs_info->vol.bpc - 1));             
ffc14370:	a1 3c 00 06 	lhz     r9,6(r28)                              <== 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 -                                      
ffc14374:	7f 39 d8 50 	subf    r25,r25,r27                            <== NOT EXECUTED
                    ((cls2add - cls_added - 1) << fs_info->vol.bpc_log2) -
                    (bytes2add & (fs_info->vol.bpc - 1));             
ffc14378:	38 09 ff ff 	addi    r0,r9,-1                               <== NOT EXECUTED
ffc1437c:	7e f7 00 38 	and     r23,r23,r0                             <== 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) -
ffc14380:	7e f7 c8 50 	subf    r23,r23,r25                            <== 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 -                                      
ffc14384:	92 f8 00 00 	stw     r23,0(r24)                             <== 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 )                                 
ffc14388:	80 df 00 18 	lwz     r6,24(r31)                             
ffc1438c:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc14390:	40 9e 00 18 	bne-    cr7,ffc143a8 <fat_file_extend+0x134>   
    {                                                                 
        fat_fd->map.disk_cln = fat_fd->cln = chain;                   
ffc14394:	80 01 00 14 	lwz     r0,20(r1)                              
        fat_fd->map.file_cln = 0;                                     
ffc14398:	90 df 00 34 	stw     r6,52(r31)                             
                    (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;                   
ffc1439c:	90 1f 00 1c 	stw     r0,28(r31)                             
ffc143a0:	90 1f 00 38 	stw     r0,56(r31)                             
ffc143a4:	48 00 00 70 	b       ffc14414 <fat_file_extend+0x1a0>       
        fat_fd->map.file_cln = 0;                                     
    }                                                                 
    else                                                              
    {                                                                 
        if (fat_fd->map.last_cln != FAT_UNDEFINED_VALUE)              
ffc143a8:	80 1f 00 3c 	lwz     r0,60(r31)                             
ffc143ac:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc143b0:	41 9e 00 0c 	beq-    cr7,ffc143bc <fat_file_extend+0x148>   <== NEVER TAKEN
        {                                                             
            old_last_cl = fat_fd->map.last_cln;                       
ffc143b4:	90 01 00 10 	stw     r0,16(r1)                              
ffc143b8:	48 00 00 28 	b       ffc143e0 <fat_file_extend+0x16c>       
        }                                                             
        else                                                          
        {                                                             
            rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM,          
ffc143bc:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc143c0:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc143c4:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc143c8:	38 c6 ff ff 	addi    r6,r6,-1                               <== NOT EXECUTED
ffc143cc:	38 e1 00 10 	addi    r7,r1,16                               <== NOT EXECUTED
ffc143d0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc143d4:	4b ff fd c9 	bl      ffc1419c <fat_file_ioctl>              <== NOT EXECUTED
                                (fat_fd->fat_file_size - 1), &old_last_cl);
            if ( rc != RC_OK )                                        
ffc143d8:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
ffc143dc:	40 82 00 1c 	bne-    ffc143f8 <fat_file_extend+0x184>       <== NOT EXECUTED
                fat_free_fat_clusters_chain(mt_entry, chain);         
                return rc;                                            
            }                                                         
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(mt_entry, old_last_cl, chain);       
ffc143e0:	80 81 00 10 	lwz     r4,16(r1)                              
ffc143e4:	7f a3 eb 78 	mr      r3,r29                                 
ffc143e8:	80 a1 00 14 	lwz     r5,20(r1)                              
ffc143ec:	48 00 77 19 	bl      ffc1bb04 <fat_set_fat_cluster>         
        if ( rc != RC_OK )                                            
ffc143f0:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc143f4:	41 a2 00 18 	beq+    ffc1440c <fat_file_extend+0x198>       <== ALWAYS TAKEN
        {                                                             
            fat_free_fat_clusters_chain(mt_entry, chain);             
ffc143f8:	80 81 00 14 	lwz     r4,20(r1)                              <== NOT EXECUTED
ffc143fc:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
            return rc;                                                
ffc14400:	7f 5e d3 78 	mr      r30,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);             
ffc14404:	48 00 79 99 	bl      ffc1bd9c <fat_free_fat_clusters_chain> <== NOT EXECUTED
            return rc;                                                
ffc14408:	48 00 00 58 	b       ffc14460 <fat_file_extend+0x1ec>       <== NOT EXECUTED
        }                                                             
        fat_buf_release(fs_info);                                     
ffc1440c:	7f 83 e3 78 	mr      r3,r28                                 
ffc14410:	48 00 06 71 	bl      ffc14a80 <fat_buf_release>             
    }                                                                 
                                                                      
    /* update number of the last cluster of the file if it changed */ 
    if (cls_added != 0)                                               
ffc14414:	80 01 00 08 	lwz     r0,8(r1)                               
ffc14418:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1441c:	41 9e 00 40 	beq-    cr7,ffc1445c <fat_file_extend+0x1e8>   <== NEVER TAKEN
    {                                                                 
        fat_fd->map.last_cln = last_cl;                               
ffc14420:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc14424:	90 1f 00 3c 	stw     r0,60(r31)                             
        if (fat_fd->fat_file_type == FAT_DIRECTORY)                   
ffc14428:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc1442c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc14430:	40 be 00 2c 	bne+    cr7,ffc1445c <fat_file_extend+0x1e8>   
        {                                                             
            rc = fat_init_clusters_chain(mt_entry, chain);            
ffc14434:	80 81 00 14 	lwz     r4,20(r1)                              
ffc14438:	7f a3 eb 78 	mr      r3,r29                                 
ffc1443c:	48 00 09 b5 	bl      ffc14df0 <fat_init_clusters_chain>     
            if ( rc != RC_OK )                                        
ffc14440:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc14444:	41 a2 00 18 	beq+    ffc1445c <fat_file_extend+0x1e8>       <== ALWAYS TAKEN
            {                                                         
                fat_free_fat_clusters_chain(mt_entry, chain);         
ffc14448:	80 81 00 14 	lwz     r4,20(r1)                              <== NOT EXECUTED
ffc1444c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
                return rc;                                            
ffc14450:	7f 9e e3 78 	mr      r30,r28                                <== 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);         
ffc14454:	48 00 79 49 	bl      ffc1bd9c <fat_free_fat_clusters_chain> <== NOT EXECUTED
                return rc;                                            
ffc14458:	48 00 00 08 	b       ffc14460 <fat_file_extend+0x1ec>       <== NOT EXECUTED
            }                                                         
        }                                                             
    }                                                                 
                                                                      
    fat_fd->fat_file_size = new_length;                               
ffc1445c:	93 7f 00 18 	stw     r27,24(r31)                            
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc14460:	39 61 00 40 	addi    r11,r1,64                              
ffc14464:	7f c3 f3 78 	mr      r3,r30                                 
ffc14468:	4b fe e6 70 	b       ffc02ad8 <_restgpr_23_x>               
                                                                      

ffc1419c <fat_file_ioctl>: fat_file_ioctl( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd, int cmd, ...) {
ffc1419c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc141a0:	7c 08 02 a6 	mflr    r0                                     
    uint32_t      *ret;                                               
    va_list        ap;                                                
                                                                      
    va_start(ap, cmd);                                                
                                                                      
    switch (cmd)                                                      
ffc141a4:	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,                        
    ...)                                                              
{                                                                     
ffc141a8:	90 01 00 34 	stw     r0,52(r1)                              
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = 0;                                       
ffc141ac:	38 00 00 00 	li      r0,0                                   
    uint32_t       cl_start = 0;                                      
    uint32_t       pos = 0;                                           
    uint32_t      *ret;                                               
    va_list        ap;                                                
                                                                      
    va_start(ap, cmd);                                                
ffc141b0:	7c 29 0b 78 	mr      r9,r1                                  
    int                                   cmd,                        
    ...)                                                              
{                                                                     
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = 0;                                       
ffc141b4:	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);                                                
ffc141b8:	38 00 00 03 	li      r0,3                                   
ffc141bc:	98 01 00 0c 	stb     r0,12(r1)                              
ffc141c0:	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,                        
    ...)                                                              
{                                                                     
ffc141c4:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc141c8:	90 e1 00 20 	stw     r7,32(r1)                              
ffc141cc:	bf c1 00 28 	stmw    r30,40(r1)                             
    uint32_t       cl_start = 0;                                      
    uint32_t       pos = 0;                                           
    uint32_t      *ret;                                               
    va_list        ap;                                                
                                                                      
    va_start(ap, cmd);                                                
ffc141d0:	94 09 00 10 	stwu    r0,16(r9)                              
    fat_file_fd_t                        *fat_fd,                     
    int                                   cmd,                        
    ...)                                                              
{                                                                     
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc141d4:	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);                                                
ffc141d8:	91 21 00 14 	stw     r9,20(r1)                              
                                                                      
    switch (cmd)                                                      
ffc141dc:	40 be 00 80 	bne+    cr7,ffc1425c <fat_file_ioctl+0xc0>     <== NEVER TAKEN
    {                                                                 
        case F_CLU_NUM:                                               
            pos = va_arg(ap, uint32_t);                               
            ret = va_arg(ap, uint32_t *);                             
ffc141e0:	3b c0 00 05 	li      r30,5                                  
    va_start(ap, cmd);                                                
                                                                      
    switch (cmd)                                                      
    {                                                                 
        case F_CLU_NUM:                                               
            pos = va_arg(ap, uint32_t);                               
ffc141e4:	80 09 00 0c 	lwz     r0,12(r9)                              
            ret = va_arg(ap, uint32_t *);                             
ffc141e8:	9b c1 00 0c 	stb     r30,12(r1)                             
ffc141ec:	83 e9 00 10 	lwz     r31,16(r9)                             
                                                                      
            /* sanity check */                                        
            if ( pos >= fat_fd->fat_file_size ) {                     
ffc141f0:	81 24 00 18 	lwz     r9,24(r4)                              
ffc141f4:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc141f8:	41 bc 00 10 	blt+    cr7,ffc14208 <fat_file_ioctl+0x6c>     <== ALWAYS TAKEN
                va_end(ap);                                           
                rtems_set_errno_and_return_minus_one( EIO );          
ffc141fc:	48 00 90 ad 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc14200:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc14204:	48 00 00 64 	b       ffc14268 <fat_file_ioctl+0xcc>         <== NOT EXECUTED
            }                                                         
                                                                      
            if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                       
ffc14208:	81 24 00 20 	lwz     r9,32(r4)                              
ffc1420c:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc14210:	40 9e 00 28 	bne-    cr7,ffc14238 <fat_file_ioctl+0x9c>     
ffc14214:	81 24 00 24 	lwz     r9,36(r4)                              
ffc14218:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1421c:	40 9e 00 1c 	bne-    cr7,ffc14238 <fat_file_ioctl+0x9c>     <== NEVER TAKEN
                (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))        
ffc14220:	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)) &&                       
ffc14224:	71 48 00 03 	andi.   r8,r10,3                               
ffc14228:	41 82 00 10 	beq-    ffc14238 <fat_file_ioctl+0x9c>         <== NEVER TAKEN
                (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))        
            {                                                         
                /* cluster 0 (zero) reserved for root dir */          
                *ret  = 0;                                            
ffc1422c:	91 3f 00 00 	stw     r9,0(r31)                              
                rc = RC_OK;                                           
ffc14230:	38 60 00 00 	li      r3,0                                   
                break;                                                
ffc14234:	48 00 00 38 	b       ffc1426c <fat_file_ioctl+0xd0>         
            }                                                         
                                                                      
            cl_start = pos >> fs_info->vol.bpc_log2;                  
ffc14238:	88 ab 00 08 	lbz     r5,8(r11)                              
                                                                      
            rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);
ffc1423c:	38 c1 00 08 	addi    r6,r1,8                                
ffc14240:	7c 05 2c 30 	srw     r5,r0,r5                               
ffc14244:	4b ff f8 a1 	bl      ffc13ae4 <fat_file_lseek>              
            if ( rc != RC_OK )                                        
ffc14248:	7c 83 23 79 	mr.     r3,r4                                  
ffc1424c:	40 82 00 20 	bne-    ffc1426c <fat_file_ioctl+0xd0>         <== NEVER TAKEN
                break;                                                
                                                                      
            *ret = cur_cln;                                           
ffc14250:	80 01 00 08 	lwz     r0,8(r1)                               
ffc14254:	90 1f 00 00 	stw     r0,0(r31)                              
            break;                                                    
ffc14258:	48 00 00 14 	b       ffc1426c <fat_file_ioctl+0xd0>         
                                                                      
        default:                                                      
            errno = EINVAL;                                           
ffc1425c:	48 00 90 4d 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc14260:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc14264:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
            rc = -1;                                                  
ffc14268:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
            break;                                                    
    }                                                                 
    va_end(ap);                                                       
    return rc;                                                        
}                                                                     
ffc1426c:	39 61 00 30 	addi    r11,r1,48                              
ffc14270:	4b fe e8 84 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

ffc13ae4 <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 ) {
ffc13ae4:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc13ae8:	7c 08 02 a6 	mflr    r0                                     
ffc13aec:	90 01 00 34 	stw     r0,52(r1)                              
ffc13af0:	bf 41 00 18 	stmw    r26,24(r1)                             
ffc13af4:	7c 7d 1b 78 	mr      r29,r3                                 
ffc13af8:	7c 9f 23 78 	mr      r31,r4                                 
    int rc = RC_OK;                                                   
                                                                      
    if (file_cln == fat_fd->map.file_cln)                             
ffc13afc:	83 44 00 34 	lwz     r26,52(r4)                             
    rtems_filesystem_mount_table_entry_t  *mt_entry,                  
    fat_file_fd_t                         *fat_fd,                    
    uint32_t                               file_cln,                  
    uint32_t                              *disk_cln                   
    )                                                                 
{                                                                     
ffc13b00:	7c be 2b 78 	mr      r30,r5                                 
ffc13b04:	7c db 33 78 	mr      r27,r6                                 
    int rc = RC_OK;                                                   
                                                                      
    if (file_cln == fat_fd->map.file_cln)                             
ffc13b08:	7f 85 d0 00 	cmpw    cr7,r5,r26                             
ffc13b0c:	40 be 00 10 	bne+    cr7,ffc13b1c <fat_file_lseek+0x38>     <== NEVER TAKEN
        *disk_cln = fat_fd->map.disk_cln;                             
ffc13b10:	80 04 00 38 	lwz     r0,56(r4)                              
ffc13b14:	90 06 00 00 	stw     r0,0(r6)                               
ffc13b18:	48 00 00 6c 	b       ffc13b84 <fat_file_lseek+0xa0>         
    {                                                                 
        uint32_t   cur_cln;                                           
        uint32_t   count;                                             
        uint32_t   i;                                                 
                                                                      
        if (file_cln > fat_fd->map.file_cln)                          
ffc13b1c:	7f 85 d0 40 	cmplw   cr7,r5,r26                             <== NOT EXECUTED
ffc13b20:	40 9d 00 14 	ble-    cr7,ffc13b34 <fat_file_lseek+0x50>     <== NOT EXECUTED
        {                                                             
            cur_cln = fat_fd->map.disk_cln;                           
ffc13b24:	80 04 00 38 	lwz     r0,56(r4)                              <== NOT EXECUTED
            count = file_cln - fat_fd->map.file_cln;                  
ffc13b28:	7f 5a 28 50 	subf    r26,r26,r5                             <== NOT EXECUTED
        uint32_t   count;                                             
        uint32_t   i;                                                 
                                                                      
        if (file_cln > fat_fd->map.file_cln)                          
        {                                                             
            cur_cln = fat_fd->map.disk_cln;                           
ffc13b2c:	90 01 00 08 	stw     r0,8(r1)                               <== NOT EXECUTED
ffc13b30:	48 00 00 10 	b       ffc13b40 <fat_file_lseek+0x5c>         <== NOT EXECUTED
            count = file_cln - fat_fd->map.file_cln;                  
        }                                                             
        else                                                          
        {                                                             
            cur_cln = fat_fd->cln;                                    
ffc13b34:	80 04 00 1c 	lwz     r0,28(r4)                              <== NOT EXECUTED
ffc13b38:	7c ba 2b 78 	mr      r26,r5                                 <== NOT EXECUTED
ffc13b3c:	90 01 00 08 	stw     r0,8(r1)                               <== NOT EXECUTED
            count = file_cln;                                         
        }                                                             
                                                                      
        /* skip over the clusters */                                  
        for (i = 0; i < count; i++)                                   
ffc13b40:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
ffc13b44:	48 00 00 28 	b       ffc13b6c <fat_file_lseek+0x88>         <== NOT EXECUTED
        {                                                             
            rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);    
ffc13b48:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc13b4c:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc13b50:	48 00 7d f9 	bl      ffc1b948 <fat_get_fat_cluster>         <== NOT EXECUTED
            if ( rc != RC_OK )                                        
ffc13b54:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc13b58:	41 a2 00 10 	beq+    ffc13b68 <fat_file_lseek+0x84>         <== NOT EXECUTED
                return rc;                                            
ffc13b5c:	7c 6b 1b 78 	mr      r11,r3                                 <== NOT EXECUTED
ffc13b60:	7c 6a fe 70 	srawi   r10,r3,31                              <== NOT EXECUTED
ffc13b64:	48 00 00 28 	b       ffc13b8c <fat_file_lseek+0xa8>         <== NOT EXECUTED
            cur_cln = fat_fd->cln;                                    
            count = file_cln;                                         
        }                                                             
                                                                      
        /* skip over the clusters */                                  
        for (i = 0; i < count; i++)                                   
ffc13b68:	3b 9c 00 01 	addi    r28,r28,1                              <== NOT EXECUTED
ffc13b6c:	7f 9c d0 00 	cmpw    cr7,r28,r26                            <== NOT EXECUTED
ffc13b70:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc13b74:	40 9e ff d4 	bne+    cr7,ffc13b48 <fat_file_lseek+0x64>     <== NOT EXECUTED
            if ( rc != RC_OK )                                        
                return rc;                                            
        }                                                             
                                                                      
        /* update cache */                                            
        fat_fd->map.file_cln = file_cln;                              
ffc13b78:	93 df 00 34 	stw     r30,52(r31)                            <== NOT EXECUTED
        fat_fd->map.disk_cln = cur_cln;                               
ffc13b7c:	90 9f 00 38 	stw     r4,56(r31)                             <== NOT EXECUTED
                                                                      
        *disk_cln = cur_cln;                                          
ffc13b80:	90 9b 00 00 	stw     r4,0(r27)                              <== NOT EXECUTED
    }                                                                 
    return RC_OK;                                                     
ffc13b84:	39 40 00 00 	li      r10,0                                  
ffc13b88:	39 60 00 00 	li      r11,0                                  
}                                                                     
ffc13b8c:	7d 64 5b 78 	mr      r4,r11                                 
ffc13b90:	39 61 00 30 	addi    r11,r1,48                              
ffc13b94:	7d 43 53 78 	mr      r3,r10                                 
ffc13b98:	4b fe ef 4c 	b       ffc02ae4 <_restgpr_26_x>               
                                                                      

ffc14668 <fat_file_mark_removed>: void fat_file_mark_removed( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd ) {
ffc14668:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc1466c:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc14670:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
ffc14674:	bf a1 00 0c 	stmw    r29,12(r1)                             <== NOT EXECUTED
ffc14678:	7c 9f 23 78 	mr      r31,r4                                 <== NOT EXECUTED
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       key = 0;                                           
                                                                      
    key = fat_construct_key(mt_entry, &fat_fd->dir_pos.sname);        
ffc1467c:	38 84 00 20 	addi    r4,r4,32                               <== NOT EXECUTED
fat_file_mark_removed(                                                
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc14680:	83 c3 00 34 	lwz     r30,52(r3)                             <== NOT EXECUTED
    uint32_t       key = 0;                                           
                                                                      
    key = fat_construct_key(mt_entry, &fat_fd->dir_pos.sname);        
ffc14684:	4b ff f5 4d 	bl      ffc13bd0 <fat_construct_key>           <== NOT EXECUTED
ffc14688:	7c 7d 1b 78 	mr      r29,r3                                 <== 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);
ffc1468c:	57 bd 07 fe 	clrlwi  r29,r29,31                             <== NOT EXECUTED
ffc14690:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc14694:	4b ff 83 59 	bl      ffc0c9ec <_Chain_Extract>              <== NOT EXECUTED
ffc14698:	1f bd 00 0c 	mulli   r29,r29,12                             <== NOT EXECUTED
ffc1469c:	80 7e 00 6c 	lwz     r3,108(r30)                            <== 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 );                               
ffc146a0:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc146a4:	7c 63 ea 14 	add     r3,r3,r29                              <== NOT EXECUTED
ffc146a8:	4b ff 83 15 	bl      ffc0c9bc <_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;                                
ffc146ac:	88 1f 00 30 	lbz     r0,48(r31)                             <== NOT EXECUTED
}                                                                     
ffc146b0:	39 61 00 18 	addi    r11,r1,24                              <== 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;                                
ffc146b4:	60 00 00 01 	ori     r0,r0,1                                <== NOT EXECUTED
ffc146b8:	98 1f 00 30 	stb     r0,48(r31)                             <== NOT EXECUTED
}                                                                     
ffc146bc:	4b fe e4 34 	b       ffc02af0 <_restgpr_29_x>               <== NOT EXECUTED
                                                                      

ffc13cbc <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 ) {
ffc13cbc:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc13cc0:	7c 08 02 a6 	mflr    r0                                     
ffc13cc4:	bf 21 00 1c 	stmw    r25,28(r1)                             
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    fat_file_fd_t *lfat_fd = NULL;                                    
ffc13cc8:	7c 3f 0b 78 	mr      r31,r1                                 
fat_file_open(                                                        
    rtems_filesystem_mount_table_entry_t  *mt_entry,                  
    fat_dir_pos_t                         *dir_pos,                   
    fat_file_fd_t                        **fat_fd                     
    )                                                                 
{                                                                     
ffc13ccc:	7c 7d 1b 78 	mr      r29,r3                                 
ffc13cd0:	90 01 00 3c 	stw     r0,60(r1)                              
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    fat_file_fd_t *lfat_fd = NULL;                                    
ffc13cd4:	38 00 00 00 	li      r0,0                                   
fat_file_open(                                                        
    rtems_filesystem_mount_table_entry_t  *mt_entry,                  
    fat_dir_pos_t                         *dir_pos,                   
    fat_file_fd_t                        **fat_fd                     
    )                                                                 
{                                                                     
ffc13cd8:	7c 99 23 78 	mr      r25,r4                                 
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    fat_file_fd_t *lfat_fd = NULL;                                    
ffc13cdc:	94 1f 00 08 	stwu    r0,8(r31)                              
fat_file_open(                                                        
    rtems_filesystem_mount_table_entry_t  *mt_entry,                  
    fat_dir_pos_t                         *dir_pos,                   
    fat_file_fd_t                        **fat_fd                     
    )                                                                 
{                                                                     
ffc13ce0:	7c bb 2b 78 	mr      r27,r5                                 
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc13ce4:	83 83 00 34 	lwz     r28,52(r3)                             
    fat_file_fd_t *lfat_fd = NULL;                                    
    uint32_t       key = 0;                                           
                                                                      
    /* construct key */                                               
    key = fat_construct_key(mt_entry, &dir_pos->sname);               
ffc13ce8:	4b ff fe e9 	bl      ffc13bd0 <fat_construct_key>           
ffc13cec:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
    /* access "valid" hash table */                                   
    rc = _hash_search(mt_entry, fs_info->vhash, key, 0, &lfat_fd);    
ffc13cf0:	80 9c 00 68 	lwz     r4,104(r28)                            
ffc13cf4:	7f a3 eb 78 	mr      r3,r29                                 
ffc13cf8:	7f c5 f3 78 	mr      r5,r30                                 
ffc13cfc:	38 c0 00 00 	li      r6,0                                   
ffc13d00:	7f e7 fb 78 	mr      r7,r31                                 
ffc13d04:	4b ff ff 25 	bl      ffc13c28 <_hash_search>                
    if ( rc == RC_OK )                                                
ffc13d08:	2c 03 00 00 	cmpwi   r3,0                                   
ffc13d0c:	40 82 00 1c 	bne-    ffc13d28 <fat_file_open+0x6c>          
    {                                                                 
        /* return pointer to fat_file_descriptor allocated before */  
        (*fat_fd) = lfat_fd;                                          
ffc13d10:	81 21 00 08 	lwz     r9,8(r1)                               
        lfat_fd->links_num++;                                         
ffc13d14:	81 69 00 08 	lwz     r11,8(r9)                              
    /* 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;                                          
ffc13d18:	91 3b 00 00 	stw     r9,0(r27)                              
        lfat_fd->links_num++;                                         
ffc13d1c:	38 0b 00 01 	addi    r0,r11,1                               
ffc13d20:	90 09 00 08 	stw     r0,8(r9)                               
        return rc;                                                    
ffc13d24:	48 00 00 d4 	b       ffc13df8 <fat_file_open+0x13c>         
    }                                                                 
                                                                      
    /* access "removed-but-still-open" hash table */                  
    rc = _hash_search(mt_entry, fs_info->rhash, key, key, &lfat_fd);  
ffc13d28:	80 9c 00 6c 	lwz     r4,108(r28)                            
ffc13d2c:	7f e7 fb 78 	mr      r7,r31                                 
ffc13d30:	7f c5 f3 78 	mr      r5,r30                                 
ffc13d34:	7f c6 f3 78 	mr      r6,r30                                 
ffc13d38:	7f a3 eb 78 	mr      r3,r29                                 
ffc13d3c:	4b ff fe ed 	bl      ffc13c28 <_hash_search>                
ffc13d40:	7c 7a 1b 78 	mr      r26,r3                                 
                                                                      
    lfat_fd = (*fat_fd) = (fat_file_fd_t*)malloc(sizeof(fat_file_fd_t));
ffc13d44:	38 60 00 44 	li      r3,68                                  
ffc13d48:	4b ff 43 0d 	bl      ffc08054 <malloc>                      
    if ( lfat_fd == NULL )                                            
ffc13d4c:	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));
ffc13d50:	90 7b 00 00 	stw     r3,0(r27)                              
ffc13d54:	7c 7f 1b 78 	mr      r31,r3                                 
ffc13d58:	90 61 00 08 	stw     r3,8(r1)                               
    if ( lfat_fd == NULL )                                            
ffc13d5c:	41 9e 00 6c 	beq-    cr7,ffc13dc8 <fat_file_open+0x10c>     
        rtems_set_errno_and_return_minus_one( ENOMEM );               
                                                                      
    memset(lfat_fd, 0, sizeof(fat_file_fd_t));                        
ffc13d60:	38 a0 00 44 	li      r5,68                                  
ffc13d64:	38 80 00 00 	li      r4,0                                   
ffc13d68:	48 00 a4 59 	bl      ffc1e1c0 <memset>                      
                                                                      
    lfat_fd->links_num = 1;                                           
ffc13d6c:	38 00 00 01 	li      r0,1                                   
ffc13d70:	90 1f 00 08 	stw     r0,8(r31)                              
    lfat_fd->flags &= ~FAT_FILE_REMOVED;                              
    lfat_fd->map.last_cln = FAT_UNDEFINED_VALUE;                      
                                                                      
    lfat_fd->dir_pos = *dir_pos;                                      
                                                                      
    if ( rc != RC_OK )                                                
ffc13d74:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
                                                                      
    lfat_fd->links_num = 1;                                           
    lfat_fd->flags &= ~FAT_FILE_REMOVED;                              
    lfat_fd->map.last_cln = FAT_UNDEFINED_VALUE;                      
                                                                      
    lfat_fd->dir_pos = *dir_pos;                                      
ffc13d78:	39 3f 00 20 	addi    r9,r31,32                              
        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;                              
ffc13d7c:	88 1f 00 30 	lbz     r0,48(r31)                             
ffc13d80:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
ffc13d84:	98 1f 00 30 	stb     r0,48(r31)                             
    lfat_fd->map.last_cln = FAT_UNDEFINED_VALUE;                      
ffc13d88:	38 00 ff ff 	li      r0,-1                                  
ffc13d8c:	90 1f 00 3c 	stw     r0,60(r31)                             
                                                                      
    lfat_fd->dir_pos = *dir_pos;                                      
ffc13d90:	7c b9 84 aa 	lswi    r5,r25,16                              
ffc13d94:	7c a9 85 aa 	stswi   r5,r9,16                               
                                                                      
    if ( rc != RC_OK )                                                
ffc13d98:	41 9e 00 0c 	beq-    cr7,ffc13da4 <fat_file_open+0xe8>      <== NEVER TAKEN
        lfat_fd->ino = key;                                           
ffc13d9c:	93 df 00 0c 	stw     r30,12(r31)                            
ffc13da0:	48 00 00 3c 	b       ffc13ddc <fat_file_open+0x120>         
    else                                                              
    {                                                                 
        lfat_fd->ino = fat_get_unique_ino(mt_entry);                  
ffc13da4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc13da8:	48 00 11 01 	bl      ffc14ea8 <fat_get_unique_ino>          <== NOT EXECUTED
                                                                      
        if ( lfat_fd->ino == 0 )                                      
ffc13dac:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
                                                                      
    if ( rc != RC_OK )                                                
        lfat_fd->ino = key;                                           
    else                                                              
    {                                                                 
        lfat_fd->ino = fat_get_unique_ino(mt_entry);                  
ffc13db0:	90 7f 00 0c 	stw     r3,12(r31)                             <== NOT EXECUTED
                                                                      
        if ( lfat_fd->ino == 0 )                                      
ffc13db4:	80 09 00 0c 	lwz     r0,12(r9)                              <== NOT EXECUTED
ffc13db8:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc13dbc:	40 be 00 20 	bne+    cr7,ffc13ddc <fat_file_open+0x120>     <== NOT EXECUTED
        {                                                             
            free((*fat_fd));                                          
ffc13dc0:	80 7b 00 00 	lwz     r3,0(r27)                              <== NOT EXECUTED
ffc13dc4:	4b ff 3b 25 	bl      ffc078e8 <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 );           
ffc13dc8:	48 00 94 e1 	bl      ffc1d2a8 <__errno>                     
ffc13dcc:	38 00 00 0c 	li      r0,12                                  
ffc13dd0:	90 03 00 00 	stw     r0,0(r3)                               
ffc13dd4:	38 60 ff ff 	li      r3,-1                                  
ffc13dd8:	48 00 00 20 	b       ffc13df8 <fat_file_open+0x13c>         
 */                                                                   
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);
ffc13ddc:	57 de 07 fe 	clrlwi  r30,r30,31                             
ffc13de0:	80 7c 00 68 	lwz     r3,104(r28)                            
ffc13de4:	1f de 00 0c 	mulli   r30,r30,12                             
ffc13de8:	80 81 00 08 	lwz     r4,8(r1)                               
ffc13dec:	7c 63 f2 14 	add     r3,r3,r30                              
ffc13df0:	4b ff 8b cd 	bl      ffc0c9bc <_Chain_Append>               
    /*                                                                
     * other fields of fat-file descriptor will be initialized on upper
     * level                                                          
     */                                                               
                                                                      
    return RC_OK;                                                     
ffc13df4:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc13df8:	39 61 00 38 	addi    r11,r1,56                              
ffc13dfc:	4b fe ec e4 	b       ffc02ae0 <_restgpr_25_x>               
                                                                      

ffc13e14 <fat_file_read>: fat_file_fd_t *fat_fd, uint32_t start, uint32_t count, uint8_t *buf ) {
ffc13e14:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc13e18:	7c 08 02 a6 	mflr    r0                                     
ffc13e1c:	be a1 00 1c 	stmw    r21,28(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)                                                   
ffc13e20:	7c de 33 79 	mr.     r30,r6                                 
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    uint8_t                              *buf                         
)                                                                     
{                                                                     
ffc13e24:	7c 7b 1b 78 	mr      r27,r3                                 
ffc13e28:	90 01 00 4c 	stw     r0,76(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;                                       
ffc13e2c:	38 00 00 00 	li      r0,0                                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    uint8_t                              *buf                         
)                                                                     
{                                                                     
ffc13e30:	7c 9d 23 78 	mr      r29,r4                                 
    int            rc = RC_OK;                                        
    ssize_t        ret = 0;                                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc13e34:	83 e3 00 34 	lwz     r31,52(r3)                             
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    uint8_t                              *buf                         
)                                                                     
{                                                                     
ffc13e38:	7c bc 2b 78 	mr      r28,r5                                 
ffc13e3c:	7c f7 3b 78 	mr      r23,r7                                 
    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;                                       
ffc13e40:	90 01 00 08 	stw     r0,8(r1)                               
    uint32_t       byte = 0;                                          
    uint32_t       c = 0;                                             
                                                                      
    /* it couldn't be removed - otherwise cache update will be broken */
    if (count == 0)                                                   
        return cmpltd;                                                
ffc13e44:	38 60 00 00 	li      r3,0                                   
    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)                                                   
ffc13e48:	41 82 01 7c 	beq-    ffc13fc4 <fat_file_read+0x1b0>         <== NEVER TAKEN
                                                                      
    /*                                                                
     * >= because start is offset and computed from 0 and file_size   
     * computed from 1                                                
     */                                                               
    if ( start >= fat_fd->fat_file_size )                             
ffc13e4c:	81 24 00 18 	lwz     r9,24(r4)                              
ffc13e50:	7f 85 48 40 	cmplw   cr7,r5,r9                              
ffc13e54:	40 9c 01 70 	bge-    cr7,ffc13fc4 <fat_file_read+0x1b0>     <== NEVER TAKEN
        return FAT_EOF;                                               
                                                                      
    if ((count > fat_fd->fat_file_size) ||                            
ffc13e58:	7f 9e 48 40 	cmplw   cr7,r30,r9                             
ffc13e5c:	41 9d 00 10 	bgt-    cr7,ffc13e6c <fat_file_read+0x58>      <== NEVER TAKEN
        (start > fat_fd->fat_file_size - count))                      
ffc13e60:	7c 1e 48 50 	subf    r0,r30,r9                              
     * computed from 1                                                
     */                                                               
    if ( start >= fat_fd->fat_file_size )                             
        return FAT_EOF;                                               
                                                                      
    if ((count > fat_fd->fat_file_size) ||                            
ffc13e64:	7f 85 00 40 	cmplw   cr7,r5,r0                              
ffc13e68:	40 9d 00 08 	ble-    cr7,ffc13e70 <fat_file_read+0x5c>      <== ALWAYS TAKEN
        (start > fat_fd->fat_file_size - count))                      
        count = fat_fd->fat_file_size - start;                        
ffc13e6c:	7f dc 48 50 	subf    r30,r28,r9                             <== NOT EXECUTED
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc13e70:	80 1d 00 20 	lwz     r0,32(r29)                             
ffc13e74:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc13e78:	40 9e 00 5c 	bne-    cr7,ffc13ed4 <fat_file_read+0xc0>      
ffc13e7c:	80 1d 00 24 	lwz     r0,36(r29)                             
ffc13e80:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc13e84:	40 9e 00 50 	bne-    cr7,ffc13ed4 <fat_file_read+0xc0>      <== NEVER TAKEN
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
ffc13e88:	88 1f 00 0a 	lbz     r0,10(r31)                             
                                                                      
    if ((count > fat_fd->fat_file_size) ||                            
        (start > fat_fd->fat_file_size - count))                      
        count = fat_fd->fat_file_size - start;                        
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc13e8c:	70 09 00 03 	andi.   r9,r0,3                                
ffc13e90:	41 a2 00 44 	beq+    ffc13ed4 <fat_file_read+0xc0>          <== NEVER TAKEN
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->cln);   
ffc13e94:	80 9d 00 1c 	lwz     r4,28(r29)                             
ffc13e98:	7f e3 fb 78 	mr      r3,r31                                 
ffc13e9c:	4b ff fd 01 	bl      ffc13b9c <fat_cluster_num_to_sector_num.isra.0>
        sec += (start >> fs_info->vol.sec_log2);                      
ffc13ea0:	88 9f 00 02 	lbz     r4,2(r31)                              
        byte = start & (fs_info->vol.bps - 1);                        
ffc13ea4:	a0 bf 00 00 	lhz     r5,0(r31)                              
                                                                      
        ret = _fat_block_read(mt_entry, sec, byte, count, buf);       
ffc13ea8:	7f c6 f3 78 	mr      r6,r30                                 
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->cln);   
        sec += (start >> fs_info->vol.sec_log2);                      
ffc13eac:	7f 84 24 30 	srw     r4,r28,r4                              
        byte = start & (fs_info->vol.bps - 1);                        
ffc13eb0:	38 a5 ff ff 	addi    r5,r5,-1                               
                                                                      
    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);                      
ffc13eb4:	7c 83 22 14 	add     r4,r3,r4                               
        byte = start & (fs_info->vol.bps - 1);                        
                                                                      
        ret = _fat_block_read(mt_entry, sec, byte, count, buf);       
ffc13eb8:	7f 85 28 38 	and     r5,r28,r5                              
ffc13ebc:	7f 63 db 78 	mr      r3,r27                                 
ffc13ec0:	7e e7 bb 78 	mr      r7,r23                                 
ffc13ec4:	48 00 0d 11 	bl      ffc14bd4 <_fat_block_read>             
        if ( ret < 0 )                                                
ffc13ec8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc13ecc:	40 a0 00 f8 	bge+    ffc13fc4 <fat_file_read+0x1b0>         <== ALWAYS TAKEN
ffc13ed0:	48 00 00 f0 	b       ffc13fc0 <fat_file_read+0x1ac>         <== NOT EXECUTED
            return -1;                                                
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
ffc13ed4:	8b 1f 00 08 	lbz     r24,8(r31)                             
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
ffc13ed8:	3a c1 00 08 	addi    r22,r1,8                               
ffc13edc:	7f 63 db 78 	mr      r3,r27                                 
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
ffc13ee0:	a3 3f 00 06 	lhz     r25,6(r31)                             
            return -1;                                                
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
ffc13ee4:	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);        
ffc13ee8:	7f a4 eb 78 	mr      r4,r29                                 
ffc13eec:	7f 05 c3 78 	mr      r5,r24                                 
ffc13ef0:	7e c6 b3 78 	mr      r6,r22                                 
ffc13ef4:	4b ff fb f1 	bl      ffc13ae4 <fat_file_lseek>              
    if (rc != RC_OK)                                                  
ffc13ef8:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc13efc:	7c 83 23 78 	mr      r3,r4                                  
ffc13f00:	40 9e 00 c4 	bne-    cr7,ffc13fc4 <fat_file_read+0x1b0>     <== NEVER TAKEN
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
ffc13f04:	3b 39 ff ff 	addi    r25,r25,-1                             
ffc13f08:	7f 9c c8 38 	and     r28,r28,r25                            
ffc13f0c:	7f 95 e3 78 	mr      r21,r28                                
ffc13f10:	3b 20 00 00 	li      r25,0                                  
ffc13f14:	3b 40 00 00 	li      r26,0                                  
ffc13f18:	48 00 00 7c 	b       ffc13f94 <fat_file_read+0x180>         
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
ffc13f1c:	a3 3f 00 06 	lhz     r25,6(r31)                             
ffc13f20:	7f 35 c8 50 	subf    r25,r21,r25                            
ffc13f24:	7f 99 f0 40 	cmplw   cr7,r25,r30                            
ffc13f28:	40 9d 00 08 	ble-    cr7,ffc13f30 <fat_file_read+0x11c>     
ffc13f2c:	7f d9 f3 78 	mr      r25,r30                                
                                                                      
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
ffc13f30:	80 81 00 08 	lwz     r4,8(r1)                               
ffc13f34:	80 7b 00 34 	lwz     r3,52(r27)                             
ffc13f38:	4b ff fc 65 	bl      ffc13b9c <fat_cluster_num_to_sector_num.isra.0>
        sec += (ofs >> fs_info->vol.sec_log2);                        
ffc13f3c:	88 9f 00 02 	lbz     r4,2(r31)                              
        byte = ofs & (fs_info->vol.bps - 1);                          
ffc13f40:	a0 bf 00 00 	lhz     r5,0(r31)                              
                                                                      
        ret = _fat_block_read(mt_entry, sec, byte, c, buf + cmpltd);  
ffc13f44:	7f 26 cb 78 	mr      r6,r25                                 
    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);                        
ffc13f48:	7e a4 24 30 	srw     r4,r21,r4                              
        byte = ofs & (fs_info->vol.bps - 1);                          
ffc13f4c:	38 a5 ff ff 	addi    r5,r5,-1                               
    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);                        
ffc13f50:	7c 83 22 14 	add     r4,r3,r4                               
        byte = ofs & (fs_info->vol.bps - 1);                          
                                                                      
        ret = _fat_block_read(mt_entry, sec, byte, c, buf + cmpltd);  
ffc13f54:	7e a5 28 38 	and     r5,r21,r5                              
ffc13f58:	7f 63 db 78 	mr      r3,r27                                 
ffc13f5c:	7c f7 d2 14 	add     r7,r23,r26                             
ffc13f60:	48 00 0c 75 	bl      ffc14bd4 <_fat_block_read>             
        if ( ret < 0 )                                                
ffc13f64:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc13f68:	41 9c 00 58 	blt-    cr7,ffc13fc0 <fat_file_read+0x1ac>     <== NEVER TAKEN
            return -1;                                                
                                                                      
        count -= c;                                                   
ffc13f6c:	7f d9 f0 50 	subf    r30,r25,r30                            
        cmpltd += c;                                                  
ffc13f70:	7f 5a ca 14 	add     r26,r26,r25                            
        save_cln = cur_cln;                                           
ffc13f74:	83 21 00 08 	lwz     r25,8(r1)                              
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
ffc13f78:	7f 63 db 78 	mr      r3,r27                                 
ffc13f7c:	7f 24 cb 78 	mr      r4,r25                                 
ffc13f80:	7e c5 b3 78 	mr      r5,r22                                 
ffc13f84:	48 00 79 c5 	bl      ffc1b948 <fat_get_fat_cluster>         
        if ( rc != RC_OK )                                            
ffc13f88:	2c 03 00 00 	cmpwi   r3,0                                   
ffc13f8c:	40 82 00 38 	bne-    ffc13fc4 <fat_file_read+0x1b0>         <== NEVER TAKEN
            return rc;                                                
                                                                      
        ofs = 0;                                                      
ffc13f90:	3a a0 00 00 	li      r21,0                                  
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc13f94:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc13f98:	40 9e ff 84 	bne+    cr7,ffc13f1c <fat_file_read+0x108>     
    }                                                                 
                                                                      
    /* 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);
ffc13f9c:	88 1f 00 08 	lbz     r0,8(r31)                              
ffc13fa0:	3b 9c ff ff 	addi    r28,r28,-1                             
ffc13fa4:	7f 9c d2 14 	add     r28,r28,r26                            
    fat_fd->map.disk_cln = save_cln;                                  
ffc13fa8:	93 3d 00 38 	stw     r25,56(r29)                            
    }                                                                 
                                                                      
    /* 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);
ffc13fac:	7f 9c 04 30 	srw     r28,r28,r0                             
        ofs = 0;                                                      
    }                                                                 
                                                                      
    /* update cache */                                                
    /* XXX: check this - I'm not sure :( */                           
    fat_fd->map.file_cln = cl_start +                                 
ffc13fb0:	7f 1c c2 14 	add     r24,r28,r24                            
ffc13fb4:	93 1d 00 34 	stw     r24,52(r29)                            
                           ((save_ofs + cmpltd - 1) >> fs_info->vol.bpc_log2);
    fat_fd->map.disk_cln = save_cln;                                  
                                                                      
    return cmpltd;                                                    
ffc13fb8:	7f 43 d3 78 	mr      r3,r26                                 
ffc13fbc:	48 00 00 08 	b       ffc13fc4 <fat_file_read+0x1b0>         
        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;                                                
ffc13fc0:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
    fat_fd->map.file_cln = cl_start +                                 
                           ((save_ofs + cmpltd - 1) >> fs_info->vol.bpc_log2);
    fat_fd->map.disk_cln = save_cln;                                  
                                                                      
    return cmpltd;                                                    
}                                                                     
ffc13fc4:	39 61 00 48 	addi    r11,r1,72                              
ffc13fc8:	4b fe eb 08 	b       ffc02ad0 <_restgpr_21_x>               
                                                                      

ffc147b4 <fat_file_size>: int fat_file_size( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd ) {
ffc147b4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc147b8:	7c 08 02 a6 	mflr    r0                                     
ffc147bc:	90 01 00 2c 	stw     r0,44(r1)                              
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = fat_fd->cln;                             
ffc147c0:	80 04 00 1c 	lwz     r0,28(r4)                              
int                                                                   
fat_file_size(                                                        
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
ffc147c4:	bf 81 00 18 	stmw    r28,24(r1)                             
ffc147c8:	7c 7c 1b 78 	mr      r28,r3                                 
ffc147cc:	7c 9f 23 78 	mr      r31,r4                                 
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = fat_fd->cln;                             
ffc147d0:	90 01 00 08 	stw     r0,8(r1)                               
    uint32_t       save_cln = 0;                                      
                                                                      
    /* Have we requested root dir size for FAT12/16? */               
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc147d4:	80 04 00 20 	lwz     r0,32(r4)                              
    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;                       
ffc147d8:	83 c3 00 34 	lwz     r30,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)) &&                               
ffc147dc:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc147e0:	40 be 00 28 	bne+    cr7,ffc14808 <fat_file_size+0x54>      <== ALWAYS TAKEN
ffc147e4:	80 04 00 24 	lwz     r0,36(r4)                              <== NOT EXECUTED
ffc147e8:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc147ec:	40 9e 00 1c 	bne-    cr7,ffc14808 <fat_file_size+0x54>      <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
ffc147f0:	88 1e 00 0a 	lbz     r0,10(r30)                             <== 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)) &&                               
ffc147f4:	70 09 00 03 	andi.   r9,r0,3                                <== NOT EXECUTED
ffc147f8:	41 a2 00 10 	beq+    ffc14808 <fat_file_size+0x54>          <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        fat_fd->fat_file_size = fs_info->vol.rdir_size;               
ffc147fc:	80 1e 00 28 	lwz     r0,40(r30)                             <== NOT EXECUTED
ffc14800:	90 04 00 18 	stw     r0,24(r4)                              <== NOT EXECUTED
ffc14804:	48 00 00 58 	b       ffc1485c <fat_file_size+0xa8>          <== NOT EXECUTED
        return rc;                                                    
    }                                                                 
                                                                      
    fat_fd->fat_file_size = 0;                                        
ffc14808:	38 00 00 00 	li      r0,0                                   
ffc1480c:	90 1f 00 18 	stw     r0,24(r31)                             
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc14810:	48 00 00 30 	b       ffc14840 <fat_file_size+0x8c>          
    {                                                                 
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
ffc14814:	7f 83 e3 78 	mr      r3,r28                                 
ffc14818:	7f a4 eb 78 	mr      r4,r29                                 
ffc1481c:	38 a1 00 08 	addi    r5,r1,8                                
ffc14820:	48 00 71 29 	bl      ffc1b948 <fat_get_fat_cluster>         
        if ( rc != RC_OK )                                            
ffc14824:	2c 03 00 00 	cmpwi   r3,0                                   
ffc14828:	40 82 00 38 	bne-    ffc14860 <fat_file_size+0xac>          <== NEVER TAKEN
            return rc;                                                
                                                                      
        fat_fd->fat_file_size += fs_info->vol.bpc;                    
ffc1482c:	a0 1e 00 06 	lhz     r0,6(r30)                              
ffc14830:	81 3f 00 18 	lwz     r9,24(r31)                             
ffc14834:	7c 09 02 14 	add     r0,r9,r0                               
ffc14838:	90 1f 00 18 	stw     r0,24(r31)                             
                                                                      
    fat_fd->fat_file_size = 0;                                        
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        save_cln = cur_cln;                                           
ffc1483c:	7f a0 eb 78 	mr      r0,r29                                 
        return rc;                                                    
    }                                                                 
                                                                      
    fat_fd->fat_file_size = 0;                                        
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc14840:	83 a1 00 08 	lwz     r29,8(r1)                              
ffc14844:	81 7e 00 0c 	lwz     r11,12(r30)                            
ffc14848:	81 3e 00 10 	lwz     r9,16(r30)                             
ffc1484c:	7f ab 58 38 	and     r11,r29,r11                            
ffc14850:	7f 8b 48 40 	cmplw   cr7,r11,r9                             
ffc14854:	41 9c ff c0 	blt+    cr7,ffc14814 <fat_file_size+0x60>      
        if ( rc != RC_OK )                                            
            return rc;                                                
                                                                      
        fat_fd->fat_file_size += fs_info->vol.bpc;                    
    }                                                                 
    fat_fd->map.last_cln = save_cln;                                  
ffc14858:	90 1f 00 3c 	stw     r0,60(r31)                             
    return rc;                                                        
ffc1485c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc14860:	39 61 00 28 	addi    r11,r1,40                              
ffc14864:	4b fe e2 88 	b       ffc02aec <_restgpr_28_x>               
                                                                      

ffc13fcc <fat_file_truncate>: fat_file_truncate( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd, uint32_t new_length ) {
ffc13fcc:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc13fd0:	7c 08 02 a6 	mflr    r0                                     
ffc13fd4:	90 01 00 2c 	stw     r0,44(r1)                              
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = 0;                                       
ffc13fd8:	38 00 00 00 	li      r0,0                                   
    uint32_t       cl_start = 0;                                      
    uint32_t       new_last_cln = FAT_UNDEFINED_VALUE;                
                                                                      
                                                                      
    if ( new_length >= fat_fd->fat_file_size )                        
ffc13fdc:	81 24 00 18 	lwz     r9,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;                                       
ffc13fe0:	90 01 00 0c 	stw     r0,12(r1)                              
    uint32_t       cl_start = 0;                                      
    uint32_t       new_last_cln = FAT_UNDEFINED_VALUE;                
ffc13fe4:	38 00 ff ff 	li      r0,-1                                  
                                                                      
                                                                      
    if ( new_length >= fat_fd->fat_file_size )                        
ffc13fe8:	7f 85 48 40 	cmplw   cr7,r5,r9                              
fat_file_truncate(                                                    
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              new_length                  
    )                                                                 
{                                                                     
ffc13fec:	bf a1 00 1c 	stmw    r29,28(r1)                             
ffc13ff0:	7c 7d 1b 78 	mr      r29,r3                                 
ffc13ff4:	7c 9e 23 78 	mr      r30,r4                                 
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc13ff8:	81 63 00 34 	lwz     r11,52(r3)                             
    uint32_t       cur_cln = 0;                                       
    uint32_t       cl_start = 0;                                      
    uint32_t       new_last_cln = FAT_UNDEFINED_VALUE;                
ffc13ffc:	90 01 00 08 	stw     r0,8(r1)                               
                                                                      
                                                                      
    if ( new_length >= fat_fd->fat_file_size )                        
ffc14000:	40 9c 00 d4 	bge-    cr7,ffc140d4 <fat_file_truncate+0x108> <== NEVER TAKEN
        return rc;                                                    
                                                                      
    assert(fat_fd->fat_file_size);                                    
ffc14004:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc14008:	40 be 00 24 	bne+    cr7,ffc1402c <fat_file_truncate+0x60>  <== ALWAYS TAKEN
ffc1400c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc14010:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc14014:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc14018:	38 63 df 92 	addi    r3,r3,-8302                            <== NOT EXECUTED
ffc1401c:	38 80 02 6d 	li      r4,621                                 <== NOT EXECUTED
ffc14020:	38 a5 df 80 	addi    r5,r5,-8320                            <== NOT EXECUTED
ffc14024:	38 c6 df da 	addi    r6,r6,-8230                            <== NOT EXECUTED
ffc14028:	4b ff 32 59 	bl      ffc07280 <__assert_func>               <== NOT EXECUTED
                                                                      
    cl_start = (new_length + fs_info->vol.bpc - 1) >> fs_info->vol.bpc_log2;
ffc1402c:	a3 eb 00 06 	lhz     r31,6(r11)                             
ffc14030:	88 0b 00 08 	lbz     r0,8(r11)                              
ffc14034:	3b ff ff ff 	addi    r31,r31,-1                             
ffc14038:	7f ff 2a 14 	add     r31,r31,r5                             
ffc1403c:	7f ff 04 30 	srw     r31,r31,r0                             
                                                                      
    if ((cl_start << fs_info->vol.bpc_log2) >= fat_fd->fat_file_size) 
ffc14040:	7f eb 00 30 	slw     r11,r31,r0                             
ffc14044:	7f 8b 48 40 	cmplw   cr7,r11,r9                             
        return RC_OK;                                                 
ffc14048:	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) 
ffc1404c:	40 9c 00 8c 	bge-    cr7,ffc140d8 <fat_file_truncate+0x10c> <== NEVER TAKEN
        return RC_OK;                                                 
                                                                      
    if (cl_start != 0)                                                
ffc14050:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc14054:	41 9e 00 18 	beq-    cr7,ffc1406c <fat_file_truncate+0xa0>  <== ALWAYS TAKEN
    {                                                                 
        rc = fat_file_lseek(mt_entry, fat_fd, cl_start - 1, &new_last_cln);
ffc14058:	38 bf ff ff 	addi    r5,r31,-1                              <== NOT EXECUTED
ffc1405c:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc14060:	4b ff fa 85 	bl      ffc13ae4 <fat_file_lseek>              <== NOT EXECUTED
        if (rc != RC_OK)                                              
ffc14064:	7c 80 23 79 	mr.     r0,r4                                  <== NOT EXECUTED
ffc14068:	40 82 00 70 	bne-    ffc140d8 <fat_file_truncate+0x10c>     <== NOT EXECUTED
            return rc;                                                
                                                                      
    }                                                                 
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
ffc1406c:	7f a3 eb 78 	mr      r3,r29                                 
ffc14070:	7f c4 f3 78 	mr      r4,r30                                 
ffc14074:	7f e5 fb 78 	mr      r5,r31                                 
ffc14078:	38 c1 00 0c 	addi    r6,r1,12                               
ffc1407c:	4b ff fa 69 	bl      ffc13ae4 <fat_file_lseek>              
    if (rc != RC_OK)                                                  
ffc14080:	7c 80 23 79 	mr.     r0,r4                                  
ffc14084:	40 a2 00 54 	bne+    ffc140d8 <fat_file_truncate+0x10c>     <== NEVER TAKEN
        return rc;                                                    
                                                                      
    rc = fat_free_fat_clusters_chain(mt_entry, cur_cln);              
ffc14088:	80 81 00 0c 	lwz     r4,12(r1)                              
ffc1408c:	7f a3 eb 78 	mr      r3,r29                                 
ffc14090:	48 00 7d 0d 	bl      ffc1bd9c <fat_free_fat_clusters_chain> 
    if (rc != RC_OK)                                                  
ffc14094:	7c 60 1b 79 	mr.     r0,r3                                  
ffc14098:	40 82 00 40 	bne-    ffc140d8 <fat_file_truncate+0x10c>     <== NEVER TAKEN
        return rc;                                                    
                                                                      
    if (cl_start != 0)                                                
ffc1409c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc140a0:	41 be 00 38 	beq+    cr7,ffc140d8 <fat_file_truncate+0x10c> <== ALWAYS TAKEN
    {                                                                 
        rc = fat_set_fat_cluster(mt_entry, new_last_cln, FAT_GENFAT_EOC);
ffc140a4:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc140a8:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc140ac:	38 a0 ff ff 	li      r5,-1                                  <== NOT EXECUTED
ffc140b0:	48 00 7a 55 	bl      ffc1bb04 <fat_set_fat_cluster>         <== NOT EXECUTED
        if ( rc != RC_OK )                                            
ffc140b4:	7c 60 1b 79 	mr.     r0,r3                                  <== NOT EXECUTED
ffc140b8:	40 82 00 20 	bne-    ffc140d8 <fat_file_truncate+0x10c>     <== NOT EXECUTED
            return rc;                                                
        fat_fd->map.file_cln = cl_start - 1;                          
        fat_fd->map.disk_cln = new_last_cln;                          
ffc140bc:	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;                          
ffc140c0:	3b ff ff ff 	addi    r31,r31,-1                             <== NOT EXECUTED
ffc140c4:	93 fe 00 34 	stw     r31,52(r30)                            <== NOT EXECUTED
        fat_fd->map.disk_cln = new_last_cln;                          
ffc140c8:	91 3e 00 38 	stw     r9,56(r30)                             <== NOT EXECUTED
        fat_fd->map.last_cln = new_last_cln;                          
ffc140cc:	91 3e 00 3c 	stw     r9,60(r30)                             <== NOT EXECUTED
ffc140d0:	48 00 00 08 	b       ffc140d8 <fat_file_truncate+0x10c>     <== NOT EXECUTED
    uint32_t       cl_start = 0;                                      
    uint32_t       new_last_cln = FAT_UNDEFINED_VALUE;                
                                                                      
                                                                      
    if ( new_length >= fat_fd->fat_file_size )                        
        return rc;                                                    
ffc140d4:	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;                                                     
}                                                                     
ffc140d8:	39 61 00 28 	addi    r11,r1,40                              
ffc140dc:	7c 03 03 78 	mr      r3,r0                                  
ffc140e0:	4b fe ea 10 	b       ffc02af0 <_restgpr_29_x>               
                                                                      

ffc1446c <fat_file_write>: fat_file_fd_t *fat_fd, uint32_t start, uint32_t count, const uint8_t *buf ) {
ffc1446c:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc14470:	7c 08 02 a6 	mflr    r0                                     
ffc14474:	be a1 00 1c 	stmw    r21,28(r1)                             
    uint32_t       save_ofs;                                          
    uint32_t       sec = 0;                                           
    uint32_t       byte = 0;                                          
    uint32_t       c = 0;                                             
                                                                      
    if ( count == 0 )                                                 
ffc14478:	7c df 33 79 	mr.     r31,r6                                 
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    const uint8_t                        *buf                         
    )                                                                 
{                                                                     
ffc1447c:	7c 7b 1b 78 	mr      r27,r3                                 
ffc14480:	90 01 00 4c 	stw     r0,76(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;                                       
ffc14484:	38 00 00 00 	li      r0,0                                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    const uint8_t                        *buf                         
    )                                                                 
{                                                                     
ffc14488:	7c 9d 23 78 	mr      r29,r4                                 
ffc1448c:	7c bc 2b 78 	mr      r28,r5                                 
    int            rc = 0;                                            
    ssize_t        ret = 0;                                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc14490:	83 c3 00 34 	lwz     r30,52(r3)                             
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    const uint8_t                        *buf                         
    )                                                                 
{                                                                     
ffc14494:	7c f8 3b 78 	mr      r24,r7                                 
    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;                                       
ffc14498:	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;                                             
ffc1449c:	90 01 00 08 	stw     r0,8(r1)                               
                                                                      
    if ( count == 0 )                                                 
ffc144a0:	41 82 01 bc 	beq-    ffc1465c <fat_file_write+0x1f0>        <== NEVER TAKEN
        return cmpltd;                                                
                                                                      
    if ( start > fat_fd->fat_file_size )                              
ffc144a4:	80 04 00 18 	lwz     r0,24(r4)                              
ffc144a8:	7f 85 00 40 	cmplw   cr7,r5,r0                              
ffc144ac:	41 9d 00 1c 	bgt-    cr7,ffc144c8 <fat_file_write+0x5c>     <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one( EIO );                  
                                                                      
    if ((count > fat_fd->size_limit) ||                               
ffc144b0:	80 04 00 14 	lwz     r0,20(r4)                              
ffc144b4:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc144b8:	41 9d 00 10 	bgt-    cr7,ffc144c8 <fat_file_write+0x5c>     <== NEVER TAKEN
        (start > fat_fd->size_limit - count))                         
ffc144bc:	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) ||                               
ffc144c0:	7f 85 00 40 	cmplw   cr7,r5,r0                              
ffc144c4:	40 bd 00 14 	ble+    cr7,ffc144d8 <fat_file_write+0x6c>     <== ALWAYS TAKEN
        (start > fat_fd->size_limit - count))                         
        rtems_set_errno_and_return_minus_one( EIO );                  
ffc144c8:	48 00 8d e1 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc144cc:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc144d0:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc144d4:	48 00 01 84 	b       ffc14658 <fat_file_write+0x1ec>        <== NOT EXECUTED
                                                                      
    rc = fat_file_extend(mt_entry, fat_fd, start + count, &c);        
ffc144d8:	7f 5f 2a 14 	add     r26,r31,r5                             
ffc144dc:	7f 45 d3 78 	mr      r5,r26                                 
ffc144e0:	38 c1 00 08 	addi    r6,r1,8                                
ffc144e4:	4b ff fd 91 	bl      ffc14274 <fat_file_extend>             
    if (rc != RC_OK)                                                  
ffc144e8:	7c 60 1b 79 	mr.     r0,r3                                  
ffc144ec:	40 82 01 70 	bne-    ffc1465c <fat_file_write+0x1f0>        <== NEVER TAKEN
                                                                      
    /*                                                                
     * check whether there was enough room on device to locate        
     * file of 'start + count' bytes                                  
     */                                                               
    if (c != (start + count))                                         
ffc144f0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc144f4:	7f 80 d0 00 	cmpw    cr7,r0,r26                             
ffc144f8:	41 9e 00 08 	beq-    cr7,ffc14500 <fat_file_write+0x94>     <== ALWAYS TAKEN
        count = c - start;                                            
ffc144fc:	7f fc 00 50 	subf    r31,r28,r0                             <== NOT EXECUTED
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc14500:	80 1d 00 20 	lwz     r0,32(r29)                             
ffc14504:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc14508:	40 9e 00 5c 	bne-    cr7,ffc14564 <fat_file_write+0xf8>     
ffc1450c:	80 1d 00 24 	lwz     r0,36(r29)                             
ffc14510:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc14514:	40 9e 00 50 	bne-    cr7,ffc14564 <fat_file_write+0xf8>     <== NEVER TAKEN
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
ffc14518:	88 1e 00 0a 	lbz     r0,10(r30)                             
     * file of 'start + count' bytes                                  
     */                                                               
    if (c != (start + count))                                         
        count = c - start;                                            
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc1451c:	70 09 00 03 	andi.   r9,r0,3                                
ffc14520:	41 a2 00 44 	beq+    ffc14564 <fat_file_write+0xf8>         <== NEVER TAKEN
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(mt_entry, fat_fd->cln);   
ffc14524:	80 9d 00 1c 	lwz     r4,28(r29)                             
ffc14528:	80 7b 00 34 	lwz     r3,52(r27)                             
ffc1452c:	4b ff f6 71 	bl      ffc13b9c <fat_cluster_num_to_sector_num.isra.0>
        sec += (start >> fs_info->vol.sec_log2);                      
ffc14530:	88 9e 00 02 	lbz     r4,2(r30)                              
        byte = start & (fs_info->vol.bps - 1);                        
ffc14534:	a0 be 00 00 	lhz     r5,0(r30)                              
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, count, buf);      
ffc14538:	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);                      
ffc1453c:	7f 84 24 30 	srw     r4,r28,r4                              
        byte = start & (fs_info->vol.bps - 1);                        
ffc14540:	38 a5 ff ff 	addi    r5,r5,-1                               
                                                                      
    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);                      
ffc14544:	7c 83 22 14 	add     r4,r3,r4                               
        byte = start & (fs_info->vol.bps - 1);                        
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, count, buf);      
ffc14548:	7f 85 28 38 	and     r5,r28,r5                              
ffc1454c:	7f 63 db 78 	mr      r3,r27                                 
ffc14550:	7f 07 c3 78 	mr      r7,r24                                 
ffc14554:	48 00 07 2d 	bl      ffc14c80 <_fat_block_write>            
        if ( ret < 0 )                                                
ffc14558:	7c 60 1b 79 	mr.     r0,r3                                  
ffc1455c:	40 a0 01 00 	bge+    ffc1465c <fat_file_write+0x1f0>        <== ALWAYS TAKEN
ffc14560:	48 00 00 f8 	b       ffc14658 <fat_file_write+0x1ec>        <== NOT EXECUTED
            return -1;                                                
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
ffc14564:	8b 3e 00 08 	lbz     r25,8(r30)                             
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
ffc14568:	3a e1 00 0c 	addi    r23,r1,12                              
ffc1456c:	7f 63 db 78 	mr      r3,r27                                 
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
ffc14570:	a3 5e 00 06 	lhz     r26,6(r30)                             
            return -1;                                                
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
ffc14574:	7f 99 cc 30 	srw     r25,r28,r25                            
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
ffc14578:	7f a4 eb 78 	mr      r4,r29                                 
ffc1457c:	7f 25 cb 78 	mr      r5,r25                                 
ffc14580:	7e e6 bb 78 	mr      r6,r23                                 
ffc14584:	4b ff f5 61 	bl      ffc13ae4 <fat_file_lseek>              
    if (rc != RC_OK)                                                  
ffc14588:	2f 84 00 00 	cmpwi   cr7,r4,0                               
    }                                                                 
                                                                      
    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);        
ffc1458c:	7c 80 23 78 	mr      r0,r4                                  
    if (rc != RC_OK)                                                  
ffc14590:	40 9e 00 cc 	bne-    cr7,ffc1465c <fat_file_write+0x1f0>    <== NEVER TAKEN
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
ffc14594:	3b 5a ff ff 	addi    r26,r26,-1                             
ffc14598:	7f 9c d0 38 	and     r28,r28,r26                            
ffc1459c:	7f 95 e3 78 	mr      r21,r28                                
ffc145a0:	3a c0 00 00 	li      r22,0                                  
ffc145a4:	3b 40 00 00 	li      r26,0                                  
ffc145a8:	48 00 00 84 	b       ffc1462c <fat_file_write+0x1c0>        
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
ffc145ac:	a2 de 00 06 	lhz     r22,6(r30)                             
ffc145b0:	7e d5 b0 50 	subf    r22,r21,r22                            
ffc145b4:	7f 96 f8 40 	cmplw   cr7,r22,r31                            
ffc145b8:	40 9d 00 08 	ble-    cr7,ffc145c0 <fat_file_write+0x154>    
ffc145bc:	7f f6 fb 78 	mr      r22,r31                                
                                                                      
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
ffc145c0:	80 81 00 0c 	lwz     r4,12(r1)                              
ffc145c4:	80 7b 00 34 	lwz     r3,52(r27)                             
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
ffc145c8:	92 c1 00 08 	stw     r22,8(r1)                              
                                                                      
        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);       
ffc145cc:	4b ff f5 d1 	bl      ffc13b9c <fat_cluster_num_to_sector_num.isra.0>
        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); 
ffc145d0:	7e c6 b3 78 	mr      r6,r22                                 
    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);                        
ffc145d4:	88 9e 00 02 	lbz     r4,2(r30)                              
        byte = ofs & (fs_info->vol.bps - 1);                          
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, c, buf + cmpltd); 
ffc145d8:	7c f8 d2 14 	add     r7,r24,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);                          
ffc145dc:	a0 be 00 00 	lhz     r5,0(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);                        
ffc145e0:	7e a4 24 30 	srw     r4,r21,r4                              
        byte = ofs & (fs_info->vol.bps - 1);                          
ffc145e4:	38 a5 ff ff 	addi    r5,r5,-1                               
    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);                        
ffc145e8:	7c 83 22 14 	add     r4,r3,r4                               
        byte = ofs & (fs_info->vol.bps - 1);                          
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, c, buf + cmpltd); 
ffc145ec:	7e a5 28 38 	and     r5,r21,r5                              
ffc145f0:	7f 63 db 78 	mr      r3,r27                                 
ffc145f4:	48 00 06 8d 	bl      ffc14c80 <_fat_block_write>            
        if ( ret < 0 )                                                
ffc145f8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc145fc:	41 9c 00 5c 	blt-    cr7,ffc14658 <fat_file_write+0x1ec>    <== NEVER TAKEN
            return -1;                                                
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
ffc14600:	82 c1 00 0c 	lwz     r22,12(r1)                             
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
ffc14604:	7f 63 db 78 	mr      r3,r27                                 
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, c, buf + cmpltd); 
        if ( ret < 0 )                                                
            return -1;                                                
                                                                      
        count -= c;                                                   
ffc14608:	80 01 00 08 	lwz     r0,8(r1)                               
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
ffc1460c:	7e e5 bb 78 	mr      r5,r23                                 
ffc14610:	7e c4 b3 78 	mr      r4,r22                                 
                                                                      
        ret = _fat_block_write(mt_entry, sec, byte, c, buf + cmpltd); 
        if ( ret < 0 )                                                
            return -1;                                                
                                                                      
        count -= c;                                                   
ffc14614:	7f e0 f8 50 	subf    r31,r0,r31                             
        cmpltd += c;                                                  
ffc14618:	7f 5a 02 14 	add     r26,r26,r0                             
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);        
ffc1461c:	48 00 73 2d 	bl      ffc1b948 <fat_get_fat_cluster>         
        if ( rc != RC_OK )                                            
ffc14620:	7c 60 1b 79 	mr.     r0,r3                                  
ffc14624:	40 82 00 38 	bne-    ffc1465c <fat_file_write+0x1f0>        <== NEVER TAKEN
            return rc;                                                
                                                                      
        ofs = 0;                                                      
ffc14628:	3a a0 00 00 	li      r21,0                                  
                                                                      
    rc = fat_file_lseek(mt_entry, fat_fd, cl_start, &cur_cln);        
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc1462c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc14630:	40 9e ff 7c 	bne+    cr7,ffc145ac <fat_file_write+0x140>    
    }                                                                 
                                                                      
    /* 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);
ffc14634:	88 1e 00 08 	lbz     r0,8(r30)                              
ffc14638:	3b 9c ff ff 	addi    r28,r28,-1                             
ffc1463c:	7f 9c d2 14 	add     r28,r28,r26                            
    fat_fd->map.disk_cln = save_cln;                                  
ffc14640:	92 dd 00 38 	stw     r22,56(r29)                            
    }                                                                 
                                                                      
    /* 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);
ffc14644:	7f 9c 04 30 	srw     r28,r28,r0                             
        ofs = 0;                                                      
    }                                                                 
                                                                      
    /* update cache */                                                
    /* XXX: check this - I'm not sure :( */                           
    fat_fd->map.file_cln = cl_start +                                 
ffc14648:	7f 3c ca 14 	add     r25,r28,r25                            
ffc1464c:	93 3d 00 34 	stw     r25,52(r29)                            
                           ((save_ofs + cmpltd - 1) >> fs_info->vol.bpc_log2);
    fat_fd->map.disk_cln = save_cln;                                  
                                                                      
    return cmpltd;                                                    
ffc14650:	7f 40 d3 78 	mr      r0,r26                                 
ffc14654:	48 00 00 08 	b       ffc1465c <fat_file_write+0x1f0>        
        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;                                                
ffc14658:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
    fat_fd->map.file_cln = cl_start +                                 
                           ((save_ofs + cmpltd - 1) >> fs_info->vol.bpc_log2);
    fat_fd->map.disk_cln = save_cln;                                  
                                                                      
    return cmpltd;                                                    
}                                                                     
ffc1465c:	39 61 00 48 	addi    r11,r1,72                              
ffc14660:	7c 03 03 78 	mr      r3,r0                                  
ffc14664:	4b fe e4 6c 	b       ffc02ad0 <_restgpr_21_x>               
                                                                      

ffc1bd9c <fat_free_fat_clusters_chain>: int fat_free_fat_clusters_chain( rtems_filesystem_mount_table_entry_t *mt_entry, uint32_t chain ) {
ffc1bd9c:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc1bda0:	7c 08 02 a6 	mflr    r0                                     
ffc1bda4:	90 01 00 3c 	stw     r0,60(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;                                      
ffc1bda8:	38 00 00 00 	li      r0,0                                   
int                                                                   
fat_free_fat_clusters_chain(                                          
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              chain                       
    )                                                                 
{                                                                     
ffc1bdac:	bf 01 00 18 	stmw    r24,24(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;                                      
ffc1bdb0:	7c 3c 0b 78 	mr      r28,r1                                 
int                                                                   
fat_free_fat_clusters_chain(                                          
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              chain                       
    )                                                                 
{                                                                     
ffc1bdb4:	7c 7b 1b 78 	mr      r27,r3                                 
ffc1bdb8:	7c 99 23 78 	mr      r25,r4                                 
    int            rc = RC_OK, rc1 = RC_OK;                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc1bdbc:	83 e3 00 34 	lwz     r31,52(r3)                             
    uint32_t       cur_cln = chain;                                   
    uint32_t       next_cln = 0;                                      
ffc1bdc0:	94 1c 00 08 	stwu    r0,8(r28)                              
    uint32_t                              chain                       
    )                                                                 
{                                                                     
    int            rc = RC_OK, rc1 = RC_OK;                           
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cur_cln = chain;                                   
ffc1bdc4:	7c 9d 23 78 	mr      r29,r4                                 
    uint32_t       next_cln = 0;                                      
    uint32_t       freed_cls_cnt = 0;                                 
ffc1bdc8:	3b c0 00 00 	li      r30,0                                  
fat_free_fat_clusters_chain(                                          
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              chain                       
    )                                                                 
{                                                                     
    int            rc = RC_OK, rc1 = RC_OK;                           
ffc1bdcc:	3b 40 00 00 	li      r26,0                                  
    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)      
ffc1bdd0:	48 00 00 60 	b       ffc1be30 <fat_free_fat_clusters_chain+0x94>
    {                                                                 
        rc = fat_get_fat_cluster(mt_entry, cur_cln, &next_cln);       
ffc1bdd4:	7f 63 db 78 	mr      r3,r27                                 
ffc1bdd8:	7f a4 eb 78 	mr      r4,r29                                 
ffc1bddc:	7f 85 e3 78 	mr      r5,r28                                 
ffc1bde0:	4b ff fb 69 	bl      ffc1b948 <fat_get_fat_cluster>         
        if ( rc != RC_OK )                                            
ffc1bde4:	7c 78 1b 79 	mr.     r24,r3                                 
ffc1bde8:	41 a2 00 24 	beq+    ffc1be0c <fat_free_fat_clusters_chain+0x70><== ALWAYS TAKEN
        {                                                             
              if(fs_info->vol.free_cls != FAT_UNDEFINED_VALUE)        
ffc1bdec:	80 1f 00 40 	lwz     r0,64(r31)                             <== NOT EXECUTED
ffc1bdf0:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              <== NOT EXECUTED
ffc1bdf4:	41 9e 00 0c 	beq-    cr7,ffc1be00 <fat_free_fat_clusters_chain+0x64><== NOT EXECUTED
                fs_info->vol.free_cls += freed_cls_cnt;               
ffc1bdf8:	7f de 02 14 	add     r30,r30,r0                             <== NOT EXECUTED
ffc1bdfc:	93 df 00 40 	stw     r30,64(r31)                            <== NOT EXECUTED
                                                                      
            fat_buf_release(fs_info);                                 
ffc1be00:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1be04:	4b ff 8c 7d 	bl      ffc14a80 <fat_buf_release>             <== NOT EXECUTED
            return rc;                                                
ffc1be08:	48 00 00 60 	b       ffc1be68 <fat_free_fat_clusters_chain+0xcc><== NOT EXECUTED
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(mt_entry, cur_cln, FAT_GENFAT_FREE); 
ffc1be0c:	7f 63 db 78 	mr      r3,r27                                 
ffc1be10:	7f a4 eb 78 	mr      r4,r29                                 
ffc1be14:	38 a0 00 00 	li      r5,0                                   
ffc1be18:	4b ff fc ed 	bl      ffc1bb04 <fat_set_fat_cluster>         
        if ( rc != RC_OK )                                            
ffc1be1c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1be20:	41 82 00 08 	beq-    ffc1be28 <fat_free_fat_clusters_chain+0x8c><== ALWAYS TAKEN
ffc1be24:	7c 7a 1b 78 	mr      r26,r3                                 <== NOT EXECUTED
            rc1 = rc;                                                 
                                                                      
        freed_cls_cnt++;                                              
        cur_cln = next_cln;                                           
ffc1be28:	83 a1 00 08 	lwz     r29,8(r1)                              
                                                                      
        rc = fat_set_fat_cluster(mt_entry, cur_cln, FAT_GENFAT_FREE); 
        if ( rc != RC_OK )                                            
            rc1 = rc;                                                 
                                                                      
        freed_cls_cnt++;                                              
ffc1be2c:	3b de 00 01 	addi    r30,r30,1                              
    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)      
ffc1be30:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc1be34:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc1be38:	7f a9 48 38 	and     r9,r29,r9                              
ffc1be3c:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc1be40:	41 9c ff 94 	blt+    cr7,ffc1bdd4 <fat_free_fat_clusters_chain+0x38>
        freed_cls_cnt++;                                              
        cur_cln = next_cln;                                           
    }                                                                 
                                                                      
        fs_info->vol.next_cl = chain;                                 
        if (fs_info->vol.free_cls != FAT_UNDEFINED_VALUE)             
ffc1be44:	80 1f 00 40 	lwz     r0,64(r31)                             
                                                                      
        freed_cls_cnt++;                                              
        cur_cln = next_cln;                                           
    }                                                                 
                                                                      
        fs_info->vol.next_cl = chain;                                 
ffc1be48:	93 3f 00 44 	stw     r25,68(r31)                            
        if (fs_info->vol.free_cls != FAT_UNDEFINED_VALUE)             
ffc1be4c:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc1be50:	41 9e 00 0c 	beq-    cr7,ffc1be5c <fat_free_fat_clusters_chain+0xc0><== ALWAYS TAKEN
            fs_info->vol.free_cls += freed_cls_cnt;                   
ffc1be54:	7f de 02 14 	add     r30,r30,r0                             <== NOT EXECUTED
ffc1be58:	93 df 00 40 	stw     r30,64(r31)                            <== NOT EXECUTED
                                                                      
    fat_buf_release(fs_info);                                         
ffc1be5c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1be60:	4b ff 8c 21 	bl      ffc14a80 <fat_buf_release>             
ffc1be64:	7f 58 d3 78 	mr      r24,r26                                
    if (rc1 != RC_OK)                                                 
        return rc1;                                                   
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1be68:	39 61 00 38 	addi    r11,r1,56                              
ffc1be6c:	7f 03 c3 78 	mr      r3,r24                                 
ffc1be70:	4b fe 6c 6c 	b       ffc02adc <_restgpr_24_x>               
                                                                      

ffc14f80 <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;
ffc14f80:	81 23 00 34 	lwz     r9,52(r3)                              <== NOT EXECUTED
                                                                      
    FAT_SET_UNIQ_INO_FREE((ino - fs_info->uino_base), fs_info->uino); 
ffc14f84:	39 40 ff fe 	li      r10,-2                                 <== NOT EXECUTED
ffc14f88:	80 09 00 7c 	lwz     r0,124(r9)                             <== NOT EXECUTED
ffc14f8c:	81 29 00 70 	lwz     r9,112(r9)                             <== NOT EXECUTED
ffc14f90:	7c 00 20 50 	subf    r0,r0,r4                               <== NOT EXECUTED
ffc14f94:	54 0b e8 fe 	rlwinm  r11,r0,29,3,31                         <== NOT EXECUTED
ffc14f98:	54 00 07 7e 	clrlwi  r0,r0,29                               <== NOT EXECUTED
ffc14f9c:	5d 40 00 3e 	rotlw   r0,r10,r0                              <== NOT EXECUTED
ffc14fa0:	7d 49 58 ae 	lbzx    r10,r9,r11                             <== NOT EXECUTED
ffc14fa4:	7c 00 50 38 	and     r0,r0,r10                              <== NOT EXECUTED
ffc14fa8:	7c 09 59 ae 	stbx    r0,r9,r11                              <== NOT EXECUTED
}                                                                     
ffc14fac:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1b948 <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)) )
ffc1b948:	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                     
    )                                                                 
{                                                                     
ffc1b94c:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc1b950:	7c 08 02 a6 	mflr    r0                                     
ffc1b954:	bf 21 00 1c 	stmw    r25,28(r1)                             
ffc1b958:	7c 9f 23 78 	mr      r31,r4                                 
ffc1b95c:	7c be 2b 78 	mr      r30,r5                                 
ffc1b960:	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;                            
ffc1b964:	38 00 00 00 	li      r0,0                                   
    uint32_t                              cln,                        
    uint32_t                             *ret_val                     
    )                                                                 
{                                                                     
    int                     rc = RC_OK;                               
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
ffc1b968:	83 a3 00 34 	lwz     r29,52(r3)                             
    rtems_bdbuf_buffer     *block0 = NULL;                            
ffc1b96c:	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)) )           
ffc1b970:	40 9d 01 70 	ble-    cr7,ffc1bae0 <fat_get_fat_cluster+0x198><== NEVER TAKEN
ffc1b974:	81 3d 00 34 	lwz     r9,52(r29)                             
ffc1b978:	38 09 00 01 	addi    r0,r9,1                                
ffc1b97c:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc1b980:	41 9d 01 60 	bgt-    cr7,ffc1bae0 <fat_get_fat_cluster+0x198><== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    sec = (FAT_FAT_OFFSET(fs_info->vol.type, cln) >> fs_info->vol.sec_log2) +
ffc1b984:	88 1d 00 0a 	lbz     r0,10(r29)                             
ffc1b988:	54 9a f8 7e 	rlwinm  r26,r4,31,1,31                         
ffc1b98c:	7f 5a 22 14 	add     r26,r26,r4                             
ffc1b990:	70 09 00 01 	andi.   r9,r0,1                                
ffc1b994:	40 82 00 14 	bne-    ffc1b9a8 <fat_get_fat_cluster+0x60>    <== ALWAYS TAKEN
ffc1b998:	70 0b 00 02 	andi.   r11,r0,2                               <== NOT EXECUTED
ffc1b99c:	54 9a 10 3a 	rlwinm  r26,r4,2,0,29                          <== NOT EXECUTED
ffc1b9a0:	41 82 00 08 	beq-    ffc1b9a8 <fat_get_fat_cluster+0x60>    <== NOT EXECUTED
ffc1b9a4:	54 9a 08 3c 	rlwinm  r26,r4,1,0,30                          <== NOT EXECUTED
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
ffc1b9a8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
                                                                      
    /* 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) +
ffc1b9ac:	89 7d 00 02 	lbz     r11,2(r29)                             
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
ffc1b9b0:	57 fb f8 7e 	rlwinm  r27,r31,31,1,31                        
                                                                      
    /* 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) +
ffc1b9b4:	7f 5a 5c 30 	srw     r26,r26,r11                            
ffc1b9b8:	81 7d 00 4c 	lwz     r11,76(r29)                            
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
ffc1b9bc:	7f 7b fa 14 	add     r27,r27,r31                            
                                                                      
    /* 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) +
ffc1b9c0:	7f 5a 5a 14 	add     r26,r26,r11                            
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
ffc1b9c4:	40 9e 00 14 	bne-    cr7,ffc1b9d8 <fat_get_fat_cluster+0x90><== ALWAYS TAKEN
ffc1b9c8:	70 09 00 02 	andi.   r9,r0,2                                <== NOT EXECUTED
ffc1b9cc:	57 fb 10 3a 	rlwinm  r27,r31,2,0,29                         <== NOT EXECUTED
ffc1b9d0:	41 82 00 08 	beq-    ffc1b9d8 <fat_get_fat_cluster+0x90>    <== NOT EXECUTED
ffc1b9d4:	57 fb 08 3c 	rlwinm  r27,r31,1,0,30                         <== NOT EXECUTED
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
ffc1b9d8:	7f a3 eb 78 	mr      r3,r29                                 
    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);
ffc1b9dc:	a3 3d 00 00 	lhz     r25,0(r29)                             
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
ffc1b9e0:	7f 44 d3 78 	mr      r4,r26                                 
ffc1b9e4:	38 a0 00 01 	li      r5,1                                   
ffc1b9e8:	38 c1 00 08 	addi    r6,r1,8                                
ffc1b9ec:	4b ff 8e b1 	bl      ffc1489c <fat_buf_access>              
    if (rc != RC_OK)                                                  
ffc1b9f0:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1b9f4:	40 82 01 04 	bne-    ffc1baf8 <fat_get_fat_cluster+0x1b0>   <== NEVER TAKEN
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
ffc1b9f8:	88 1d 00 0a 	lbz     r0,10(r29)                             
    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);
ffc1b9fc:	3b 39 ff ff 	addi    r25,r25,-1                             
ffc1ba00:	7f 7b c8 38 	and     r27,r27,r25                            
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
ffc1ba04:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc1ba08:	41 9e 00 98 	beq-    cr7,ffc1baa0 <fat_get_fat_cluster+0x158><== NEVER TAKEN
ffc1ba0c:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc1ba10:	41 9e 00 ac 	beq-    cr7,ffc1babc <fat_get_fat_cluster+0x174><== NEVER TAKEN
ffc1ba14:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc1ba18:	40 be 00 c8 	bne+    cr7,ffc1bae0 <fat_get_fat_cluster+0x198><== NEVER TAKEN
        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)));      
ffc1ba1c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1ba20:	83 29 00 24 	lwz     r25,36(r9)                             
            if ( ofs == (fs_info->vol.bps - 1) )                      
ffc1ba24:	a1 3d 00 00 	lhz     r9,0(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)));      
ffc1ba28:	7c 19 d8 ae 	lbzx    r0,r25,r27                             
            if ( ofs == (fs_info->vol.bps - 1) )                      
ffc1ba2c:	39 29 ff ff 	addi    r9,r9,-1                               
ffc1ba30:	7f 9b 48 00 	cmpw    cr7,r27,r9                             
        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)));      
ffc1ba34:	90 1e 00 00 	stw     r0,0(r30)                              
            if ( ofs == (fs_info->vol.bps - 1) )                      
ffc1ba38:	40 be 00 38 	bne+    cr7,ffc1ba70 <fat_get_fat_cluster+0x128><== ALWAYS TAKEN
            {                                                         
                rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
ffc1ba3c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1ba40:	38 9a 00 01 	addi    r4,r26,1                               <== NOT EXECUTED
ffc1ba44:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc1ba48:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc1ba4c:	4b ff 8e 51 	bl      ffc1489c <fat_buf_access>              <== NOT EXECUTED
                                    &block0);                         
                if (rc != RC_OK)                                      
ffc1ba50:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1ba54:	40 82 00 a0 	bne-    ffc1baf4 <fat_get_fat_cluster+0x1ac>   <== NOT EXECUTED
                    return rc;                                        
                                                                      
                *ret_val |= (*((uint8_t   *)(block0->buffer)))<<8;    
ffc1ba58:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
ffc1ba5c:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
ffc1ba60:	88 09 00 00 	lbz     r0,0(r9)                               <== NOT EXECUTED
ffc1ba64:	81 3e 00 00 	lwz     r9,0(r30)                              <== NOT EXECUTED
ffc1ba68:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           <== NOT EXECUTED
ffc1ba6c:	48 00 00 10 	b       ffc1ba7c <fat_get_fat_cluster+0x134>   <== NOT EXECUTED
            }                                                         
            else                                                      
            {                                                         
                *ret_val |= (*((uint8_t   *)(block0->buffer + ofs + 1)))<<8;
ffc1ba70:	7f 79 da 14 	add     r27,r25,r27                            
ffc1ba74:	89 3b 00 01 	lbz     r9,1(r27)                              
ffc1ba78:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
            }                                                         
                                                                      
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
ffc1ba7c:	73 eb 00 01 	andi.   r11,r31,1                              
                                                                      
                *ret_val |= (*((uint8_t   *)(block0->buffer)))<<8;    
            }                                                         
            else                                                      
            {                                                         
                *ret_val |= (*((uint8_t   *)(block0->buffer + ofs + 1)))<<8;
ffc1ba80:	7d 20 03 78 	or      r0,r9,r0                               
ffc1ba84:	90 1e 00 00 	stw     r0,0(r30)                              
ffc1ba88:	80 1e 00 00 	lwz     r0,0(r30)                              
            }                                                         
                                                                      
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
ffc1ba8c:	41 82 00 0c 	beq-    ffc1ba98 <fat_get_fat_cluster+0x150>   
                *ret_val = (*ret_val) >> FAT12_SHIFT;                 
ffc1ba90:	54 00 e1 3e 	rlwinm  r0,r0,28,4,31                          
ffc1ba94:	48 00 00 44 	b       ffc1bad8 <fat_get_fat_cluster+0x190>   
            else                                                      
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
ffc1ba98:	54 00 05 3e 	clrlwi  r0,r0,20                               
ffc1ba9c:	48 00 00 3c 	b       ffc1bad8 <fat_get_fat_cluster+0x190>   
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *ret_val = *((uint16_t   *)(block0->buffer + ofs));       
ffc1baa0:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
ffc1baa4:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
ffc1baa8:	7c 09 da 2e 	lhzx    r0,r9,r27                              <== NOT EXECUTED
            *ret_val = CF_LE_W(*ret_val);                             
ffc1baac:	54 09 c2 3e 	rlwinm  r9,r0,24,8,31                          <== NOT EXECUTED
ffc1bab0:	54 00 44 2e 	rlwinm  r0,r0,8,16,23                          <== NOT EXECUTED
ffc1bab4:	7d 20 03 78 	or      r0,r9,r0                               <== NOT EXECUTED
ffc1bab8:	48 00 00 20 	b       ffc1bad8 <fat_get_fat_cluster+0x190>   <== NOT EXECUTED
            break;                                                    
                                                                      
        case FAT_FAT32:                                               
            *ret_val = *((uint32_t   *)(block0->buffer + ofs));       
ffc1babc:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
ffc1bac0:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
ffc1bac4:	7d 29 d8 2e 	lwzx    r9,r9,r27                              <== NOT EXECUTED
ffc1bac8:	51 20 46 3e 	rlwimi  r0,r9,8,24,31                          <== NOT EXECUTED
ffc1bacc:	51 20 c4 2e 	rlwimi  r0,r9,24,16,23                         <== NOT EXECUTED
ffc1bad0:	51 20 42 1e 	rlwimi  r0,r9,8,8,15                           <== NOT EXECUTED
ffc1bad4:	51 20 c0 0e 	rlwimi  r0,r9,24,0,7                           <== NOT EXECUTED
            *ret_val = CF_LE_L(*ret_val);                             
ffc1bad8:	90 1e 00 00 	stw     r0,0(r30)                              
            break;                                                    
ffc1badc:	48 00 00 1c 	b       ffc1baf8 <fat_get_fat_cluster+0x1b0>   
                                                                      
        default:                                                      
            rtems_set_errno_and_return_minus_one(EIO);                
ffc1bae0:	48 00 17 c9 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc1bae4:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1bae8:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1baec:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc1baf0:	48 00 00 08 	b       ffc1baf8 <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)                                      
ffc1baf4:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1baf8:	39 61 00 38 	addi    r11,r1,56                              
ffc1bafc:	7f 83 e3 78 	mr      r3,r28                                 
ffc1bb00:	4b fe 6f e0 	b       ffc02ae0 <_restgpr_25_x>               
                                                                      

ffc14ea8 <fat_get_unique_ino>: * 0 means FAILED !!! * */ uint32_t fat_get_unique_ino(rtems_filesystem_mount_table_entry_t *mt_entry) {
ffc14ea8:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc14eac:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc14eb0:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
ffc14eb4:	bf a1 00 0c 	stmw    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))
ffc14eb8:	3f c0 0f ff 	lis     r30,4095                               <== NOT EXECUTED
    uint32_t                j = 0;                                    
    bool                    resrc_unsuff = false;                     
                                                                      
    while (!resrc_unsuff)                                             
    {                                                                 
        for (j = 0; j < fs_info->uino_pool_size; j++)                 
ffc14ebc:	3b a0 00 00 	li      r29,0                                  <== 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;              
ffc14ec0:	83 e3 00 34 	lwz     r31,52(r3)                             <== 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))
ffc14ec4:	63 de ff ff 	ori     r30,r30,65535                          <== NOT EXECUTED
{                                                                     
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
    uint32_t                j = 0;                                    
    bool                    resrc_unsuff = false;                     
                                                                      
    while (!resrc_unsuff)                                             
ffc14ec8:	48 00 00 98 	b       ffc14f60 <fat_get_unique_ino+0xb8>     <== NOT EXECUTED
    {                                                                 
        for (j = 0; j < fs_info->uino_pool_size; j++)                 
        {                                                             
            if (!FAT_UNIQ_INO_IS_BUSY(fs_info->index, fs_info->uino)) 
ffc14ecc:	81 3f 00 74 	lwz     r9,116(r31)                            <== NOT EXECUTED
ffc14ed0:	81 7f 00 70 	lwz     r11,112(r31)                           <== NOT EXECUTED
ffc14ed4:	55 20 e8 fe 	rlwinm  r0,r9,29,3,31                          <== NOT EXECUTED
ffc14ed8:	7d 0b 02 14 	add     r8,r11,r0                              <== NOT EXECUTED
ffc14edc:	7c 0b 00 ae 	lbzx    r0,r11,r0                              <== NOT EXECUTED
ffc14ee0:	55 2b 07 7e 	clrlwi  r11,r9,29                              <== NOT EXECUTED
ffc14ee4:	7c 07 5e 30 	sraw    r7,r0,r11                              <== NOT EXECUTED
ffc14ee8:	70 e6 00 01 	andi.   r6,r7,1                                <== NOT EXECUTED
ffc14eec:	40 a2 00 24 	bne+    ffc14f10 <fat_get_unique_ino+0x68>     <== NOT EXECUTED
            {                                                         
                FAT_SET_UNIQ_INO_BUSY(fs_info->index, fs_info->uino); 
ffc14ef0:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc14ef4:	7d 2b 58 30 	slw     r11,r9,r11                             <== NOT EXECUTED
ffc14ef8:	7d 60 03 78 	or      r0,r11,r0                              <== NOT EXECUTED
ffc14efc:	98 08 00 00 	stb     r0,0(r8)                               <== NOT EXECUTED
                return (fs_info->uino_base + fs_info->index);         
ffc14f00:	80 7f 00 74 	lwz     r3,116(r31)                            <== NOT EXECUTED
ffc14f04:	80 1f 00 7c 	lwz     r0,124(r31)                            <== NOT EXECUTED
ffc14f08:	7c 63 02 14 	add     r3,r3,r0                               <== NOT EXECUTED
ffc14f0c:	48 00 00 6c 	b       ffc14f78 <fat_get_unique_ino+0xd0>     <== NOT EXECUTED
            }                                                         
            fs_info->index++;                                         
ffc14f10:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
            if (fs_info->index >= fs_info->uino_pool_size)            
ffc14f14:	7f 89 50 40 	cmplw   cr7,r9,r10                             <== 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++;                                         
ffc14f18:	91 3f 00 74 	stw     r9,116(r31)                            <== NOT EXECUTED
            if (fs_info->index >= fs_info->uino_pool_size)            
ffc14f1c:	41 9c 00 08 	blt-    cr7,ffc14f24 <fat_get_unique_ino+0x7c> <== NOT EXECUTED
                fs_info->index = 0;                                   
ffc14f20:	93 bf 00 74 	stw     r29,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++)                 
ffc14f24:	38 84 00 01 	addi    r4,r4,1                                <== NOT EXECUTED
ffc14f28:	42 00 ff a4 	bdnz+   ffc14ecc <fat_get_unique_ino+0x24>     <== 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))
ffc14f2c:	80 1f 00 7c 	lwz     r0,124(r31)                            <== NOT EXECUTED
ffc14f30:	54 84 08 3c 	rlwinm  r4,r4,1,0,30                           <== NOT EXECUTED
ffc14f34:	7c 00 f0 50 	subf    r0,r0,r30                              <== NOT EXECUTED
ffc14f38:	7f 84 00 40 	cmplw   cr7,r4,r0                              <== NOT EXECUTED
ffc14f3c:	40 bc 00 38 	bge+    cr7,ffc14f74 <fat_get_unique_ino+0xcc> <== NOT EXECUTED
        {                                                             
            fs_info->uino_pool_size <<= 1;                            
ffc14f40:	90 9f 00 78 	stw     r4,120(r31)                            <== NOT EXECUTED
            fs_info->uino = realloc(fs_info->uino, fs_info->uino_pool_size);
ffc14f44:	80 7f 00 70 	lwz     r3,112(r31)                            <== NOT EXECUTED
ffc14f48:	4b ff 3f 3d 	bl      ffc08e84 <realloc>                     <== NOT EXECUTED
            if (fs_info->uino != NULL)                                
ffc14f4c:	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);
ffc14f50:	90 7f 00 70 	stw     r3,112(r31)                            <== NOT EXECUTED
            if (fs_info->uino != NULL)                                
ffc14f54:	41 be 00 20 	beq+    cr7,ffc14f74 <fat_get_unique_ino+0xcc> <== NOT EXECUTED
                fs_info->index = fs_info->uino_pool_size;             
ffc14f58:	80 1f 00 78 	lwz     r0,120(r31)                            <== NOT EXECUTED
ffc14f5c:	90 1f 00 74 	stw     r0,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++)                 
ffc14f60:	81 5f 00 78 	lwz     r10,120(r31)                           <== NOT EXECUTED
ffc14f64:	38 80 00 00 	li      r4,0                                   <== 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;                                   
ffc14f68:	38 0a 00 01 	addi    r0,r10,1                               <== NOT EXECUTED
ffc14f6c:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc14f70:	4b ff ff b8 	b       ffc14f28 <fat_get_unique_ino+0x80>     <== NOT EXECUTED
                resrc_unsuff = true;                                  
        }                                                             
        else                                                          
            resrc_unsuff = true;                                      
    }                                                                 
    return 0;                                                         
ffc14f74:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc14f78:	39 61 00 18 	addi    r11,r1,24                              <== NOT EXECUTED
ffc14f7c:	4b fe db 74 	b       ffc02af0 <_restgpr_29_x>               <== NOT EXECUTED
                                                                      

ffc14df0 <fat_init_clusters_chain>: int fat_init_clusters_chain( rtems_filesystem_mount_table_entry_t *mt_entry, uint32_t start_cln ) {
ffc14df0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc14df4:	7c 08 02 a6 	mflr    r0                                     
ffc14df8:	90 01 00 2c 	stw     r0,44(r1)                              
ffc14dfc:	bf 81 00 18 	stmw    r28,24(r1)                             
ffc14e00:	7c 7d 1b 78 	mr      r29,r3                                 
    int                     rc = RC_OK;                               
    ssize_t                 ret = 0;                                  
    register fat_fs_info_t *fs_info = mt_entry->fs_info;              
ffc14e04:	83 c3 00 34 	lwz     r30,52(r3)                             
    uint32_t                cur_cln = start_cln;                      
ffc14e08:	90 81 00 08 	stw     r4,8(r1)                               
    char                   *buf;                                      
                                                                      
    buf = calloc(fs_info->vol.bpc, sizeof(char));                     
ffc14e0c:	38 80 00 01 	li      r4,1                                   
ffc14e10:	a0 7e 00 06 	lhz     r3,6(r30)                              
ffc14e14:	4b ff 25 c5 	bl      ffc073d8 <calloc>                      
    if ( buf == NULL )                                                
ffc14e18:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc14e1c:	40 a2 00 5c 	bne+    ffc14e78 <fat_init_clusters_chain+0x88><== ALWAYS TAKEN
        rtems_set_errno_and_return_minus_one( EIO );                  
ffc14e20:	48 00 84 89 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc14e24:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc14e28:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc14e2c:	48 00 00 20 	b       ffc14e4c <fat_init_clusters_chain+0x5c><== NOT EXECUTED
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        ret = fat_cluster_write(mt_entry, cur_cln, buf);              
ffc14e30:	7f a3 eb 78 	mr      r3,r29                                 
ffc14e34:	7f e5 fb 78 	mr      r5,r31                                 
ffc14e38:	4b ff ff 65 	bl      ffc14d9c <fat_cluster_write>           
        if ( ret == -1 )                                              
ffc14e3c:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc14e40:	40 be 00 14 	bne+    cr7,ffc14e54 <fat_init_clusters_chain+0x64><== ALWAYS TAKEN
        {                                                             
            free(buf);                                                
ffc14e44:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc14e48:	4b ff 2a a1 	bl      ffc078e8 <free>                        <== NOT EXECUTED
            return -1;                                                
ffc14e4c:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc14e50:	48 00 00 4c 	b       ffc14e9c <fat_init_clusters_chain+0xac><== NOT EXECUTED
        }                                                             
                                                                      
        rc  = fat_get_fat_cluster(mt_entry, cur_cln, &cur_cln);       
ffc14e54:	80 81 00 08 	lwz     r4,8(r1)                               
ffc14e58:	7f a3 eb 78 	mr      r3,r29                                 
ffc14e5c:	38 a1 00 08 	addi    r5,r1,8                                
ffc14e60:	48 00 6a e9 	bl      ffc1b948 <fat_get_fat_cluster>         
        if ( rc != RC_OK )                                            
ffc14e64:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc14e68:	41 a2 00 10 	beq+    ffc14e78 <fat_init_clusters_chain+0x88><== ALWAYS TAKEN
        {                                                             
            free(buf);                                                
ffc14e6c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc14e70:	4b ff 2a 79 	bl      ffc078e8 <free>                        <== NOT EXECUTED
            return rc;                                                
ffc14e74:	48 00 00 28 	b       ffc14e9c <fat_init_clusters_chain+0xac><== NOT EXECUTED
                                                                      
    buf = calloc(fs_info->vol.bpc, sizeof(char));                     
    if ( buf == NULL )                                                
        rtems_set_errno_and_return_minus_one( EIO );                  
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc14e78:	80 81 00 08 	lwz     r4,8(r1)                               
ffc14e7c:	81 3e 00 0c 	lwz     r9,12(r30)                             
ffc14e80:	80 1e 00 10 	lwz     r0,16(r30)                             
ffc14e84:	7c 89 48 38 	and     r9,r4,r9                               
ffc14e88:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc14e8c:	41 9c ff a4 	blt+    cr7,ffc14e30 <fat_init_clusters_chain+0x40>
            free(buf);                                                
            return rc;                                                
        }                                                             
                                                                      
    }                                                                 
    free(buf);                                                        
ffc14e90:	7f e3 fb 78 	mr      r3,r31                                 
ffc14e94:	4b ff 2a 55 	bl      ffc078e8 <free>                        
    return rc;                                                        
ffc14e98:	3b 80 00 00 	li      r28,0                                  
}                                                                     
ffc14e9c:	39 61 00 28 	addi    r11,r1,40                              
ffc14ea0:	7f 83 e3 78 	mr      r3,r28                                 
ffc14ea4:	4b fe dc 48 	b       ffc02aec <_restgpr_28_x>               
                                                                      

ffc15158 <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) {
ffc15158:	94 21 ff 20 	stwu    r1,-224(r1)                            
ffc1515c:	7c 08 02 a6 	mflr    r0                                     
ffc15160:	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);                              
ffc15164:	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;                                 
ffc15168:	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)  
{                                                                     
ffc1516c:	bd c1 00 98 	stmw    r14,152(r1)                            
ffc15170:	7c 7e 1b 78 	mr      r30,r3                                 
    rtems_status_code   sc = RTEMS_SUCCESSFUL;                        
    int                 rc = RC_OK;                                   
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
ffc15174:	83 e3 00 34 	lwz     r31,52(r3)                             
    ssize_t             ret = 0;                                      
    struct stat         stat_buf;                                     
    int                 i = 0;                                        
    rtems_bdbuf_buffer *block = NULL;                                 
                                                                      
    rc = stat(mt_entry->dev, &stat_buf);                              
ffc15178:	80 63 00 70 	lwz     r3,112(r3)                             
    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;                                 
ffc1517c:	90 01 00 08 	stw     r0,8(r1)                               
                                                                      
    rc = stat(mt_entry->dev, &stat_buf);                              
ffc15180:	4b ff 3f 71 	bl      ffc090f0 <stat>                        
    if (rc == -1)                                                     
ffc15184:	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);                              
ffc15188:	7c 7d 1b 78 	mr      r29,r3                                 
    if (rc == -1)                                                     
ffc1518c:	41 9e 06 64 	beq-    cr7,ffc157f0 <fat_init_volume_info+0x698><== NEVER TAKEN
        return rc;                                                    
                                                                      
    /* Must be a block device. */                                     
    if (!S_ISBLK(stat_buf.st_mode))                                   
ffc15190:	80 01 00 24 	lwz     r0,36(r1)                              
ffc15194:	54 00 04 26 	rlwinm  r0,r0,0,16,19                          
ffc15198:	2f 80 60 00 	cmpwi   cr7,r0,24576                           
ffc1519c:	41 be 00 10 	beq+    cr7,ffc151ac <fat_init_volume_info+0x54><== ALWAYS TAKEN
        rtems_set_errno_and_return_minus_one(ENOTTY);                 
ffc151a0:	48 00 81 09 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc151a4:	38 00 00 19 	li      r0,25                                  <== NOT EXECUTED
ffc151a8:	48 00 06 40 	b       ffc157e8 <fat_init_volume_info+0x690>  <== NOT EXECUTED
                                                                      
    /* check that device is registred as block device and lock it */  
    vol->dd = rtems_disk_obtain(stat_buf.st_rdev);                    
ffc151ac:	80 61 00 30 	lwz     r3,48(r1)                              
ffc151b0:	80 81 00 34 	lwz     r4,52(r1)                              
ffc151b4:	4b ff 16 b9 	bl      ffc0686c <rtems_disk_obtain>           
    if (vol->dd == NULL)                                              
ffc151b8:	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);                    
ffc151bc:	90 7f 00 60 	stw     r3,96(r31)                             
    if (vol->dd == NULL)                                              
ffc151c0:	41 9e 00 30 	beq-    cr7,ffc151f0 <fat_init_volume_info+0x98><== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    vol->dev = stat_buf.st_rdev;                                      
ffc151c4:	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);                      
ffc151c8:	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;                                      
ffc151cc:	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);                      
ffc151d0:	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;                                      
ffc151d4:	90 7f 00 58 	stw     r3,88(r31)                             
ffc151d8:	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);                      
ffc151dc:	4b ff dc 7d 	bl      ffc12e58 <rtems_bdbuf_read>            
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc151e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc151e4:	41 be 00 18 	beq+    cr7,ffc151fc <fat_init_volume_info+0xa4><== ALWAYS TAKEN
    {                                                                 
        rtems_disk_release(vol->dd);                                  
ffc151e8:	80 7f 00 60 	lwz     r3,96(r31)                             <== NOT EXECUTED
ffc151ec:	4b ff 17 05 	bl      ffc068f0 <rtems_disk_release>          <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( EIO);                   
ffc151f0:	48 00 80 b9 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc151f4:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc151f8:	48 00 05 f0 	b       ffc157e8 <fat_init_volume_info+0x690>  <== NOT EXECUTED
    }                                                                 
                                                                      
    memcpy( boot_rec, block->buffer, FAT_MAX_BPB_SIZE);               
ffc151fc:	80 61 00 08 	lwz     r3,8(r1)                               
ffc15200:	81 83 00 24 	lwz     r12,36(r3)                             
ffc15204:	88 0c 00 0b 	lbz     r0,11(r12)                             
ffc15208:	88 ec 00 0e 	lbz     r7,14(r12)                             
ffc1520c:	89 4c 00 11 	lbz     r10,17(r12)                            
ffc15210:	89 0c 00 12 	lbz     r8,18(r12)                             
ffc15214:	89 2c 00 16 	lbz     r9,22(r12)                             
ffc15218:	89 6c 00 17 	lbz     r11,23(r12)                            
ffc1521c:	88 8c 00 0c 	lbz     r4,12(r12)                             
ffc15220:	88 cc 00 0f 	lbz     r6,15(r12)                             
ffc15224:	88 ac 00 30 	lbz     r5,48(r12)                             
ffc15228:	8b ac 00 0d 	lbz     r29,13(r12)                            
ffc1522c:	8b 6c 00 10 	lbz     r27,16(r12)                            
ffc15230:	8a 4c 00 13 	lbz     r18,19(r12)                            
ffc15234:	8a 2c 00 14 	lbz     r17,20(r12)                            
ffc15238:	8a ac 00 20 	lbz     r21,32(r12)                            
ffc1523c:	8a 6c 00 21 	lbz     r19,33(r12)                            
ffc15240:	8a 8c 00 22 	lbz     r20,34(r12)                            
ffc15244:	8a cc 00 23 	lbz     r22,35(r12)                            
ffc15248:	89 ec 00 24 	lbz     r15,36(r12)                            
ffc1524c:	89 cc 00 26 	lbz     r14,38(r12)                            
ffc15250:	8a 0c 00 27 	lbz     r16,39(r12)                            
ffc15254:	8b 8c 00 28 	lbz     r28,40(r12)                            
ffc15258:	8b 2c 00 2c 	lbz     r25,44(r12)                            
ffc1525c:	8a ec 00 2d 	lbz     r23,45(r12)                            
ffc15260:	8b 0c 00 2e 	lbz     r24,46(r12)                            
ffc15264:	8b 4c 00 2f 	lbz     r26,47(r12)                            
ffc15268:	90 01 00 94 	stw     r0,148(r1)                             
ffc1526c:	88 0c 00 25 	lbz     r0,37(r12)                             
ffc15270:	89 8c 00 31 	lbz     r12,49(r12)                            
ffc15274:	90 a1 00 68 	stw     r5,104(r1)                             
                                                                      
    sc = rtems_bdbuf_release( block);                                 
ffc15278:	90 01 00 70 	stw     r0,112(r1)                             
ffc1527c:	90 81 00 84 	stw     r4,132(r1)                             
ffc15280:	90 c1 00 78 	stw     r6,120(r1)                             
ffc15284:	90 e1 00 74 	stw     r7,116(r1)                             
ffc15288:	91 01 00 80 	stw     r8,128(r1)                             
ffc1528c:	91 21 00 88 	stw     r9,136(r1)                             
ffc15290:	91 41 00 7c 	stw     r10,124(r1)                            
ffc15294:	91 61 00 8c 	stw     r11,140(r1)                            
ffc15298:	91 81 00 6c 	stw     r12,108(r1)                            
ffc1529c:	4b ff de 39 	bl      ffc130d4 <rtems_bdbuf_release>         
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc152a0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc152a4:	80 01 00 70 	lwz     r0,112(r1)                             
ffc152a8:	80 81 00 84 	lwz     r4,132(r1)                             
ffc152ac:	80 c1 00 78 	lwz     r6,120(r1)                             
ffc152b0:	80 e1 00 74 	lwz     r7,116(r1)                             
ffc152b4:	81 01 00 80 	lwz     r8,128(r1)                             
ffc152b8:	81 21 00 88 	lwz     r9,136(r1)                             
ffc152bc:	81 41 00 7c 	lwz     r10,124(r1)                            
ffc152c0:	81 61 00 8c 	lwz     r11,140(r1)                            
ffc152c4:	81 81 00 6c 	lwz     r12,108(r1)                            
ffc152c8:	40 be ff 20 	bne-    cr7,ffc151e8 <fat_init_volume_info+0x90><== 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);                 
ffc152cc:	80 61 00 94 	lwz     r3,148(r1)                             
ffc152d0:	54 84 40 2e 	rlwinm  r4,r4,8,0,23                           
ffc152d4:	7c 85 1b 78 	or      r5,r4,r3                               
                                                                      
    if ( (vol->bps != 512)  &&                                        
ffc152d8:	2f 85 02 00 	cmpwi   cr7,r5,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);                 
ffc152dc:	b0 bf 00 00 	sth     r5,0(r31)                              
                                                                      
    if ( (vol->bps != 512)  &&                                        
ffc152e0:	41 9e 00 1c 	beq-    cr7,ffc152fc <fat_init_volume_info+0x1a4><== ALWAYS TAKEN
ffc152e4:	2f 85 04 00 	cmpwi   cr7,r5,1024                            <== NOT EXECUTED
ffc152e8:	41 9e 00 14 	beq-    cr7,ffc152fc <fat_init_volume_info+0x1a4><== NOT EXECUTED
         (vol->bps != 1024) &&                                        
ffc152ec:	2f 85 08 00 	cmpwi   cr7,r5,2048                            <== NOT EXECUTED
ffc152f0:	41 9e 00 0c 	beq-    cr7,ffc152fc <fat_init_volume_info+0x1a4><== NOT EXECUTED
         (vol->bps != 2048) &&                                        
ffc152f4:	2f 85 10 00 	cmpwi   cr7,r5,4096                            <== NOT EXECUTED
ffc152f8:	40 9e 02 b4 	bne-    cr7,ffc155ac <fat_init_volume_info+0x454><== 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;
ffc152fc:	38 80 00 00 	li      r4,0                                   
ffc15300:	98 9f 00 03 	stb     r4,3(r31)                              
ffc15304:	54 a4 ba 7e 	rlwinm  r4,r5,23,9,31                          
ffc15308:	48 00 00 14 	b       ffc1531c <fat_init_volume_info+0x1c4>  
         i >>= 1, vol->sec_mul++);                                    
ffc1530c:	88 7f 00 03 	lbz     r3,3(r31)                              <== NOT EXECUTED
ffc15310:	7c 84 0e 70 	srawi   r4,r4,1                                <== NOT EXECUTED
ffc15314:	38 63 00 01 	addi    r3,r3,1                                <== NOT EXECUTED
ffc15318:	98 7f 00 03 	stb     r3,3(r31)                              <== 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;
ffc1531c:	70 83 00 01 	andi.   r3,r4,1                                
ffc15320:	41 82 ff ec 	beq+    ffc1530c <fat_init_volume_info+0x1b4>  <== NEVER TAKEN
         i >>= 1, vol->sec_mul++);                                    
    for (vol->sec_log2 = 0, i = vol->bps; (i & 1) == 0;               
ffc15324:	38 80 00 00 	li      r4,0                                   
ffc15328:	98 9f 00 02 	stb     r4,2(r31)                              
ffc1532c:	7c a4 2b 78 	mr      r4,r5                                  
ffc15330:	48 00 00 14 	b       ffc15344 <fat_init_volume_info+0x1ec>  
         i >>= 1, vol->sec_log2++);                                   
ffc15334:	88 7f 00 02 	lbz     r3,2(r31)                              
ffc15338:	7c 84 0e 70 	srawi   r4,r4,1                                
ffc1533c:	38 63 00 01 	addi    r3,r3,1                                
ffc15340:	98 7f 00 02 	stb     r3,2(r31)                              
        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;               
ffc15344:	70 83 00 01 	andi.   r3,r4,1                                
ffc15348:	41 82 ff ec 	beq+    ffc15334 <fat_init_volume_info+0x1dc>  
    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)                                                
ffc1534c:	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);              
ffc15350:	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)                                                
ffc15354:	41 9e 02 58 	beq-    cr7,ffc155ac <fat_init_volume_info+0x454><== 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;               
ffc15358:	38 80 00 00 	li      r4,0                                   
ffc1535c:	98 9f 00 05 	stb     r4,5(r31)                              
ffc15360:	7f a3 eb 78 	mr      r3,r29                                 
ffc15364:	48 00 00 10 	b       ffc15374 <fat_init_volume_info+0x21c>  
         i >>= 1, vol->spc_log2++);                                   
ffc15368:	38 84 00 01 	addi    r4,r4,1                                
ffc1536c:	98 9f 00 05 	stb     r4,5(r31)                              
ffc15370:	7c 63 0e 70 	srawi   r3,r3,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;               
ffc15374:	70 64 00 01 	andi.   r4,r3,1                                
ffc15378:	88 9f 00 05 	lbz     r4,5(r31)                              
ffc1537c:	41 82 ff ec 	beq+    ffc15368 <fat_init_volume_info+0x210>  
         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)
ffc15380:	54 84 06 3e 	clrlwi  r4,r4,24                               
ffc15384:	7c a4 20 30 	slw     r4,r5,r4                               
ffc15388:	54 84 04 3e 	clrlwi  r4,r4,16                               
ffc1538c:	2b 84 80 00 	cmplwi  cr7,r4,32768                           
ffc15390:	b0 9f 00 06 	sth     r4,6(r31)                              
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->bpc_log2 = 0, i = vol->bpc; (i & 1) == 0;               
ffc15394:	38 60 00 00 	li      r3,0                                   
         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)
ffc15398:	40 bd 00 14 	ble+    cr7,ffc153ac <fat_init_volume_info+0x254><== ALWAYS TAKEN
ffc1539c:	48 00 02 10 	b       ffc155ac <fat_init_volume_info+0x454>  <== NOT EXECUTED
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->bpc_log2 = 0, i = vol->bpc; (i & 1) == 0;               
         i >>= 1, vol->bpc_log2++);                                   
ffc153a0:	88 7f 00 08 	lbz     r3,8(r31)                              
ffc153a4:	7c 84 0e 70 	srawi   r4,r4,1                                
ffc153a8:	38 63 00 01 	addi    r3,r3,1                                
ffc153ac:	98 7f 00 08 	stb     r3,8(r31)                              
    {                                                                 
        rtems_disk_release(vol->dd);                                  
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->bpc_log2 = 0, i = vol->bpc; (i & 1) == 0;               
ffc153b0:	70 83 00 01 	andi.   r3,r4,1                                
ffc153b4:	41 82 ff ec 	beq+    ffc153a0 <fat_init_volume_info+0x248>  
         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);        
ffc153b8:	55 08 40 2e 	rlwinm  r8,r8,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);                         
ffc153bc:	9b 7f 00 09 	stb     r27,9(r31)                             
    vol->fat_loc = FAT_GET_BR_RESERVED_SECTORS_NUM(boot_rec);         
ffc153c0:	54 c6 40 2e 	rlwinm  r6,r6,8,0,23                           
                                                                      
    vol->rdir_entrs = FAT_GET_BR_FILES_PER_ROOT_DIR(boot_rec);        
ffc153c4:	7d 0a 53 78 	or      r10,r8,r10                             
                                                                      
    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);         
ffc153c8:	7c c7 3b 78 	or      r7,r6,r7                               
                                                                      
    vol->rdir_entrs = FAT_GET_BR_FILES_PER_ROOT_DIR(boot_rec);        
ffc153cc:	b1 5f 00 20 	sth     r10,32(r31)                            
                                                                      
    /* calculate the count of sectors occupied by the root directory */
    vol->rdir_secs = ((vol->rdir_entrs * FAT_DIRENTRY_SIZE) + (vol->bps - 1)) /
ffc153d0:	38 c5 ff ff 	addi    r6,r5,-1                               
ffc153d4:	55 4a 28 34 	rlwinm  r10,r10,5,0,26                         
                                                                      
    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);         
ffc153d8:	b0 ff 00 14 	sth     r7,20(r31)                             
                                                                      
    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)) /
ffc153dc:	7d 4a 32 14 	add     r10,r10,r6                             
ffc153e0:	7c aa 2b d6 	divw    r5,r10,r5                              
                     vol->bps;                                        
                                                                      
    vol->rdir_size = vol->rdir_secs << vol->sec_log2;                 
ffc153e4:	89 5f 00 02 	lbz     r10,2(r31)                             
                                                                      
    if ( (FAT_GET_BR_SECTORS_PER_FAT(boot_rec)) != 0)                 
ffc153e8:	55 6b 40 2e 	rlwinm  r11,r11,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)) /
ffc153ec:	90 bf 00 24 	stw     r5,36(r31)                             
                     vol->bps;                                        
                                                                      
    vol->rdir_size = vol->rdir_secs << vol->sec_log2;                 
                                                                      
    if ( (FAT_GET_BR_SECTORS_PER_FAT(boot_rec)) != 0)                 
ffc153f0:	7d 69 4b 78 	or      r9,r11,r9                              
ffc153f4:	7d 29 07 35 	extsh.  r9,r9                                  
                                                                      
    /* 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;                 
ffc153f8:	7c aa 50 30 	slw     r10,r5,r10                             
ffc153fc:	91 5f 00 28 	stw     r10,40(r31)                            
                                                                      
    if ( (FAT_GET_BR_SECTORS_PER_FAT(boot_rec)) != 0)                 
ffc15400:	41 82 00 10 	beq-    ffc15410 <fat_init_volume_info+0x2b8>  <== NEVER TAKEN
        vol->fat_length = FAT_GET_BR_SECTORS_PER_FAT(boot_rec);       
ffc15404:	55 29 04 3e 	clrlwi  r9,r9,16                               
ffc15408:	91 3f 00 18 	stw     r9,24(r31)                             
ffc1540c:	48 00 00 20 	b       ffc1542c <fat_init_volume_info+0x2d4>  
    else                                                              
        vol->fat_length = FAT_GET_BR_SECTORS_PER_FAT32(boot_rec);     
ffc15410:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           <== NOT EXECUTED
ffc15414:	55 ce 80 1e 	rlwinm  r14,r14,16,0,15                        <== NOT EXECUTED
ffc15418:	7c 00 73 78 	or      r0,r0,r14                              <== NOT EXECUTED
ffc1541c:	7c 0f 7b 78 	or      r15,r0,r15                             <== NOT EXECUTED
ffc15420:	56 10 c0 0e 	rlwinm  r16,r16,24,0,7                         <== NOT EXECUTED
ffc15424:	7d f0 83 78 	or      r16,r15,r16                            <== NOT EXECUTED
ffc15428:	92 1f 00 18 	stw     r16,24(r31)                            <== NOT EXECUTED
                                                                      
    vol->data_fsec = vol->fat_loc + vol->fats * vol->fat_length +     
ffc1542c:	80 1f 00 18 	lwz     r0,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)             
ffc15430:	56 31 40 2e 	rlwinm  r17,r17,8,0,23                         
ffc15434:	7e 32 93 78 	or      r18,r17,r18                            
    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 +     
ffc15438:	7f 7b 01 d6 	mullw   r27,r27,r0                             
                     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)             
ffc1543c:	7e 52 07 35 	extsh.  r18,r18                                
    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 +     
ffc15440:	7f 67 da 14 	add     r27,r7,r27                             
ffc15444:	7c a5 da 14 	add     r5,r5,r27                              
                     vol->rdir_secs;                                  
                                                                      
    /* for  FAT12/16 root dir starts at(sector) */                    
    vol->rdir_loc = vol->fat_loc + vol->fats * vol->fat_length;       
ffc15448:	93 7f 00 1c 	stw     r27,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 +     
ffc1544c:	90 bf 00 30 	stw     r5,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)             
ffc15450:	41 82 00 10 	beq-    ffc15460 <fat_init_volume_info+0x308>  <== NEVER TAKEN
        vol->tot_secs = FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec);     
ffc15454:	56 52 04 3e 	clrlwi  r18,r18,16                             
ffc15458:	92 5f 00 2c 	stw     r18,44(r31)                            
ffc1545c:	48 00 00 20 	b       ffc1547c <fat_init_volume_info+0x324>  
    else                                                              
        vol->tot_secs = FAT_GET_BR_TOTAL_SECTORS_NUM32(boot_rec);     
ffc15460:	56 73 40 2e 	rlwinm  r19,r19,8,0,23                         <== NOT EXECUTED
ffc15464:	56 94 80 1e 	rlwinm  r20,r20,16,0,15                        <== NOT EXECUTED
ffc15468:	7e 74 a3 78 	or      r20,r19,r20                            <== NOT EXECUTED
ffc1546c:	7e 95 ab 78 	or      r21,r20,r21                            <== NOT EXECUTED
ffc15470:	56 d6 c0 0e 	rlwinm  r22,r22,24,0,7                         <== NOT EXECUTED
ffc15474:	7e b6 b3 78 	or      r22,r21,r22                            <== NOT EXECUTED
ffc15478:	92 df 00 2c 	stw     r22,44(r31)                            <== NOT EXECUTED
                                                                      
    data_secs = vol->tot_secs - vol->data_fsec;                       
ffc1547c:	80 1f 00 2c 	lwz     r0,44(r31)                             
ffc15480:	7c a5 00 50 	subf    r5,r5,r0                               
                                                                      
    vol->data_cls = data_secs / vol->spc;                             
ffc15484:	7f a5 eb 96 	divwu   r29,r5,r29                             
                                                                      
    /* determine FAT type at least */                                 
    if ( vol->data_cls < FAT_FAT12_MAX_CLN)                           
ffc15488:	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;                             
ffc1548c:	93 bf 00 34 	stw     r29,52(r31)                            
                                                                      
    /* determine FAT type at least */                                 
    if ( vol->data_cls < FAT_FAT12_MAX_CLN)                           
ffc15490:	41 9d 00 1c 	bgt-    cr7,ffc154ac <fat_init_volume_info+0x354><== NEVER TAKEN
    {                                                                 
        vol->type = FAT_FAT12;                                        
ffc15494:	38 00 00 01 	li      r0,1                                   
ffc15498:	98 1f 00 0a 	stb     r0,10(r31)                             
        vol->mask = FAT_FAT12_MASK;                                   
ffc1549c:	38 00 0f ff 	li      r0,4095                                
ffc154a0:	90 1f 00 0c 	stw     r0,12(r31)                             
        vol->eoc_val = FAT_FAT12_EOC;                                 
ffc154a4:	38 00 0f f8 	li      r0,4088                                
ffc154a8:	48 00 00 44 	b       ffc154ec <fat_init_volume_info+0x394>  
    }                                                                 
    else                                                              
    {                                                                 
        if ( vol->data_cls < FAT_FAT16_MAX_CLN)                       
ffc154ac:	2b 9d ff f4 	cmplwi  cr7,r29,65524                          <== NOT EXECUTED
ffc154b0:	41 9d 00 20 	bgt-    cr7,ffc154d0 <fat_init_volume_info+0x378><== NOT EXECUTED
        {                                                             
            vol->type = FAT_FAT16;                                    
ffc154b4:	38 00 00 02 	li      r0,2                                   <== NOT EXECUTED
ffc154b8:	98 1f 00 0a 	stb     r0,10(r31)                             <== NOT EXECUTED
            vol->mask = FAT_FAT16_MASK;                               
ffc154bc:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc154c0:	60 00 ff ff 	ori     r0,r0,65535                            <== NOT EXECUTED
ffc154c4:	90 1f 00 0c 	stw     r0,12(r31)                             <== NOT EXECUTED
            vol->eoc_val = FAT_FAT16_EOC;                             
ffc154c8:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc154cc:	48 00 00 1c 	b       ffc154e8 <fat_init_volume_info+0x390>  <== NOT EXECUTED
        }                                                             
        else                                                          
        {                                                             
            vol->type = FAT_FAT32;                                    
ffc154d0:	38 00 00 04 	li      r0,4                                   <== NOT EXECUTED
ffc154d4:	98 1f 00 0a 	stb     r0,10(r31)                             <== NOT EXECUTED
            vol->mask = FAT_FAT32_MASK;                               
ffc154d8:	3c 00 0f ff 	lis     r0,4095                                <== NOT EXECUTED
ffc154dc:	60 00 ff ff 	ori     r0,r0,65535                            <== NOT EXECUTED
ffc154e0:	90 1f 00 0c 	stw     r0,12(r31)                             <== NOT EXECUTED
            vol->eoc_val = FAT_FAT32_EOC;                             
ffc154e4:	3c 00 0f ff 	lis     r0,4095                                <== NOT EXECUTED
ffc154e8:	60 00 ff f8 	ori     r0,r0,65528                            <== NOT EXECUTED
ffc154ec:	90 1f 00 10 	stw     r0,16(r31)                             
        }                                                             
    }                                                                 
                                                                      
    if (vol->type == FAT_FAT32)                                       
ffc154f0:	88 1f 00 0a 	lbz     r0,10(r31)                             
ffc154f4:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc154f8:	40 be 01 80 	bne+    cr7,ffc15678 <fat_init_volume_info+0x520><== ALWAYS TAKEN
    {                                                                 
        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;
ffc154fc:	57 80 00 30 	rlwinm  r0,r28,0,0,24                          <== NOT EXECUTED
ffc15500:	54 00 06 3e 	clrlwi  r0,r0,24                               <== NOT EXECUTED
        if (vol->mirror)                                              
ffc15504:	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);       
                                                                      
        vol->mirror = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_MIRROR;
ffc15508:	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);       
ffc1550c:	56 f7 40 2e 	rlwinm  r23,r23,8,0,23                         <== NOT EXECUTED
ffc15510:	57 18 80 1e 	rlwinm  r24,r24,16,0,15                        <== NOT EXECUTED
ffc15514:	7e f8 c3 78 	or      r24,r23,r24                            <== NOT EXECUTED
ffc15518:	7f 19 cb 78 	or      r25,r24,r25                            <== NOT EXECUTED
ffc1551c:	57 5a c0 0e 	rlwinm  r26,r26,24,0,7                         <== NOT EXECUTED
ffc15520:	7f 3a d3 78 	or      r26,r25,r26                            <== NOT EXECUTED
ffc15524:	93 5f 00 38 	stw     r26,56(r31)                            <== NOT EXECUTED
                                                                      
        vol->mirror = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_MIRROR;
        if (vol->mirror)                                              
ffc15528:	41 9e 00 10 	beq-    cr7,ffc15538 <fat_init_volume_info+0x3e0><== NOT EXECUTED
            vol->afat = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_FAT_NUM;
ffc1552c:	57 9c 07 3e 	clrlwi  r28,r28,28                             <== NOT EXECUTED
ffc15530:	9b 9f 00 50 	stb     r28,80(r31)                            <== NOT EXECUTED
ffc15534:	48 00 00 08 	b       ffc1553c <fat_init_volume_info+0x3e4>  <== NOT EXECUTED
        else                                                          
            vol->afat = 0;                                            
ffc15538:	98 1f 00 50 	stb     r0,80(r31)                             <== NOT EXECUTED
                                                                      
        vol->info_sec = FAT_GET_BR_FAT32_FS_INFO_SECTOR(boot_rec);    
ffc1553c:	80 a1 00 68 	lwz     r5,104(r1)                             <== NOT EXECUTED
ffc15540:	55 8c 40 2e 	rlwinm  r12,r12,8,0,23                         <== NOT EXECUTED
ffc15544:	7d 84 2b 78 	or      r4,r12,r5                              <== NOT EXECUTED
        if( vol->info_sec == 0 )                                      
ffc15548:	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);    
ffc1554c:	b0 9f 00 3c 	sth     r4,60(r31)                             <== NOT EXECUTED
        if( vol->info_sec == 0 )                                      
ffc15550:	41 9e 00 5c 	beq-    cr7,ffc155ac <fat_init_volume_info+0x454><== 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,        
ffc15554:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc15558:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc1555c:	38 c0 00 04 	li      r6,4                                   <== NOT EXECUTED
ffc15560:	38 e1 00 0c 	addi    r7,r1,12                               <== NOT EXECUTED
ffc15564:	4b ff f6 71 	bl      ffc14bd4 <_fat_block_read>             <== NOT EXECUTED
                                  FAT_FSI_LEADSIG_SIZE, fs_info_sector);
            if ( ret < 0 )                                            
ffc15568:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1556c:	41 9c 00 7c 	blt-    cr7,ffc155e8 <fat_init_volume_info+0x490><== NOT EXECUTED
            {                                                         
                rtems_disk_release(vol->dd);                          
                return -1;                                            
            }                                                         
                                                                      
            if (FAT_GET_FSINFO_LEAD_SIGNATURE(fs_info_sector) !=      
ffc15570:	89 21 00 0d 	lbz     r9,13(r1)                              <== NOT EXECUTED
ffc15574:	88 01 00 0e 	lbz     r0,14(r1)                              <== NOT EXECUTED
ffc15578:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           <== NOT EXECUTED
ffc1557c:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          <== NOT EXECUTED
ffc15580:	7d 29 03 78 	or      r9,r9,r0                               <== NOT EXECUTED
ffc15584:	88 01 00 0c 	lbz     r0,12(r1)                              <== NOT EXECUTED
ffc15588:	7d 29 03 78 	or      r9,r9,r0                               <== NOT EXECUTED
ffc1558c:	88 01 00 0f 	lbz     r0,15(r1)                              <== NOT EXECUTED
ffc15590:	54 00 c0 0e 	rlwinm  r0,r0,24,0,7                           <== NOT EXECUTED
ffc15594:	7d 29 03 78 	or      r9,r9,r0                               <== NOT EXECUTED
ffc15598:	6d 20 41 61 	xoris   r0,r9,16737                            <== NOT EXECUTED
ffc1559c:	2f 80 52 52 	cmpwi   cr7,r0,21074                           <== NOT EXECUTED
ffc155a0:	41 9e 00 20 	beq-    cr7,ffc155c0 <fat_init_volume_info+0x468><== 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);                                  
ffc155a4:	80 7e 00 34 	lwz     r3,52(r30)                             <== NOT EXECUTED
ffc155a8:	4b ff f4 d9 	bl      ffc14a80 <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);                          
ffc155ac:	80 7f 00 60 	lwz     r3,96(r31)                             <== NOT EXECUTED
ffc155b0:	4b ff 13 41 	bl      ffc068f0 <rtems_disk_release>          <== NOT EXECUTED
                rtems_set_errno_and_return_minus_one( EINVAL );       
ffc155b4:	48 00 7c f5 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc155b8:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc155bc:	48 00 02 2c 	b       ffc157e8 <fat_init_volume_info+0x690>  <== NOT EXECUTED
            }                                                         
            else                                                      
            {                                                         
                ret = _fat_block_read(mt_entry, vol->info_sec , FAT_FSI_INFO,
ffc155c0:	a0 9f 00 3c 	lhz     r4,60(r31)                             <== NOT EXECUTED
ffc155c4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc155c8:	38 a0 01 e4 	li      r5,484                                 <== NOT EXECUTED
ffc155cc:	38 c0 00 0c 	li      r6,12                                  <== NOT EXECUTED
ffc155d0:	38 e1 00 0c 	addi    r7,r1,12                               <== NOT EXECUTED
ffc155d4:	4b ff f6 01 	bl      ffc14bd4 <_fat_block_read>             <== NOT EXECUTED
                                      FAT_USEFUL_INFO_SIZE, fs_info_sector);
                if ( ret < 0 )                                        
ffc155d8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc155dc:	40 bc 00 18 	bge+    cr7,ffc155f4 <fat_init_volume_info+0x49c><== 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);                                  
ffc155e0:	80 7e 00 34 	lwz     r3,52(r30)                             <== NOT EXECUTED
ffc155e4:	4b ff f4 9d 	bl      ffc14a80 <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);                      
ffc155e8:	80 7f 00 60 	lwz     r3,96(r31)                             <== NOT EXECUTED
ffc155ec:	4b ff 13 05 	bl      ffc068f0 <rtems_disk_release>          <== NOT EXECUTED
ffc155f0:	48 00 01 fc 	b       ffc157ec <fat_init_volume_info+0x694>  <== NOT EXECUTED
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
ffc155f4:	89 21 00 11 	lbz     r9,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,
ffc155f8:	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);
ffc155fc:	88 01 00 12 	lbz     r0,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,
ffc15600:	38 80 ff ff 	li      r4,-1                                  <== 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);
ffc15604:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           <== NOT EXECUTED
ffc15608:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          <== NOT EXECUTED
ffc1560c:	7d 20 03 78 	or      r0,r9,r0                               <== NOT EXECUTED
ffc15610:	89 21 00 10 	lbz     r9,16(r1)                              <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
                rc = fat_fat32_update_fsinfo_sector(mt_entry, 0xFFFFFFFF,
ffc15614:	38 a0 ff ff 	li      r5,-1                                  <== 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);
ffc15618:	7c 00 4b 78 	or      r0,r0,r9                               <== NOT EXECUTED
ffc1561c:	89 21 00 13 	lbz     r9,19(r1)                              <== NOT EXECUTED
ffc15620:	55 29 c0 0e 	rlwinm  r9,r9,24,0,7                           <== NOT EXECUTED
ffc15624:	7c 00 4b 78 	or      r0,r0,r9                               <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
ffc15628:	89 21 00 15 	lbz     r9,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);
ffc1562c:	90 1f 00 40 	stw     r0,64(r31)                             <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
ffc15630:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           <== NOT EXECUTED
ffc15634:	88 01 00 16 	lbz     r0,22(r1)                              <== NOT EXECUTED
ffc15638:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          <== NOT EXECUTED
ffc1563c:	7d 20 03 78 	or      r0,r9,r0                               <== NOT EXECUTED
ffc15640:	89 21 00 14 	lbz     r9,20(r1)                              <== NOT EXECUTED
ffc15644:	7c 00 4b 78 	or      r0,r0,r9                               <== NOT EXECUTED
ffc15648:	89 21 00 17 	lbz     r9,23(r1)                              <== NOT EXECUTED
ffc1564c:	55 29 c0 0e 	rlwinm  r9,r9,24,0,7                           <== NOT EXECUTED
ffc15650:	7c 00 4b 78 	or      r0,r0,r9                               <== NOT EXECUTED
ffc15654:	90 1f 00 44 	stw     r0,68(r31)                             <== NOT EXECUTED
                rc = fat_fat32_update_fsinfo_sector(mt_entry, 0xFFFFFFFF,
ffc15658:	4b ff f9 71 	bl      ffc14fc8 <fat_fat32_update_fsinfo_sector><== NOT EXECUTED
                                                    0xFFFFFFFF);      
                if ( rc != RC_OK )                                    
ffc1565c:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc15660:	41 a2 00 34 	beq+    ffc15694 <fat_init_volume_info+0x53c>  <== 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);                                  
ffc15664:	80 7e 00 34 	lwz     r3,52(r30)                             <== NOT EXECUTED
ffc15668:	4b ff f4 19 	bl      ffc14a80 <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);                      
ffc1566c:	80 7f 00 60 	lwz     r3,96(r31)                             <== NOT EXECUTED
ffc15670:	4b ff 12 81 	bl      ffc068f0 <rtems_disk_release>          <== NOT EXECUTED
                    return rc;                                        
ffc15674:	48 00 01 7c 	b       ffc157f0 <fat_init_volume_info+0x698>  <== NOT EXECUTED
            }                                                         
        }                                                             
    }                                                                 
    else                                                              
    {                                                                 
        vol->rdir_cl = 0;                                             
ffc15678:	38 00 00 00 	li      r0,0                                   
ffc1567c:	90 1f 00 38 	stw     r0,56(r31)                             
        vol->mirror = 0;                                              
ffc15680:	98 1f 00 48 	stb     r0,72(r31)                             
        vol->afat = 0;                                                
ffc15684:	98 1f 00 50 	stb     r0,80(r31)                             
        vol->free_cls = 0xFFFFFFFF;                                   
ffc15688:	38 00 ff ff 	li      r0,-1                                  
ffc1568c:	90 1f 00 40 	stw     r0,64(r31)                             
        vol->next_cl = 0xFFFFFFFF;                                    
ffc15690:	90 1f 00 44 	stw     r0,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);                                  
ffc15694:	80 7e 00 34 	lwz     r3,52(r30)                             
ffc15698:	4b ff f3 e9 	bl      ffc14a80 <fat_buf_release>             
        vol->next_cl = 0xFFFFFFFF;                                    
    }                                                                 
                                                                      
    _fat_block_release(mt_entry);                                     
                                                                      
    vol->afat_loc = vol->fat_loc + vol->fat_length * vol->afat;       
ffc1569c:	89 3f 00 50 	lbz     r9,80(r31)                             
ffc156a0:	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));
ffc156a4:	38 60 00 02 	li      r3,2                                   
ffc156a8:	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;       
ffc156ac:	7c 09 01 d6 	mullw   r0,r9,r0                               
ffc156b0:	a1 3f 00 14 	lhz     r9,20(r31)                             
ffc156b4:	7c 00 4a 14 	add     r0,r0,r9                               
ffc156b8:	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));
ffc156bc:	4b ff 1d 1d 	bl      ffc073d8 <calloc>                      
    if ( fs_info->vhash == NULL )                                     
ffc156c0:	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));
ffc156c4:	90 7f 00 68 	stw     r3,104(r31)                            
    if ( fs_info->vhash == NULL )                                     
ffc156c8:	41 9e 00 48 	beq-    cr7,ffc15710 <fat_init_volume_info+0x5b8><== 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 );                        
ffc156cc:	38 03 00 04 	addi    r0,r3,4                                
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc156d0:	90 63 00 08 	stw     r3,8(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 );                        
ffc156d4:	39 23 00 10 	addi    r9,r3,16                               
                                                                      
  head->next = tail;                                                  
ffc156d8:	90 03 00 00 	stw     r0,0(r3)                               
  head->previous = NULL;                                              
ffc156dc:	3b c0 00 00 	li      r30,0                                  
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 );                        
ffc156e0:	38 03 00 0c 	addi    r0,r3,12                               
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc156e4:	93 c3 00 04 	stw     r30,4(r3)                              
    }                                                                 
                                                                      
    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));
ffc156e8:	38 80 00 0c 	li      r4,12                                  
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc156ec:	91 23 00 0c 	stw     r9,12(r3)                              
  head->previous = NULL;                                              
ffc156f0:	93 c3 00 10 	stw     r30,16(r3)                             
  tail->previous = head;                                              
ffc156f4:	90 03 00 14 	stw     r0,20(r3)                              
ffc156f8:	38 60 00 02 	li      r3,2                                   
ffc156fc:	4b ff 1c dd 	bl      ffc073d8 <calloc>                      
    if ( fs_info->rhash == NULL )                                     
ffc15700:	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));
ffc15704:	90 7f 00 6c 	stw     r3,108(r31)                            
    if ( fs_info->rhash == NULL )                                     
ffc15708:	40 be 00 14 	bne+    cr7,ffc1571c <fat_init_volume_info+0x5c4><== ALWAYS TAKEN
ffc1570c:	48 00 00 70 	b       ffc1577c <fat_init_volume_info+0x624>  <== 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);                                  
ffc15710:	80 7f 00 60 	lwz     r3,96(r31)                             <== NOT EXECUTED
ffc15714:	4b ff 11 dd 	bl      ffc068f0 <rtems_disk_release>          <== NOT EXECUTED
ffc15718:	48 00 00 c8 	b       ffc157e0 <fat_init_volume_info+0x688>  <== 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 );                        
ffc1571c:	38 03 00 04 	addi    r0,r3,4                                
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc15720:	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 );                        
ffc15724:	39 23 00 10 	addi    r9,r3,16                               
                                                                      
  head->next = tail;                                                  
ffc15728:	90 03 00 00 	stw     r0,0(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 );                        
ffc1572c:	38 03 00 0c 	addi    r0,r3,12                               
        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));
ffc15730:	38 80 00 01 	li      r4,1                                   
                                                                      
  head->next = tail;                                                  
ffc15734:	91 23 00 0c 	stw     r9,12(r3)                              
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc15738:	90 03 00 14 	stw     r0,20(r3)                              
        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;                
ffc1573c:	38 00 01 00 	li      r0,256                                 
ffc15740:	90 63 00 08 	stw     r3,8(r3)                               
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc15744:	93 c3 00 10 	stw     r30,16(r3)                             
    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));
ffc15748:	38 60 01 00 	li      r3,256                                 
        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;                
ffc1574c:	90 1f 00 78 	stw     r0,120(r31)                            
    fs_info->uino_base = (vol->tot_secs << vol->sec_mul) << 4;        
ffc15750:	81 3f 00 2c 	lwz     r9,44(r31)                             
ffc15754:	88 1f 00 03 	lbz     r0,3(r31)                              
    fs_info->index = 0;                                               
ffc15758:	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;        
ffc1575c:	7d 20 00 30 	slw     r0,r9,r0                               
ffc15760:	54 00 20 36 	rlwinm  r0,r0,4,0,27                           
ffc15764:	90 1f 00 7c 	stw     r0,124(r31)                            
    fs_info->index = 0;                                               
    fs_info->uino = (char *)calloc(fs_info->uino_pool_size, sizeof(char));
ffc15768:	4b ff 1c 71 	bl      ffc073d8 <calloc>                      
    if ( fs_info->uino == NULL )                                      
ffc1576c:	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));
ffc15770:	90 7f 00 70 	stw     r3,112(r31)                            
    if ( fs_info->uino == NULL )                                      
ffc15774:	40 be 00 30 	bne+    cr7,ffc157a4 <fat_init_volume_info+0x64c><== ALWAYS TAKEN
ffc15778:	48 00 00 14 	b       ffc1578c <fat_init_volume_info+0x634>  <== 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);                                  
ffc1577c:	80 7f 00 60 	lwz     r3,96(r31)                             <== NOT EXECUTED
ffc15780:	4b ff 11 71 	bl      ffc068f0 <rtems_disk_release>          <== NOT EXECUTED
        free(fs_info->vhash);                                         
ffc15784:	80 7f 00 68 	lwz     r3,104(r31)                            <== NOT EXECUTED
ffc15788:	48 00 00 54 	b       ffc157dc <fat_init_volume_info+0x684>  <== 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);                                  
ffc1578c:	80 7f 00 60 	lwz     r3,96(r31)                             <== NOT EXECUTED
ffc15790:	4b ff 11 61 	bl      ffc068f0 <rtems_disk_release>          <== NOT EXECUTED
        free(fs_info->vhash);                                         
ffc15794:	80 7f 00 68 	lwz     r3,104(r31)                            <== NOT EXECUTED
ffc15798:	4b ff 21 51 	bl      ffc078e8 <free>                        <== NOT EXECUTED
        free(fs_info->rhash);                                         
ffc1579c:	80 7f 00 6c 	lwz     r3,108(r31)                            <== NOT EXECUTED
ffc157a0:	48 00 00 3c 	b       ffc157dc <fat_init_volume_info+0x684>  <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( ENOMEM );               
    }                                                                 
    fs_info->sec_buf = (uint8_t *)calloc(vol->bps, sizeof(uint8_t));  
ffc157a4:	a0 7f 00 00 	lhz     r3,0(r31)                              
ffc157a8:	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;                                                     
ffc157ac:	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));  
ffc157b0:	4b ff 1c 29 	bl      ffc073d8 <calloc>                      
    if (fs_info->sec_buf == NULL)                                     
ffc157b4:	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));  
ffc157b8:	90 7f 00 8c 	stw     r3,140(r31)                            
    if (fs_info->sec_buf == NULL)                                     
ffc157bc:	40 be 00 34 	bne+    cr7,ffc157f0 <fat_init_volume_info+0x698><== ALWAYS TAKEN
    {                                                                 
        rtems_disk_release(vol->dd);                                  
ffc157c0:	80 7f 00 60 	lwz     r3,96(r31)                             <== NOT EXECUTED
ffc157c4:	4b ff 11 2d 	bl      ffc068f0 <rtems_disk_release>          <== NOT EXECUTED
        free(fs_info->vhash);                                         
ffc157c8:	80 7f 00 68 	lwz     r3,104(r31)                            <== NOT EXECUTED
ffc157cc:	4b ff 21 1d 	bl      ffc078e8 <free>                        <== NOT EXECUTED
        free(fs_info->rhash);                                         
ffc157d0:	80 7f 00 6c 	lwz     r3,108(r31)                            <== NOT EXECUTED
ffc157d4:	4b ff 21 15 	bl      ffc078e8 <free>                        <== NOT EXECUTED
        free(fs_info->uino);                                          
ffc157d8:	80 7f 00 70 	lwz     r3,112(r31)                            <== NOT EXECUTED
ffc157dc:	4b ff 21 0d 	bl      ffc078e8 <free>                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( ENOMEM );               
ffc157e0:	48 00 7a c9 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc157e4:	38 00 00 0c 	li      r0,12                                  <== NOT EXECUTED
ffc157e8:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc157ec:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc157f0:	39 61 00 e0 	addi    r11,r1,224                             
ffc157f4:	7f a3 eb 78 	mr      r3,r29                                 
ffc157f8:	4b fe d2 bc 	b       ffc02ab4 <_restgpr_14_x>               
                                                                      

ffc1be74 <fat_scan_fat_for_free_clusters>: uint32_t *chain, uint32_t count, uint32_t *cls_added, uint32_t *last_cl ) {
ffc1be74:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc1be78:	7c 08 02 a6 	mflr    r0                                     
ffc1be7c:	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;                                      
ffc1be80:	38 00 00 00 	li      r0,0                                   
    uint32_t                             *chain,                      
    uint32_t                              count,                      
    uint32_t                             *cls_added,                  
    uint32_t                             *last_cl                     
    )                                                                 
{                                                                     
ffc1be84:	be 81 00 18 	stmw    r20,24(r1)                             
    uint32_t       data_cls_val = fs_info->vol.data_cls + 2;          
    uint32_t       i = 2;                                             
                                                                      
    *cls_added = 0;                                                   
                                                                      
    if (count == 0)                                                   
ffc1be88:	7c b5 2b 79 	mr.     r21,r5                                 
    uint32_t                             *chain,                      
    uint32_t                              count,                      
    uint32_t                             *cls_added,                  
    uint32_t                             *last_cl                     
    )                                                                 
{                                                                     
ffc1be8c:	7c 7f 1b 78 	mr      r31,r3                                 
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc1be90:	83 63 00 34 	lwz     r27,52(r3)                             
    uint32_t                             *chain,                      
    uint32_t                              count,                      
    uint32_t                             *cls_added,                  
    uint32_t                             *last_cl                     
    )                                                                 
{                                                                     
ffc1be94:	7c 9e 23 78 	mr      r30,r4                                 
ffc1be98:	7c dd 33 78 	mr      r29,r6                                 
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cl4find = 2;                                       
    uint32_t       next_cln = 0;                                      
ffc1be9c:	90 01 00 08 	stw     r0,8(r1)                               
    uint32_t                             *chain,                      
    uint32_t                              count,                      
    uint32_t                             *cls_added,                  
    uint32_t                             *last_cl                     
    )                                                                 
{                                                                     
ffc1bea0:	7c f7 3b 78 	mr      r23,r7                                 
    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;          
ffc1bea4:	82 db 00 34 	lwz     r22,52(r27)                            
    uint32_t       i = 2;                                             
                                                                      
    *cls_added = 0;                                                   
                                                                      
    if (count == 0)                                                   
        return rc;                                                    
ffc1bea8:	3b 40 00 00 	li      r26,0                                  
    uint32_t       next_cln = 0;                                      
    uint32_t       save_cln = 0;                                      
    uint32_t       data_cls_val = fs_info->vol.data_cls + 2;          
    uint32_t       i = 2;                                             
                                                                      
    *cls_added = 0;                                                   
ffc1beac:	90 06 00 00 	stw     r0,0(r6)                               
    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;          
ffc1beb0:	3a d6 00 02 	addi    r22,r22,2                              
    uint32_t       i = 2;                                             
                                                                      
    *cls_added = 0;                                                   
                                                                      
    if (count == 0)                                                   
ffc1beb4:	41 82 01 8c 	beq-    ffc1c040 <fat_scan_fat_for_free_clusters+0x1cc><== NEVER TAKEN
        return rc;                                                    
                                                                      
    if (fs_info->vol.next_cl != FAT_UNDEFINED_VALUE)                  
ffc1beb8:	83 9b 00 44 	lwz     r28,68(r27)                            
ffc1bebc:	2f 9c ff ff 	cmpwi   cr7,r28,-1                             
ffc1bec0:	40 be 00 08 	bne+    cr7,ffc1bec8 <fat_scan_fat_for_free_clusters+0x54>
    uint32_t                             *last_cl                     
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
    uint32_t       cl4find = 2;                                       
ffc1bec4:	3b 80 00 02 	li      r28,2                                  
            }                                                         
        }                                                             
        i++;                                                          
        cl4find++;                                                    
        if (cl4find >= data_cls_val)                                  
            cl4find = 2;                                              
ffc1bec8:	3b 00 00 02 	li      r24,2                                  
ffc1becc:	3b 20 00 00 	li      r25,0                                  
ffc1bed0:	48 00 01 34 	b       ffc1c004 <fat_scan_fat_for_free_clusters+0x190>
     * starting at cluster 2, so the maximum valid cluster number is  
     * (fs_info->vol.data_cls + 1)                                    
     */                                                               
    while (i < data_cls_val)                                          
    {                                                                 
        rc = fat_get_fat_cluster(mt_entry, cl4find, &next_cln);       
ffc1bed4:	7f e3 fb 78 	mr      r3,r31                                 
ffc1bed8:	7f 84 e3 78 	mr      r4,r28                                 
ffc1bedc:	38 a1 00 08 	addi    r5,r1,8                                
ffc1bee0:	4b ff fa 69 	bl      ffc1b948 <fat_get_fat_cluster>         
        if ( rc != RC_OK )                                            
ffc1bee4:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc1bee8:	41 a2 00 20 	beq+    ffc1bf08 <fat_scan_fat_for_free_clusters+0x94><== ALWAYS TAKEN
        {                                                             
            if (*cls_added != 0)                                      
ffc1beec:	80 1d 00 00 	lwz     r0,0(r29)                              <== NOT EXECUTED
ffc1bef0:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1bef4:	41 be 01 4c 	beq+    cr7,ffc1c040 <fat_scan_fat_for_free_clusters+0x1cc><== NOT EXECUTED
                fat_free_fat_clusters_chain(mt_entry, (*chain));      
ffc1bef8:	80 9e 00 00 	lwz     r4,0(r30)                              <== NOT EXECUTED
ffc1befc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1bf00:	4b ff fe 9d 	bl      ffc1bd9c <fat_free_fat_clusters_chain> <== NOT EXECUTED
ffc1bf04:	48 00 01 3c 	b       ffc1c040 <fat_scan_fat_for_free_clusters+0x1cc><== NOT EXECUTED
            return rc;                                                
        }                                                             
                                                                      
        if (next_cln == FAT_GENFAT_FREE)                              
ffc1bf08:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1bf0c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1bf10:	40 9e 00 e0 	bne-    cr7,ffc1bff0 <fat_scan_fat_for_free_clusters+0x17c>
            /*                                                        
             * 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)                                      
ffc1bf14:	80 1d 00 00 	lwz     r0,0(r29)                              
ffc1bf18:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1bf1c:	40 9e 00 24 	bne-    cr7,ffc1bf40 <fat_scan_fat_for_free_clusters+0xcc><== NEVER TAKEN
            {                                                         
                *chain = cl4find;                                     
ffc1bf20:	93 9e 00 00 	stw     r28,0(r30)                             
                rc = fat_set_fat_cluster(mt_entry, cl4find, FAT_GENFAT_EOC);
ffc1bf24:	7f e3 fb 78 	mr      r3,r31                                 
ffc1bf28:	7f 84 e3 78 	mr      r4,r28                                 
ffc1bf2c:	38 a0 ff ff 	li      r5,-1                                  
ffc1bf30:	4b ff fb d5 	bl      ffc1bb04 <fat_set_fat_cluster>         
                if ( rc != RC_OK )                                    
ffc1bf34:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1bf38:	41 a2 00 74 	beq+    ffc1bfac <fat_scan_fat_for_free_clusters+0x138><== ALWAYS TAKEN
ffc1bf3c:	48 00 01 00 	b       ffc1c03c <fat_scan_fat_for_free_clusters+0x1c8><== NOT EXECUTED
                }                                                     
            }                                                         
            else                                                      
            {                                                         
                /* set EOC value to new allocated cluster */          
                rc = fat_set_fat_cluster(mt_entry, cl4find, FAT_GENFAT_EOC);
ffc1bf40:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1bf44:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc1bf48:	38 a0 ff ff 	li      r5,-1                                  <== NOT EXECUTED
ffc1bf4c:	4b ff fb b9 	bl      ffc1bb04 <fat_set_fat_cluster>         <== NOT EXECUTED
                if ( rc != RC_OK )                                    
ffc1bf50:	7c 74 1b 79 	mr.     r20,r3                                 <== NOT EXECUTED
                {                                                     
                    /* cleanup activity */                            
                    fat_free_fat_clusters_chain(mt_entry, (*chain));  
ffc1bf54:	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);
                if ( rc != RC_OK )                                    
ffc1bf58:	41 a2 00 14 	beq+    ffc1bf6c <fat_scan_fat_for_free_clusters+0xf8><== NOT EXECUTED
                {                                                     
                    /* cleanup activity */                            
                    fat_free_fat_clusters_chain(mt_entry, (*chain));  
ffc1bf5c:	80 9e 00 00 	lwz     r4,0(r30)                              <== NOT EXECUTED
                }                                                     
            }                                                         
            else                                                      
            {                                                         
                /* set EOC value to new allocated cluster */          
                rc = fat_set_fat_cluster(mt_entry, cl4find, FAT_GENFAT_EOC);
ffc1bf60:	7e 9a a3 78 	mr      r26,r20                                <== NOT EXECUTED
                if ( rc != RC_OK )                                    
                {                                                     
                    /* cleanup activity */                            
                    fat_free_fat_clusters_chain(mt_entry, (*chain));  
ffc1bf64:	4b ff fe 39 	bl      ffc1bd9c <fat_free_fat_clusters_chain> <== NOT EXECUTED
                    return rc;                                        
ffc1bf68:	48 00 00 d8 	b       ffc1c040 <fat_scan_fat_for_free_clusters+0x1cc><== NOT EXECUTED
                }                                                     
                                                                      
                rc = fat_set_fat_cluster(mt_entry, save_cln, cl4find);
ffc1bf6c:	7f 24 cb 78 	mr      r4,r25                                 <== NOT EXECUTED
ffc1bf70:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc1bf74:	4b ff fb 91 	bl      ffc1bb04 <fat_set_fat_cluster>         <== NOT EXECUTED
                if ( rc != RC_OK )                                    
ffc1bf78:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc1bf7c:	41 a2 00 30 	beq+    ffc1bfac <fat_scan_fat_for_free_clusters+0x138><== NOT EXECUTED
                {                                                     
                    /* cleanup activity */                            
                    fat_free_fat_clusters_chain(mt_entry, (*chain));  
ffc1bf80:	80 9e 00 00 	lwz     r4,0(r30)                              <== NOT EXECUTED
ffc1bf84:	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);
ffc1bf88:	7f 3a cb 78 	mr      r26,r25                                <== NOT EXECUTED
                if ( rc != RC_OK )                                    
                {                                                     
                    /* cleanup activity */                            
                    fat_free_fat_clusters_chain(mt_entry, (*chain));  
ffc1bf8c:	4b ff fe 11 	bl      ffc1bd9c <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);
ffc1bf90:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc1bf94:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc1bf98:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1bf9c:	4b ff fb 69 	bl      ffc1bb04 <fat_set_fat_cluster>         <== NOT EXECUTED
                    fat_buf_release(fs_info);                         
ffc1bfa0:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1bfa4:	4b ff 8a dd 	bl      ffc14a80 <fat_buf_release>             <== NOT EXECUTED
                    return rc;                                        
ffc1bfa8:	48 00 00 98 	b       ffc1c040 <fat_scan_fat_for_free_clusters+0x1cc><== NOT EXECUTED
                }                                                     
            }                                                         
                                                                      
            save_cln = cl4find;                                       
            (*cls_added)++;                                           
ffc1bfac:	81 3d 00 00 	lwz     r9,0(r29)                              
ffc1bfb0:	38 09 00 01 	addi    r0,r9,1                                
                                                                      
            /* have we satisfied request ? */                         
            if (*cls_added == count)                                  
ffc1bfb4:	7f 80 a8 00 	cmpw    cr7,r0,r21                             
                    return rc;                                        
                }                                                     
            }                                                         
                                                                      
            save_cln = cl4find;                                       
            (*cls_added)++;                                           
ffc1bfb8:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
            /* have we satisfied request ? */                         
            if (*cls_added == count)                                  
ffc1bfbc:	40 be 00 30 	bne+    cr7,ffc1bfec <fat_scan_fat_for_free_clusters+0x178><== NEVER TAKEN
            {                                                         
                    fs_info->vol.next_cl = save_cln;                  
                    if (fs_info->vol.free_cls != 0xFFFFFFFF)          
ffc1bfc0:	80 1b 00 40 	lwz     r0,64(r27)                             
            (*cls_added)++;                                           
                                                                      
            /* have we satisfied request ? */                         
            if (*cls_added == count)                                  
            {                                                         
                    fs_info->vol.next_cl = save_cln;                  
ffc1bfc4:	93 9b 00 44 	stw     r28,68(r27)                            
                    if (fs_info->vol.free_cls != 0xFFFFFFFF)          
ffc1bfc8:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc1bfcc:	41 9e 00 10 	beq-    cr7,ffc1bfdc <fat_scan_fat_for_free_clusters+0x168><== ALWAYS TAKEN
                        fs_info->vol.free_cls -= (*cls_added);        
ffc1bfd0:	81 3d 00 00 	lwz     r9,0(r29)                              <== NOT EXECUTED
ffc1bfd4:	7c 09 00 50 	subf    r0,r9,r0                               <== NOT EXECUTED
ffc1bfd8:	90 1b 00 40 	stw     r0,64(r27)                             <== NOT EXECUTED
                *last_cl = save_cln;                                  
ffc1bfdc:	93 97 00 00 	stw     r28,0(r23)                             
                fat_buf_release(fs_info);                             
ffc1bfe0:	7f 63 db 78 	mr      r3,r27                                 
ffc1bfe4:	4b ff 8a 9d 	bl      ffc14a80 <fat_buf_release>             
                return rc;                                            
ffc1bfe8:	48 00 00 58 	b       ffc1c040 <fat_scan_fat_for_free_clusters+0x1cc>
                                                                      
            save_cln = cl4find;                                       
            (*cls_added)++;                                           
                                                                      
            /* have we satisfied request ? */                         
            if (*cls_added == count)                                  
ffc1bfec:	7f 99 e3 78 	mr      r25,r28                                <== NOT EXECUTED
                fat_buf_release(fs_info);                             
                return rc;                                            
            }                                                         
        }                                                             
        i++;                                                          
        cl4find++;                                                    
ffc1bff0:	3b 9c 00 01 	addi    r28,r28,1                              
        if (cl4find >= data_cls_val)                                  
ffc1bff4:	7f 9c b0 40 	cmplw   cr7,r28,r22                            
                *last_cl = save_cln;                                  
                fat_buf_release(fs_info);                             
                return rc;                                            
            }                                                         
        }                                                             
        i++;                                                          
ffc1bff8:	3b 18 00 01 	addi    r24,r24,1                              
        cl4find++;                                                    
        if (cl4find >= data_cls_val)                                  
ffc1bffc:	41 9c 00 08 	blt-    cr7,ffc1c004 <fat_scan_fat_for_free_clusters+0x190><== ALWAYS TAKEN
            cl4find = 2;                                              
ffc1c000:	3b 80 00 02 	li      r28,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)                                          
ffc1c004:	7f 98 b0 40 	cmplw   cr7,r24,r22                            
ffc1c008:	41 9c fe cc 	blt+    cr7,ffc1bed4 <fat_scan_fat_for_free_clusters+0x60><== ALWAYS TAKEN
        if (cl4find >= data_cls_val)                                  
            cl4find = 2;                                              
    }                                                                 
                                                                      
        fs_info->vol.next_cl = save_cln;                              
        if (fs_info->vol.free_cls != 0xFFFFFFFF)                      
ffc1c00c:	80 1b 00 40 	lwz     r0,64(r27)                             <== NOT EXECUTED
        cl4find++;                                                    
        if (cl4find >= data_cls_val)                                  
            cl4find = 2;                                              
    }                                                                 
                                                                      
        fs_info->vol.next_cl = save_cln;                              
ffc1c010:	93 3b 00 44 	stw     r25,68(r27)                            <== NOT EXECUTED
        if (fs_info->vol.free_cls != 0xFFFFFFFF)                      
ffc1c014:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              <== NOT EXECUTED
ffc1c018:	41 9e 00 10 	beq-    cr7,ffc1c028 <fat_scan_fat_for_free_clusters+0x1b4><== NOT EXECUTED
            fs_info->vol.free_cls -= (*cls_added);                    
ffc1c01c:	81 3d 00 00 	lwz     r9,0(r29)                              <== NOT EXECUTED
ffc1c020:	7c 09 00 50 	subf    r0,r9,r0                               <== NOT EXECUTED
ffc1c024:	90 1b 00 40 	stw     r0,64(r27)                             <== NOT EXECUTED
                                                                      
    *last_cl = save_cln;                                              
ffc1c028:	93 37 00 00 	stw     r25,0(r23)                             <== NOT EXECUTED
    fat_buf_release(fs_info);                                         
ffc1c02c:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
    return RC_OK;                                                     
ffc1c030:	3b 40 00 00 	li      r26,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);                                         
ffc1c034:	4b ff 8a 4d 	bl      ffc14a80 <fat_buf_release>             <== NOT EXECUTED
    return RC_OK;                                                     
ffc1c038:	48 00 00 08 	b       ffc1c040 <fat_scan_fat_for_free_clusters+0x1cc><== NOT EXECUTED
             * wouldn't work properly                                 
             */                                                       
            if (*cls_added == 0)                                      
            {                                                         
                *chain = cl4find;                                     
                rc = fat_set_fat_cluster(mt_entry, cl4find, FAT_GENFAT_EOC);
ffc1c03c:	7c 7a 1b 78 	mr      r26,r3                                 <== NOT EXECUTED
            fs_info->vol.free_cls -= (*cls_added);                    
                                                                      
    *last_cl = save_cln;                                              
    fat_buf_release(fs_info);                                         
    return RC_OK;                                                     
}                                                                     
ffc1c040:	39 61 00 48 	addi    r11,r1,72                              
ffc1c044:	7f 43 d3 78 	mr      r3,r26                                 
ffc1c048:	4b fe 6a 84 	b       ffc02acc <_restgpr_20_x>               
                                                                      

ffc1bb04 <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)) )
ffc1bb04:	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                      
    )                                                                 
{                                                                     
ffc1bb08:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc1bb0c:	7c 08 02 a6 	mflr    r0                                     
ffc1bb10:	bf 41 00 18 	stmw    r26,24(r1)                             
ffc1bb14:	7c 9e 23 78 	mr      r30,r4                                 
ffc1bb18:	7c bc 2b 78 	mr      r28,r5                                 
ffc1bb1c:	90 01 00 34 	stw     r0,52(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;                                
ffc1bb20:	38 00 00 00 	li      r0,0                                   
    uint32_t                              cln,                        
    uint32_t                              in_val                      
    )                                                                 
{                                                                     
    int                 rc = RC_OK;                                   
    fat_fs_info_t      *fs_info = mt_entry->fs_info;                  
ffc1bb24:	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;                                
ffc1bb28:	90 01 00 08 	stw     r0,8(r1)                               
                                                                      
    /* sanity check */                                                
    if ( (cln < 2) || (cln > (fs_info->vol.data_cls + 1)) )           
ffc1bb2c:	40 9d 02 58 	ble-    cr7,ffc1bd84 <fat_set_fat_cluster+0x280><== NEVER TAKEN
ffc1bb30:	81 3f 00 34 	lwz     r9,52(r31)                             
ffc1bb34:	38 09 00 01 	addi    r0,r9,1                                
ffc1bb38:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc1bb3c:	41 9d 02 48 	bgt-    cr7,ffc1bd84 <fat_set_fat_cluster+0x280><== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    sec = (FAT_FAT_OFFSET(fs_info->vol.type, cln) >> fs_info->vol.sec_log2) +
ffc1bb40:	88 1f 00 0a 	lbz     r0,10(r31)                             
ffc1bb44:	54 9b f8 7e 	rlwinm  r27,r4,31,1,31                         
ffc1bb48:	7f 7b 22 14 	add     r27,r27,r4                             
ffc1bb4c:	70 09 00 01 	andi.   r9,r0,1                                
ffc1bb50:	40 82 00 14 	bne-    ffc1bb64 <fat_set_fat_cluster+0x60>    <== ALWAYS TAKEN
ffc1bb54:	70 0b 00 02 	andi.   r11,r0,2                               <== NOT EXECUTED
ffc1bb58:	54 9b 10 3a 	rlwinm  r27,r4,2,0,29                          <== NOT EXECUTED
ffc1bb5c:	41 82 00 08 	beq-    ffc1bb64 <fat_set_fat_cluster+0x60>    <== NOT EXECUTED
ffc1bb60:	54 9b 08 3c 	rlwinm  r27,r4,1,0,30                          <== NOT EXECUTED
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
ffc1bb64:	2f 89 00 00 	cmpwi   cr7,r9,0                               
                                                                      
    /* 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) +
ffc1bb68:	89 7f 00 02 	lbz     r11,2(r31)                             
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
ffc1bb6c:	57 dd f8 7e 	rlwinm  r29,r30,31,1,31                        
                                                                      
    /* 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) +
ffc1bb70:	7f 7b 5c 30 	srw     r27,r27,r11                            
ffc1bb74:	81 7f 00 4c 	lwz     r11,76(r31)                            
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
ffc1bb78:	7f bd f2 14 	add     r29,r29,r30                            
                                                                      
    /* 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) +
ffc1bb7c:	7f 7b 5a 14 	add     r27,r27,r11                            
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
ffc1bb80:	40 9e 00 14 	bne-    cr7,ffc1bb94 <fat_set_fat_cluster+0x90><== ALWAYS TAKEN
ffc1bb84:	70 09 00 02 	andi.   r9,r0,2                                <== NOT EXECUTED
ffc1bb88:	57 dd 10 3a 	rlwinm  r29,r30,2,0,29                         <== NOT EXECUTED
ffc1bb8c:	41 82 00 08 	beq-    ffc1bb94 <fat_set_fat_cluster+0x90>    <== NOT EXECUTED
ffc1bb90:	57 dd 08 3c 	rlwinm  r29,r30,1,0,30                         <== NOT EXECUTED
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
ffc1bb94:	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);
ffc1bb98:	a3 5f 00 00 	lhz     r26,0(r31)                             
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
ffc1bb9c:	7f 64 db 78 	mr      r4,r27                                 
ffc1bba0:	38 a0 00 01 	li      r5,1                                   
ffc1bba4:	38 c1 00 08 	addi    r6,r1,8                                
ffc1bba8:	4b ff 8c f5 	bl      ffc1489c <fat_buf_access>              
    if (rc != RC_OK)                                                  
ffc1bbac:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1bbb0:	40 82 01 e4 	bne-    ffc1bd94 <fat_set_fat_cluster+0x290>   <== NEVER TAKEN
    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);
ffc1bbb4:	3b 5a ff ff 	addi    r26,r26,-1                             
ffc1bbb8:	7f ba d0 38 	and     r26,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 )                                      
ffc1bbbc:	8b bf 00 0a 	lbz     r29,10(r31)                            
ffc1bbc0:	2f 9d 00 02 	cmpwi   cr7,r29,2                              
ffc1bbc4:	41 9e 01 54 	beq-    cr7,ffc1bd18 <fat_set_fat_cluster+0x214><== NEVER TAKEN
ffc1bbc8:	2f 9d 00 04 	cmpwi   cr7,r29,4                              
ffc1bbcc:	41 9e 01 6c 	beq-    cr7,ffc1bd38 <fat_set_fat_cluster+0x234><== NEVER TAKEN
ffc1bbd0:	2f 9d 00 01 	cmpwi   cr7,r29,1                              
ffc1bbd4:	40 be 01 b0 	bne+    cr7,ffc1bd84 <fat_set_fat_cluster+0x280><== NEVER TAKEN
    {                                                                 
        case FAT_FAT12:                                               
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
ffc1bbd8:	73 cb 00 01 	andi.   r11,r30,1                              
ffc1bbdc:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1bbe0:	41 82 00 80 	beq-    ffc1bc60 <fat_set_fat_cluster+0x15c>   
            {                                                         
                fat16_clv = ((uint16_t  )in_val) << FAT_FAT12_SHIFT;  
                *((uint8_t   *)(block0->buffer + ofs)) =              
                        (*((uint8_t   *)(block0->buffer + ofs))) & 0x0F;
ffc1bbe4:	81 29 00 24 	lwz     r9,36(r9)                              
    switch ( fs_info->vol.type )                                      
    {                                                                 
        case FAT_FAT12:                                               
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
            {                                                         
                fat16_clv = ((uint16_t  )in_val) << FAT_FAT12_SHIFT;  
ffc1bbe8:	57 9c 24 36 	rlwinm  r28,r28,4,16,27                        
                *((uint8_t   *)(block0->buffer + ofs)) =              
ffc1bbec:	7c 09 d0 ae 	lbzx    r0,r9,r26                              
ffc1bbf0:	54 00 07 3e 	clrlwi  r0,r0,28                               
ffc1bbf4:	7c 09 d1 ae 	stbx    r0,r9,r26                              
                        (*((uint8_t   *)(block0->buffer + ofs))) & 0x0F;
                                                                      
                *((uint8_t   *)(block0->buffer + ofs)) =              
                        (*((uint8_t   *)(block0->buffer + ofs))) |    
ffc1bbf8:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1bbfc:	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)) =              
ffc1bc00:	7c 09 d0 ae 	lbzx    r0,r9,r26                              
ffc1bc04:	7c 00 e3 78 	or      r0,r0,r28                              
ffc1bc08:	7c 09 d1 ae 	stbx    r0,r9,r26                              
                        (*((uint8_t   *)(block0->buffer + ofs))) |    
                        (uint8_t  )(fat16_clv & 0x00FF);              
                                                                      
                fat_buf_mark_modified(fs_info);                       
                                                                      
                if ( ofs == (fs_info->vol.bps - 1) )                  
ffc1bc0c:	a1 3f 00 00 	lhz     r9,0(r31)                              
}                                                                     
                                                                      
static inline void                                                    
fat_buf_mark_modified(fat_fs_info_t *fs_info)                         
{                                                                     
    fs_info->c.modified = true;                                       
ffc1bc10:	9b bf 00 84 	stb     r29,132(r31)                           
ffc1bc14:	38 09 ff ff 	addi    r0,r9,-1                               
ffc1bc18:	7f 9a 00 00 	cmpw    cr7,r26,r0                             
ffc1bc1c:	40 be 00 30 	bne+    cr7,ffc1bc4c <fat_set_fat_cluster+0x148><== ALWAYS TAKEN
                {                                                     
                    rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
ffc1bc20:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1bc24:	38 9b 00 01 	addi    r4,r27,1                               <== NOT EXECUTED
ffc1bc28:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc1bc2c:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc1bc30:	4b ff 8c 6d 	bl      ffc1489c <fat_buf_access>              <== NOT EXECUTED
                                        &block0);                     
                    if (rc != RC_OK)                                  
ffc1bc34:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1bc38:	40 82 01 5c 	bne-    ffc1bd94 <fat_set_fat_cluster+0x290>   <== NOT EXECUTED
                        return rc;                                    
                                                                      
                     *((uint8_t   *)(block0->buffer)) &= 0x00;        
ffc1bc3c:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
ffc1bc40:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
ffc1bc44:	98 69 00 00 	stb     r3,0(r9)                               <== NOT EXECUTED
ffc1bc48:	48 00 00 7c 	b       ffc1bcc4 <fat_set_fat_cluster+0x1c0>   <== NOT EXECUTED
                                                                      
                     fat_buf_mark_modified(fs_info);                  
                }                                                     
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) &= 0x00;
ffc1bc4c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1bc50:	3b 5a 00 01 	addi    r26,r26,1                              
ffc1bc54:	81 29 00 24 	lwz     r9,36(r9)                              
ffc1bc58:	7c 69 d1 ae 	stbx    r3,r9,r26                              
ffc1bc5c:	48 00 00 a0 	b       ffc1bcfc <fat_set_fat_cluster+0x1f8>   
                }                                                     
            }                                                         
            else                                                      
            {                                                         
                fat16_clv = ((uint16_t  )in_val) & FAT_FAT12_MASK;    
                *((uint8_t   *)(block0->buffer + ofs)) &= 0x00;       
ffc1bc60:	81 29 00 24 	lwz     r9,36(r9)                              
                            (uint8_t  )((fat16_clv & 0xFF00)>>8);     
                }                                                     
            }                                                         
            else                                                      
            {                                                         
                fat16_clv = ((uint16_t  )in_val) & FAT_FAT12_MASK;    
ffc1bc64:	57 9c 05 3e 	clrlwi  r28,r28,20                             
                *((uint8_t   *)(block0->buffer + ofs)) &= 0x00;       
ffc1bc68:	7c 69 d1 ae 	stbx    r3,r9,r26                              
                                                                      
                *((uint8_t   *)(block0->buffer + ofs)) =              
                        (*((uint8_t   *)(block0->buffer + ofs))) |    
ffc1bc6c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1bc70:	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)) =              
ffc1bc74:	7c 09 d0 ae 	lbzx    r0,r9,r26                              
ffc1bc78:	7c 00 e3 78 	or      r0,r0,r28                              
ffc1bc7c:	7c 09 d1 ae 	stbx    r0,r9,r26                              
                        (*((uint8_t   *)(block0->buffer + ofs))) |    
                        (uint8_t  )(fat16_clv & 0x00FF);              
                                                                      
                fat_buf_mark_modified(fs_info);                       
                                                                      
                if ( ofs == (fs_info->vol.bps - 1) )                  
ffc1bc80:	a1 3f 00 00 	lhz     r9,0(r31)                              
ffc1bc84:	9b bf 00 84 	stb     r29,132(r31)                           
ffc1bc88:	38 09 ff ff 	addi    r0,r9,-1                               
ffc1bc8c:	7f 9a 00 00 	cmpw    cr7,r26,r0                             
ffc1bc90:	40 be 00 54 	bne+    cr7,ffc1bce4 <fat_set_fat_cluster+0x1e0><== ALWAYS TAKEN
                {                                                     
                    rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
ffc1bc94:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1bc98:	38 9b 00 01 	addi    r4,r27,1                               <== NOT EXECUTED
ffc1bc9c:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc1bca0:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc1bca4:	4b ff 8b f9 	bl      ffc1489c <fat_buf_access>              <== NOT EXECUTED
                                        &block0);                     
                    if (rc != RC_OK)                                  
ffc1bca8:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1bcac:	40 82 00 e8 	bne-    ffc1bd94 <fat_set_fat_cluster+0x290>   <== NOT EXECUTED
                        return rc;                                    
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
                            (*((uint8_t   *)(block0->buffer))) & 0xF0;
ffc1bcb0:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
ffc1bcb4:	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)) =                
ffc1bcb8:	88 09 00 00 	lbz     r0,0(r9)                               <== NOT EXECUTED
ffc1bcbc:	54 00 00 36 	rlwinm  r0,r0,0,0,27                           <== NOT EXECUTED
ffc1bcc0:	98 09 00 00 	stb     r0,0(r9)                               <== NOT EXECUTED
                            (*((uint8_t   *)(block0->buffer))) & 0xF0;
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
                            (*((uint8_t   *)(block0->buffer))) |      
ffc1bcc4:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
                            (uint8_t  )((fat16_clv & 0xFF00)>>8);     
ffc1bcc8:	57 9c c2 3e 	rlwinm  r28,r28,24,8,31                        <== NOT EXECUTED
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
                            (*((uint8_t   *)(block0->buffer))) & 0xF0;
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
                            (*((uint8_t   *)(block0->buffer))) |      
ffc1bccc:	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)) =                
ffc1bcd0:	88 09 00 00 	lbz     r0,0(r9)                               <== NOT EXECUTED
ffc1bcd4:	7f 9c 03 78 	or      r28,r28,r0                             <== NOT EXECUTED
ffc1bcd8:	9b 89 00 00 	stb     r28,0(r9)                              <== NOT EXECUTED
ffc1bcdc:	9b bf 00 84 	stb     r29,132(r31)                           <== NOT EXECUTED
ffc1bce0:	48 00 00 b4 	b       ffc1bd94 <fat_set_fat_cluster+0x290>   <== NOT EXECUTED
                    fat_buf_mark_modified(fs_info);                   
                }                                                     
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
                      (*((uint8_t   *)(block0->buffer + ofs + 1))) & 0xF0;
ffc1bce4:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1bce8:	3b 5a 00 01 	addi    r26,r26,1                              
ffc1bcec:	81 29 00 24 	lwz     r9,36(r9)                              
                                                                      
                    fat_buf_mark_modified(fs_info);                   
                }                                                     
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
ffc1bcf0:	7c 09 d0 ae 	lbzx    r0,r9,r26                              
ffc1bcf4:	54 00 00 36 	rlwinm  r0,r0,0,0,27                           
ffc1bcf8:	7c 09 d1 ae 	stbx    r0,r9,r26                              
                      (*((uint8_t   *)(block0->buffer + ofs + 1))) & 0xF0;
                                                                      
                    *((uint8_t   *)(block0->buffer + ofs+1)) =        
                           (*((uint8_t   *)(block0->buffer + ofs+1))) |
ffc1bcfc:	81 21 00 08 	lwz     r9,8(r1)                               
                           (uint8_t  )((fat16_clv & 0xFF00)>>8);      
ffc1bd00:	57 9c c2 3e 	rlwinm  r28,r28,24,8,31                        
                {                                                     
                    *((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))) |
ffc1bd04:	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)) =        
ffc1bd08:	7c 09 d0 ae 	lbzx    r0,r9,r26                              
ffc1bd0c:	7c 1c e3 78 	or      r28,r0,r28                             
ffc1bd10:	7f 89 d1 ae 	stbx    r28,r9,r26                             
ffc1bd14:	48 00 00 80 	b       ffc1bd94 <fat_set_fat_cluster+0x290>   
                }                                                     
            }                                                         
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *((uint16_t   *)(block0->buffer + ofs)) =                 
ffc1bd18:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
                    (uint16_t  )(CT_LE_W(in_val));                    
ffc1bd1c:	57 9c 04 3e 	clrlwi  r28,r28,16                             <== NOT EXECUTED
ffc1bd20:	57 80 40 2e 	rlwinm  r0,r28,8,0,23                          <== NOT EXECUTED
                }                                                     
            }                                                         
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *((uint16_t   *)(block0->buffer + ofs)) =                 
ffc1bd24:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
                    (uint16_t  )(CT_LE_W(in_val));                    
ffc1bd28:	57 9c c2 3e 	rlwinm  r28,r28,24,8,31                        <== NOT EXECUTED
ffc1bd2c:	7c 1c e3 78 	or      r28,r0,r28                             <== NOT EXECUTED
                }                                                     
            }                                                         
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *((uint16_t   *)(block0->buffer + ofs)) =                 
ffc1bd30:	7f 89 d3 2e 	sthx    r28,r9,r26                             <== NOT EXECUTED
ffc1bd34:	48 00 00 44 	b       ffc1bd78 <fat_set_fat_cluster+0x274>   <== NOT EXECUTED
                    (uint16_t  )(CT_LE_W(in_val));                    
            fat_buf_mark_modified(fs_info);                           
            break;                                                    
                                                                      
        case FAT_FAT32:                                               
            fat32_clv = CT_LE_L((in_val & FAT_FAT32_MASK));           
ffc1bd38:	57 9c 01 3e 	clrlwi  r28,r28,4                              <== NOT EXECUTED
ffc1bd3c:	53 8b 46 3e 	rlwimi  r11,r28,8,24,31                        <== NOT EXECUTED
ffc1bd40:	53 8b c4 2e 	rlwimi  r11,r28,24,16,23                       <== NOT EXECUTED
ffc1bd44:	53 8b 42 1e 	rlwimi  r11,r28,8,8,15                         <== NOT EXECUTED
ffc1bd48:	53 8b c0 0e 	rlwimi  r11,r28,24,0,7                         <== NOT EXECUTED
                                                                      
            *((uint32_t   *)(block0->buffer + ofs)) =                 
            (*((uint32_t   *)(block0->buffer + ofs))) & (CT_LE_L(0xF0000000));
ffc1bd4c:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
ffc1bd50:	3c 00 f0 00 	lis     r0,-4096                               <== NOT EXECUTED
ffc1bd54:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
ffc1bd58:	50 0a 46 3e 	rlwimi  r10,r0,8,24,31                         <== NOT EXECUTED
ffc1bd5c:	50 0a c4 2e 	rlwimi  r10,r0,24,16,23                        <== NOT EXECUTED
ffc1bd60:	50 0a 42 1e 	rlwimi  r10,r0,8,8,15                          <== NOT EXECUTED
ffc1bd64:	50 0a c0 0e 	rlwimi  r10,r0,24,0,7                          <== NOT EXECUTED
ffc1bd68:	7c 09 d0 2e 	lwzx    r0,r9,r26                              <== NOT EXECUTED
ffc1bd6c:	7d 40 00 38 	and     r0,r10,r0                              <== NOT EXECUTED
                                                                      
            *((uint32_t   *)(block0->buffer + ofs)) =                 
                   fat32_clv | (*((uint32_t   *)(block0->buffer + ofs)));
ffc1bd70:	7c 00 5b 78 	or      r0,r0,r11                              <== 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)) =                 
ffc1bd74:	7c 09 d1 2e 	stwx    r0,r9,r26                              <== NOT EXECUTED
ffc1bd78:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc1bd7c:	98 1f 00 84 	stb     r0,132(r31)                            <== NOT EXECUTED
ffc1bd80:	48 00 00 14 	b       ffc1bd94 <fat_set_fat_cluster+0x290>   <== NOT EXECUTED
                                                                      
            fat_buf_mark_modified(fs_info);                           
            break;                                                    
                                                                      
        default:                                                      
            rtems_set_errno_and_return_minus_one(EIO);                
ffc1bd84:	48 00 15 25 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc1bd88:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1bd8c:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1bd90:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1bd94:	39 61 00 30 	addi    r11,r1,48                              
ffc1bd98:	4b fe 6d 4c 	b       ffc02ae4 <_restgpr_26_x>               
                                                                      

ffc15054 <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) {
ffc15054:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc15058:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1505c:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
ffc15060:	bf 81 00 08 	stmw    r28,8(r1)                              <== NOT EXECUTED
    int            rc = RC_OK;                                        
ffc15064:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
    fat_fs_info_t *fs_info = mt_entry->fs_info;                       
ffc15068:	83 e3 00 34 	lwz     r31,52(r3)                             <== NOT EXECUTED
    int            i = 0;                                             
                                                                      
    if (fs_info->vol.type & FAT_FAT32)                                
ffc1506c:	88 1f 00 0a 	lbz     r0,10(r31)                             <== NOT EXECUTED
ffc15070:	70 09 00 04 	andi.   r9,r0,4                                <== NOT EXECUTED
ffc15074:	41 a2 00 1c 	beq+    ffc15090 <fat_shutdown_drive+0x3c>     <== NOT EXECUTED
    {                                                                 
        rc = fat_fat32_update_fsinfo_sector(mt_entry, fs_info->vol.free_cls,
ffc15078:	80 9f 00 40 	lwz     r4,64(r31)                             <== NOT EXECUTED
ffc1507c:	80 bf 00 44 	lwz     r5,68(r31)                             <== NOT EXECUTED
ffc15080:	4b ff ff 49 	bl      ffc14fc8 <fat_fat32_update_fsinfo_sector><== NOT EXECUTED
                                            fs_info->vol.next_cl);    
        if ( rc != RC_OK )                                            
ffc15084:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc15088:	41 82 00 08 	beq-    ffc15090 <fat_shutdown_drive+0x3c>     <== NOT EXECUTED
            rc = -1;                                                  
ffc1508c:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
    }                                                                 
                                                                      
    fat_buf_release(fs_info);                                         
ffc15090:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15094:	4b ff f9 ed 	bl      ffc14a80 <fat_buf_release>             <== NOT EXECUTED
                                                                      
    if (rtems_bdbuf_syncdev(fs_info->vol.dev) != RTEMS_SUCCESSFUL)    
ffc15098:	80 7f 00 58 	lwz     r3,88(r31)                             <== NOT EXECUTED
ffc1509c:	80 9f 00 5c 	lwz     r4,92(r31)                             <== NOT EXECUTED
ffc150a0:	4b ff e3 19 	bl      ffc133b8 <rtems_bdbuf_syncdev>         <== NOT EXECUTED
ffc150a4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc150a8:	41 be 00 08 	beq+    cr7,ffc150b0 <fat_shutdown_drive+0x5c> <== NOT EXECUTED
        rc = -1;                                                      
ffc150ac:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc150b0:	3b a0 00 00 	li      r29,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;          
ffc150b4:	83 9f 00 68 	lwz     r28,104(r31)                           <== NOT EXECUTED
ffc150b8:	7f 9c ea 14 	add     r28,r28,r29                            <== NOT EXECUTED
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
ffc150bc:	48 00 00 08 	b       ffc150c4 <fat_shutdown_drive+0x70>     <== NOT EXECUTED
            free(node);                                               
ffc150c0:	4b ff 28 29 	bl      ffc078e8 <free>                        <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc150c4:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc150c8:	4b ff 79 4d 	bl      ffc0ca14 <_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 )         
ffc150cc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc150d0:	40 9e ff f0 	bne+    cr7,ffc150c0 <fat_shutdown_drive+0x6c> <== 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++)                               
ffc150d4:	2f 9d 00 0c 	cmpwi   cr7,r29,12                             <== NOT EXECUTED
ffc150d8:	3b bd 00 0c 	addi    r29,r29,12                             <== NOT EXECUTED
ffc150dc:	40 be ff d8 	bne-    cr7,ffc150b4 <fat_shutdown_drive+0x60> <== NOT EXECUTED
ffc150e0:	3b a0 00 00 	li      r29,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;          
ffc150e4:	83 9f 00 6c 	lwz     r28,108(r31)                           <== NOT EXECUTED
ffc150e8:	7f 9c ea 14 	add     r28,r28,r29                            <== NOT EXECUTED
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
ffc150ec:	48 00 00 08 	b       ffc150f4 <fat_shutdown_drive+0xa0>     <== NOT EXECUTED
            free(node);                                               
ffc150f0:	4b ff 27 f9 	bl      ffc078e8 <free>                        <== NOT EXECUTED
ffc150f4:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc150f8:	4b ff 79 1d 	bl      ffc0ca14 <_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 )         
ffc150fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15100:	40 9e ff f0 	bne+    cr7,ffc150f0 <fat_shutdown_drive+0x9c> <== NOT EXECUTED
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
            free(node);                                               
    }                                                                 
                                                                      
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
ffc15104:	2f 9d 00 0c 	cmpwi   cr7,r29,12                             <== NOT EXECUTED
ffc15108:	3b bd 00 0c 	addi    r29,r29,12                             <== NOT EXECUTED
ffc1510c:	40 be ff d8 	bne-    cr7,ffc150e4 <fat_shutdown_drive+0x90> <== NOT EXECUTED
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
            free(node);                                               
    }                                                                 
                                                                      
    free(fs_info->vhash);                                             
ffc15110:	80 7f 00 68 	lwz     r3,104(r31)                            <== NOT EXECUTED
ffc15114:	4b ff 27 d5 	bl      ffc078e8 <free>                        <== NOT EXECUTED
    free(fs_info->rhash);                                             
ffc15118:	80 7f 00 6c 	lwz     r3,108(r31)                            <== NOT EXECUTED
ffc1511c:	4b ff 27 cd 	bl      ffc078e8 <free>                        <== NOT EXECUTED
                                                                      
    free(fs_info->uino);                                              
ffc15120:	80 7f 00 70 	lwz     r3,112(r31)                            <== NOT EXECUTED
ffc15124:	4b ff 27 c5 	bl      ffc078e8 <free>                        <== NOT EXECUTED
    free(fs_info->sec_buf);                                           
ffc15128:	80 7f 00 8c 	lwz     r3,140(r31)                            <== NOT EXECUTED
ffc1512c:	4b ff 27 bd 	bl      ffc078e8 <free>                        <== NOT EXECUTED
    rtems_disk_release(fs_info->vol.dd);                              
ffc15130:	80 7f 00 60 	lwz     r3,96(r31)                             <== NOT EXECUTED
ffc15134:	4b ff 17 bd 	bl      ffc068f0 <rtems_disk_release>          <== NOT EXECUTED
                                                                      
    if (rc)                                                           
ffc15138:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== NOT EXECUTED
ffc1513c:	41 be 00 10 	beq+    cr7,ffc1514c <fat_shutdown_drive+0xf8> <== NOT EXECUTED
        errno = EIO;                                                  
ffc15140:	48 00 81 69 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc15144:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc15148:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
    return rc;                                                        
}                                                                     
ffc1514c:	39 61 00 18 	addi    r11,r1,24                              <== NOT EXECUTED
ffc15150:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc15154:	4b fe d9 98 	b       ffc02aec <_restgpr_28_x>               <== NOT EXECUTED
                                                                      

ffc1b8dc <fcntl>: int fd2; int flags; int mask; int ret = 0; rtems_libio_check_fd( fd );
ffc1b8dc:	3d 20 00 00 	lis     r9,0                                   
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
ffc1b8e0:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc1b8e4:	7c 08 02 a6 	mflr    r0                                     
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1b8e8:	81 09 26 dc 	lwz     r8,9948(r9)                            
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
ffc1b8ec:	90 01 00 3c 	stw     r0,60(r1)                              
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
ffc1b8f0:	38 00 00 02 	li      r0,2                                   
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1b8f4:	7f 83 40 40 	cmplw   cr7,r3,r8                              
  ...                                                                 
)                                                                     
{                                                                     
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
ffc1b8f8:	98 01 00 08 	stb     r0,8(r1)                               
ffc1b8fc:	38 01 00 40 	addi    r0,r1,64                               
ffc1b900:	90 01 00 0c 	stw     r0,12(r1)                              
ffc1b904:	38 01 00 10 	addi    r0,r1,16                               
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
ffc1b908:	bf a1 00 2c 	stmw    r29,44(r1)                             
ffc1b90c:	7c 9e 23 78 	mr      r30,r4                                 
ffc1b910:	90 a1 00 18 	stw     r5,24(r1)                              
ffc1b914:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc1b918:	90 e1 00 20 	stw     r7,32(r1)                              
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
ffc1b91c:	90 01 00 10 	stw     r0,16(r1)                              
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1b920:	40 9c 00 20 	bge-    cr7,ffc1b940 <fcntl+0x64>              
  iop = rtems_libio_iop( fd );                                        
ffc1b924:	3d 20 00 00 	lis     r9,0                                   
ffc1b928:	81 49 27 88 	lwz     r10,10120(r9)                          
ffc1b92c:	54 7f 30 32 	rlwinm  r31,r3,6,0,25                          
ffc1b930:	7f ea fa 14 	add     r31,r10,r31                            
  rtems_libio_check_is_open(iop);                                     
ffc1b934:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc1b938:	70 60 01 00 	andi.   r0,r3,256                              
ffc1b93c:	40 a2 00 10 	bne+    ffc1b94c <fcntl+0x70>                  
ffc1b940:	4b ff 4d b5 	bl      ffc106f4 <__errno>                     
ffc1b944:	38 00 00 09 	li      r0,9                                   
ffc1b948:	48 00 01 80 	b       ffc1bac8 <fcntl+0x1ec>                 
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
ffc1b94c:	2b 84 00 09 	cmplwi  cr7,r4,9                               
ffc1b950:	41 9d 01 70 	bgt-    cr7,ffc1bac0 <fcntl+0x1e4>             
ffc1b954:	3d 20 ff c2 	lis     r9,-62                                 
ffc1b958:	39 29 ea dc 	addi    r9,r9,-5412                            
ffc1b95c:	54 80 10 3a 	rlwinm  r0,r4,2,0,29                           
ffc1b960:	7c 09 00 2e 	lwzx    r0,r9,r0                               
ffc1b964:	7d 20 4a 14 	add     r9,r0,r9                               
ffc1b968:	7d 29 03 a6 	mtctr   r9                                     
ffc1b96c:	4e 80 04 20 	bctr                                           
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
ffc1b970:	89 61 00 08 	lbz     r11,8(r1)                              
ffc1b974:	2b 8b 00 07 	cmplwi  cr7,r11,7                              
ffc1b978:	41 9d 00 1c 	bgt-    cr7,ffc1b994 <fcntl+0xb8>              <== NEVER TAKEN
ffc1b97c:	81 21 00 10 	lwz     r9,16(r1)                              
ffc1b980:	55 60 10 3a 	rlwinm  r0,r11,2,0,29                          
ffc1b984:	39 6b 00 01 	addi    r11,r11,1                              
ffc1b988:	7d 29 02 14 	add     r9,r9,r0                               
ffc1b98c:	99 61 00 08 	stb     r11,8(r1)                              
ffc1b990:	48 00 00 10 	b       ffc1b9a0 <fcntl+0xc4>                  
ffc1b994:	81 21 00 0c 	lwz     r9,12(r1)                              <== NOT EXECUTED
ffc1b998:	38 09 00 04 	addi    r0,r9,4                                <== NOT EXECUTED
ffc1b99c:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
ffc1b9a0:	80 09 00 00 	lwz     r0,0(r9)                               
      if ( fd2 )                                                      
ffc1b9a4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1b9a8:	41 9e 00 1c 	beq-    cr7,ffc1b9c4 <fcntl+0xe8>              
        diop = rtems_libio_iop( fd2 );                                
ffc1b9ac:	7f 80 40 40 	cmplw   cr7,r0,r8                              
ffc1b9b0:	38 60 00 00 	li      r3,0                                   
ffc1b9b4:	40 9c 00 1c 	bge-    cr7,ffc1b9d0 <fcntl+0xf4>              <== NEVER TAKEN
ffc1b9b8:	54 03 30 32 	rlwinm  r3,r0,6,0,25                           
ffc1b9bc:	7c 6a 1a 14 	add     r3,r10,r3                              
ffc1b9c0:	48 00 00 10 	b       ffc1b9d0 <fcntl+0xf4>                  
      else {                                                          
        /* allocate a file control block */                           
        diop = rtems_libio_allocate();                                
ffc1b9c4:	4b fe 98 ad 	bl      ffc05270 <rtems_libio_allocate>        
        if ( diop == 0 ) {                                            
ffc1b9c8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1b9cc:	41 82 01 34 	beq-    ffc1bb00 <fcntl+0x224>                 <== NEVER TAKEN
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
ffc1b9d0:	39 63 00 1c 	addi    r11,r3,28                              
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
ffc1b9d4:	80 1f 00 18 	lwz     r0,24(r31)                             
      diop->pathinfo   = iop->pathinfo;                               
ffc1b9d8:	38 9f 00 1c 	addi    r4,r31,28                              
ffc1b9dc:	7c a4 a4 aa 	lswi    r5,r4,20                               
ffc1b9e0:	7c ab a5 aa 	stswi   r5,r11,20                              
      ret = (int) (diop - rtems_libio_iops);                          
ffc1b9e4:	3d 20 00 00 	lis     r9,0                                   
ffc1b9e8:	83 a9 27 88 	lwz     r29,10120(r9)                          
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
ffc1b9ec:	90 03 00 18 	stw     r0,24(r3)                              
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
ffc1b9f0:	7c 7d 18 50 	subf    r3,r29,r3                              
ffc1b9f4:	7c 7d 36 70 	srawi   r29,r3,6                               
ffc1b9f8:	48 00 00 d8 	b       ffc1bad0 <fcntl+0x1f4>                 
      break;                                                          
                                                                      
    case F_GETFD:        /* get f_flags */                            
      ret = ((iop->flags & LIBIO_FLAGS_CLOSE_ON_EXEC) != 0);          
ffc1b9fc:	54 7d af fe 	rlwinm  r29,r3,21,31,31                        
ffc1ba00:	48 00 00 d8 	b       ffc1bad8 <fcntl+0x1fc>                 
       *  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 ) )                                        
ffc1ba04:	89 61 00 08 	lbz     r11,8(r1)                              
ffc1ba08:	2b 8b 00 07 	cmplwi  cr7,r11,7                              
ffc1ba0c:	41 9d 00 1c 	bgt-    cr7,ffc1ba28 <fcntl+0x14c>             <== NEVER TAKEN
ffc1ba10:	81 21 00 10 	lwz     r9,16(r1)                              
ffc1ba14:	55 60 10 3a 	rlwinm  r0,r11,2,0,29                          
ffc1ba18:	39 6b 00 01 	addi    r11,r11,1                              
ffc1ba1c:	7d 29 02 14 	add     r9,r9,r0                               
ffc1ba20:	99 61 00 08 	stb     r11,8(r1)                              
ffc1ba24:	48 00 00 10 	b       ffc1ba34 <fcntl+0x158>                 
ffc1ba28:	81 21 00 0c 	lwz     r9,12(r1)                              <== NOT EXECUTED
ffc1ba2c:	38 09 00 04 	addi    r0,r9,4                                <== NOT EXECUTED
ffc1ba30:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
ffc1ba34:	80 09 00 00 	lwz     r0,0(r9)                               
ffc1ba38:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1ba3c:	41 9e 00 0c 	beq-    cr7,ffc1ba48 <fcntl+0x16c>             
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
ffc1ba40:	60 63 08 00 	ori     r3,r3,2048                             
ffc1ba44:	48 00 00 64 	b       ffc1baa8 <fcntl+0x1cc>                 
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
ffc1ba48:	54 63 05 66 	rlwinm  r3,r3,0,21,19                          
ffc1ba4c:	48 00 00 5c 	b       ffc1baa8 <fcntl+0x1cc>                 
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
ffc1ba50:	4b fe 97 d5 	bl      ffc05224 <rtems_libio_to_fcntl_flags>  
ffc1ba54:	7c 7d 1b 78 	mr      r29,r3                                 
ffc1ba58:	48 00 00 78 	b       ffc1bad0 <fcntl+0x1f4>                 
      break;                                                          
                                                                      
    case F_SETFL:                                                     
      flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );           
ffc1ba5c:	89 61 00 08 	lbz     r11,8(r1)                              
ffc1ba60:	2b 8b 00 07 	cmplwi  cr7,r11,7                              
ffc1ba64:	41 9d 00 1c 	bgt-    cr7,ffc1ba80 <fcntl+0x1a4>             <== NEVER TAKEN
ffc1ba68:	81 21 00 10 	lwz     r9,16(r1)                              
ffc1ba6c:	55 60 10 3a 	rlwinm  r0,r11,2,0,29                          
ffc1ba70:	39 6b 00 01 	addi    r11,r11,1                              
ffc1ba74:	7d 29 02 14 	add     r9,r9,r0                               
ffc1ba78:	99 61 00 08 	stb     r11,8(r1)                              
ffc1ba7c:	48 00 00 10 	b       ffc1ba8c <fcntl+0x1b0>                 
ffc1ba80:	81 21 00 0c 	lwz     r9,12(r1)                              <== NOT EXECUTED
ffc1ba84:	38 09 00 04 	addi    r0,r9,4                                <== NOT EXECUTED
ffc1ba88:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
ffc1ba8c:	80 69 00 00 	lwz     r3,0(r9)                               
ffc1ba90:	4b fe 97 51 	bl      ffc051e0 <rtems_libio_fcntl_flags>     
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
ffc1ba94:	80 1f 00 18 	lwz     r0,24(r31)                             
ffc1ba98:	70 63 02 01 	andi.   r3,r3,513                              
ffc1ba9c:	39 20 fd fe 	li      r9,-514                                
ffc1baa0:	7d 20 00 38 	and     r0,r9,r0                               
ffc1baa4:	7c 63 03 78 	or      r3,r3,r0                               
ffc1baa8:	90 7f 00 18 	stw     r3,24(r31)                             
  rtems_libio_t *iop;                                                 
  rtems_libio_t *diop;                                                
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
ffc1baac:	3b a0 00 00 	li      r29,0                                  
ffc1bab0:	48 00 00 28 	b       ffc1bad8 <fcntl+0x1fc>                 
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
ffc1bab4:	4b ff 4c 41 	bl      ffc106f4 <__errno>                     
ffc1bab8:	38 00 00 86 	li      r0,134                                 
ffc1babc:	48 00 00 0c 	b       ffc1bac8 <fcntl+0x1ec>                 
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
ffc1bac0:	4b ff 4c 35 	bl      ffc106f4 <__errno>                     
ffc1bac4:	38 00 00 16 	li      r0,22                                  
ffc1bac8:	90 03 00 00 	stw     r0,0(r3)                               
ffc1bacc:	48 00 00 34 	b       ffc1bb00 <fcntl+0x224>                 
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
ffc1bad0:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc1bad4:	41 9c 00 30 	blt-    cr7,ffc1bb04 <fcntl+0x228>             <== NEVER TAKEN
    int err = (*iop->pathinfo.handlers->fcntl_h)( cmd, iop );         
ffc1bad8:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc1badc:	7f e4 fb 78 	mr      r4,r31                                 
ffc1bae0:	7f c3 f3 78 	mr      r3,r30                                 
ffc1bae4:	80 09 00 30 	lwz     r0,48(r9)                              
ffc1bae8:	7c 09 03 a6 	mtctr   r0                                     
ffc1baec:	4e 80 04 21 	bctrl                                          
    if (err) {                                                        
ffc1baf0:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1baf4:	41 a2 00 10 	beq+    ffc1bb04 <fcntl+0x228>                 <== ALWAYS TAKEN
      errno = err;                                                    
ffc1baf8:	4b ff 4b fd 	bl      ffc106f4 <__errno>                     <== NOT EXECUTED
ffc1bafc:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
      ret = -1;                                                       
ffc1bb00:	3b a0 ff ff 	li      r29,-1                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
ffc1bb04:	39 61 00 38 	addi    r11,r1,56                              
ffc1bb08:	7f a3 eb 78 	mr      r3,r29                                 
ffc1bb0c:	4b fe 50 64 	b       ffc00b70 <_restgpr_29_x>               
                                                                      

ffc0e9d0 <fifo_open>: */ int fifo_open( pipe_control_t **pipep, rtems_libio_t *iop ) {
ffc0e9d0:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0e9d4:	7c 08 02 a6 	mflr    r0                                     
ffc0e9d8:	bf 61 00 1c 	stmw    r27,28(r1)                             
                                                                      
static int pipe_lock(void)                                            
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
ffc0e9dc:	3f c0 00 00 	lis     r30,0                                  
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc0e9e0:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0e9e4:	90 01 00 34 	stw     r0,52(r1)                              
ffc0e9e8:	7c 9c 23 78 	mr      r28,r4                                 
                                                                      
static int pipe_lock(void)                                            
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
ffc0e9ec:	3b fe 29 60 	addi    r31,r30,10592                          
ffc0e9f0:	80 1e 29 60 	lwz     r0,10592(r30)                          
ffc0e9f4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e9f8:	40 be 00 60 	bne+    cr7,ffc0ea58 <fifo_open+0x88>          
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 );
ffc0e9fc:	3d 20 00 00 	lis     r9,0                                   
ffc0ea00:	80 69 27 90 	lwz     r3,10128(r9)                           
ffc0ea04:	38 80 00 00 	li      r4,0                                   
ffc0ea08:	38 a0 00 00 	li      r5,0                                   
ffc0ea0c:	4b ff b2 d1 	bl      ffc09cdc <rtems_semaphore_obtain>      
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
ffc0ea10:	80 1e 29 60 	lwz     r0,10592(r30)                          
  free(pipe);                                                         
}                                                                     
                                                                      
static int pipe_lock(void)                                            
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
ffc0ea14:	3b 60 00 00 	li      r27,0                                  
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
ffc0ea18:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ea1c:	40 be 00 24 	bne+    cr7,ffc0ea40 <fifo_open+0x70>          <== NEVER TAKEN
      sc = rtems_semaphore_create(                                    
ffc0ea20:	3c 60 50 49 	lis     r3,20553                               
ffc0ea24:	60 63 50 45 	ori     r3,r3,20549                            
ffc0ea28:	38 80 00 01 	li      r4,1                                   
ffc0ea2c:	38 a0 00 54 	li      r5,84                                  
ffc0ea30:	38 c0 00 00 	li      r6,0                                   
ffc0ea34:	7f e7 fb 78 	mr      r7,r31                                 
ffc0ea38:	4b ff b0 31 	bl      ffc09a68 <rtems_semaphore_create>      
ffc0ea3c:	7c 7b 1b 78 	mr      r27,r3                                 
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc0ea40:	3d 20 00 00 	lis     r9,0                                   
ffc0ea44:	80 69 27 90 	lwz     r3,10128(r9)                           
    }                                                                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc0ea48:	3b c0 ff f4 	li      r30,-12                                
ffc0ea4c:	4b ff b3 bd 	bl      ffc09e08 <rtems_semaphore_release>     
ffc0ea50:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0ea54:	40 be 03 3c 	bne+    cr7,ffc0ed90 <fifo_open+0x3c0>         
    sc = rtems_semaphore_obtain(pipe_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc0ea58:	3d 20 00 00 	lis     r9,0                                   
ffc0ea5c:	80 69 29 60 	lwz     r3,10592(r9)                           
ffc0ea60:	38 80 00 00 	li      r4,0                                   
ffc0ea64:	38 a0 00 00 	li      r5,0                                   
ffc0ea68:	4b ff b2 75 	bl      ffc09cdc <rtems_semaphore_obtain>      
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc0ea6c:	3b c0 ff f4 	li      r30,-12                                
ffc0ea70:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ea74:	40 9e 03 1c 	bne-    cr7,ffc0ed90 <fifo_open+0x3c0>         <== NEVER TAKEN
                                                                      
  err = pipe_lock();                                                  
  if (err)                                                            
    return err;                                                       
                                                                      
  pipe = *pipep;                                                      
ffc0ea78:	83 fd 00 00 	lwz     r31,0(r29)                             
  if (pipe == NULL) {                                                 
ffc0ea7c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0ea80:	40 be 00 f8 	bne+    cr7,ffc0eb78 <fifo_open+0x1a8>         
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
ffc0ea84:	38 60 00 34 	li      r3,52                                  
ffc0ea88:	4b ff 7e 29 	bl      ffc068b0 <malloc>                      
  if (pipe == NULL)                                                   
ffc0ea8c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc0ea90:	41 82 00 e0 	beq-    ffc0eb70 <fifo_open+0x1a0>             
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
ffc0ea94:	38 80 00 00 	li      r4,0                                   
ffc0ea98:	38 a0 00 34 	li      r5,52                                  
ffc0ea9c:	48 00 40 9d 	bl      ffc12b38 <memset>                      
                                                                      
  pipe->Size = PIPE_BUF;                                              
ffc0eaa0:	38 00 02 00 	li      r0,512                                 
ffc0eaa4:	90 1f 00 04 	stw     r0,4(r31)                              
  pipe->Buffer = malloc(pipe->Size);                                  
ffc0eaa8:	38 60 02 00 	li      r3,512                                 
ffc0eaac:	4b ff 7e 05 	bl      ffc068b0 <malloc>                      
  if (! pipe->Buffer)                                                 
ffc0eab0:	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);                                  
ffc0eab4:	90 7f 00 00 	stw     r3,0(r31)                              
  if (! pipe->Buffer)                                                 
ffc0eab8:	41 9e 00 b0 	beq-    cr7,ffc0eb68 <fifo_open+0x198>         <== NEVER TAKEN
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'r', c),                          
ffc0eabc:	3f c0 00 00 	lis     r30,0                                  
ffc0eac0:	88 7e 21 bd 	lbz     r3,8637(r30)                           
  if (! pipe->Buffer)                                                 
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
ffc0eac4:	38 80 00 00 	li      r4,0                                   
ffc0eac8:	38 a0 00 00 	li      r5,0                                   
ffc0eacc:	64 63 50 49 	oris    r3,r3,20553                            
ffc0ead0:	60 63 72 00 	ori     r3,r3,29184                            
ffc0ead4:	38 df 00 2c 	addi    r6,r31,44                              
ffc0ead8:	48 00 11 09 	bl      ffc0fbe0 <rtems_barrier_create>        
ffc0eadc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0eae0:	40 9e 00 80 	bne-    cr7,ffc0eb60 <fifo_open+0x190>         
        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),                          
ffc0eae4:	88 7e 21 bd 	lbz     r3,8637(r30)                           
  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(                                           
ffc0eae8:	38 80 00 00 	li      r4,0                                   
ffc0eaec:	38 a0 00 00 	li      r5,0                                   
ffc0eaf0:	64 63 50 49 	oris    r3,r3,20553                            
ffc0eaf4:	60 63 77 00 	ori     r3,r3,30464                            
ffc0eaf8:	38 df 00 30 	addi    r6,r31,48                              
ffc0eafc:	48 00 10 e5 	bl      ffc0fbe0 <rtems_barrier_create>        
ffc0eb00:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0eb04:	40 9e 00 54 	bne-    cr7,ffc0eb58 <fifo_open+0x188>         
        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,                       
ffc0eb08:	88 7e 21 bd 	lbz     r3,8637(r30)                           
  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(                                         
ffc0eb0c:	38 80 00 01 	li      r4,1                                   
ffc0eb10:	38 a0 00 10 	li      r5,16                                  
ffc0eb14:	64 63 50 49 	oris    r3,r3,20553                            
ffc0eb18:	60 63 73 00 	ori     r3,r3,29440                            
ffc0eb1c:	38 c0 00 00 	li      r6,0                                   
ffc0eb20:	38 ff 00 28 	addi    r7,r31,40                              
ffc0eb24:	4b ff af 45 	bl      ffc09a68 <rtems_semaphore_create>      
ffc0eb28:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0eb2c:	40 9e 00 24 	bne-    cr7,ffc0eb50 <fifo_open+0x180>         
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
ffc0eb30:	89 3e 21 bd 	lbz     r9,8637(r30)                           
ffc0eb34:	2f 89 00 7a 	cmpwi   cr7,r9,122                             
ffc0eb38:	38 09 00 01 	addi    r0,r9,1                                
ffc0eb3c:	98 1e 21 bd 	stb     r0,8637(r30)                           
ffc0eb40:	40 be 00 38 	bne+    cr7,ffc0eb78 <fifo_open+0x1a8>         
    c = 'a';                                                          
ffc0eb44:	38 00 00 61 	li      r0,97                                  
ffc0eb48:	98 1e 21 bd 	stb     r0,8637(r30)                           
ffc0eb4c:	48 00 00 2c 	b       ffc0eb78 <fifo_open+0x1a8>             
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
ffc0eb50:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc0eb54:	48 00 11 5d 	bl      ffc0fcb0 <rtems_barrier_delete>        
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
ffc0eb58:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc0eb5c:	48 00 11 55 	bl      ffc0fcb0 <rtems_barrier_delete>        
err_rbar:                                                             
  free(pipe->Buffer);                                                 
ffc0eb60:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc0eb64:	4b ff 75 15 	bl      ffc06078 <free>                        
err_buf:                                                              
  free(pipe);                                                         
ffc0eb68:	7f e3 fb 78 	mr      r3,r31                                 
ffc0eb6c:	4b ff 75 0d 	bl      ffc06078 <free>                        
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
ffc0eb70:	3b c0 ff f4 	li      r30,-12                                
ffc0eb74:	48 00 00 48 	b       ffc0ebbc <fifo_open+0x1ec>             
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc0eb78:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0eb7c:	38 80 00 00 	li      r4,0                                   
ffc0eb80:	38 a0 00 00 	li      r5,0                                   
ffc0eb84:	4b ff b1 59 	bl      ffc09cdc <rtems_semaphore_obtain>      
    err = -EINTR;                                                     
ffc0eb88:	3b c0 ff fc 	li      r30,-4                                 
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc0eb8c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0eb90:	40 9e 00 08 	bne-    cr7,ffc0eb98 <fifo_open+0x1c8>         <== NEVER TAKEN
ffc0eb94:	3b c0 00 00 	li      r30,0                                  
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
ffc0eb98:	80 1d 00 00 	lwz     r0,0(r29)                              
ffc0eb9c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0eba0:	40 be 00 1c 	bne+    cr7,ffc0ebbc <fifo_open+0x1ec>         
    if (err)                                                          
ffc0eba4:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0eba8:	41 be 00 10 	beq+    cr7,ffc0ebb8 <fifo_open+0x1e8>         <== ALWAYS TAKEN
      pipe_free(pipe);                                                
ffc0ebac:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0ebb0:	4b ff fd 1d 	bl      ffc0e8cc <pipe_free>                   <== NOT EXECUTED
ffc0ebb4:	48 00 00 08 	b       ffc0ebbc <fifo_open+0x1ec>             <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
ffc0ebb8:	93 fd 00 00 	stw     r31,0(r29)                             
                                                                      
static void pipe_unlock(void)                                         
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_release(pipe_semaphore);                       
ffc0ebbc:	3d 20 00 00 	lis     r9,0                                   
ffc0ebc0:	80 69 29 60 	lwz     r3,10592(r9)                           
ffc0ebc4:	4b ff b2 45 	bl      ffc09e08 <rtems_semaphore_release>     
  pipe_control_t *pipe;                                               
  unsigned int prevCounter;                                           
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
ffc0ebc8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0ebcc:	40 9e 01 c4 	bne-    cr7,ffc0ed90 <fifo_open+0x3c0>         
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
ffc0ebd0:	80 1c 00 18 	lwz     r0,24(r28)                             
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
    return err;                                                       
  pipe = *pipep;                                                      
ffc0ebd4:	83 fd 00 00 	lwz     r31,0(r29)                             
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
ffc0ebd8:	54 00 07 7c 	rlwinm  r0,r0,0,29,30                          
ffc0ebdc:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc0ebe0:	41 9e 00 a0 	beq-    cr7,ffc0ec80 <fifo_open+0x2b0>         
ffc0ebe4:	2f 80 00 06 	cmpwi   cr7,r0,6                               
ffc0ebe8:	41 9e 01 34 	beq-    cr7,ffc0ed1c <fifo_open+0x34c>         
ffc0ebec:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0ebf0:	40 be 01 84 	bne+    cr7,ffc0ed74 <fifo_open+0x3a4>         <== NEVER TAKEN
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
ffc0ebf4:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc0ebf8:	38 09 00 01 	addi    r0,r9,1                                
      if (pipe->Readers ++ == 0)                                      
ffc0ebfc:	81 3f 00 10 	lwz     r9,16(r31)                             
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
ffc0ec00:	90 1f 00 20 	stw     r0,32(r31)                             
      if (pipe->Readers ++ == 0)                                      
ffc0ec04:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ec08:	38 09 00 01 	addi    r0,r9,1                                
ffc0ec0c:	90 1f 00 10 	stw     r0,16(r31)                             
ffc0ec10:	40 be 00 10 	bne+    cr7,ffc0ec20 <fifo_open+0x250>         <== NEVER TAKEN
        PIPE_WAKEUPWRITERS(pipe);                                     
ffc0ec14:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc0ec18:	38 81 00 08 	addi    r4,r1,8                                
ffc0ec1c:	48 00 11 4d 	bl      ffc0fd68 <rtems_barrier_release>       
                                                                      
      if (pipe->Writers == 0) {                                       
ffc0ec20:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc0ec24:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ec28:	40 9e 01 4c 	bne-    cr7,ffc0ed74 <fifo_open+0x3a4>         
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
ffc0ec2c:	80 1c 00 18 	lwz     r0,24(r28)                             
ffc0ec30:	70 09 00 01 	andi.   r9,r0,1                                
ffc0ec34:	40 82 01 40 	bne-    ffc0ed74 <fifo_open+0x3a4>             
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
ffc0ec38:	83 7f 00 24 	lwz     r27,36(r31)                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
ffc0ec3c:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0ec40:	4b ff b1 c9 	bl      ffc09e08 <rtems_semaphore_release>     
          if (! PIPE_READWAIT(pipe))                                  
ffc0ec44:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc0ec48:	38 80 00 00 	li      r4,0                                   
ffc0ec4c:	48 00 11 89 	bl      ffc0fdd4 <rtems_barrier_wait>          
ffc0ec50:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ec54:	40 9e 01 2c 	bne-    cr7,ffc0ed80 <fifo_open+0x3b0>         <== NEVER TAKEN
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc0ec58:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0ec5c:	38 80 00 00 	li      r4,0                                   
ffc0ec60:	38 a0 00 00 	li      r5,0                                   
ffc0ec64:	4b ff b0 79 	bl      ffc09cdc <rtems_semaphore_obtain>      
ffc0ec68:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ec6c:	40 9e 01 14 	bne-    cr7,ffc0ed80 <fifo_open+0x3b0>         <== NEVER TAKEN
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
ffc0ec70:	80 1f 00 24 	lwz     r0,36(r31)                             
ffc0ec74:	7f 9b 00 00 	cmpw    cr7,r27,r0                             
ffc0ec78:	41 9e ff c4 	beq+    cr7,ffc0ec3c <fifo_open+0x26c>         <== NEVER TAKEN
ffc0ec7c:	48 00 00 f8 	b       ffc0ed74 <fifo_open+0x3a4>             
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
ffc0ec80:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc0ec84:	38 09 00 01 	addi    r0,r9,1                                
                                                                      
      if (pipe->Writers ++ == 0)                                      
ffc0ec88:	81 3f 00 14 	lwz     r9,20(r31)                             
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
ffc0ec8c:	90 1f 00 24 	stw     r0,36(r31)                             
                                                                      
      if (pipe->Writers ++ == 0)                                      
ffc0ec90:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ec94:	38 09 00 01 	addi    r0,r9,1                                
ffc0ec98:	90 1f 00 14 	stw     r0,20(r31)                             
ffc0ec9c:	40 be 00 10 	bne+    cr7,ffc0ecac <fifo_open+0x2dc>         <== NEVER TAKEN
        PIPE_WAKEUPREADERS(pipe);                                     
ffc0eca0:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc0eca4:	38 81 00 08 	addi    r4,r1,8                                
ffc0eca8:	48 00 10 c1 	bl      ffc0fd68 <rtems_barrier_release>       
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
ffc0ecac:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc0ecb0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ecb4:	40 9e 00 c0 	bne-    cr7,ffc0ed74 <fifo_open+0x3a4>         
ffc0ecb8:	80 1c 00 18 	lwz     r0,24(r28)                             
ffc0ecbc:	70 09 00 01 	andi.   r9,r0,1                                
ffc0ecc0:	41 a2 00 14 	beq+    ffc0ecd4 <fifo_open+0x304>             
	PIPE_UNLOCK(pipe);                                                   
ffc0ecc4:	80 7f 00 28 	lwz     r3,40(r31)                             
        err = -ENXIO;                                                 
ffc0ecc8:	3b c0 ff fa 	li      r30,-6                                 
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
	PIPE_UNLOCK(pipe);                                                   
ffc0eccc:	4b ff b1 3d 	bl      ffc09e08 <rtems_semaphore_release>     
        err = -ENXIO;                                                 
        goto out_error;                                               
ffc0ecd0:	48 00 00 b4 	b       ffc0ed84 <fifo_open+0x3b4>             
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
ffc0ecd4:	83 7f 00 20 	lwz     r27,32(r31)                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
ffc0ecd8:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0ecdc:	4b ff b1 2d 	bl      ffc09e08 <rtems_semaphore_release>     
          if (! PIPE_WRITEWAIT(pipe))                                 
ffc0ece0:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc0ece4:	38 80 00 00 	li      r4,0                                   
ffc0ece8:	48 00 10 ed 	bl      ffc0fdd4 <rtems_barrier_wait>          
ffc0ecec:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ecf0:	40 9e 00 90 	bne-    cr7,ffc0ed80 <fifo_open+0x3b0>         <== NEVER TAKEN
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc0ecf4:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0ecf8:	38 80 00 00 	li      r4,0                                   
ffc0ecfc:	38 a0 00 00 	li      r5,0                                   
ffc0ed00:	4b ff af dd 	bl      ffc09cdc <rtems_semaphore_obtain>      
ffc0ed04:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ed08:	40 9e 00 78 	bne-    cr7,ffc0ed80 <fifo_open+0x3b0>         <== NEVER TAKEN
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
ffc0ed0c:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc0ed10:	7f 9b 00 00 	cmpw    cr7,r27,r0                             
ffc0ed14:	41 9e ff c4 	beq+    cr7,ffc0ecd8 <fifo_open+0x308>         <== NEVER TAKEN
ffc0ed18:	48 00 00 5c 	b       ffc0ed74 <fifo_open+0x3a4>             
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
ffc0ed1c:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc0ed20:	38 09 00 01 	addi    r0,r9,1                                
      if (pipe->Readers ++ == 0)                                      
ffc0ed24:	81 3f 00 10 	lwz     r9,16(r31)                             
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
ffc0ed28:	90 1f 00 20 	stw     r0,32(r31)                             
      if (pipe->Readers ++ == 0)                                      
ffc0ed2c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ed30:	38 09 00 01 	addi    r0,r9,1                                
ffc0ed34:	90 1f 00 10 	stw     r0,16(r31)                             
ffc0ed38:	40 be 00 10 	bne+    cr7,ffc0ed48 <fifo_open+0x378>         <== NEVER TAKEN
        PIPE_WAKEUPWRITERS(pipe);                                     
ffc0ed3c:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc0ed40:	38 81 00 08 	addi    r4,r1,8                                
ffc0ed44:	48 00 10 25 	bl      ffc0fd68 <rtems_barrier_release>       
      pipe->writerCounter ++;                                         
ffc0ed48:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc0ed4c:	38 09 00 01 	addi    r0,r9,1                                
      if (pipe->Writers ++ == 0)                                      
ffc0ed50:	81 3f 00 14 	lwz     r9,20(r31)                             
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
ffc0ed54:	90 1f 00 24 	stw     r0,36(r31)                             
      if (pipe->Writers ++ == 0)                                      
ffc0ed58:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ed5c:	38 09 00 01 	addi    r0,r9,1                                
ffc0ed60:	90 1f 00 14 	stw     r0,20(r31)                             
ffc0ed64:	40 be 00 10 	bne+    cr7,ffc0ed74 <fifo_open+0x3a4>         <== NEVER TAKEN
        PIPE_WAKEUPREADERS(pipe);                                     
ffc0ed68:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc0ed6c:	38 81 00 08 	addi    r4,r1,8                                
ffc0ed70:	48 00 0f f9 	bl      ffc0fd68 <rtems_barrier_release>       
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
ffc0ed74:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0ed78:	4b ff b0 91 	bl      ffc09e08 <rtems_semaphore_release>     
  return 0;                                                           
ffc0ed7c:	48 00 00 14 	b       ffc0ed90 <fifo_open+0x3c0>             
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
ffc0ed80:	3b c0 ff fc 	li      r30,-4                                 <== NOT EXECUTED
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
ffc0ed84:	7f a3 eb 78 	mr      r3,r29                                 
ffc0ed88:	7f 84 e3 78 	mr      r4,r28                                 
ffc0ed8c:	4b ff fb 89 	bl      ffc0e914 <pipe_release>                
  return err;                                                         
}                                                                     
ffc0ed90:	39 61 00 30 	addi    r11,r1,48                              
ffc0ed94:	7f c3 f3 78 	mr      r3,r30                                 
ffc0ed98:	48 01 0e 10 	b       ffc1fba8 <_restgpr_27_x>               
                                                                      

ffc0518c <fpathconf>: long fpathconf( int fd, int name ) {
ffc0518c:	7c 08 02 a6 	mflr    r0                                     
ffc05190:	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);                                           
ffc05194:	3d 20 00 00 	lis     r9,0                                   
                                                                      
long fpathconf(                                                       
  int   fd,                                                           
  int   name                                                          
)                                                                     
{                                                                     
ffc05198:	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);                                           
ffc0519c:	80 09 26 dc 	lwz     r0,9948(r9)                            
ffc051a0:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc051a4:	40 9c 00 20 	bge-    cr7,ffc051c4 <fpathconf+0x38>          
  iop = rtems_libio_iop(fd);                                          
ffc051a8:	3d 20 00 00 	lis     r9,0                                   
ffc051ac:	80 09 27 88 	lwz     r0,10120(r9)                           
ffc051b0:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc051b4:	7c 60 1a 14 	add     r3,r0,r3                               
  rtems_libio_check_is_open(iop);                                     
ffc051b8:	80 03 00 18 	lwz     r0,24(r3)                              
ffc051bc:	70 09 01 00 	andi.   r9,r0,256                              
ffc051c0:	40 a2 00 10 	bne+    ffc051d0 <fpathconf+0x44>              <== ALWAYS TAKEN
ffc051c4:	48 00 b6 e9 	bl      ffc108ac <__errno>                     
ffc051c8:	38 00 00 09 	li      r0,9                                   
ffc051cc:	48 00 00 94 	b       ffc05260 <fpathconf+0xd4>              
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
                                                                      
  switch ( name ) {                                                   
ffc051d0:	2b 84 00 0b 	cmplwi  cr7,r4,11                              
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
ffc051d4:	81 23 00 2c 	lwz     r9,44(r3)                              
                                                                      
  switch ( name ) {                                                   
ffc051d8:	41 9d 00 80 	bgt-    cr7,ffc05258 <fpathconf+0xcc>          
ffc051dc:	3d 60 ff c2 	lis     r11,-62                                
ffc051e0:	39 6b 81 e4 	addi    r11,r11,-32284                         
ffc051e4:	54 84 10 3a 	rlwinm  r4,r4,2,0,29                           
ffc051e8:	7c 0b 20 2e 	lwzx    r0,r11,r4                              
ffc051ec:	7d 60 5a 14 	add     r11,r0,r11                             
ffc051f0:	7d 69 03 a6 	mtctr   r11                                    
ffc051f4:	4e 80 04 20 	bctr                                           
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
ffc051f8:	80 69 00 38 	lwz     r3,56(r9)                              
      break;                                                          
ffc051fc:	48 00 00 6c 	b       ffc05268 <fpathconf+0xdc>              
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
ffc05200:	80 69 00 3c 	lwz     r3,60(r9)                              
      break;                                                          
ffc05204:	48 00 00 64 	b       ffc05268 <fpathconf+0xdc>              
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
ffc05208:	80 69 00 40 	lwz     r3,64(r9)                              
      break;                                                          
ffc0520c:	48 00 00 5c 	b       ffc05268 <fpathconf+0xdc>              
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
ffc05210:	80 69 00 44 	lwz     r3,68(r9)                              
      break;                                                          
ffc05214:	48 00 00 54 	b       ffc05268 <fpathconf+0xdc>              
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
ffc05218:	80 69 00 48 	lwz     r3,72(r9)                              
      break;                                                          
ffc0521c:	48 00 00 4c 	b       ffc05268 <fpathconf+0xdc>              
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
ffc05220:	80 69 00 4c 	lwz     r3,76(r9)                              
      break;                                                          
ffc05224:	48 00 00 44 	b       ffc05268 <fpathconf+0xdc>              
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
ffc05228:	80 69 00 54 	lwz     r3,84(r9)                              
      break;                                                          
ffc0522c:	48 00 00 3c 	b       ffc05268 <fpathconf+0xdc>              
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
ffc05230:	80 69 00 58 	lwz     r3,88(r9)                              
      break;                                                          
ffc05234:	48 00 00 34 	b       ffc05268 <fpathconf+0xdc>              
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
ffc05238:	80 69 00 64 	lwz     r3,100(r9)                             
      break;                                                          
ffc0523c:	48 00 00 2c 	b       ffc05268 <fpathconf+0xdc>              
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
ffc05240:	80 69 00 50 	lwz     r3,80(r9)                              
      break;                                                          
ffc05244:	48 00 00 24 	b       ffc05268 <fpathconf+0xdc>              
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
ffc05248:	80 69 00 5c 	lwz     r3,92(r9)                              
      break;                                                          
ffc0524c:	48 00 00 1c 	b       ffc05268 <fpathconf+0xdc>              
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
ffc05250:	80 69 00 60 	lwz     r3,96(r9)                              
      break;                                                          
ffc05254:	48 00 00 14 	b       ffc05268 <fpathconf+0xdc>              
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc05258:	48 00 b6 55 	bl      ffc108ac <__errno>                     
ffc0525c:	38 00 00 16 	li      r0,22                                  
ffc05260:	90 03 00 00 	stw     r0,0(r3)                               
ffc05264:	38 60 ff ff 	li      r3,-1                                  
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
ffc05268:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0526c:	38 21 00 08 	addi    r1,r1,8                                
ffc05270:	7c 08 03 a6 	mtlr    r0                                     
ffc05274:	4e 80 00 20 	blr                                            
                                                                      

ffc0495c <free>: #include <stdlib.h> void free( void *ptr ) {
ffc0495c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc04960:	7c 08 02 a6 	mflr    r0                                     
  MSBUMP(free_calls, 1);                                              
ffc04964:	3d 20 00 00 	lis     r9,0                                   
#include <stdlib.h>                                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
ffc04968:	90 01 00 14 	stw     r0,20(r1)                              
  MSBUMP(free_calls, 1);                                              
ffc0496c:	39 29 2a e8 	addi    r9,r9,10984                            
#include <stdlib.h>                                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
ffc04970:	bf c1 00 08 	stmw    r30,8(r1)                              
  MSBUMP(free_calls, 1);                                              
                                                                      
  if ( !ptr )                                                         
ffc04974:	7c 7f 1b 79 	mr.     r31,r3                                 
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
  MSBUMP(free_calls, 1);                                              
ffc04978:	81 69 00 0c 	lwz     r11,12(r9)                             
ffc0497c:	38 0b 00 01 	addi    r0,r11,1                               
ffc04980:	90 09 00 0c 	stw     r0,12(r9)                              
                                                                      
  if ( !ptr )                                                         
ffc04984:	41 82 00 84 	beq-    ffc04a08 <free+0xac>                   
    return;                                                           
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
ffc04988:	3d 20 00 00 	lis     r9,0                                   
ffc0498c:	80 09 28 04 	lwz     r0,10244(r9)                           
ffc04990:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc04994:	40 be 00 1c 	bne+    cr7,ffc049b0 <free+0x54>               <== NEVER TAKEN
       !malloc_is_system_state_OK() ) {                               
ffc04998:	48 00 01 c5 	bl      ffc04b5c <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()) &&                    
ffc0499c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc049a0:	40 be 00 10 	bne+    cr7,ffc049b0 <free+0x54>               
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
ffc049a4:	7f e3 fb 78 	mr      r3,r31                                 
ffc049a8:	48 00 02 39 	bl      ffc04be0 <malloc_deferred_free>        
      return;                                                         
ffc049ac:	48 00 00 5c 	b       ffc04a08 <free+0xac>                   
  }                                                                   
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
ffc049b0:	3d 20 00 00 	lis     r9,0                                   
ffc049b4:	81 29 27 68 	lwz     r9,10088(r9)                           
ffc049b8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc049bc:	41 9e 00 14 	beq-    cr7,ffc049d0 <free+0x74>               
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
ffc049c0:	80 09 00 08 	lwz     r0,8(r9)                               
ffc049c4:	7f e3 fb 78 	mr      r3,r31                                 
ffc049c8:	7c 09 03 a6 	mtctr   r0                                     
ffc049cc:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
ffc049d0:	3f c0 00 00 	lis     r30,0                                  
ffc049d4:	80 7e 26 ec 	lwz     r3,9964(r30)                           
ffc049d8:	7f e4 fb 78 	mr      r4,r31                                 
ffc049dc:	48 00 54 d1 	bl      ffc09eac <_Protected_heap_Free>        
ffc049e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc049e4:	40 be 00 24 	bne+    cr7,ffc04a08 <free+0xac>               
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
      ptr,                                                            
      RTEMS_Malloc_Heap->area_begin,                                  
ffc049e8:	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",
ffc049ec:	3c 60 ff c2 	lis     r3,-62                                 
ffc049f0:	38 63 c3 a4 	addi    r3,r3,-15452                           
ffc049f4:	80 a9 00 18 	lwz     r5,24(r9)                              
ffc049f8:	7f e4 fb 78 	mr      r4,r31                                 
ffc049fc:	80 c9 00 1c 	lwz     r6,28(r9)                              
ffc04a00:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04a04:	48 00 0e 8d 	bl      ffc05890 <printk>                      
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
ffc04a08:	39 61 00 10 	addi    r11,r1,16                              
ffc04a0c:	4b ff bb 34 	b       ffc00540 <_restgpr_30_x>               
                                                                      

ffc07f7c <free_user_env>: * NOTE: this must be called with * thread dispatching disabled! */ static void free_user_env(void *venv) {
ffc07f7c:	7c 08 02 a6 	mflr    r0                                     
ffc07f80:	7c 2b 0b 78 	mr      r11,r1                                 
ffc07f84:	94 21 ff f0 	stwu    r1,-16(r1)                             
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
  if (env != &rtems_global_user_env                                   
ffc07f88:	3d 20 00 00 	lis     r9,0                                   
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
ffc07f8c:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
  if (env != &rtems_global_user_env                                   
ffc07f90:	38 09 2a f8 	addi    r0,r9,11000                            
ffc07f94:	7f 83 00 00 	cmpw    cr7,r3,r0                              
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
ffc07f98:	4b ff a8 9d 	bl      ffc02834 <_savegpr_31>                 
ffc07f9c:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
  if (env != &rtems_global_user_env                                   
ffc07fa0:	41 9e 00 1c 	beq-    cr7,ffc07fbc <free_user_env+0x40>      <== NEVER TAKEN
  #ifdef HAVE_USERENV_REFCNT                                          
      && --env->refcnt <= 0                                           
  #endif                                                              
  ) {                                                                 
    rtems_filesystem_freenode( &env->current_directory);              
ffc07fa4:	38 63 00 04 	addi    r3,r3,4                                
ffc07fa8:	4b ff ec bd 	bl      ffc06c64 <rtems_filesystem_freenode>   
    rtems_filesystem_freenode( &env->root_directory);                 
ffc07fac:	38 7f 00 18 	addi    r3,r31,24                              
ffc07fb0:	4b ff ec b5 	bl      ffc06c64 <rtems_filesystem_freenode>   
    free(env);                                                        
ffc07fb4:	7f e3 fb 78 	mr      r3,r31                                 
ffc07fb8:	4b ff ec d9 	bl      ffc06c90 <free>                        
  }                                                                   
}                                                                     
ffc07fbc:	39 61 00 10 	addi    r11,r1,16                              
ffc07fc0:	4b ff a8 c0 	b       ffc02880 <_restgpr_31_x>               
                                                                      

ffc03e64 <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) {
ffc03e64:	3d 20 00 00 	lis     r9,0                                   
ffc03e68:	80 09 28 70 	lwz     r0,10352(r9)                           
ffc03e6c:	39 69 28 70 	addi    r11,r9,10352                           
                                                                      
      return dd;                                                      
    }                                                                 
  }                                                                   
                                                                      
  return NULL;                                                        
ffc03e70:	39 20 00 00 	li      r9,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) {                      
ffc03e74:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc03e78:	40 9c 00 68 	bge-    cr7,ffc03ee0 <get_disk_entry+0x7c>     <== NEVER TAKEN
ffc03e7c:	81 6b 00 04 	lwz     r11,4(r11)                             
ffc03e80:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc03e84:	41 9e 00 5c 	beq-    cr7,ffc03ee0 <get_disk_entry+0x7c>     <== NEVER TAKEN
    rtems_disk_device_table *dtab = disktab + major;                  
ffc03e88:	54 63 18 38 	rlwinm  r3,r3,3,0,28                           
ffc03e8c:	7d 4b 1a 14 	add     r10,r11,r3                             
                                                                      
    if (minor < dtab->size && dtab->minor != NULL) {                  
ffc03e90:	80 0a 00 04 	lwz     r0,4(r10)                              
ffc03e94:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc03e98:	40 9c 00 48 	bge-    cr7,ffc03ee0 <get_disk_entry+0x7c>     <== NEVER TAKEN
ffc03e9c:	7d 6b 18 2e 	lwzx    r11,r11,r3                             
ffc03ea0:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc03ea4:	41 9e 00 3c 	beq-    cr7,ffc03ee0 <get_disk_entry+0x7c>     <== NEVER TAKEN
      rtems_disk_device *dd = dtab->minor [minor];                    
ffc03ea8:	54 84 10 3a 	rlwinm  r4,r4,2,0,29                           
ffc03eac:	7d 2b 20 2e 	lwzx    r9,r11,r4                              
                                                                      
      if (dd != NULL && !lookup_only) {                               
ffc03eb0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc03eb4:	41 9e 00 2c 	beq-    cr7,ffc03ee0 <get_disk_entry+0x7c>     
ffc03eb8:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc03ebc:	40 9e 00 24 	bne-    cr7,ffc03ee0 <get_disk_entry+0x7c>     
        if (!dd->deleted) {                                           
ffc03ec0:	88 09 00 30 	lbz     r0,48(r9)                              
ffc03ec4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc03ec8:	40 9e 00 14 	bne-    cr7,ffc03edc <get_disk_entry+0x78>     
          ++dd->uses;                                                 
ffc03ecc:	81 69 00 14 	lwz     r11,20(r9)                             
ffc03ed0:	38 0b 00 01 	addi    r0,r11,1                               
ffc03ed4:	90 09 00 14 	stw     r0,20(r9)                              
ffc03ed8:	48 00 00 08 	b       ffc03ee0 <get_disk_entry+0x7c>         
        } else {                                                      
          dd = NULL;                                                  
ffc03edc:	39 20 00 00 	li      r9,0                                   
      return dd;                                                      
    }                                                                 
  }                                                                   
                                                                      
  return NULL;                                                        
}                                                                     
ffc03ee0:	7d 23 4b 78 	mr      r3,r9                                  
ffc03ee4:	4e 80 00 20 	blr                                            
                                                                      

ffc1bbe8 <getdents>: int getdents( int dd_fd, char *dd_buf, int dd_len ) {
ffc1bbe8:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc1bbec:	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 );                                     
ffc1bbf0:	3d 20 00 00 	lis     r9,0                                   
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
ffc1bbf4:	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 );                                     
ffc1bbf8:	80 09 26 dc 	lwz     r0,9948(r9)                            
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
ffc1bbfc:	bf c1 00 30 	stmw    r30,48(r1)                             
ffc1bc00:	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 );                                     
ffc1bc04:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc1bc08:	3b c0 00 00 	li      r30,0                                  
ffc1bc0c:	40 9c 00 14 	bge-    cr7,ffc1bc20 <getdents+0x38>           <== NEVER TAKEN
ffc1bc10:	3d 20 00 00 	lis     r9,0                                   
ffc1bc14:	83 c9 27 88 	lwz     r30,10120(r9)                          
ffc1bc18:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc1bc1c:	7f de 1a 14 	add     r30,r30,r3                             
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
ffc1bc20:	39 7e 00 1c 	addi    r11,r30,28                             
ffc1bc24:	38 61 00 08 	addi    r3,r1,8                                
ffc1bc28:	7c ab a4 aa 	lswi    r5,r11,20                              
ffc1bc2c:	7c a3 a5 aa 	stswi   r5,r3,20                               
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
ffc1bc30:	81 21 00 14 	lwz     r9,20(r1)                              
ffc1bc34:	80 09 00 10 	lwz     r0,16(r9)                              
ffc1bc38:	90 81 00 28 	stw     r4,40(r1)                              
ffc1bc3c:	7c 09 03 a6 	mtctr   r0                                     
ffc1bc40:	4e 80 04 21 	bctrl                                          
ffc1bc44:	80 81 00 28 	lwz     r4,40(r1)                              
ffc1bc48:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc1bc4c:	41 be 00 18 	beq+    cr7,ffc1bc64 <getdents+0x7c>           
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc1bc50:	4b ff 4a a5 	bl      ffc106f4 <__errno>                     
ffc1bc54:	38 00 00 14 	li      r0,20                                  
ffc1bc58:	90 03 00 00 	stw     r0,0(r3)                               
ffc1bc5c:	38 60 ff ff 	li      r3,-1                                  
ffc1bc60:	48 00 00 1c 	b       ffc1bc7c <getdents+0x94>               
                                                                      
  /*                                                                  
   *  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  );   
ffc1bc64:	81 3e 00 24 	lwz     r9,36(r30)                             
ffc1bc68:	7f c3 f3 78 	mr      r3,r30                                 
ffc1bc6c:	7f e5 fb 78 	mr      r5,r31                                 
ffc1bc70:	80 09 00 08 	lwz     r0,8(r9)                               
ffc1bc74:	7c 09 03 a6 	mtctr   r0                                     
ffc1bc78:	4e 80 04 21 	bctrl                                          
}                                                                     
ffc1bc7c:	39 61 00 38 	addi    r11,r1,56                              
ffc1bc80:	4b fe 4e f4 	b       ffc00b74 <_restgpr_30_x>               
                                                                      

ffc04a10 <gettimeofday>: */ int gettimeofday( struct timeval *tp, void * __tz __attribute__((unused)) ) {
ffc04a10:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc04a14:	7c 08 02 a6 	mflr    r0                                     
ffc04a18:	bf c1 00 18 	stmw    r30,24(r1)                             
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp )                                                          
ffc04a1c:	7c 7f 1b 79 	mr.     r31,r3                                 
 */                                                                   
int gettimeofday(                                                     
  struct timeval  *tp,                                                
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
ffc04a20:	90 01 00 24 	stw     r0,36(r1)                              
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp )                                                          
ffc04a24:	40 a2 00 18 	bne+    ffc04a3c <gettimeofday+0x2c>           <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
ffc04a28:	48 00 b2 5d 	bl      ffc0fc84 <__errno>                     <== NOT EXECUTED
ffc04a2c:	38 00 00 0e 	li      r0,14                                  <== NOT EXECUTED
ffc04a30:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc04a34:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc04a38:	48 00 00 3c 	b       ffc04a74 <gettimeofday+0x64>           <== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc04a3c:	7f c0 00 a6 	mfmsr   r30                                    
ffc04a40:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc04a44:	7f c0 00 78 	andc    r0,r30,r0                              
ffc04a48:	7c 00 01 24 	mtmsr   r0                                     
  ISR_Level       level;                                              
  struct timespec now;                                                
  suseconds_t     useconds;                                           
                                                                      
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
ffc04a4c:	38 61 00 08 	addi    r3,r1,8                                
ffc04a50:	48 00 46 95 	bl      ffc090e4 <_TOD_Get>                    
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc04a54:	7f c0 01 24 	mtmsr   r30                                    
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
                                                                      
  time->tv_sec  = now.tv_sec;                                         
ffc04a58:	80 01 00 08 	lwz     r0,8(r1)                               
   *  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;                                                           
ffc04a5c:	38 60 00 00 	li      r3,0                                   
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
ffc04a60:	81 21 00 0c 	lwz     r9,12(r1)                              
                                                                      
  time->tv_sec  = now.tv_sec;                                         
ffc04a64:	90 1f 00 00 	stw     r0,0(r31)                              
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
  _ISR_Enable(level);                                                 
                                                                      
  useconds = (suseconds_t)now.tv_nsec;                                
  useconds /= (suseconds_t)TOD_NANOSECONDS_PER_MICROSECOND;           
ffc04a68:	38 00 03 e8 	li      r0,1000                                
ffc04a6c:	7c 09 03 d6 	divw    r0,r9,r0                               
                                                                      
  time->tv_sec  = now.tv_sec;                                         
  time->tv_usec = useconds;                                           
ffc04a70:	90 1f 00 04 	stw     r0,4(r31)                              
}                                                                     
ffc04a74:	39 61 00 20 	addi    r11,r1,32                              
ffc04a78:	4b ff ba c8 	b       ffc00540 <_restgpr_30_x>               
                                                                      

ffc0f328 <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 )
ffc0f328:	81 23 00 1c 	lwz     r9,28(r3)                              
     return -1;      /* It wasn't a directory --> return error */     
ffc0f32c:	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 )                            
ffc0f330:	81 29 00 4c 	lwz     r9,76(r9)                              
ffc0f334:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc0f338:	40 9e 00 18 	bne-    cr7,ffc0f350 <imfs_dir_open+0x28>      <== NEVER TAKEN
     return -1;      /* It wasn't a directory --> return error */     
                                                                      
  iop->offset = 0;                                                    
ffc0f33c:	39 40 00 00 	li      r10,0                                  
ffc0f340:	39 60 00 00 	li      r11,0                                  
ffc0f344:	91 43 00 10 	stw     r10,16(r3)                             
  return 0;                                                           
ffc0f348:	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;                                                    
ffc0f34c:	91 63 00 14 	stw     r11,20(r3)                             
  return 0;                                                           
}                                                                     
ffc0f350:	7c 03 03 78 	mr      r3,r0                                  
ffc0f354:	4e 80 00 20 	blr                                            
                                                                      

ffc0f564 <imfs_dir_rmnod>: int imfs_dir_rmnod( rtems_filesystem_location_info_t *parent_pathloc, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN */ ) {
ffc0f564:	7c 08 02 a6 	mflr    r0                                     
ffc0f568:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0f56c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0f570:	90 01 00 14 	stw     r0,20(r1)                              
ffc0f574:	48 00 ae a9 	bl      ffc1a41c <_savegpr_31>                 
  IMFS_jnode_t *the_jnode;                                            
                                                                      
  the_jnode = (IMFS_jnode_t *) pathloc->node_access;                  
ffc0f578:	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 ) ) 
ffc0f57c:	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 );                            
ffc0f580:	38 1f 00 54 	addi    r0,r31,84                              
ffc0f584:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0f588:	41 be 00 10 	beq+    cr7,ffc0f598 <imfs_dir_rmnod+0x34>     
     rtems_set_errno_and_return_minus_one( ENOTEMPTY );               
ffc0f58c:	48 00 06 f9 	bl      ffc0fc84 <__errno>                     
ffc0f590:	38 00 00 5a 	li      r0,90                                  
ffc0f594:	48 00 00 1c 	b       ffc0f5b0 <imfs_dir_rmnod+0x4c>         
ffc0f598:	81 24 00 10 	lwz     r9,16(r4)                              
                                                                      
  /*                                                                  
   * You cannot remove the file system root node.                     
   */                                                                 
                                                                      
  if ( rtems_filesystem_is_root_location(pathloc) )                   
ffc0f59c:	80 09 00 1c 	lwz     r0,28(r9)                              
ffc0f5a0:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0f5a4:	40 be 00 18 	bne+    cr7,ffc0f5bc <imfs_dir_rmnod+0x58>     
     rtems_set_errno_and_return_minus_one( EBUSY );                   
ffc0f5a8:	48 00 06 dd 	bl      ffc0fc84 <__errno>                     
ffc0f5ac:	38 00 00 10 	li      r0,16                                  
ffc0f5b0:	90 03 00 00 	stw     r0,0(r3)                               
ffc0f5b4:	38 60 ff ff 	li      r3,-1                                  
ffc0f5b8:	48 00 00 24 	b       ffc0f5dc <imfs_dir_rmnod+0x78>         
                                                                      
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
ffc0f5bc:	80 1f 00 5c 	lwz     r0,92(r31)                             
ffc0f5c0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f5c4:	40 be ff e4 	bne-    cr7,ffc0f5a8 <imfs_dir_rmnod+0x44>     <== NEVER TAKEN
     rtems_set_errno_and_return_minus_one( EBUSY );                   
                                                                      
  IMFS_create_orphan( the_jnode );                                    
ffc0f5c8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0f5cc:	4b ff d5 8d 	bl      ffc0cb58 <IMFS_create_orphan>          
  IMFS_check_node_remove( the_jnode );                                
ffc0f5d0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0f5d4:	4b ff d5 dd 	bl      ffc0cbb0 <IMFS_check_node_remove>      
                                                                      
  return 0;                                                           
ffc0f5d8:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0f5dc:	39 61 00 10 	addi    r11,r1,16                              
ffc0f5e0:	4b ff 0f 64 	b       ffc00544 <_restgpr_31_x>               
                                                                      

ffc04ff8 <init_etc_passwd_group>: /* * Initialize useable but dummy databases */ void init_etc_passwd_group(void) {
ffc04ff8:	7c 08 02 a6 	mflr    r0                                     
ffc04ffc:	7c 2b 0b 78 	mr      r11,r1                                 
ffc05000:	94 21 ff f0 	stwu    r1,-16(r1)                             
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
ffc05004:	3d 20 00 00 	lis     r9,0                                   
                                                                      
/*                                                                    
 * Initialize useable but dummy databases                             
 */                                                                   
void init_etc_passwd_group(void)                                      
{                                                                     
ffc05008:	90 01 00 14 	stw     r0,20(r1)                              
ffc0500c:	48 01 12 09 	bl      ffc16214 <_savegpr_31>                 
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
ffc05010:	88 09 28 58 	lbz     r0,10328(r9)                           
ffc05014:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05018:	40 be 00 bc 	bne+    cr7,ffc050d4 <init_etc_passwd_group+0xdc>
    return;                                                           
  etc_passwd_initted = 1;                                             
  mkdir("/etc", 0777);                                                
ffc0501c:	3c 60 ff c2 	lis     r3,-62                                 
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
ffc05020:	38 00 00 01 	li      r0,1                                   
  mkdir("/etc", 0777);                                                
ffc05024:	38 80 01 ff 	li      r4,511                                 
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
ffc05028:	98 09 28 58 	stb     r0,10328(r9)                           
  mkdir("/etc", 0777);                                                
ffc0502c:	38 63 80 5b 	addi    r3,r3,-32677                           
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
ffc05030:	3f e0 ff c2 	lis     r31,-62                                
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
  mkdir("/etc", 0777);                                                
ffc05034:	48 00 09 e1 	bl      ffc05a14 <mkdir>                       
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
ffc05038:	3b ff 80 60 	addi    r31,r31,-32672                         
ffc0503c:	3c 80 ff c1 	lis     r4,-63                                 
ffc05040:	7f e3 fb 78 	mr      r3,r31                                 
ffc05044:	38 84 78 80 	addi    r4,r4,30848                            
ffc05048:	48 00 c2 55 	bl      ffc1129c <fopen>                       
ffc0504c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05050:	40 be 00 30 	bne+    cr7,ffc05080 <init_etc_passwd_group+0x88>
    fclose(fp);                                                       
  }                                                                   
  else if ((fp = fopen("/etc/passwd", "w")) != NULL) {                
ffc05054:	3c 80 ff c2 	lis     r4,-62                                 
ffc05058:	7f e3 fb 78 	mr      r3,r31                                 
ffc0505c:	38 84 80 6c 	addi    r4,r4,-32660                           
ffc05060:	48 00 c2 3d 	bl      ffc1129c <fopen>                       
ffc05064:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc05068:	41 82 00 1c 	beq-    ffc05084 <init_etc_passwd_group+0x8c>  <== NEVER TAKEN
    fprintf(fp, "root:*:0:0:root::/:/bin/sh\n"                        
ffc0506c:	3c 60 ff c2 	lis     r3,-62                                 
ffc05070:	38 63 80 6e 	addi    r3,r3,-32658                           
ffc05074:	7f e4 fb 78 	mr      r4,r31                                 
ffc05078:	48 00 c2 e9 	bl      ffc11360 <fputs>                       
                 "rtems:*:1:1:RTEMS Application::/:/bin/sh\n"         
                 "tty:!:2:2:tty owner::/:/bin/false\n" );             
    fclose(fp);                                                       
ffc0507c:	7f e3 fb 78 	mr      r3,r31                                 
ffc05080:	48 00 b8 75 	bl      ffc108f4 <fclose>                      
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize /etc/group                                           
   */                                                                 
  if ((fp = fopen("/etc/group", "r")) != NULL) {                      
ffc05084:	3f e0 ff c2 	lis     r31,-62                                
ffc05088:	3b ff 80 d5 	addi    r31,r31,-32555                         
ffc0508c:	3c 80 ff c1 	lis     r4,-63                                 
ffc05090:	7f e3 fb 78 	mr      r3,r31                                 
ffc05094:	38 84 78 80 	addi    r4,r4,30848                            
ffc05098:	48 00 c2 05 	bl      ffc1129c <fopen>                       
ffc0509c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc050a0:	40 be 00 30 	bne+    cr7,ffc050d0 <init_etc_passwd_group+0xd8>
    fclose(fp);                                                       
  }                                                                   
  else if ((fp = fopen("/etc/group", "w")) != NULL) {                 
ffc050a4:	3c 80 ff c2 	lis     r4,-62                                 
ffc050a8:	7f e3 fb 78 	mr      r3,r31                                 
ffc050ac:	38 84 80 6c 	addi    r4,r4,-32660                           
ffc050b0:	48 00 c1 ed 	bl      ffc1129c <fopen>                       
ffc050b4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc050b8:	41 82 00 1c 	beq-    ffc050d4 <init_etc_passwd_group+0xdc>  <== NEVER TAKEN
    fprintf( fp, "root:x:0:root\n"                                    
ffc050bc:	3c 60 ff c2 	lis     r3,-62                                 
ffc050c0:	38 63 80 e0 	addi    r3,r3,-32544                           
ffc050c4:	7f e4 fb 78 	mr      r4,r31                                 
ffc050c8:	48 00 c2 99 	bl      ffc11360 <fputs>                       
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
ffc050cc:	7f e3 fb 78 	mr      r3,r31                                 
ffc050d0:	48 00 b8 25 	bl      ffc108f4 <fclose>                      
  }                                                                   
}                                                                     
ffc050d4:	39 61 00 10 	addi    r11,r1,16                              
ffc050d8:	4b ff b7 e8 	b       ffc008c0 <_restgpr_31_x>               
                                                                      

ffc06970 <iproc>: /* * Process a single input character */ static int iproc (unsigned char c, struct rtems_termios_tty *tty) {
ffc06970:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc06974:	7c 08 02 a6 	mflr    r0                                     
ffc06978:	90 01 00 14 	stw     r0,20(r1)                              
  if (tty->termios.c_iflag & ISTRIP)                                  
ffc0697c:	80 04 00 30 	lwz     r0,48(r4)                              
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
ffc06980:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc06984:	7c 7e 1b 78 	mr      r30,r3                                 
  if (tty->termios.c_iflag & ISTRIP)                                  
ffc06988:	70 09 00 20 	andi.   r9,r0,32                               
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
ffc0698c:	7c 9f 23 78 	mr      r31,r4                                 
  if (tty->termios.c_iflag & ISTRIP)                                  
ffc06990:	41 82 00 08 	beq-    ffc06998 <iproc+0x28>                  <== ALWAYS TAKEN
    c &= 0x7f;                                                        
ffc06994:	54 7e 06 7e 	clrlwi  r30,r3,25                              <== NOT EXECUTED
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
ffc06998:	70 09 02 00 	andi.   r9,r0,512                              
ffc0699c:	41 82 00 28 	beq-    ffc069c4 <iproc+0x54>                  
    c = tolower (c);                                                  
ffc069a0:	3d 20 00 00 	lis     r9,0                                   
ffc069a4:	81 29 27 44 	lwz     r9,10052(r9)                           
ffc069a8:	7d 29 f2 14 	add     r9,r9,r30                              
ffc069ac:	89 29 00 01 	lbz     r9,1(r9)                               
ffc069b0:	55 29 07 be 	clrlwi  r9,r9,30                               
ffc069b4:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc069b8:	40 be 00 08 	bne+    cr7,ffc069c0 <iproc+0x50>              
ffc069bc:	3b de 00 20 	addi    r30,r30,32                             
ffc069c0:	57 de 06 3e 	clrlwi  r30,r30,24                             
                                                                      
  if (c == '\r') {                                                    
ffc069c4:	2f 9e 00 0d 	cmpwi   cr7,r30,13                             
ffc069c8:	40 be 00 20 	bne+    cr7,ffc069e8 <iproc+0x78>              
    if (tty->termios.c_iflag & IGNCR)                                 
ffc069cc:	70 09 00 80 	andi.   r9,r0,128                              
      return 0;                                                       
ffc069d0:	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)                                 
ffc069d4:	40 82 01 44 	bne-    ffc06b18 <iproc+0x1a8>                 <== NEVER TAKEN
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
ffc069d8:	70 09 01 00 	andi.   r9,r0,256                              
ffc069dc:	41 82 00 2c 	beq-    ffc06a08 <iproc+0x98>                  <== NEVER TAKEN
      c = '\n';                                                       
ffc069e0:	3b c0 00 0a 	li      r30,10                                 
ffc069e4:	48 00 00 24 	b       ffc06a08 <iproc+0x98>                  
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
ffc069e8:	2f 9e 00 0a 	cmpwi   cr7,r30,10                             
ffc069ec:	40 be 00 14 	bne+    cr7,ffc06a00 <iproc+0x90>              
ffc069f0:	70 09 00 40 	andi.   r9,r0,64                               
ffc069f4:	41 82 00 14 	beq-    ffc06a08 <iproc+0x98>                  <== ALWAYS TAKEN
    c = '\r';                                                         
ffc069f8:	3b c0 00 0d 	li      r30,13                                 <== NOT EXECUTED
ffc069fc:	48 00 00 0c 	b       ffc06a08 <iproc+0x98>                  <== NOT EXECUTED
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
ffc06a00:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc06a04:	41 be 00 c8 	beq+    cr7,ffc06acc <iproc+0x15c>             <== NEVER TAKEN
ffc06a08:	80 1f 00 3c 	lwz     r0,60(r31)                             
ffc06a0c:	70 09 00 02 	andi.   r9,r0,2                                
ffc06a10:	41 82 00 bc 	beq-    ffc06acc <iproc+0x15c>                 
    if (c == tty->termios.c_cc[VERASE]) {                             
ffc06a14:	89 3f 00 43 	lbz     r9,67(r31)                             
      erase (tty, 0);                                                 
ffc06a18:	7f e3 fb 78 	mr      r3,r31                                 
ffc06a1c:	38 80 00 00 	li      r4,0                                   
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
    if (c == tty->termios.c_cc[VERASE]) {                             
ffc06a20:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc06a24:	41 9e 00 18 	beq-    cr7,ffc06a3c <iproc+0xcc>              
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
ffc06a28:	89 3f 00 44 	lbz     r9,68(r31)                             
ffc06a2c:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc06a30:	40 be 00 14 	bne+    cr7,ffc06a44 <iproc+0xd4>              
      erase (tty, 1);                                                 
ffc06a34:	7f e3 fb 78 	mr      r3,r31                                 
ffc06a38:	38 80 00 01 	li      r4,1                                   
ffc06a3c:	4b ff fd 29 	bl      ffc06764 <erase>                       
ffc06a40:	48 00 00 d4 	b       ffc06b14 <iproc+0x1a4>                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
ffc06a44:	89 3f 00 45 	lbz     r9,69(r31)                             
      return 1;                                                       
ffc06a48:	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]) {                          
ffc06a4c:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc06a50:	41 9e 00 c8 	beq-    cr7,ffc06b18 <iproc+0x1a8>             <== NEVER TAKEN
      return 1;                                                       
    } else if (c == '\n') {                                           
ffc06a54:	2f 9e 00 0a 	cmpwi   cr7,r30,10                             
ffc06a58:	40 be 00 2c 	bne+    cr7,ffc06a84 <iproc+0x114>             
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
ffc06a5c:	70 09 00 48 	andi.   r9,r0,72                               
ffc06a60:	41 a2 00 10 	beq+    ffc06a70 <iproc+0x100>                 <== NEVER TAKEN
        echo (c, tty);                                                
ffc06a64:	38 60 00 0a 	li      r3,10                                  
ffc06a68:	7f e4 fb 78 	mr      r4,r31                                 
ffc06a6c:	4b ff fc 6d 	bl      ffc066d8 <echo>                        
      tty->cbuf[tty->ccount++] = c;                                   
ffc06a70:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc06a74:	38 00 00 0a 	li      r0,10                                  
ffc06a78:	81 7f 00 1c 	lwz     r11,28(r31)                            
ffc06a7c:	7c 0b 49 ae 	stbx    r0,r11,r9                              
ffc06a80:	48 00 00 3c 	b       ffc06abc <iproc+0x14c>                 
      return 1;                                                       
    } else if ((c == tty->termios.c_cc[VEOL]) ||                      
ffc06a84:	89 3f 00 4c 	lbz     r9,76(r31)                             
ffc06a88:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc06a8c:	41 9e 00 10 	beq-    cr7,ffc06a9c <iproc+0x12c>             <== NEVER TAKEN
ffc06a90:	89 3f 00 51 	lbz     r9,81(r31)                             
ffc06a94:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc06a98:	40 be 00 34 	bne+    cr7,ffc06acc <iproc+0x15c>             <== ALWAYS TAKEN
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
ffc06a9c:	70 09 00 08 	andi.   r9,r0,8                                <== NOT EXECUTED
ffc06aa0:	41 a2 00 10 	beq+    ffc06ab0 <iproc+0x140>                 <== NOT EXECUTED
        echo (c, tty);                                                
ffc06aa4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc06aa8:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc06aac:	4b ff fc 2d 	bl      ffc066d8 <echo>                        <== NOT EXECUTED
      tty->cbuf[tty->ccount++] = c;                                   
ffc06ab0:	81 3f 00 20 	lwz     r9,32(r31)                             <== NOT EXECUTED
ffc06ab4:	81 7f 00 1c 	lwz     r11,28(r31)                            <== NOT EXECUTED
ffc06ab8:	7f cb 49 ae 	stbx    r30,r11,r9                             <== NOT EXECUTED
ffc06abc:	39 29 00 01 	addi    r9,r9,1                                
ffc06ac0:	91 3f 00 20 	stw     r9,32(r31)                             
      return 1;                                                       
ffc06ac4:	38 60 00 01 	li      r3,1                                   
ffc06ac8:	48 00 00 50 	b       ffc06b18 <iproc+0x1a8>                 
  }                                                                   
                                                                      
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
ffc06acc:	3d 20 00 00 	lis     r9,0                                   
ffc06ad0:	81 29 21 b8 	lwz     r9,8632(r9)                            
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
  }                                                                   
  return 0;                                                           
ffc06ad4:	38 60 00 00 	li      r3,0                                   
  }                                                                   
                                                                      
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
ffc06ad8:	38 09 ff ff 	addi    r0,r9,-1                               
ffc06adc:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc06ae0:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc06ae4:	40 9c 00 34 	bge-    cr7,ffc06b18 <iproc+0x1a8>             <== NEVER TAKEN
    if (tty->termios.c_lflag & ECHO)                                  
ffc06ae8:	80 1f 00 3c 	lwz     r0,60(r31)                             
ffc06aec:	70 09 00 08 	andi.   r9,r0,8                                
ffc06af0:	41 a2 00 10 	beq+    ffc06b00 <iproc+0x190>                 <== NEVER TAKEN
      echo (c, tty);                                                  
ffc06af4:	7f c3 f3 78 	mr      r3,r30                                 
ffc06af8:	7f e4 fb 78 	mr      r4,r31                                 
ffc06afc:	4b ff fb dd 	bl      ffc066d8 <echo>                        
    tty->cbuf[tty->ccount++] = c;                                     
ffc06b00:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc06b04:	81 7f 00 1c 	lwz     r11,28(r31)                            
ffc06b08:	7f cb 49 ae 	stbx    r30,r11,r9                             
ffc06b0c:	39 29 00 01 	addi    r9,r9,1                                
ffc06b10:	91 3f 00 20 	stw     r9,32(r31)                             
  }                                                                   
  return 0;                                                           
ffc06b14:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc06b18:	39 61 00 10 	addi    r11,r1,16                              
ffc06b1c:	4b ff 9a 24 	b       ffc00540 <_restgpr_30_x>               
                                                                      

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

ffc05290 <libc_wrapup>: extern void _wrapup_reent(struct _reent *); extern void _reclaim_reent(struct _reent *); void libc_wrapup(void) {
ffc05290:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc05294:	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()))                      
ffc05298:	3d 20 00 00 	lis     r9,0                                   
                                                                      
extern void _wrapup_reent(struct _reent *);                           
extern void _reclaim_reent(struct _reent *);                          
                                                                      
void libc_wrapup(void)                                                
{                                                                     
ffc0529c:	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()))                      
ffc052a0:	80 09 28 04 	lwz     r0,10244(r9)                           
                                                                      
extern void _wrapup_reent(struct _reent *);                           
extern void _reclaim_reent(struct _reent *);                          
                                                                      
void libc_wrapup(void)                                                
{                                                                     
ffc052a4:	bf c1 00 08 	stmw    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()))                      
ffc052a8:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc052ac:	40 be 00 4c 	bne+    cr7,ffc052f8 <libc_wrapup+0x68>        <== NEVER TAKEN
  /*                                                                  
   *  This was already done if the user called exit() directly .      
  _wrapup_reent(0);                                                   
   */                                                                 
                                                                      
  if (_REENT != _global_impure_ptr) {                                 
ffc052b0:	3d 20 00 00 	lis     r9,0                                   
ffc052b4:	3f e0 00 00 	lis     r31,0                                  
ffc052b8:	83 c9 27 48 	lwz     r30,10056(r9)                          
ffc052bc:	80 1f 27 4c 	lwz     r0,10060(r31)                          
ffc052c0:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc052c4:	41 9e 00 10 	beq-    cr7,ffc052d4 <libc_wrapup+0x44>        
      _wrapup_reent(_global_impure_ptr);                              
ffc052c8:	7f c3 f3 78 	mr      r3,r30                                 
ffc052cc:	48 00 ba cd 	bl      ffc10d98 <_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;                                    
ffc052d0:	93 df 27 4c 	stw     r30,10060(r31)                         
   *                                                                  
   * Should this be changed to do *all* file streams?                 
   *    _fwalk (_REENT, fclose);                                      
   */                                                                 
                                                                      
  fclose (stdin);                                                     
ffc052d4:	81 3f 27 4c 	lwz     r9,10060(r31)                          
ffc052d8:	80 69 00 04 	lwz     r3,4(r9)                               
ffc052dc:	48 00 ab 35 	bl      ffc0fe10 <fclose>                      
  fclose (stdout);                                                    
ffc052e0:	81 3f 27 4c 	lwz     r9,10060(r31)                          
ffc052e4:	80 69 00 08 	lwz     r3,8(r9)                               
ffc052e8:	48 00 ab 29 	bl      ffc0fe10 <fclose>                      
  fclose (stderr);                                                    
ffc052ec:	81 3f 27 4c 	lwz     r9,10060(r31)                          
ffc052f0:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc052f4:	48 00 ab 1d 	bl      ffc0fe10 <fclose>                      
}                                                                     
ffc052f8:	39 61 00 10 	addi    r11,r1,16                              
ffc052fc:	4b ff b2 44 	b       ffc00540 <_restgpr_30_x>               
                                                                      

ffc04d04 <malloc>: #include "malloc_p.h" void *malloc( size_t size ) {
ffc04d04:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc04d08:	7c 08 02 a6 	mflr    r0                                     
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
ffc04d0c:	3d 20 00 00 	lis     r9,0                                   
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
ffc04d10:	90 01 00 14 	stw     r0,20(r1)                              
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
ffc04d14:	39 29 2a e8 	addi    r9,r9,10984                            
ffc04d18:	81 69 00 04 	lwz     r11,4(r9)                              
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
ffc04d1c:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc04d20:	7c 7f 1b 78 	mr      r31,r3                                 
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
ffc04d24:	38 0b 00 01 	addi    r0,r11,1                               
ffc04d28:	90 09 00 04 	stw     r0,4(r9)                               
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
    return (void *) 0;                                                
ffc04d2c:	3b c0 00 00 	li      r30,0                                  
  MSBUMP(malloc_calls, 1);                                            
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
ffc04d30:	4b ff fe 75 	bl      ffc04ba4 <malloc_deferred_frees_process>
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
ffc04d34:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc04d38:	41 9e 00 bc 	beq-    cr7,ffc04df4 <malloc+0xf0>             
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
ffc04d3c:	3d 20 00 00 	lis     r9,0                                   
ffc04d40:	80 09 28 04 	lwz     r0,10244(r9)                           
ffc04d44:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc04d48:	40 be 00 10 	bne+    cr7,ffc04d58 <malloc+0x54>             
       !malloc_is_system_state_OK() )                                 
ffc04d4c:	4b ff fe 11 	bl      ffc04b5c <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()) &&                    
ffc04d50:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04d54:	41 9e 00 a0 	beq-    cr7,ffc04df4 <malloc+0xf0>             <== NEVER TAKEN
RTEMS_INLINE_ROUTINE void *_Protected_heap_Allocate(                  
  Heap_Control *heap,                                                 
  uintptr_t size                                                      
)                                                                     
{                                                                     
  return _Protected_heap_Allocate_aligned_with_boundary( heap, size, 0, 0 );
ffc04d58:	3d 20 00 00 	lis     r9,0                                   
ffc04d5c:	80 69 26 ec 	lwz     r3,9964(r9)                            
ffc04d60:	7f e4 fb 78 	mr      r4,r31                                 
ffc04d64:	38 a0 00 00 	li      r5,0                                   
ffc04d68:	38 c0 00 00 	li      r6,0                                   
ffc04d6c:	48 00 50 e9 	bl      ffc09e54 <_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 ) {                                               
ffc04d70:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc04d74:	40 a2 00 40 	bne+    ffc04db4 <malloc+0xb0>                 
    if (rtems_malloc_sbrk_helpers)                                    
ffc04d78:	3d 20 00 00 	lis     r9,0                                   
ffc04d7c:	81 29 27 64 	lwz     r9,10084(r9)                           
ffc04d80:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc04d84:	41 9e 00 1c 	beq-    cr7,ffc04da0 <malloc+0x9c>             
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
ffc04d88:	80 09 00 04 	lwz     r0,4(r9)                               
ffc04d8c:	7f e3 fb 78 	mr      r3,r31                                 
ffc04d90:	7c 09 03 a6 	mtctr   r0                                     
ffc04d94:	4e 80 04 21 	bctrl                                          
    if ( !return_this ) {                                             
ffc04d98:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc04d9c:	40 a2 00 18 	bne+    ffc04db4 <malloc+0xb0>                 <== NEVER TAKEN
      errno = ENOMEM;                                                 
ffc04da0:	48 00 ae e5 	bl      ffc0fc84 <__errno>                     
ffc04da4:	38 00 00 0c 	li      r0,12                                  
ffc04da8:	90 03 00 00 	stw     r0,0(r3)                               
      return (void *) 0;                                              
ffc04dac:	3b c0 00 00 	li      r30,0                                  
ffc04db0:	48 00 00 44 	b       ffc04df4 <malloc+0xf0>                 
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
ffc04db4:	3d 20 00 00 	lis     r9,0                                   
ffc04db8:	80 09 27 60 	lwz     r0,10080(r9)                           
ffc04dbc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04dc0:	41 9e 00 14 	beq-    cr7,ffc04dd4 <malloc+0xd0>             
    (*rtems_malloc_dirty_helper)( return_this, size );                
ffc04dc4:	7f c3 f3 78 	mr      r3,r30                                 
ffc04dc8:	7c 09 03 a6 	mtctr   r0                                     
ffc04dcc:	7f e4 fb 78 	mr      r4,r31                                 
ffc04dd0:	4e 80 04 21 	bctrl                                          
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
ffc04dd4:	3d 20 00 00 	lis     r9,0                                   
ffc04dd8:	81 29 27 68 	lwz     r9,10088(r9)                           
ffc04ddc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc04de0:	41 9e 00 14 	beq-    cr7,ffc04df4 <malloc+0xf0>             
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
ffc04de4:	80 09 00 04 	lwz     r0,4(r9)                               
ffc04de8:	7f c3 f3 78 	mr      r3,r30                                 
ffc04dec:	7c 09 03 a6 	mtctr   r0                                     
ffc04df0:	4e 80 04 21 	bctrl                                          
                                                                      
  return return_this;                                                 
}                                                                     
ffc04df4:	39 61 00 10 	addi    r11,r1,16                              
ffc04df8:	7f c3 f3 78 	mr      r3,r30                                 
ffc04dfc:	4b ff b7 44 	b       ffc00540 <_restgpr_30_x>               
                                                                      

ffc04aac <malloc_sbrk_extend_and_allocate>: } void *malloc_sbrk_extend_and_allocate( size_t size ) {
ffc04aac:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc04ab0:	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;                             
ffc04ab4:	3d 20 00 00 	lis     r9,0                                   
}                                                                     
                                                                      
void *malloc_sbrk_extend_and_allocate(                                
  size_t size                                                         
)                                                                     
{                                                                     
ffc04ab8:	90 01 00 1c 	stw     r0,28(r1)                              
   *  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;                             
ffc04abc:	80 09 27 9c 	lwz     r0,10140(r9)                           
}                                                                     
                                                                      
void *malloc_sbrk_extend_and_allocate(                                
  size_t size                                                         
)                                                                     
{                                                                     
ffc04ac0:	bf 81 00 08 	stmw    r28,8(r1)                              
ffc04ac4:	7c 7d 1b 78 	mr      r29,r3                                 
   *  in "page" amounts.                                              
   */                                                                 
                                                                      
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
                                                                      
  if ( sbrk_amount == 0 )                                             
ffc04ac8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return (void *) 0;                                                
ffc04acc:	3b c0 00 00 	li      r30,0                                  
   *  in "page" amounts.                                              
   */                                                                 
                                                                      
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
                                                                      
  if ( sbrk_amount == 0 )                                             
ffc04ad0:	41 9e 00 7c 	beq-    cr7,ffc04b4c <malloc_sbrk_extend_and_allocate+0xa0><== NEVER TAKEN
    return (void *) 0;                                                
                                                                      
  the_size = ((size + sbrk_amount) / sbrk_amount * sbrk_amount);      
ffc04ad4:	7f e3 02 14 	add     r31,r3,r0                              
ffc04ad8:	7f ff 03 96 	divwu   r31,r31,r0                             
ffc04adc:	7f ff 01 d6 	mullw   r31,r31,r0                             
                                                                      
  starting_address = (void *) sbrk(the_size);                         
ffc04ae0:	7f e3 fb 78 	mr      r3,r31                                 
ffc04ae4:	4b ff b8 dd 	bl      ffc003c0 <sbrk>                        
  if ( starting_address == (void*) -1 )                               
ffc04ae8:	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);                         
ffc04aec:	7c 64 1b 78 	mr      r4,r3                                  
  if ( starting_address == (void*) -1 )                               
ffc04af0:	41 9e 00 5c 	beq-    cr7,ffc04b4c <malloc_sbrk_extend_and_allocate+0xa0>
    return (void *) 0;                                                
                                                                      
  if ( !_Protected_heap_Extend(                                       
ffc04af4:	3f 80 00 00 	lis     r28,0                                  
ffc04af8:	80 7c 26 cc 	lwz     r3,9932(r28)                           
ffc04afc:	7f e5 fb 78 	mr      r5,r31                                 
ffc04b00:	48 00 50 89 	bl      ffc09b88 <_Protected_heap_Extend>      
ffc04b04:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04b08:	40 be 00 1c 	bne+    cr7,ffc04b24 <malloc_sbrk_extend_and_allocate+0x78>
          RTEMS_Malloc_Heap, starting_address, the_size) ) {          
    sbrk(-the_size);                                                  
ffc04b0c:	7c 7f 00 d0 	neg     r3,r31                                 
ffc04b10:	4b ff b8 b1 	bl      ffc003c0 <sbrk>                        
    errno = ENOMEM;                                                   
ffc04b14:	48 00 b0 c9 	bl      ffc0fbdc <__errno>                     
ffc04b18:	38 00 00 0c 	li      r0,12                                  
ffc04b1c:	90 03 00 00 	stw     r0,0(r3)                               
    return (void *) 0;                                                
ffc04b20:	48 00 00 2c 	b       ffc04b4c <malloc_sbrk_extend_and_allocate+0xa0>
  }                                                                   
                                                                      
  MSBUMP(space_available, the_size);                                  
ffc04b24:	3d 20 00 00 	lis     r9,0                                   
ffc04b28:	80 7c 26 cc 	lwz     r3,9932(r28)                           
ffc04b2c:	80 09 2c 28 	lwz     r0,11304(r9)                           
ffc04b30:	7f a4 eb 78 	mr      r4,r29                                 
ffc04b34:	38 a0 00 00 	li      r5,0                                   
ffc04b38:	7f ff 02 14 	add     r31,r31,r0                             
ffc04b3c:	38 c0 00 00 	li      r6,0                                   
ffc04b40:	93 e9 2c 28 	stw     r31,11304(r9)                          
ffc04b44:	48 00 4f ed 	bl      ffc09b30 <_Protected_heap_Allocate_aligned_with_boundary>
ffc04b48:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
}                                                                     
ffc04b4c:	39 61 00 18 	addi    r11,r1,24                              
ffc04b50:	7f c3 f3 78 	mr      r3,r30                                 
ffc04b54:	4b ff b9 9c 	b       ffc004f0 <_restgpr_28_x>               
                                                                      

ffc04b58 <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) {
ffc04b58:	2c 03 00 00 	cmpwi   r3,0                                   
                                                                      
void *malloc_sbrk_initialize(                                         
  void  *starting_address,                                            
  size_t length                                                       
)                                                                     
{                                                                     
ffc04b5c:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc04b60:	7c 08 02 a6 	mflr    r0                                     
  uintptr_t     old_address;                                          
  uintptr_t     uaddress;                                             
                                                                      
  RTEMS_Malloc_Sbrk_amount = length;                                  
ffc04b64:	3d 20 00 00 	lis     r9,0                                   
ffc04b68:	90 89 27 9c 	stw     r4,10140(r9)                           
                                                                      
void *malloc_sbrk_initialize(                                         
  void  *starting_address,                                            
  size_t length                                                       
)                                                                     
{                                                                     
ffc04b6c:	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) {                                            
ffc04b70:	40 a2 00 2c 	bne+    ffc04b9c <malloc_sbrk_initialize+0x44> 
    uaddress = (uintptr_t)sbrk(length);                               
ffc04b74:	7c 83 23 78 	mr      r3,r4                                  
ffc04b78:	4b ff b8 49 	bl      ffc003c0 <sbrk>                        
                                                                      
    if (uaddress == (uintptr_t) -1) {                                 
ffc04b7c:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc04b80:	40 be 00 0c 	bne+    cr7,ffc04b8c <malloc_sbrk_initialize+0x34><== NEVER TAKEN
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
ffc04b84:	38 60 00 1a 	li      r3,26                                  
ffc04b88:	48 00 39 cd 	bl      ffc08554 <rtems_fatal_error_occurred>  
      /* DOES NOT RETURN!!! */                                        
    }                                                                 
                                                                      
    if (uaddress & (CPU_HEAP_ALIGNMENT-1)) {                          
ffc04b8c:	70 60 00 07 	andi.   r0,r3,7                                <== NOT EXECUTED
ffc04b90:	41 82 00 0c 	beq-    ffc04b9c <malloc_sbrk_initialize+0x44> <== NOT EXECUTED
      old_address = uaddress;                                         
      uaddress = (uaddress + CPU_HEAP_ALIGNMENT) & ~(CPU_HEAP_ALIGNMENT-1);
ffc04b94:	38 63 00 08 	addi    r3,r3,8                                <== NOT EXECUTED
ffc04b98:	54 63 00 38 	rlwinm  r3,r3,0,0,28                           <== NOT EXECUTED
    }                                                                 
                                                                      
    starting_address = (void *)uaddress;                              
  }                                                                   
  return starting_address;                                            
}                                                                     
ffc04b9c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc04ba0:	38 21 00 08 	addi    r1,r1,8                                
ffc04ba4:	7c 08 03 a6 	mtlr    r0                                     
ffc04ba8:	4e 80 00 20 	blr                                            
                                                                      

ffc0ef10 <memfile_ftruncate>: */ int memfile_ftruncate( rtems_libio_t *iop, rtems_off64_t length ) {
ffc0ef10:	7c 08 02 a6 	mflr    r0                                     
ffc0ef14:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0ef18:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0ef1c:	90 01 00 24 	stw     r0,36(r1)                              
ffc0ef20:	48 00 b4 fd 	bl      ffc1a41c <_savegpr_31>                 
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
ffc0ef24:	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 )                           
ffc0ef28:	80 1f 00 50 	lwz     r0,80(r31)                             
ffc0ef2c:	7f 80 28 00 	cmpw    cr7,r0,r5                              
ffc0ef30:	41 9c 00 14 	blt-    cr7,ffc0ef44 <memfile_ftruncate+0x34>  <== NEVER TAKEN
ffc0ef34:	40 be 00 1c 	bne+    cr7,ffc0ef50 <memfile_ftruncate+0x40>  
ffc0ef38:	80 1f 00 54 	lwz     r0,84(r31)                             
ffc0ef3c:	7f 80 30 40 	cmplw   cr7,r0,r6                              
ffc0ef40:	40 bc 00 10 	bge+    cr7,ffc0ef50 <memfile_ftruncate+0x40>  
    return IMFS_memfile_extend( the_jnode, length );                  
ffc0ef44:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ef48:	4b ff fb d5 	bl      ffc0eb1c <IMFS_memfile_extend>         
ffc0ef4c:	48 00 00 2c 	b       ffc0ef78 <memfile_ftruncate+0x68>      
  /*                                                                  
   *  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;                                 
ffc0ef50:	90 bf 00 50 	stw     r5,80(r31)                             
  iop->size = the_jnode->info.file.size;                              
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc0ef54:	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;                                 
ffc0ef58:	90 df 00 54 	stw     r6,84(r31)                             
  iop->size = the_jnode->info.file.size;                              
ffc0ef5c:	90 a3 00 08 	stw     r5,8(r3)                               
ffc0ef60:	90 c3 00 0c 	stw     r6,12(r3)                              
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc0ef64:	38 61 00 08 	addi    r3,r1,8                                
ffc0ef68:	4b ff 5a a9 	bl      ffc04a10 <gettimeofday>                
ffc0ef6c:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  return 0;                                                           
ffc0ef70:	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 );                                     
ffc0ef74:	90 1f 00 40 	stw     r0,64(r31)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc0ef78:	39 61 00 20 	addi    r11,r1,32                              
ffc0ef7c:	4b ff 15 c8 	b       ffc00544 <_restgpr_31_x>               
                                                                      

ffc0ef80 <memfile_lseek>: rtems_off64_t memfile_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
ffc0ef80:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0ef84:	7c 08 02 a6 	mflr    r0                                     
ffc0ef88:	90 01 00 14 	stw     r0,20(r1)                              
ffc0ef8c:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc0ef90:	7c 7f 1b 78 	mr      r31,r3                                 
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
ffc0ef94:	83 c3 00 1c 	lwz     r30,28(r3)                             
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
ffc0ef98:	80 1e 00 4c 	lwz     r0,76(r30)                             
ffc0ef9c:	2f 80 00 06 	cmpwi   cr7,r0,6                               
ffc0efa0:	40 9e 00 34 	bne-    cr7,ffc0efd4 <memfile_lseek+0x54>      
    if (iop->offset > the_jnode->info.linearfile.size)                
ffc0efa4:	81 3e 00 50 	lwz     r9,80(r30)                             
ffc0efa8:	81 63 00 10 	lwz     r11,16(r3)                             
ffc0efac:	80 1e 00 54 	lwz     r0,84(r30)                             
ffc0efb0:	7f 8b 48 00 	cmpw    cr7,r11,r9                             
ffc0efb4:	41 9d 00 14 	bgt-    cr7,ffc0efc8 <memfile_lseek+0x48>      <== NEVER TAKEN
ffc0efb8:	40 9e 00 5c 	bne-    cr7,ffc0f014 <memfile_lseek+0x94>      <== NEVER TAKEN
ffc0efbc:	81 63 00 14 	lwz     r11,20(r3)                             
ffc0efc0:	7f 8b 00 40 	cmplw   cr7,r11,r0                             
ffc0efc4:	40 9d 00 50 	ble-    cr7,ffc0f014 <memfile_lseek+0x94>      <== ALWAYS TAKEN
      iop->offset = the_jnode->info.linearfile.size;                  
ffc0efc8:	91 3f 00 10 	stw     r9,16(r31)                             <== NOT EXECUTED
ffc0efcc:	90 1f 00 14 	stw     r0,20(r31)                             <== NOT EXECUTED
ffc0efd0:	48 00 00 44 	b       ffc0f014 <memfile_lseek+0x94>          <== NOT EXECUTED
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
ffc0efd4:	80 bf 00 10 	lwz     r5,16(r31)                             
ffc0efd8:	7f c3 f3 78 	mr      r3,r30                                 
ffc0efdc:	80 df 00 14 	lwz     r6,20(r31)                             
ffc0efe0:	4b ff fb 3d 	bl      ffc0eb1c <IMFS_memfile_extend>         
ffc0efe4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0efe8:	41 be 00 1c 	beq+    cr7,ffc0f004 <memfile_lseek+0x84>      
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
ffc0efec:	48 00 0c 99 	bl      ffc0fc84 <__errno>                     
ffc0eff0:	38 00 00 1c 	li      r0,28                                  
ffc0eff4:	90 03 00 00 	stw     r0,0(r3)                               
ffc0eff8:	39 40 ff ff 	li      r10,-1                                 
ffc0effc:	39 60 ff ff 	li      r11,-1                                 
ffc0f000:	48 00 00 1c 	b       ffc0f01c <memfile_lseek+0x9c>          
                                                                      
    iop->size = the_jnode->info.file.size;                            
ffc0f004:	81 5e 00 50 	lwz     r10,80(r30)                            
ffc0f008:	81 7e 00 54 	lwz     r11,84(r30)                            
ffc0f00c:	91 5f 00 08 	stw     r10,8(r31)                             
ffc0f010:	91 7f 00 0c 	stw     r11,12(r31)                            
  }                                                                   
  return iop->offset;                                                 
ffc0f014:	81 5f 00 10 	lwz     r10,16(r31)                            
ffc0f018:	81 7f 00 14 	lwz     r11,20(r31)                            
}                                                                     
ffc0f01c:	7d 64 5b 78 	mr      r4,r11                                 
ffc0f020:	39 61 00 10 	addi    r11,r1,16                              
ffc0f024:	7d 43 53 78 	mr      r3,r10                                 
ffc0f028:	4b ff 15 18 	b       ffc00540 <_restgpr_30_x>               
                                                                      

ffc0ee50 <memfile_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
ffc0ee50:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0ee54:	7c 08 02 a6 	mflr    r0                                     
ffc0ee58:	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))         
ffc0ee5c:	80 03 00 18 	lwz     r0,24(r3)                              
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
ffc0ee60:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc0ee64:	7c 7e 1b 78 	mr      r30,r3                                 
  the_jnode = iop->pathinfo.node_access;                              
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
ffc0ee68:	70 09 02 04 	andi.   r9,r0,516                              
  uint32_t       mode                                                 
)                                                                     
{                                                                     
  IMFS_jnode_t  *the_jnode;                                           
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
ffc0ee6c:	83 e3 00 1c 	lwz     r31,28(r3)                             
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
ffc0ee70:	41 82 00 64 	beq-    ffc0eed4 <memfile_open+0x84>           
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
ffc0ee74:	80 1f 00 4c 	lwz     r0,76(r31)                             
ffc0ee78:	2f 80 00 06 	cmpwi   cr7,r0,6                               
ffc0ee7c:	40 be 00 58 	bne+    cr7,ffc0eed4 <memfile_open+0x84>       <== ALWAYS TAKEN
    uint32_t   count = the_jnode->info.linearfile.size;               
ffc0ee80:	81 1f 00 54 	lwz     r8,84(r31)                             <== NOT EXECUTED
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
ffc0ee84:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc0ee88:	90 1f 00 4c 	stw     r0,76(r31)                             <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
ffc0ee8c:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
ffc0ee90:	2f 88 00 00 	cmpwi   cr7,r8,0                               <== NOT EXECUTED
    uint32_t   count = the_jnode->info.linearfile.size;               
    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;                         
ffc0ee94:	38 00 00 00 	li      r0,0                                   <== 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;  
ffc0ee98:	80 ff 00 58 	lwz     r7,88(r31)                             <== NOT EXECUTED
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
ffc0ee9c:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
ffc0eea0:	91 5f 00 50 	stw     r10,80(r31)                            <== NOT EXECUTED
ffc0eea4:	91 7f 00 54 	stw     r11,84(r31)                            <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
ffc0eea8:	90 1f 00 58 	stw     r0,88(r31)                             <== NOT EXECUTED
    the_jnode->info.file.doubly_indirect = 0;                         
ffc0eeac:	90 1f 00 5c 	stw     r0,92(r31)                             <== NOT EXECUTED
    the_jnode->info.file.triply_indirect = 0;                         
ffc0eeb0:	90 1f 00 60 	stw     r0,96(r31)                             <== NOT EXECUTED
    if ((count != 0)                                                  
ffc0eeb4:	41 be 00 20 	beq+    cr7,ffc0eed4 <memfile_open+0x84>       <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
ffc0eeb8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0eebc:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc0eec0:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc0eec4:	4b ff fd a1 	bl      ffc0ec64 <IMFS_memfile_write>          <== NOT EXECUTED
        return -1;                                                    
ffc0eec8:	38 00 ff ff 	li      r0,-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))      
ffc0eecc:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              <== NOT EXECUTED
ffc0eed0:	41 9e 00 34 	beq-    cr7,ffc0ef04 <memfile_open+0xb4>       <== NOT EXECUTED
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
ffc0eed4:	80 1e 00 18 	lwz     r0,24(r30)                             
ffc0eed8:	70 09 02 00 	andi.   r9,r0,512                              
ffc0eedc:	41 82 00 14 	beq-    ffc0eef0 <memfile_open+0xa0>           
    iop->offset = the_jnode->info.file.size;                          
ffc0eee0:	81 5f 00 50 	lwz     r10,80(r31)                            
ffc0eee4:	81 7f 00 54 	lwz     r11,84(r31)                            
ffc0eee8:	91 5e 00 10 	stw     r10,16(r30)                            
ffc0eeec:	91 7e 00 14 	stw     r11,20(r30)                            
                                                                      
  iop->size = the_jnode->info.file.size;                              
ffc0eef0:	81 5f 00 50 	lwz     r10,80(r31)                            
  return 0;                                                           
ffc0eef4:	38 00 00 00 	li      r0,0                                   
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
    iop->offset = the_jnode->info.file.size;                          
                                                                      
  iop->size = the_jnode->info.file.size;                              
ffc0eef8:	81 7f 00 54 	lwz     r11,84(r31)                            
ffc0eefc:	91 5e 00 08 	stw     r10,8(r30)                             
ffc0ef00:	91 7e 00 0c 	stw     r11,12(r30)                            
  return 0;                                                           
}                                                                     
ffc0ef04:	39 61 00 10 	addi    r11,r1,16                              
ffc0ef08:	7c 03 03 78 	mr      r3,r0                                  
ffc0ef0c:	4b ff 16 34 	b       ffc00540 <_restgpr_30_x>               
                                                                      

ffc04fcc <mount>: /* * Are the file system options valid? */ if ( options != RTEMS_FILESYSTEM_READ_ONLY &&
ffc04fcc:	2b 86 00 01 	cmplwi  cr7,r6,1                               
  const char                 *target,                                 
  const char                 *filesystemtype,                         
  rtems_filesystem_options_t options,                                 
  const void                 *data                                    
)                                                                     
{                                                                     
ffc04fd0:	94 21 ff a0 	stwu    r1,-96(r1)                             
ffc04fd4:	7c 08 02 a6 	mflr    r0                                     
ffc04fd8:	be 41 00 28 	stmw    r18,40(r1)                             
ffc04fdc:	7c 7c 1b 78 	mr      r28,r3                                 
ffc04fe0:	7c 9f 23 78 	mr      r31,r4                                 
ffc04fe4:	90 01 00 64 	stw     r0,100(r1)                             
ffc04fe8:	7c b9 2b 78 	mr      r25,r5                                 
ffc04fec:	7c d8 33 78 	mr      r24,r6                                 
ffc04ff0:	7c fa 3b 78 	mr      r26,r7                                 
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
ffc04ff4:	41 9d 00 14 	bgt-    cr7,ffc05008 <mount+0x3c>              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
ffc04ff8:	7c a3 2b 78 	mr      r3,r5                                  
ffc04ffc:	48 00 83 7d 	bl      ffc0d378 <rtems_filesystem_get_mount_handler>
  if ( !mount_h )                                                     
ffc05000:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc05004:	40 a2 00 10 	bne+    ffc05014 <mount+0x48>                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc05008:	48 00 ac 7d 	bl      ffc0fc84 <__errno>                     
ffc0500c:	38 00 00 16 	li      r0,22                                  
ffc05010:	48 00 00 f0 	b       ffc05100 <mount+0x134>                 
{                                                                     
  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;                                   
ffc05014:	7f fd 00 34 	cntlzw  r29,r31                                
ffc05018:	57 bd d9 7e 	rlwinm  r29,r29,27,5,31                        
ffc0501c:	6b bd 00 01 	xori    r29,r29,1                              
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
ffc05020:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc05024:	7f f6 fb 78 	mr      r22,r31                                
ffc05028:	40 be 00 0c 	bne+    cr7,ffc05034 <mount+0x68>              
ffc0502c:	3e c0 ff c2 	lis     r22,-62                                
ffc05030:	3a d6 bf 28 	addi    r22,r22,-16600                         
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
ffc05034:	7f 23 cb 78 	mr      r3,r25                                 
ffc05038:	48 00 c5 79 	bl      ffc115b0 <strlen>                      
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
ffc0503c:	2f 9c 00 00 	cmpwi   cr7,r28,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;          
ffc05040:	7c 72 1b 78 	mr      r18,r3                                 
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
ffc05044:	3a e0 00 00 	li      r23,0                                  
ffc05048:	41 9e 00 10 	beq-    cr7,ffc05058 <mount+0x8c>              
ffc0504c:	7f 83 e3 78 	mr      r3,r28                                 
ffc05050:	48 00 c5 61 	bl      ffc115b0 <strlen>                      
ffc05054:	3a e3 00 01 	addi    r23,r3,1                               
  size_t target_size = strlen( target ) + 1;                          
ffc05058:	7e c3 b3 78 	mr      r3,r22                                 
ffc0505c:	48 00 c5 55 	bl      ffc115b0 <strlen>                      
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size;                
ffc05060:	38 92 00 75 	addi    r4,r18,117                             
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
  size_t target_size = strlen( target ) + 1;                          
ffc05064:	3a 63 00 01 	addi    r19,r3,1                               
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size;                
ffc05068:	7c 84 ba 14 	add     r4,r4,r23                              
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
  size_t target_size = strlen( target ) + 1;                          
ffc0506c:	7c 74 1b 78 	mr      r20,r3                                 
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size;                
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
ffc05070:	7c 84 9a 14 	add     r4,r4,r19                              
ffc05074:	38 60 00 01 	li      r3,1                                   
ffc05078:	4b ff f3 cd 	bl      ffc04444 <calloc>                      
                                                                      
  if ( mt_entry != NULL ) {                                           
ffc0507c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc05080:	41 82 00 78 	beq-    ffc050f8 <mount+0x12c>                 <== NEVER TAKEN
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
ffc05084:	3a be 00 74 	addi    r21,r30,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;          
ffc05088:	3a 52 00 01 	addi    r18,r18,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 );               
ffc0508c:	7f 24 cb 78 	mr      r4,r25                                 
ffc05090:	7e 45 93 78 	mr      r5,r18                                 
ffc05094:	7e a3 ab 78 	mr      r3,r21                                 
ffc05098:	48 00 b9 29 	bl      ffc109c0 <memcpy>                      
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
ffc0509c:	7f 35 92 14 	add     r25,r21,r18                            
                                                                      
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
    mt_entry->type = str;                                             
ffc050a0:	92 be 00 6c 	stw     r21,108(r30)                           
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
ffc050a4:	7e e5 bb 78 	mr      r5,r23                                 
ffc050a8:	7f 84 e3 78 	mr      r4,r28                                 
ffc050ac:	7f 23 cb 78 	mr      r3,r25                                 
ffc050b0:	48 00 b9 11 	bl      ffc109c0 <memcpy>                      
    mt_entry->dev = str;                                              
    str += source_size;                                               
ffc050b4:	7e f9 ba 14 	add     r23,r25,r23                            
    memcpy( str, filesystemtype, filesystemtype_size );               
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
    mt_entry->dev = str;                                              
ffc050b8:	93 3e 00 70 	stw     r25,112(r30)                           
    str += source_size;                                               
                                                                      
    memcpy( str, target, target_size );                               
ffc050bc:	7e c4 b3 78 	mr      r4,r22                                 
ffc050c0:	7e 65 9b 78 	mr      r5,r19                                 
ffc050c4:	7e e3 bb 78 	mr      r3,r23                                 
ffc050c8:	48 00 b8 f9 	bl      ffc109c0 <memcpy>                      
    mt_entry->target = str;                                           
ffc050cc:	92 fe 00 68 	stw     r23,104(r30)                           
  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;
ffc050d0:	3c 80 ff c2 	lis     r4,-62                                 
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
ffc050d4:	93 de 00 2c 	stw     r30,44(r30)                            
  mt_entry->options = options;                                        
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
ffc050d8:	38 7e 00 38 	addi    r3,r30,56                              
ffc050dc:	38 84 c3 dc 	addi    r4,r4,-15396                           
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
ffc050e0:	93 1e 00 30 	stw     r24,48(r30)                            
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
ffc050e4:	38 a0 00 30 	li      r5,48                                  
ffc050e8:	48 00 b8 d9 	bl      ffc109c0 <memcpy>                      
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
ffc050ec:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc050f0:	41 be 00 d0 	beq+    cr7,ffc051c0 <mount+0x1f4>             
ffc050f4:	48 00 00 18 	b       ffc0510c <mount+0x140>                 
    target,                                                           
    filesystemtype,                                                   
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
ffc050f8:	48 00 ab 8d 	bl      ffc0fc84 <__errno>                     <== NOT EXECUTED
ffc050fc:	38 00 00 0c 	li      r0,12                                  <== NOT EXECUTED
ffc05100:	90 03 00 00 	stw     r0,0(r3)                               
ffc05104:	3b e0 ff ff 	li      r31,-1                                 
ffc05108:	48 00 01 7c 	b       ffc05284 <mount+0x2b8>                 
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
    if ( rtems_filesystem_evaluate_path(                              
ffc0510c:	7f e3 fb 78 	mr      r3,r31                                 
ffc05110:	7e 84 a3 78 	mr      r4,r20                                 
ffc05114:	38 a0 00 07 	li      r5,7                                   
ffc05118:	38 c1 00 08 	addi    r6,r1,8                                
ffc0511c:	38 e0 00 01 	li      r7,1                                   
ffc05120:	4b ff f7 1d 	bl      ffc0483c <rtems_filesystem_evaluate_path>
ffc05124:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc05128:	41 9e 01 3c 	beq-    cr7,ffc05264 <mount+0x298>             <== NEVER TAKEN
                                                                      
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
ffc0512c:	81 21 00 14 	lwz     r9,20(r1)                              
ffc05130:	38 61 00 08 	addi    r3,r1,8                                
ffc05134:	80 09 00 10 	lwz     r0,16(r9)                              
ffc05138:	7c 09 03 a6 	mtctr   r0                                     
ffc0513c:	4e 80 04 21 	bctrl                                          
ffc05140:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc05144:	41 9e 00 10 	beq-    cr7,ffc05154 <mount+0x188>             
      errno = ENOTDIR;                                                
ffc05148:	48 00 ab 3d 	bl      ffc0fc84 <__errno>                     
ffc0514c:	38 00 00 14 	li      r0,20                                  
ffc05150:	48 00 00 24 	b       ffc05174 <mount+0x1a8>                 
                                                                      
    /*                                                                
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( rtems_filesystem_mount_iterate( is_node_fs_root, loc.node_access ) ) {
ffc05154:	3c 60 ff c0 	lis     r3,-64                                 
ffc05158:	80 81 00 08 	lwz     r4,8(r1)                               
ffc0515c:	38 63 4f 14 	addi    r3,r3,20244                            
ffc05160:	4b ff fd f9 	bl      ffc04f58 <rtems_filesystem_mount_iterate>
ffc05164:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05168:	41 9e 00 18 	beq-    cr7,ffc05180 <mount+0x1b4>             
      errno = EBUSY;                                                  
ffc0516c:	48 00 ab 19 	bl      ffc0fc84 <__errno>                     
ffc05170:	38 00 00 10 	li      r0,16                                  
ffc05174:	90 03 00 00 	stw     r0,0(r3)                               
  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;                                               
ffc05178:	3b 81 00 08 	addi    r28,r1,8                               
     *  You can only mount one file system onto a single mount point. 
     */                                                               
                                                                      
    if ( rtems_filesystem_mount_iterate( is_node_fs_root, loc.node_access ) ) {
      errno = EBUSY;                                                  
      goto cleanup_and_bail;                                          
ffc0517c:	48 00 00 ec 	b       ffc05268 <mount+0x29c>                 
     *  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;            
ffc05180:	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 ) ) {                             
ffc05184:	7f c3 f3 78 	mr      r3,r30                                 
     *  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;                            
ffc05188:	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;                                               
ffc0518c:	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;            
ffc05190:	90 1e 00 08 	stw     r0,8(r30)                              
    mt_entry->mt_point_node.handlers = loc.handlers;                  
ffc05194:	80 01 00 10 	lwz     r0,16(r1)                              
    mt_entry->mt_point_node.ops = loc.ops;                            
ffc05198:	91 3e 00 14 	stw     r9,20(r30)                             
     *  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;                  
ffc0519c:	90 1e 00 10 	stw     r0,16(r30)                             
    mt_entry->mt_point_node.ops = loc.ops;                            
    mt_entry->mt_point_node.mt_entry = loc.mt_entry;                  
ffc051a0:	80 01 00 18 	lwz     r0,24(r1)                              
ffc051a4:	90 1e 00 18 	stw     r0,24(r30)                             
    /*                                                                
     *  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 ) ) {                             
ffc051a8:	80 09 00 20 	lwz     r0,32(r9)                              
ffc051ac:	7c 09 03 a6 	mtctr   r0                                     
ffc051b0:	4e 80 04 21 	bctrl                                          
ffc051b4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc051b8:	40 9e 00 b0 	bne-    cr7,ffc05268 <mount+0x29c>             <== NEVER TAKEN
ffc051bc:	48 00 00 30 	b       ffc051ec <mount+0x220>                 
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc051c0:	3d 20 00 00 	lis     r9,0                                   
ffc051c4:	39 69 21 a4 	addi    r11,r9,8612                            
    }                                                                 
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
ffc051c8:	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 );                            
ffc051cc:	38 0b 00 04 	addi    r0,r11,4                               
ffc051d0:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc051d4:	41 9e 00 14 	beq-    cr7,ffc051e8 <mount+0x21c>             <== ALWAYS TAKEN
      errno = EINVAL;                                                 
ffc051d8:	48 00 aa ad 	bl      ffc0fc84 <__errno>                     <== NOT EXECUTED
ffc051dc:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc051e0:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc051e4:	48 00 00 80 	b       ffc05264 <mount+0x298>                 <== NOT EXECUTED
)                                                                     
{                                                                     
  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;           
ffc051e8:	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 ) ) {                               
ffc051ec:	7f c3 f3 78 	mr      r3,r30                                 
ffc051f0:	7f 69 03 a6 	mtctr   r27                                    
ffc051f4:	7f 44 d3 78 	mr      r4,r26                                 
ffc051f8:	4e 80 04 21 	bctrl                                          
ffc051fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05200:	41 9e 00 1c 	beq-    cr7,ffc0521c <mount+0x250>             
    /*                                                                
     * Try to undo the mount operation                                
     */                                                               
    loc.ops->unmount_h( mt_entry );                                   
ffc05204:	81 21 00 14 	lwz     r9,20(r1)                              
ffc05208:	7f c3 f3 78 	mr      r3,r30                                 
ffc0520c:	80 09 00 28 	lwz     r0,40(r9)                              
ffc05210:	7c 09 03 a6 	mtctr   r0                                     
ffc05214:	4e 80 04 21 	bctrl                                          
    goto cleanup_and_bail;                                            
ffc05218:	48 00 00 50 	b       ffc05268 <mount+0x29c>                 
  }                                                                   
                                                                      
  /*                                                                  
   *  Add the mount table entry to the mount table chain              
   */                                                                 
  rtems_libio_lock();                                                 
ffc0521c:	4b ff fd 0d 	bl      ffc04f28 <rtems_libio_lock>            
ffc05220:	3c 60 00 00 	lis     r3,0                                   
ffc05224:	38 63 21 a4 	addi    r3,r3,8612                             
ffc05228:	7f c4 f3 78 	mr      r4,r30                                 
ffc0522c:	48 00 39 c1 	bl      ffc08bec <_Chain_Append>               
ffc05230:	3d 20 00 00 	lis     r9,0                                   
ffc05234:	80 69 27 b4 	lwz     r3,10164(r9)                           
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
                                                                      
  return 0;                                                           
ffc05238:	3b e0 00 00 	li      r31,0                                  
ffc0523c:	48 00 2f 95 	bl      ffc081d0 <rtems_semaphore_release>     
   */                                                                 
  rtems_libio_lock();                                                 
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
ffc05240:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc05244:	40 9e 00 40 	bne-    cr7,ffc05284 <mount+0x2b8>             
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
ffc05248:	3d 20 00 00 	lis     r9,0                                   
ffc0524c:	81 69 27 3c 	lwz     r11,10044(r9)                          
ffc05250:	38 7e 00 1c 	addi    r3,r30,28                              
ffc05254:	39 6b 00 18 	addi    r11,r11,24                             
ffc05258:	7c a3 a4 aa 	lswi    r5,r3,20                               
ffc0525c:	7c ab a5 aa 	stswi   r5,r11,20                              
ffc05260:	48 00 00 24 	b       ffc05284 <mount+0x2b8>                 
)                                                                     
{                                                                     
  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;           
ffc05264:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
ffc05268:	7f c3 f3 78 	mr      r3,r30                                 
ffc0526c:	4b ff f6 f1 	bl      ffc0495c <free>                        
                                                                      
  if ( loc_to_free )                                                  
ffc05270:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
ffc05274:	3b e0 ff ff 	li      r31,-1                                 
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
                                                                      
  if ( loc_to_free )                                                  
ffc05278:	41 9e 00 0c 	beq-    cr7,ffc05284 <mount+0x2b8>             <== NEVER TAKEN
    rtems_filesystem_freenode( loc_to_free );                         
ffc0527c:	7f 83 e3 78 	mr      r3,r28                                 
ffc05280:	4b ff f6 b1 	bl      ffc04930 <rtems_filesystem_freenode>   
                                                                      
  return -1;                                                          
}                                                                     
ffc05284:	39 61 00 60 	addi    r11,r1,96                              
ffc05288:	7f e3 fb 78 	mr      r3,r31                                 
ffc0528c:	4b ff b2 84 	b       ffc00510 <_restgpr_18_x>               
                                                                      

ffc04e54 <mount_and_make_target_path>: const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data ) {
ffc04e54:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc04e58:	7c 08 02 a6 	mflr    r0                                     
ffc04e5c:	bf c1 00 18 	stmw    r30,24(r1)                             
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
ffc04e60:	7c 9e 23 79 	mr.     r30,r4                                 
  const char *target,                                                 
  const char *filesystemtype,                                         
  rtems_filesystem_options_t options,                                 
  const void *data                                                    
)                                                                     
{                                                                     
ffc04e64:	7c 7f 1b 78 	mr      r31,r3                                 
ffc04e68:	90 01 00 24 	stw     r0,36(r1)                              
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
ffc04e6c:	41 82 00 40 	beq-    ffc04eac <mount_and_make_target_path+0x58>
    rv = rtems_mkdir(target, S_IRWXU | S_IRWXG | S_IRWXO);            
ffc04e70:	7f c3 f3 78 	mr      r3,r30                                 
ffc04e74:	90 a1 00 08 	stw     r5,8(r1)                               
ffc04e78:	38 80 01 ff 	li      r4,511                                 
ffc04e7c:	90 c1 00 0c 	stw     r6,12(r1)                              
ffc04e80:	90 e1 00 10 	stw     r7,16(r1)                              
ffc04e84:	48 00 09 b1 	bl      ffc05834 <rtems_mkdir>                 
    if (rv == 0) {                                                    
ffc04e88:	2c 03 00 00 	cmpwi   r3,0                                   
ffc04e8c:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc04e90:	80 c1 00 0c 	lwz     r6,12(r1)                              
ffc04e94:	80 e1 00 10 	lwz     r7,16(r1)                              
ffc04e98:	40 a2 00 24 	bne+    ffc04ebc <mount_and_make_target_path+0x68><== NEVER TAKEN
      rv = mount(                                                     
ffc04e9c:	7f e3 fb 78 	mr      r3,r31                                 
ffc04ea0:	7f c4 f3 78 	mr      r4,r30                                 
ffc04ea4:	48 00 00 d9 	bl      ffc04f7c <mount>                       
ffc04ea8:	48 00 00 14 	b       ffc04ebc <mount_and_make_target_path+0x68>
        options,                                                      
        data                                                          
      );                                                              
    }                                                                 
  } else {                                                            
    errno = EINVAL;                                                   
ffc04eac:	48 00 aa 61 	bl      ffc0f90c <__errno>                     
ffc04eb0:	38 00 00 16 	li      r0,22                                  
ffc04eb4:	90 03 00 00 	stw     r0,0(r3)                               
  const char *filesystemtype,                                         
  rtems_filesystem_options_t options,                                 
  const void *data                                                    
)                                                                     
{                                                                     
  int rv = -1;                                                        
ffc04eb8:	38 60 ff ff 	li      r3,-1                                  
  } else {                                                            
    errno = EINVAL;                                                   
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc04ebc:	39 61 00 20 	addi    r11,r1,32                              
ffc04ec0:	48 00 f9 24 	b       ffc147e4 <_restgpr_30_x>               
                                                                      

ffc18e50 <msdos_creat_node>: msdos_node_type_t type, const char *name, int name_len, mode_t mode, const fat_file_fd_t *link_fd) {
ffc18e50:	94 21 ff 30 	stwu    r1,-208(r1)                            
ffc18e54:	7c 08 02 a6 	mflr    r0                                     
ffc18e58:	90 01 00 d4 	stw     r0,212(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;                           
ffc18e5c:	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;        
ffc18e60:	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)          
{                                                                     
ffc18e64:	be c1 00 a8 	stmw    r22,168(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;                                  
ffc18e68:	3b 80 00 00 	li      r28,0                                  
                 msdos_node_type_t                  type,             
                 const char                        *name,             
                 int                                name_len,         
                 mode_t                             mode,             
                 const fat_file_fd_t               *link_fd)          
{                                                                     
ffc18e6c:	7c b9 2b 78 	mr      r25,r5                                 
    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;        
ffc18e70:	83 a3 00 00 	lwz     r29,0(r3)                              
    uint32_t          sec = 0;                                        
    uint32_t          byte = 0;                                       
                                                                      
    fat_dir_pos_init(&dir_pos);                                       
                                                                      
    memset(short_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);         
ffc18e74:	38 a0 00 20 	li      r5,32                                  
                 msdos_node_type_t                  type,             
                 const char                        *name,             
                 int                                name_len,         
                 mode_t                             mode,             
                 const fat_file_fd_t               *link_fd)          
{                                                                     
ffc18e78:	7c 7f 1b 78 	mr      r31,r3                                 
    int               rc = RC_OK;                                     
    ssize_t           ret = 0;                                        
    msdos_fs_info_t  *fs_info = parent_loc->mt_entry->fs_info;        
ffc18e7c:	83 c9 00 34 	lwz     r30,52(r9)                             
                 msdos_node_type_t                  type,             
                 const char                        *name,             
                 int                                name_len,         
                 mode_t                             mode,             
                 const fat_file_fd_t               *link_fd)          
{                                                                     
ffc18e80:	7c 9b 23 78 	mr      r27,r4                                 
ffc18e84:	90 01 00 18 	stw     r0,24(r1)                              
    uint32_t          sec = 0;                                        
    uint32_t          byte = 0;                                       
                                                                      
    fat_dir_pos_init(&dir_pos);                                       
                                                                      
    memset(short_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);         
ffc18e88:	38 80 00 00 	li      r4,0                                   
ffc18e8c:	38 61 00 40 	addi    r3,r1,64                               
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
ffc18e90:	90 01 00 1c 	stw     r0,28(r1)                              
                 msdos_node_type_t                  type,             
                 const char                        *name,             
                 int                                name_len,         
                 mode_t                             mode,             
                 const fat_file_fd_t               *link_fd)          
{                                                                     
ffc18e94:	7c da 33 78 	mr      r26,r6                                 
ffc18e98:	7d 17 43 78 	mr      r23,r8                                 
    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;                                  
ffc18e9c:	93 81 00 0c 	stw     r28,12(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;                                                    
ffc18ea0:	3a c0 ff ff 	li      r22,-1                                 
    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;                                  
    time_t            time_ret = 0;                                   
    uint16_t          time_val = 0;                                   
ffc18ea4:	b3 81 00 0a 	sth     r28,10(r1)                             
    uint16_t          date = 0;                                       
ffc18ea8:	b3 81 00 08 	sth     r28,8(r1)                              
static inline void                                                    
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
ffc18eac:	93 81 00 10 	stw     r28,16(r1)                             
  dir_pos->sname.ofs = 0;                                             
ffc18eb0:	93 81 00 14 	stw     r28,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);         
ffc18eb4:	48 00 53 0d 	bl      ffc1e1c0 <memset>                      
    memset(dot_dotdot, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE * 2);     
ffc18eb8:	38 80 00 00 	li      r4,0                                   
ffc18ebc:	38 a0 00 40 	li      r5,64                                  
ffc18ec0:	38 61 00 60 	addi    r3,r1,96                               
ffc18ec4:	48 00 52 fd 	bl      ffc1e1c0 <memset>                      
                                                                      
    name_type = msdos_long_to_short (name, name_len,                  
ffc18ec8:	7f 44 d3 78 	mr      r4,r26                                 
ffc18ecc:	38 a1 00 40 	addi    r5,r1,64                               
ffc18ed0:	38 c0 00 0b 	li      r6,11                                  
ffc18ed4:	7f 23 cb 78 	mr      r3,r25                                 
ffc18ed8:	48 00 10 09 	bl      ffc19ee0 <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;               
ffc18edc:	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,                  
ffc18ee0:	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;               
ffc18ee4:	98 01 00 4c 	stb     r0,76(r1)                              
                                                                      
    /* set up last write date and time */                             
    time_ret = time(NULL);                                            
ffc18ee8:	38 60 00 00 	li      r3,0                                   
ffc18eec:	48 00 8b 7d 	bl      ffc21a68 <time>                        
    if ( time_ret == -1 )                                             
ffc18ef0:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc18ef4:	41 9e 02 bc 	beq-    cr7,ffc191b0 <msdos_creat_node+0x360>  <== NEVER TAKEN
        return -1;                                                    
                                                                      
    msdos_date_unix2dos(time_ret, &date, &time_val);                  
ffc18ef8:	38 81 00 08 	addi    r4,r1,8                                
ffc18efc:	38 a1 00 0a 	addi    r5,r1,10                               
ffc18f00:	48 00 37 79 	bl      ffc1c678 <msdos_date_unix2dos>         
    *MSDOS_DIR_CRT_TIME(short_node) = CT_LE_W(time_val);              
ffc18f04:	a0 01 00 0a 	lhz     r0,10(r1)                              
    *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) {                                    
ffc18f08:	2f 9b 00 01 	cmpwi   cr7,r27,1                              
    *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;           
ffc18f0c:	93 81 00 5c 	stw     r28,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);              
ffc18f10:	54 0b c2 3e 	rlwinm  r11,r0,24,8,31                         
ffc18f14:	54 09 44 2e 	rlwinm  r9,r0,8,16,23                          
ffc18f18:	7d 29 5b 78 	or      r9,r9,r11                              
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
ffc18f1c:	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);              
ffc18f20:	b1 21 00 4e 	sth     r9,78(r1)                              
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
ffc18f24:	55 6a c2 3e 	rlwinm  r10,r11,24,8,31                        
ffc18f28:	55 60 44 2e 	rlwinm  r0,r11,8,16,23                         
    *MSDOS_DIR_WRITE_TIME(short_node) = CT_LE_W(time_val);            
ffc18f2c:	b1 21 00 56 	sth     r9,86(r1)                              
    if ( time_ret == -1 )                                             
        return -1;                                                    
                                                                      
    msdos_date_unix2dos(time_ret, &date, &time_val);                  
    *MSDOS_DIR_CRT_TIME(short_node) = CT_LE_W(time_val);              
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
ffc18f30:	7c 00 53 78 	or      r0,r0,r10                              
ffc18f34:	b0 01 00 50 	sth     r0,80(r1)                              
    *MSDOS_DIR_WRITE_TIME(short_node) = CT_LE_W(time_val);            
    *MSDOS_DIR_WRITE_DATE(short_node) = CT_LE_W(date);                
ffc18f38:	b0 01 00 58 	sth     r0,88(r1)                              
    *MSDOS_DIR_LAST_ACCESS_DATE(short_node) = CT_LE_W(date);          
ffc18f3c:	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) {                                    
      *MSDOS_DIR_ATTR(short_node) |= MSDOS_ATTR_DIRECTORY;            
ffc18f40:	88 01 00 4b 	lbz     r0,75(r1)                              
ffc18f44:	60 00 00 10 	ori     r0,r0,16                               
    *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) {                                    
ffc18f48:	41 9e 00 b8 	beq-    cr7,ffc19000 <msdos_creat_node+0x1b0>  
      *MSDOS_DIR_ATTR(short_node) |= MSDOS_ATTR_DIRECTORY;            
    }                                                                 
    else if (type == MSDOS_HARD_LINK) {                               
ffc18f4c:	2f 9b 00 03 	cmpwi   cr7,r27,3                              
       * 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;            
ffc18f50:	88 01 00 4b 	lbz     r0,75(r1)                              
    *MSDOS_DIR_FILE_SIZE(short_node) = MSDOS_INIT_DIR_SIZE;           
                                                                      
    if (type == MSDOS_DIRECTORY) {                                    
      *MSDOS_DIR_ATTR(short_node) |= MSDOS_ATTR_DIRECTORY;            
    }                                                                 
    else if (type == MSDOS_HARD_LINK) {                               
ffc18f54:	40 be 00 a8 	bne+    cr7,ffc18ffc <msdos_creat_node+0x1ac>  <== ALWAYS TAKEN
       * node to the newly created                                    
       */                                                             
      /*                                                              
       * read the original directory entry                            
       */                                                             
      sec = fat_cluster_num_to_sector_num(parent_loc->mt_entry,       
ffc18f58:	81 37 00 20 	lwz     r9,32(r23)                             <== NOT EXECUTED
ffc18f5c:	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)) )
ffc18f60:	2f 89 00 00 	cmpwi   cr7,r9,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;                                                        
}                                                                     
ffc18f64:	81 63 00 34 	lwz     r11,52(r3)                             <== NOT EXECUTED
ffc18f68:	40 9e 00 18 	bne-    cr7,ffc18f80 <msdos_creat_node+0x130>  <== NOT EXECUTED
ffc18f6c:	88 0b 00 0a 	lbz     r0,10(r11)                             <== NOT EXECUTED
ffc18f70:	70 0a 00 03 	andi.   r10,r0,3                               <== NOT EXECUTED
ffc18f74:	41 82 00 0c 	beq-    ffc18f80 <msdos_creat_node+0x130>      <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
ffc18f78:	81 2b 00 1c 	lwz     r9,28(r11)                             <== NOT EXECUTED
ffc18f7c:	48 00 00 18 	b       ffc18f94 <msdos_creat_node+0x144>      <== NOT EXECUTED
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc18f80:	88 0b 00 05 	lbz     r0,5(r11)                              <== NOT EXECUTED
ffc18f84:	39 29 ff fe 	addi    r9,r9,-2                               <== NOT EXECUTED
ffc18f88:	7d 29 00 30 	slw     r9,r9,r0                               <== NOT EXECUTED
ffc18f8c:	80 0b 00 30 	lwz     r0,48(r11)                             <== NOT EXECUTED
ffc18f90:	7d 29 02 14 	add     r9,r9,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);
ffc18f94:	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,                     
ffc18f98:	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);
ffc18f9c:	88 9e 00 02 	lbz     r4,2(r30)                              <== NOT EXECUTED
      byte = (link_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));
                                                                      
      ret = _fat_block_read(parent_loc->mt_entry,                     
ffc18fa0:	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));
ffc18fa4:	a0 be 00 00 	lhz     r5,0(r30)                              <== NOT EXECUTED
                                                                      
      ret = _fat_block_read(parent_loc->mt_entry,                     
                            sec, byte, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE,
                            link_node);                               
      if (ret < 0) {                                                  
          return -1;                                                  
ffc18fa8:	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);
ffc18fac:	7c 04 24 30 	srw     r4,r0,r4                               <== NOT EXECUTED
      byte = (link_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));
ffc18fb0:	38 a5 ff ff 	addi    r5,r5,-1                               <== NOT EXECUTED
                                                                      
      ret = _fat_block_read(parent_loc->mt_entry,                     
ffc18fb4:	7c 89 22 14 	add     r4,r9,r4                               <== NOT EXECUTED
ffc18fb8:	7c a5 00 38 	and     r5,r5,r0                               <== NOT EXECUTED
ffc18fbc:	4b ff bc 19 	bl      ffc14bd4 <_fat_block_read>             <== NOT EXECUTED
                            sec, byte, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE,
                            link_node);                               
      if (ret < 0) {                                                  
ffc18fc0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc18fc4:	41 9c 01 ec 	blt-    cr7,ffc191b0 <msdos_creat_node+0x360>  <== 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);
ffc18fc8:	89 21 00 2d 	lbz     r9,45(r1)                              <== NOT EXECUTED
          return -1;                                                  
      }                                                               
      /*                                                              
       * copy various attributes                                      
       */                                                             
      *MSDOS_DIR_ATTR(short_node)          =*MSDOS_DIR_ATTR(link_node);
ffc18fcc:	88 01 00 2b 	lbz     r0,43(r1)                              <== NOT EXECUTED
      *MSDOS_DIR_CRT_TIME_TENTH(short_node)=*MSDOS_DIR_CRT_TIME_TENTH(link_node);
ffc18fd0:	99 21 00 4d 	stb     r9,77(r1)                              <== NOT EXECUTED
      *MSDOS_DIR_CRT_TIME(short_node)      =*MSDOS_DIR_CRT_TIME(link_node);
ffc18fd4:	a1 21 00 2e 	lhz     r9,46(r1)                              <== NOT EXECUTED
ffc18fd8:	b1 21 00 4e 	sth     r9,78(r1)                              <== NOT EXECUTED
      *MSDOS_DIR_CRT_DATE(short_node)      =*MSDOS_DIR_CRT_DATE(link_node);
ffc18fdc:	a1 21 00 30 	lhz     r9,48(r1)                              <== NOT EXECUTED
ffc18fe0:	b1 21 00 50 	sth     r9,80(r1)                              <== NOT EXECUTED
                                                                      
      /*                                                              
       * copy/set "file size", "first cluster"                        
       */                                                             
      *MSDOS_DIR_FILE_SIZE(short_node)     =*MSDOS_DIR_FILE_SIZE(link_node);
ffc18fe4:	81 21 00 3c 	lwz     r9,60(r1)                              <== NOT EXECUTED
ffc18fe8:	91 21 00 5c 	stw     r9,92(r1)                              <== NOT EXECUTED
                                                                      
      *MSDOS_DIR_FIRST_CLUSTER_LOW(short_node) =                      
ffc18fec:	a1 21 00 3a 	lhz     r9,58(r1)                              <== NOT EXECUTED
ffc18ff0:	b1 21 00 5a 	sth     r9,90(r1)                              <== NOT EXECUTED
           *MSDOS_DIR_FIRST_CLUSTER_LOW(link_node);                   
      *MSDOS_DIR_FIRST_CLUSTER_HI(short_node) =                       
ffc18ff4:	a1 21 00 34 	lhz     r9,52(r1)                              <== NOT EXECUTED
ffc18ff8:	b1 21 00 54 	sth     r9,84(r1)                              <== NOT EXECUTED
       * set "archive bit" due to changes                             
       */                                                             
      *MSDOS_DIR_ATTR(short_node) |= MSDOS_ATTR_ARCHIVE;              
    }                                                                 
    else { /* regular file... */                                      
        *MSDOS_DIR_ATTR(short_node) |= MSDOS_ATTR_ARCHIVE;            
ffc18ffc:	60 00 00 20 	ori     r0,r0,32                               
    /*                                                                
     * find free space in the parent directory and write new initialized
     * FAT 32 Bytes Directory Entry Structure to the disk             
     */                                                               
    rc = msdos_get_name_node(parent_loc, true, name, name_len,        
                             name_type, &dir_pos, short_node);        
ffc19000:	3b 81 00 40 	addi    r28,r1,64                              
       * 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;            
ffc19004:	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,        
ffc19008:	7f e3 fb 78 	mr      r3,r31                                 
ffc1900c:	38 80 00 01 	li      r4,1                                   
ffc19010:	7f 25 cb 78 	mr      r5,r25                                 
ffc19014:	7f 46 d3 78 	mr      r6,r26                                 
ffc19018:	7f 07 c3 78 	mr      r7,r24                                 
ffc1901c:	39 01 00 10 	addi    r8,r1,16                               
ffc19020:	7f 89 e3 78 	mr      r9,r28                                 
ffc19024:	48 00 22 35 	bl      ffc1b258 <msdos_get_name_node>         
                             name_type, &dir_pos, short_node);        
    if ( rc != RC_OK )                                                
ffc19028:	7c 76 1b 79 	mr.     r22,r3                                 
ffc1902c:	40 82 01 84 	bne-    ffc191b0 <msdos_creat_node+0x360>      <== NEVER TAKEN
                                                                      
    /*                                                                
     * if we create a new file we are done, if directory there are more steps
     * to do                                                          
     */                                                               
    if (type == MSDOS_DIRECTORY)                                      
ffc19030:	2f 9b 00 01 	cmpwi   cr7,r27,1                              
ffc19034:	40 be 01 7c 	bne+    cr7,ffc191b0 <msdos_creat_node+0x360>  
    {                                                                 
        /* open new directory as fat-file */                          
        rc = fat_file_open(parent_loc->mt_entry, &dir_pos, &fat_fd);  
ffc19038:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc1903c:	38 81 00 10 	addi    r4,r1,16                               
ffc19040:	38 a1 00 0c 	addi    r5,r1,12                               
ffc19044:	4b ff ac 79 	bl      ffc13cbc <fat_file_open>               
        if (rc != RC_OK)                                              
ffc19048:	7c 76 1b 79 	mr.     r22,r3                                 
ffc1904c:	40 82 01 54 	bne-    ffc191a0 <msdos_creat_node+0x350>      <== NEVER TAKEN
                                                                      
        /*                                                            
         * we opened fat-file for node we just created, so initialize fat-file
         * descritor                                                  
         */                                                           
        fat_fd->fat_file_size = 0;                                    
ffc19050:	80 81 00 0c 	lwz     r4,12(r1)                              
        fat_fd->fat_file_type = FAT_DIRECTORY;                        
        fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                    
ffc19054:	3c 00 00 20 	lis     r0,32                                  
         * dot and dotdot entries are identical to new node except the
         * names                                                      
         */                                                           
        memcpy(DOT_NODE_P(dot_dotdot), short_node,                    
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(DOTDOT_NODE_P(dot_dotdot), short_node,                 
ffc19058:	38 61 00 80 	addi    r3,r1,128                              
        /*                                                            
         * we opened fat-file for node we just created, so initialize fat-file
         * descritor                                                  
         */                                                           
        fat_fd->fat_file_size = 0;                                    
        fat_fd->fat_file_type = FAT_DIRECTORY;                        
ffc1905c:	93 64 00 10 	stw     r27,16(r4)                             
                                                                      
        /*                                                            
         * dot and dotdot entries are identical to new node except the
         * names                                                      
         */                                                           
        memcpy(DOT_NODE_P(dot_dotdot), short_node,                    
ffc19060:	3b 61 00 60 	addi    r27,r1,96                              
         * we opened fat-file for node we just created, so initialize fat-file
         * descritor                                                  
         */                                                           
        fat_fd->fat_file_size = 0;                                    
        fat_fd->fat_file_type = FAT_DIRECTORY;                        
        fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                    
ffc19064:	90 04 00 14 	stw     r0,20(r4)                              
                                                                      
        /*                                                            
         * we opened fat-file for node we just created, so initialize fat-file
         * descritor                                                  
         */                                                           
        fat_fd->fat_file_size = 0;                                    
ffc19068:	92 c4 00 18 	stw     r22,24(r4)                             
                                                                      
        /*                                                            
         * dot and dotdot entries are identical to new node except the
         * names                                                      
         */                                                           
        memcpy(DOT_NODE_P(dot_dotdot), short_node,                    
ffc1906c:	7c bc 04 aa 	lswi    r5,r28,32                              
ffc19070:	7c bb 05 aa 	stswi   r5,r27,32                              
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(DOTDOT_NODE_P(dot_dotdot), short_node,                 
ffc19074:	7c bc 04 aa 	lswi    r5,r28,32                              
ffc19078:	7c a3 05 aa 	stswi   r5,r3,32                               
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(MSDOS_DIR_NAME(DOT_NODE_P(dot_dotdot)), MSDOS_DOT_NAME,
ffc1907c:	3d 20 00 00 	lis     r9,0                                   
ffc19080:	81 29 27 a8 	lwz     r9,10152(r9)                           
ffc19084:	7c a9 5c aa 	lswi    r5,r9,11                               
ffc19088:	7c bb 5d aa 	stswi   r5,r27,11                              
               MSDOS_NAME_MAX);                                       
        memcpy(MSDOS_DIR_NAME(DOTDOT_NODE_P(dot_dotdot)), MSDOS_DOTDOT_NAME,
ffc1908c:	3d 20 00 00 	lis     r9,0                                   
ffc19090:	81 29 27 a4 	lwz     r9,10148(r9)                           
ffc19094:	7c a9 5c aa 	lswi    r5,r9,11                               
ffc19098:	7c a3 5d aa 	stswi   r5,r3,11                               
        /*                                                            
         * 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)) &&                    
ffc1909c:	80 1d 00 20 	lwz     r0,32(r29)                             
ffc190a0:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc190a4:	40 be 00 24 	bne+    cr7,ffc190c8 <msdos_creat_node+0x278>  
ffc190a8:	80 1d 00 24 	lwz     r0,36(r29)                             
ffc190ac:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc190b0:	40 9e 00 18 	bne-    cr7,ffc190c8 <msdos_creat_node+0x278>  <== NEVER TAKEN
            (fs_info->fat.vol.type & FAT_FAT32))                      
ffc190b4:	89 3e 00 0a 	lbz     r9,10(r30)                             
        /*                                                            
         * 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)) &&                    
ffc190b8:	71 2b 00 04 	andi.   r11,r9,4                               
ffc190bc:	41 82 00 0c 	beq-    ffc190c8 <msdos_creat_node+0x278>      <== ALWAYS TAKEN
            (fs_info->fat.vol.type & FAT_FAT32))                      
        {                                                             
            *MSDOS_DIR_FIRST_CLUSTER_LOW(DOTDOT_NODE_P(dot_dotdot)) = 0x0000;
ffc190c0:	b0 01 00 9a 	sth     r0,154(r1)                             <== NOT EXECUTED
ffc190c4:	48 00 00 2c 	b       ffc190f0 <msdos_creat_node+0x2a0>      <== NOT EXECUTED
            *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));
ffc190c8:	80 1d 00 1c 	lwz     r0,28(r29)                             
ffc190cc:	54 09 04 3e 	clrlwi  r9,r0,16                               
ffc190d0:	55 2b 40 2e 	rlwinm  r11,r9,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)) = 
ffc190d4:	55 29 c2 3e 	rlwinm  r9,r9,24,8,31                          
ffc190d8:	7d 69 4b 78 	or      r9,r11,r9                              
                CT_LE_W((uint16_t  )((parent_fat_fd->cln) & 0x0000FFFF));
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) =  
                CT_LE_W((uint16_t  )(((parent_fat_fd->cln) & 0xFFFF0000)>>16));
ffc190dc:	54 00 84 3e 	rlwinm  r0,r0,16,16,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)) = 
ffc190e0:	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)) =  
                CT_LE_W((uint16_t  )(((parent_fat_fd->cln) & 0xFFFF0000)>>16));
ffc190e4:	54 09 40 2e 	rlwinm  r9,r0,8,0,23                           
        }                                                             
        else                                                          
        {                                                             
            *MSDOS_DIR_FIRST_CLUSTER_LOW(DOTDOT_NODE_P(dot_dotdot)) = 
                CT_LE_W((uint16_t  )((parent_fat_fd->cln) & 0x0000FFFF));
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) =  
ffc190e8:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc190ec:	7d 20 03 78 	or      r0,r9,r0                               
        /*                                                            
         * 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,         
ffc190f0:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc190f4:	38 a0 00 00 	li      r5,0                                   
ffc190f8:	38 c0 00 40 	li      r6,64                                  
        }                                                             
        else                                                          
        {                                                             
            *MSDOS_DIR_FIRST_CLUSTER_LOW(DOTDOT_NODE_P(dot_dotdot)) = 
                CT_LE_W((uint16_t  )((parent_fat_fd->cln) & 0x0000FFFF));
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) =  
ffc190fc:	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,         
ffc19100:	38 e1 00 60 	addi    r7,r1,96                               
ffc19104:	4b ff b3 69 	bl      ffc1446c <fat_file_write>              
                             MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE * 2,   
                             (uint8_t *)dot_dotdot);                  
        if (ret < 0)                                                  
ffc19108:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1910c:	41 9c 00 84 	blt-    cr7,ffc19190 <msdos_creat_node+0x340>  <== NEVER TAKEN
            rc = -1;                                                  
            goto error;                                               
        }                                                             
                                                                      
        /* increment fat-file size by cluster size */                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
ffc19110:	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,         
ffc19114:	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;                
ffc19118:	a0 1e 00 06 	lhz     r0,6(r30)                              
                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,         
ffc1911c:	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;                
ffc19120:	81 24 00 18 	lwz     r9,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,         
ffc19124:	38 e1 00 60 	addi    r7,r1,96                               
ffc19128:	80 7f 00 10 	lwz     r3,16(r31)                             
            rc = -1;                                                  
            goto error;                                               
        }                                                             
                                                                      
        /* increment fat-file size by cluster size */                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
ffc1912c:	7c 09 02 14 	add     r0,r9,r0                               
ffc19130:	90 04 00 18 	stw     r0,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));    
ffc19134:	80 04 00 1c 	lwz     r0,28(r4)                              
ffc19138:	54 09 04 3e 	clrlwi  r9,r0,16                               
ffc1913c:	55 2b 40 2e 	rlwinm  r11,r9,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)) =        
ffc19140:	55 29 c2 3e 	rlwinm  r9,r9,24,8,31                          
ffc19144:	7d 69 4b 78 	or      r9,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));
ffc19148:	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)) =        
ffc1914c:	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)) =         
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
ffc19150:	54 09 40 2e 	rlwinm  r9,r0,8,0,23                           
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
                                                                      
        /* set up cluster num for dot entry */                        
        *MSDOS_DIR_FIRST_CLUSTER_LOW(DOT_NODE_P(dot_dotdot)) =        
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
ffc19154:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc19158:	7d 20 03 78 	or      r0,r9,r0                               
ffc1915c:	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,         
ffc19160:	4b ff b3 0d 	bl      ffc1446c <fat_file_write>              
                             MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE,       
                             (uint8_t *)DOT_NODE_P(dot_dotdot));      
        if (ret < 0)                                                  
ffc19164:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc19168:	41 9c 00 28 	blt-    cr7,ffc19190 <msdos_creat_node+0x340>  <== 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);
ffc1916c:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc19170:	80 81 00 0c 	lwz     r4,12(r1)                              
ffc19174:	48 00 11 19 	bl      ffc1a28c <msdos_set_first_cluster_num> 
        if (rc != RC_OK)                                              
ffc19178:	7c 76 1b 79 	mr.     r22,r3                                 
ffc1917c:	40 a2 00 18 	bne+    ffc19194 <msdos_creat_node+0x344>      <== NEVER TAKEN
            goto error;                                               
                                                                      
        fat_file_close(parent_loc->mt_entry, fat_fd);                 
ffc19180:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc19184:	80 81 00 0c 	lwz     r4,12(r1)                              
ffc19188:	4b ff af 5d 	bl      ffc140e4 <fat_file_close>              
ffc1918c:	48 00 00 24 	b       ffc191b0 <msdos_creat_node+0x360>      
        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;                                                  
ffc19190:	3a c0 ff ff 	li      r22,-1                                 <== NOT EXECUTED
        fat_file_close(parent_loc->mt_entry, fat_fd);                 
    }                                                                 
    return RC_OK;                                                     
                                                                      
error:                                                                
    fat_file_close(parent_loc->mt_entry, fat_fd);                     
ffc19194:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc19198:	80 81 00 0c 	lwz     r4,12(r1)                              <== NOT EXECUTED
ffc1919c:	4b ff af 49 	bl      ffc140e4 <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);
ffc191a0:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc191a4:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc191a8:	38 a0 00 e5 	li      r5,229                                 <== NOT EXECUTED
ffc191ac:	48 00 12 31 	bl      ffc1a3dc <msdos_set_first_char4file_name><== NOT EXECUTED
    return rc;                                                        
}                                                                     
ffc191b0:	39 61 00 d0 	addi    r11,r1,208                             
ffc191b4:	7e c3 b3 78 	mr      r3,r22                                 
ffc191b8:	4b fe 99 1c 	b       ffc02ad4 <_restgpr_22_x>               
                                                                      

ffc1c7ac <msdos_date_dos2unix>: 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;
ffc1c7ac:	54 89 ae fe 	rlwinm  r9,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  
ffc1c7b0:	54 80 de be 	rlwinm  r0,r4,27,26,31                         
	    + ((dt & MSDOS_DT_HOURS_MASK) >> MSDOS_DT_HOURS_SHIFT) * 3600;   
ffc1c7b4:	1d 29 07 08 	mulli   r9,r9,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  
ffc1c7b8:	1c 00 00 1e 	mulli   r0,r0,30                               
	    + ((dt & MSDOS_DT_HOURS_MASK) >> MSDOS_DT_HOURS_SHIFT) * 3600;   
ffc1c7bc:	7c 09 02 14 	add     r0,r9,r0                               
	/*                                                                   
	 * If the year, month, and day from the last conversion are the      
	 * same then use the saved value.                                    
	 */                                                                  
	if (lastdosdate != dd) {                                             
ffc1c7c0:	3d 20 00 00 	lis     r9,0                                   
	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)
ffc1c7c4:	54 84 06 fe 	clrlwi  r4,r4,27                               
	    + ((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) {                                             
ffc1c7c8:	39 29 2a 84 	addi    r9,r9,10884                            
	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;   
ffc1c7cc:	7c 80 22 14 	add     r4,r0,r4                               
	/*                                                                   
	 * If the year, month, and day from the last conversion are the      
	 * same then use the saved value.                                    
	 */                                                                  
	if (lastdosdate != dd) {                                             
ffc1c7d0:	a0 09 00 0e 	lhz     r0,14(r9)                              
	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)
ffc1c7d4:	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) {                                             
ffc1c7d8:	7f 80 18 00 	cmpw    cr7,r0,r3                              
ffc1c7dc:	41 9e 00 a4 	beq-    cr7,ffc1c880 <msdos_date_dos2unix+0xd4>
		lastdosdate = dd;                                                   
		days = 0;                                                           
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
ffc1c7e0:	54 6b be 7e 	rlwinm  r11,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;                                                   
ffc1c7e4:	b0 69 00 0e 	sth     r3,14(r9)                              
		days = 0;                                                           
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
		for (y = 0; y < year; y++)                                          
ffc1c7e8:	39 6b 00 01 	addi    r11,r11,1                              
	 * If the year, month, and day from the last conversion are the      
	 * same then use the saved value.                                    
	 */                                                                  
	if (lastdosdate != dd) {                                             
		lastdosdate = dd;                                                   
		days = 0;                                                           
ffc1c7ec:	38 00 00 00 	li      r0,0                                   
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
		for (y = 0; y < year; y++)                                          
ffc1c7f0:	7d 69 03 a6 	mtctr   r11                                    
ffc1c7f4:	39 20 00 00 	li      r9,0                                   
ffc1c7f8:	48 00 00 18 	b       ffc1c810 <msdos_date_dos2unix+0x64>    
			days += y & 0x03 ? 365 : 366;                                      
ffc1c7fc:	7d 6b 00 34 	cntlzw  r11,r11                                
ffc1c800:	55 6b d9 7e 	rlwinm  r11,r11,27,5,31                        
ffc1c804:	39 6b 01 6d 	addi    r11,r11,365                            
ffc1c808:	7c 00 5a 14 	add     r0,r0,r11                              
	 */                                                                  
	if (lastdosdate != dd) {                                             
		lastdosdate = dd;                                                   
		days = 0;                                                           
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
		for (y = 0; y < year; y++)                                          
ffc1c80c:	39 29 00 01 	addi    r9,r9,1                                
ffc1c810:	55 2b 07 be 	clrlwi  r11,r9,30                              
ffc1c814:	42 00 ff e8 	bdnz+   ffc1c7fc <msdos_date_dos2unix+0x50>    
			days += y & 0x03 ? 365 : 366;                                      
		months = year & 0x03 ? regyear : leapyear;                          
ffc1c818:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc1c81c:	3d 40 00 00 	lis     r10,0                                  
ffc1c820:	39 4a 22 68 	addi    r10,r10,8808                           
ffc1c824:	40 9e 00 08 	bne-    cr7,ffc1c82c <msdos_date_dos2unix+0x80><== NEVER TAKEN
ffc1c828:	39 4a 00 18 	addi    r10,r10,24                             
		/*                                                                  
		 * Prevent going from 0 to 0xffffffff in the following              
		 * loop.                                                            
		 */                                                                 
		month = (dd & MSDOS_DD_MONTH_MASK) >> MSDOS_DD_MONTH_SHIFT;         
		if (month == 0) {                                                   
ffc1c82c:	54 6b df 3f 	rlwinm. r11,r3,27,28,31                        
ffc1c830:	40 82 00 08 	bne-    ffc1c838 <msdos_date_dos2unix+0x8c>    <== ALWAYS TAKEN
			month = 1;                                                         
ffc1c834:	39 60 00 01 	li      r11,1                                  <== NOT EXECUTED
		}                                                                   
		for (m = 0; m < month - 1; m++)                                     
ffc1c838:	39 20 00 00 	li      r9,0                                   
ffc1c83c:	7d 69 03 a6 	mtctr   r11                                    
ffc1c840:	48 00 00 14 	b       ffc1c854 <msdos_date_dos2unix+0xa8>    
 * 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)                 
ffc1c844:	55 2b 08 3c 	rlwinm  r11,r9,1,0,30                          <== 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];                                                 
ffc1c848:	7d 6a 5a 2e 	lhzx    r11,r10,r11                            <== NOT EXECUTED
		 */                                                                 
		month = (dd & MSDOS_DD_MONTH_MASK) >> MSDOS_DD_MONTH_SHIFT;         
		if (month == 0) {                                                   
			month = 1;                                                         
		}                                                                   
		for (m = 0; m < month - 1; m++)                                     
ffc1c84c:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
			days += months[m];                                                 
ffc1c850:	7c 00 5a 14 	add     r0,r0,r11                              <== NOT EXECUTED
		 */                                                                 
		month = (dd & MSDOS_DD_MONTH_MASK) >> MSDOS_DD_MONTH_SHIFT;         
		if (month == 0) {                                                   
			month = 1;                                                         
		}                                                                   
		for (m = 0; m < month - 1; m++)                                     
ffc1c854:	42 00 ff f0 	bdnz+   ffc1c844 <msdos_date_dos2unix+0x98>    
			days += months[m];                                                 
		days += ((dd & MSDOS_DD_DAY_MASK) >> MSDOS_DD_DAY_SHIFT) - 1;       
ffc1c858:	54 69 06 fe 	clrlwi  r9,r3,27                               
ffc1c85c:	39 29 ff ff 	addi    r9,r9,-1                               
ffc1c860:	7c 09 02 14 	add     r0,r9,r0                               
		lastseconds = (days + DAYSTO1980) * SECONDSPERDAY;                  
ffc1c864:	3d 20 00 01 	lis     r9,1                                   
ffc1c868:	61 29 51 80 	ori     r9,r9,20864                            
ffc1c86c:	7d 20 49 d6 	mullw   r9,r0,r9                               
ffc1c870:	3d 29 12 cf 	addis   r9,r9,4815                             
ffc1c874:	38 09 a6 00 	addi    r0,r9,-23040                           
ffc1c878:	3d 20 00 00 	lis     r9,0                                   
ffc1c87c:	90 09 2a 94 	stw     r0,10900(r9)                           
	}                                                                    
	return seconds + lastseconds;                                        
ffc1c880:	3d 20 00 00 	lis     r9,0                                   
ffc1c884:	80 09 2a 94 	lwz     r0,10900(r9)                           
}                                                                     
ffc1c888:	7c 64 02 14 	add     r3,r4,r0                               
ffc1c88c:	4e 80 00 20 	blr                                            
                                                                      

ffc1c678 <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) {
ffc1c678:	3d 60 00 00 	lis     r11,0                                  
ffc1c67c:	80 0b 2a 84 	lwz     r0,10884(r11)                          
ffc1c680:	39 2b 2a 84 	addi    r9,r11,10884                           
ffc1c684:	7f 80 18 00 	cmpw    cr7,r0,r3                              
ffc1c688:	41 9e 01 08 	beq-    cr7,ffc1c790 <msdos_date_unix2dos+0x118>
		lasttime = t;                                                       
ffc1c68c:	90 6b 2a 84 	stw     r3,10884(r11)                          
		lastdtime = (((t % 60) >> 1) << MSDOS_DT_2SECONDS_SHIFT)            
		    + (((t / 60) % 60) << MSDOS_DT_MINUTES_SHIFT)                   
ffc1c690:	39 60 00 3c 	li      r11,60                                 
ffc1c694:	7c 03 5b 96 	divwu   r0,r3,r11                              
ffc1c698:	7d 40 5b 96 	divwu   r10,r0,r11                             
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
ffc1c69c:	39 60 0e 10 	li      r11,3600                               
ffc1c6a0:	7d 63 5b 96 	divwu   r11,r3,r11                             
ffc1c6a4:	39 00 00 18 	li      r8,24                                  
ffc1c6a8:	7d 0b 43 96 	divwu   r8,r11,r8                              
	 * 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)                   
ffc1c6ac:	1d 4a 00 3c 	mulli   r10,r10,60                             
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
ffc1c6b0:	1d 08 00 18 	mulli   r8,r8,24                               
	 * 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)                   
ffc1c6b4:	7d 4a 00 50 	subf    r10,r10,r0                             
	 * 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)            
ffc1c6b8:	1c 00 00 3c 	mulli   r0,r0,60                               
		    + (((t / 60) % 60) << MSDOS_DT_MINUTES_SHIFT)                   
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
ffc1c6bc:	7d 68 58 50 	subf    r11,r8,r11                             
	 * 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)            
ffc1c6c0:	7c 00 18 50 	subf    r0,r0,r3                               
ffc1c6c4:	55 4a 28 34 	rlwinm  r10,r10,5,0,26                         
ffc1c6c8:	55 6b 58 28 	rlwinm  r11,r11,11,0,20                        
ffc1c6cc:	7d 6a 5a 14 	add     r11,r10,r11                            
ffc1c6d0:	54 00 f8 7e 	rlwinm  r0,r0,31,1,31                          
ffc1c6d4:	7c 0b 02 14 	add     r0,r11,r0                              
ffc1c6d8:	b0 09 00 04 	sth     r0,4(r9)                               
		/*                                                                  
		 * 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);                                         
ffc1c6dc:	3c 00 00 01 	lis     r0,1                                   
ffc1c6e0:	60 00 51 80 	ori     r0,r0,20864                            
ffc1c6e4:	7c 63 03 96 	divwu   r3,r3,r0                               
		if (days != lastday) {                                              
ffc1c6e8:	80 09 00 08 	lwz     r0,8(r9)                               
ffc1c6ec:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc1c6f0:	41 9e 00 a0 	beq-    cr7,ffc1c790 <msdos_date_unix2dos+0x118><== NEVER TAKEN
			lastday = days;                                                    
ffc1c6f4:	90 69 00 08 	stw     r3,8(r9)                               
			for (year = 1970;; year++) {                                       
ffc1c6f8:	39 20 07 b2 	li      r9,1970                                
				inc = year & 0x03 ? 365 : 366;                                    
ffc1c6fc:	71 20 00 03 	andi.   r0,r9,3                                
ffc1c700:	7d 60 00 26 	mfcr    r11                                    
ffc1c704:	55 6b 1f fe 	rlwinm  r11,r11,3,31,31                        
ffc1c708:	38 0b 01 6d 	addi    r0,r11,365                             
				if (days < inc)                                                   
ffc1c70c:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc1c710:	41 9c 00 10 	blt-    cr7,ffc1c720 <msdos_date_unix2dos+0xa8>
					break;                                                           
				days -= inc;                                                      
ffc1c714:	7c 60 18 50 	subf    r3,r0,r3                               
		 * and month stuff.                                                 
		 */                                                                 
		days = t / (SECONDSPERDAY);                                         
		if (days != lastday) {                                              
			lastday = days;                                                    
			for (year = 1970;; year++) {                                       
ffc1c718:	39 29 00 01 	addi    r9,r9,1                                
				inc = year & 0x03 ? 365 : 366;                                    
				if (days < inc)                                                   
					break;                                                           
				days -= inc;                                                      
			}                                                                  
ffc1c71c:	4b ff ff e0 	b       ffc1c6fc <msdos_date_unix2dos+0x84>    
ffc1c720:	3d 40 00 00 	lis     r10,0                                  
ffc1c724:	39 4a 22 68 	addi    r10,r10,8808                           
			months = year & 0x03 ? regyear : leapyear;                         
ffc1c728:	40 82 00 08 	bne-    ffc1c730 <msdos_date_unix2dos+0xb8>    <== NEVER TAKEN
ffc1c72c:	39 4a 00 18 	addi    r10,r10,24                             
			for (month = 0; month < 12; month++) {                             
ffc1c730:	38 00 00 0c 	li      r0,12                                  
ffc1c734:	7c 09 03 a6 	mtctr   r0                                     
ffc1c738:	39 60 00 00 	li      r11,0                                  
/*                                                                    
 * 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,                    
ffc1c73c:	55 60 08 3c 	rlwinm  r0,r11,1,0,30                          
					break;                                                           
				days -= inc;                                                      
			}                                                                  
			months = year & 0x03 ? regyear : leapyear;                         
			for (month = 0; month < 12; month++) {                             
				if (days < months[month])                                         
ffc1c740:	7c 0a 02 2e 	lhzx    r0,r10,r0                              
ffc1c744:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc1c748:	41 9c 00 10 	blt-    cr7,ffc1c758 <msdos_date_unix2dos+0xe0><== ALWAYS TAKEN
					break;                                                           
				days -= months[month];                                            
ffc1c74c:	7c 60 18 50 	subf    r3,r0,r3                               <== NOT EXECUTED
				if (days < inc)                                                   
					break;                                                           
				days -= inc;                                                      
			}                                                                  
			months = year & 0x03 ? regyear : leapyear;                         
			for (month = 0; month < 12; month++) {                             
ffc1c750:	39 6b 00 01 	addi    r11,r11,1                              <== NOT EXECUTED
ffc1c754:	42 00 ff e8 	bdnz+   ffc1c73c <msdos_date_unix2dos+0xc4>    <== 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)                                                   
ffc1c758:	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)                     
ffc1c75c:	39 6b 00 01 	addi    r11,r11,1                              
ffc1c760:	38 63 00 01 	addi    r3,r3,1                                
ffc1c764:	55 6b 28 34 	rlwinm  r11,r11,5,0,26                         
ffc1c768:	7c 63 5a 14 	add     r3,r3,r11                              
ffc1c76c:	3d 40 00 00 	lis     r10,0                                  
ffc1c770:	54 63 04 3e 	clrlwi  r3,r3,16                               
ffc1c774:	39 4a 2a 84 	addi    r10,r10,10884                          
ffc1c778:	b0 6a 00 0c 	sth     r3,12(r10)                             
			 * 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)                                                   
ffc1c77c:	40 9d 00 14 	ble-    cr7,ffc1c790 <msdos_date_unix2dos+0x118><== NEVER TAKEN
				lastddate += (year - 1980) <<                                     
ffc1c780:	39 29 f8 44 	addi    r9,r9,-1980                            
ffc1c784:	55 29 48 2c 	rlwinm  r9,r9,9,0,22                           
ffc1c788:	7c 63 4a 14 	add     r3,r3,r9                               
ffc1c78c:	b0 6a 00 0c 	sth     r3,12(r10)                             
				             MSDOS_DD_YEAR_SHIFT;                                 
		}                                                                   
	}                                                                    
	*dtp = lastdtime;                                                    
ffc1c790:	3d 20 00 00 	lis     r9,0                                   
ffc1c794:	39 29 2a 84 	addi    r9,r9,10884                            
ffc1c798:	a0 09 00 04 	lhz     r0,4(r9)                               
ffc1c79c:	b0 05 00 00 	sth     r0,0(r5)                               
	*ddp = lastddate;                                                    
ffc1c7a0:	a0 09 00 0c 	lhz     r0,12(r9)                              
ffc1c7a4:	b0 04 00 00 	sth     r0,0(r4)                               
}                                                                     
ffc1c7a8:	4e 80 00 20 	blr                                            
                                                                      

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

ffc1ca60 <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) {
ffc1ca60:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1ca64:	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,        
ffc1ca68:	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)                                   
{                                                                     
ffc1ca6c:	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,        
ffc1ca70:	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;     
ffc1ca74:	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)                                   
{                                                                     
ffc1ca78:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc1ca7c:	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;     
ffc1ca80:	83 c9 00 34 	lwz     r30,52(r9)                             
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
ffc1ca84:	83 a3 00 1c 	lwz     r29,28(r3)                             
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1ca88:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc1ca8c:	4b fe f2 65 	bl      ffc0bcf0 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1ca90:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1ca94:	41 be 00 18 	beq+    cr7,ffc1caac <msdos_dir_close+0x4c>    <== ALWAYS TAKEN
        rtems_set_errno_and_return_minus_one( EIO );                  
ffc1ca98:	48 00 08 11 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc1ca9c:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1caa0:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1caa4:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc1caa8:	48 00 00 1c 	b       ffc1cac4 <msdos_dir_close+0x64>        <== NOT EXECUTED
                                                                      
    rc = fat_file_close(iop->pathinfo.mt_entry, fat_fd);              
ffc1caac:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc1cab0:	7f a4 eb 78 	mr      r4,r29                                 
ffc1cab4:	4b ff 76 31 	bl      ffc140e4 <fat_file_close>              
    if (rc != RC_OK)                                                  
ffc1cab8:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1cabc:	80 7e 00 98 	lwz     r3,152(r30)                            
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
    }                                                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1cac0:	4b fe f3 5d 	bl      ffc0be1c <rtems_semaphore_release>     
    return RC_OK;                                                     
}                                                                     
ffc1cac4:	39 61 00 18 	addi    r11,r1,24                              
ffc1cac8:	7f e3 fb 78 	mr      r3,r31                                 
ffc1cacc:	4b fe 60 24 	b       ffc02af0 <_restgpr_29_x>               
                                                                      

ffc1a500 <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 ) {
ffc1a500:	94 21 ff c8 	stwu    r1,-56(r1)                             <== NOT EXECUTED
ffc1a504:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1a508:	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;                                                 
ffc1a50c:	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                     
    )                                                                 
{                                                                     
ffc1a510:	be a1 00 0c 	stmw    r21,12(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,     
ffc1a514:	3f 40 ff c3 	lis     r26,-61                                <== NOT EXECUTED
                         MSDOS_SHORT_NAME_LEN) == 0) ||               
                (strncmp(MSDOS_DIR_NAME((entry)),                     
ffc1a518:	3f 60 ff c3 	lis     r27,-61                                <== NOT EXECUTED
    fat_file_fd_t                        *fat_fd,                     
    bool                                 *ret_val                     
    )                                                                 
{                                                                     
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1a51c:	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                     
    )                                                                 
{                                                                     
ffc1a520:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
ffc1a524:	7c 99 23 78 	mr      r25,r4                                 <== 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;                                                 
ffc1a528:	98 05 00 00 	stb     r0,0(r5)                               <== NOT EXECUTED
msdos_dir_is_empty(                                                   
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    bool                                 *ret_val                     
    )                                                                 
{                                                                     
ffc1a52c:	7c be 2b 78 	mr      r30,r5                                 <== NOT EXECUTED
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         j = 0, i = 0;                                    
ffc1a530:	3b a0 00 00 	li      r29,0                                  <== 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,     
ffc1a534:	3b 5a e2 96 	addi    r26,r26,-7530                          <== NOT EXECUTED
                         MSDOS_SHORT_NAME_LEN) == 0) ||               
                (strncmp(MSDOS_DIR_NAME((entry)),                     
ffc1a538:	3b 7b e2 a2 	addi    r27,r27,-7518                          <== NOT EXECUTED
    uint32_t         j = 0, i = 0;                                    
                                                                      
    /* dir is not empty */                                            
    *ret_val = false;                                                 
                                                                      
    while ((ret = fat_file_read(mt_entry, fat_fd, j * fs_info->fat.vol.bps,
ffc1a53c:	48 00 00 bc 	b       ffc1a5f8 <msdos_dir_is_empty+0xf8>     <== NOT EXECUTED
                                  fs_info->fat.vol.bps,               
                                  fs_info->cl_buf)) != FAT_EOF)       
    {                                                                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
ffc1a540:	2f 83 00 1f 	cmpwi   cr7,r3,31                              <== NOT EXECUTED
ffc1a544:	40 9d 00 e4 	ble-    cr7,ffc1a628 <msdos_dir_is_empty+0x128><== NOT EXECUTED
            return -1;                                                
                                                                      
        assert(ret == fs_info->fat.vol.bps);                          
ffc1a548:	a2 bf 00 00 	lhz     r21,0(r31)                             <== NOT EXECUTED
ffc1a54c:	7f 83 a8 00 	cmpw    cr7,r3,r21                             <== NOT EXECUTED
ffc1a550:	41 be 00 98 	beq+    cr7,ffc1a5e8 <msdos_dir_is_empty+0xe8> <== NOT EXECUTED
ffc1a554:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1a558:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc1a55c:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc1a560:	38 63 e2 30 	addi    r3,r3,-7632                            <== NOT EXECUTED
ffc1a564:	38 80 03 b5 	li      r4,949                                 <== NOT EXECUTED
ffc1a568:	38 a5 e1 bc 	addi    r5,r5,-7748                            <== NOT EXECUTED
ffc1a56c:	38 c6 e2 7a 	addi    r6,r6,-7558                            <== NOT EXECUTED
ffc1a570:	4b fe cd 11 	bl      ffc07280 <__assert_func>               <== NOT EXECUTED
        /* 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)                  
        {                                                             
            char* entry = (char*) fs_info->cl_buf + i;                
ffc1a574:	81 3f 00 9c 	lwz     r9,156(r31)                            <== 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)) ==                    
ffc1a578:	7e c9 c0 ae 	lbzx    r22,r9,r24                             <== NOT EXECUTED
        /* 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)                  
        {                                                             
            char* entry = (char*) fs_info->cl_buf + i;                
ffc1a57c:	7e e9 c2 14 	add     r23,r9,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)) ==                    
ffc1a580:	2f 96 00 e5 	cmpwi   cr7,r22,229                            <== NOT EXECUTED
ffc1a584:	41 9e 00 44 	beq-    cr7,ffc1a5c8 <msdos_dir_is_empty+0xc8> <== NOT EXECUTED
                 MSDOS_THIS_DIR_ENTRY_EMPTY) ||                       
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
ffc1a588:	88 17 00 0b 	lbz     r0,11(r23)                             <== NOT EXECUTED
ffc1a58c:	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) ||                       
ffc1a590:	2f 80 00 0f 	cmpwi   cr7,r0,15                              <== NOT EXECUTED
ffc1a594:	41 9e 00 34 	beq-    cr7,ffc1a5c8 <msdos_dir_is_empty+0xc8> <== NOT EXECUTED
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
                 MSDOS_ATTR_LFN) ||                                   
                (strncmp(MSDOS_DIR_NAME((entry)), MSDOS_DOT_NAME,     
ffc1a598:	7e e3 bb 78 	mr      r3,r23                                 <== NOT EXECUTED
ffc1a59c:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc1a5a0:	38 a0 00 0b 	li      r5,11                                  <== NOT EXECUTED
ffc1a5a4:	48 00 49 3d 	bl      ffc1eee0 <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) ||                                   
ffc1a5a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1a5ac:	41 9e 00 1c 	beq-    cr7,ffc1a5c8 <msdos_dir_is_empty+0xc8> <== NOT EXECUTED
                (strncmp(MSDOS_DIR_NAME((entry)), MSDOS_DOT_NAME,     
                         MSDOS_SHORT_NAME_LEN) == 0) ||               
                (strncmp(MSDOS_DIR_NAME((entry)),                     
ffc1a5b0:	7e e3 bb 78 	mr      r3,r23                                 <== NOT EXECUTED
ffc1a5b4:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc1a5b8:	38 a0 00 0b 	li      r5,11                                  <== NOT EXECUTED
ffc1a5bc:	48 00 49 25 	bl      ffc1eee0 <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) ||               
ffc1a5c0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1a5c4:	40 9e 00 0c 	bne-    cr7,ffc1a5d0 <msdos_dir_is_empty+0xd0> <== 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)                  
ffc1a5c8:	3b 18 00 20 	addi    r24,r24,32                             <== NOT EXECUTED
ffc1a5cc:	48 00 00 20 	b       ffc1a5ec <msdos_dir_is_empty+0xec>     <== NOT EXECUTED
                continue;                                             
                                                                      
            /*                                                        
             * Nothing more to look at.                               
             */                                                       
            if ((*MSDOS_DIR_NAME(entry)) ==                           
ffc1a5d0:	2f 96 00 00 	cmpwi   cr7,r22,0                              <== NOT EXECUTED
            }                                                         
                                                                      
            /*                                                        
             * Short file name entries mean not empty.                
             */                                                       
            return RC_OK;                                             
ffc1a5d4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
                continue;                                             
                                                                      
            /*                                                        
             * Nothing more to look at.                               
             */                                                       
            if ((*MSDOS_DIR_NAME(entry)) ==                           
ffc1a5d8:	40 9e 00 54 	bne-    cr7,ffc1a62c <msdos_dir_is_empty+0x12c><== NOT EXECUTED
                MSDOS_THIS_DIR_ENTRY_AND_REST_EMPTY)                  
            {                                                         
                *ret_val = true;                                      
ffc1a5dc:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc1a5e0:	98 1e 00 00 	stb     r0,0(r30)                              <== NOT EXECUTED
                return RC_OK;                                         
ffc1a5e4:	48 00 00 48 	b       ffc1a62c <msdos_dir_is_empty+0x12c>    <== NOT EXECUTED
                                  fs_info->cl_buf)) != FAT_EOF)       
    {                                                                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
            return -1;                                                
                                                                      
        assert(ret == fs_info->fat.vol.bps);                          
ffc1a5e8:	3b 00 00 00 	li      r24,0                                  <== NOT EXECUTED
                                                                      
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (i = 0;                                                   
ffc1a5ec:	7f 98 a8 40 	cmplw   cr7,r24,r21                            <== NOT EXECUTED
ffc1a5f0:	41 9c ff 84 	blt+    cr7,ffc1a574 <msdos_dir_is_empty+0x74> <== NOT EXECUTED
            /*                                                        
             * Short file name entries mean not empty.                
             */                                                       
            return RC_OK;                                             
        }                                                             
        j++;                                                          
ffc1a5f4:	3b bd 00 01 	addi    r29,r29,1                              <== NOT EXECUTED
    uint32_t         j = 0, i = 0;                                    
                                                                      
    /* dir is not empty */                                            
    *ret_val = false;                                                 
                                                                      
    while ((ret = fat_file_read(mt_entry, fat_fd, j * fs_info->fat.vol.bps,
ffc1a5f8:	a0 df 00 00 	lhz     r6,0(r31)                              <== NOT EXECUTED
ffc1a5fc:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1a600:	80 ff 00 9c 	lwz     r7,156(r31)                            <== NOT EXECUTED
ffc1a604:	7f 24 cb 78 	mr      r4,r25                                 <== NOT EXECUTED
ffc1a608:	7c bd 31 d6 	mullw   r5,r29,r6                              <== NOT EXECUTED
ffc1a60c:	4b ff 98 09 	bl      ffc13e14 <fat_file_read>               <== NOT EXECUTED
ffc1a610:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1a614:	40 82 ff 2c 	bne+    ffc1a540 <msdos_dir_is_empty+0x40>     <== NOT EXECUTED
             */                                                       
            return RC_OK;                                             
        }                                                             
        j++;                                                          
    }                                                                 
    *ret_val = true;                                                  
ffc1a618:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc1a61c:	98 1e 00 00 	stb     r0,0(r30)                              <== NOT EXECUTED
    return RC_OK;                                                     
ffc1a620:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1a624:	48 00 00 08 	b       ffc1a62c <msdos_dir_is_empty+0x12c>    <== 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;                                                
ffc1a628:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
        }                                                             
        j++;                                                          
    }                                                                 
    *ret_val = true;                                                  
    return RC_OK;                                                     
}                                                                     
ffc1a62c:	39 61 00 38 	addi    r11,r1,56                              <== NOT EXECUTED
ffc1a630:	4b fe 84 a0 	b       ffc02ad0 <_restgpr_21_x>               <== NOT EXECUTED
                                                                      

ffc1cfc0 <msdos_dir_lseek>: * set apropriately). */ rtems_off64_t msdos_dir_lseek(rtems_libio_t *iop, rtems_off64_t offset, int whence) { switch (whence)
ffc1cfc0:	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) 
{                                                                     
ffc1cfc4:	94 21 ff f8 	stwu    r1,-8(r1)                              <== NOT EXECUTED
ffc1cfc8:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
        case SEEK_END:                                                
        default:                                                      
            rtems_set_errno_and_return_minus_one( EINVAL );           
            break;                                                    
    }                                                                 
    return RC_OK;                                                     
ffc1cfcc:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
ffc1cfd0:	39 60 00 00 	li      r11,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) 
{                                                                     
ffc1cfd4:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
    switch (whence)                                                   
ffc1cfd8:	40 9d 00 18 	ble-    cr7,ffc1cff0 <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 );           
ffc1cfdc:	48 00 02 cd 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc1cfe0:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc1cfe4:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1cfe8:	39 40 ff ff 	li      r10,-1                                 <== NOT EXECUTED
ffc1cfec:	39 60 ff ff 	li      r11,-1                                 <== NOT EXECUTED
            break;                                                    
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc1cff0:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc1cff4:	7d 43 53 78 	mr      r3,r10                                 <== NOT EXECUTED
ffc1cff8:	7d 64 5b 78 	mr      r4,r11                                 <== NOT EXECUTED
ffc1cffc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1d000:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc1d004:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1c9e0 <msdos_dir_open>: * set apropriately) */ int msdos_dir_open(rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode) {
ffc1c9e0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1c9e4:	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,        
ffc1c9e8:	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)                                       
{                                                                     
ffc1c9ec:	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,        
ffc1c9f0:	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;     
ffc1c9f4:	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)                                       
{                                                                     
ffc1c9f8:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc1c9fc:	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;     
ffc1ca00:	83 c9 00 34 	lwz     r30,52(r9)                             
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
ffc1ca04:	83 a3 00 1c 	lwz     r29,28(r3)                             
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1ca08:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc1ca0c:	4b fe f2 e5 	bl      ffc0bcf0 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1ca10:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1ca14:	41 be 00 18 	beq+    cr7,ffc1ca2c <msdos_dir_open+0x4c>     <== ALWAYS TAKEN
        rtems_set_errno_and_return_minus_one( EIO );                  
ffc1ca18:	48 00 08 91 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc1ca1c:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1ca20:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1ca24:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc1ca28:	48 00 00 2c 	b       ffc1ca54 <msdos_dir_open+0x74>         <== NOT EXECUTED
                                                                      
    rc = fat_file_reopen(fat_fd);                                     
ffc1ca2c:	7f a3 eb 78 	mr      r3,r29                                 
ffc1ca30:	4b ff 73 d1 	bl      ffc13e00 <fat_file_reopen>             
    if (rc != RC_OK)                                                  
ffc1ca34:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc1ca38:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc1ca3c:	40 82 00 14 	bne-    ffc1ca50 <msdos_dir_open+0x70>         <== NEVER TAKEN
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
    }                                                                 
                                                                      
    iop->offset = 0;                                                  
ffc1ca40:	39 40 00 00 	li      r10,0                                  
ffc1ca44:	39 60 00 00 	li      r11,0                                  
ffc1ca48:	91 5f 00 10 	stw     r10,16(r31)                            
ffc1ca4c:	91 7f 00 14 	stw     r11,20(r31)                            
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1ca50:	4b fe f3 cd 	bl      ffc0be1c <rtems_semaphore_release>     
    return RC_OK;                                                     
}                                                                     
ffc1ca54:	39 61 00 18 	addi    r11,r1,24                              
ffc1ca58:	7f a3 eb 78 	mr      r3,r29                                 
ffc1ca5c:	4b fe 60 94 	b       ffc02af0 <_restgpr_29_x>               
                                                                      

ffc1cad0 <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) {
ffc1cad0:	94 21 fe 78 	stwu    r1,-392(r1)                            <== NOT EXECUTED
ffc1cad4:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1cad8:	90 01 01 8c 	stw     r0,396(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;                             
ffc1cadc:	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)        
{                                                                     
ffc1cae0:	bd c1 01 40 	stmw    r14,320(r1)                            <== NOT EXECUTED
ffc1cae4:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
ffc1cae8:	7c bd 2b 78 	mr      r29,r5                                 <== 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;            
ffc1caec:	83 03 00 1c 	lwz     r24,28(r3)                             <== NOT EXECUTED
    fat_file_fd_t     *tmp_fat_fd = NULL;                             
ffc1caf0:	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;                                   
ffc1caf4:	90 01 00 08 	stw     r0,8(r1)                               <== 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                              :     
ffc1caf8:	80 18 00 20 	lwz     r0,32(r24)                             <== 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;     
ffc1cafc:	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                              :     
ffc1cb00:	2f 80 00 01 	cmpwi   cr7,r0,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)        
{                                                                     
ffc1cb04:	90 81 01 38 	stw     r4,312(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;     
ffc1cb08:	83 e9 00 34 	lwz     r31,52(r9)                             <== 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);                      
ffc1cb0c:	83 43 00 10 	lwz     r26,16(r3)                             <== NOT EXECUTED
ffc1cb10:	83 63 00 14 	lwz     r27,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                              :     
ffc1cb14:	40 be 00 24 	bne+    cr7,ffc1cb38 <msdos_dir_read+0x68>     <== 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) &&                           
ffc1cb18:	80 18 00 24 	lwz     r0,36(r24)                             <== NOT EXECUTED
ffc1cb1c:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1cb20:	40 9e 00 18 	bne-    cr7,ffc1cb38 <msdos_dir_read+0x68>     <== NOT EXECUTED
             (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16))) ?     
ffc1cb24:	88 1f 00 0a 	lbz     r0,10(r31)                             <== 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) &&                           
ffc1cb28:	70 05 00 03 	andi.   r5,r0,3                                <== NOT EXECUTED
ffc1cb2c:	41 82 00 0c 	beq-    ffc1cb38 <msdos_dir_read+0x68>         <== NOT EXECUTED
             (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16))) ?     
             fat_fd->fat_file_size                              :     
ffc1cb30:	82 98 00 18 	lwz     r20,24(r24)                            <== NOT EXECUTED
ffc1cb34:	48 00 00 08 	b       ffc1cb3c <msdos_dir_read+0x6c>         <== NOT EXECUTED
ffc1cb38:	a2 9f 00 06 	lhz     r20,6(r31)                             <== NOT EXECUTED
             fs_info->fat.vol.bpc;                                    
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1cb3c:	80 7f 00 98 	lwz     r3,152(r31)                            <== NOT EXECUTED
ffc1cb40:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1cb44:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc1cb48:	4b fe f1 a9 	bl      ffc0bcf0 <rtems_semaphore_obtain>      <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1cb4c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1cb50:	40 9e 00 80 	bne-    cr7,ffc1cbd0 <msdos_dir_read+0x100>    <== 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);  
ffc1cb54:	3a e0 01 18 	li      r23,280                                <== NOT EXECUTED
ffc1cb58:	7e fd bb 96 	divwu   r23,r29,r23                            <== 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);                      
ffc1cb5c:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc1cb60:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc1cb64:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc1cb68:	38 c0 01 18 	li      r6,280                                 <== NOT EXECUTED
ffc1cb6c:	48 00 e1 d1 	bl      ffc2ad3c <__divdi3>                    <== NOT EXECUTED
    count = (count / sizeof(struct dirent)) * sizeof(struct dirent);  
ffc1cb70:	1e f7 01 18 	mulli   r23,r23,280                            <== 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);                      
ffc1cb74:	7c 96 23 78 	mr      r22,r4                                 <== NOT EXECUTED
    count = (count / sizeof(struct dirent)) * sizeof(struct dirent);  
ffc1cb78:	3b 20 00 00 	li      r25,0                                  <== NOT EXECUTED
ffc1cb7c:	3b 40 00 00 	li      r26,0                                  <== NOT EXECUTED
ffc1cb80:	3a a0 00 00 	li      r21,0                                  <== NOT EXECUTED
ffc1cb84:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc1cb88:	3b 60 00 00 	li      r27,0                                  <== 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;                           
ffc1cb8c:	3a 40 ff ff 	li      r18,-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);          
ffc1cb90:	3a 00 01 18 	li      r16,280                                <== NOT EXECUTED
   * copy base name to destination                                    
   */                                                                 
  src_tmp = src;                                                      
  len = i;                                                            
  while (i-- > 0) {                                                   
    *dst++ = tolower((unsigned char)(*src_tmp++));                    
ffc1cb94:	3e 20 00 00 	lis     r17,0                                  <== NOT EXECUTED
    {};                                                               
  /*                                                                  
   * extension is not empty                                           
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
ffc1cb98:	39 e0 00 2e 	li      r15,46                                 <== NOT EXECUTED
    while (i-- > 0) {                                                 
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
      len++;                                                          
    }                                                                 
  }                                                                   
  *dst = '\0'; /* terminate string */                                 
ffc1cb9c:	39 c0 00 00 	li      r14,0                                  <== NOT EXECUTED
ffc1cba0:	48 00 03 bc 	b       ffc1cf5c <msdos_dir_read+0x48c>        <== 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),
ffc1cba4:	80 7e 00 2c 	lwz     r3,44(r30)                             <== NOT EXECUTED
ffc1cba8:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc1cbac:	80 ff 00 9c 	lwz     r7,156(r31)                            <== NOT EXECUTED
ffc1cbb0:	7f 25 cb 78 	mr      r5,r25                                 <== NOT EXECUTED
ffc1cbb4:	7e 86 a3 78 	mr      r6,r20                                 <== NOT EXECUTED
ffc1cbb8:	4b ff 72 5d 	bl      ffc13e14 <fat_file_read>               <== NOT EXECUTED
                            bts2rd, fs_info->cl_buf);                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
ffc1cbbc:	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),
ffc1cbc0:	7c 73 1b 78 	mr      r19,r3                                 <== NOT EXECUTED
                            bts2rd, fs_info->cl_buf);                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
ffc1cbc4:	41 bd 03 88 	bgt+    cr7,ffc1cf4c <msdos_dir_read+0x47c>    <== NOT EXECUTED
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
ffc1cbc8:	80 7f 00 98 	lwz     r3,152(r31)                            <== NOT EXECUTED
ffc1cbcc:	4b fe f2 51 	bl      ffc0be1c <rtems_semaphore_release>     <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one(EIO);                
ffc1cbd0:	48 00 06 d9 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc1cbd4:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1cbd8:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1cbdc:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc1cbe0:	48 00 03 90 	b       ffc1cf70 <msdos_dir_read+0x4a0>        <== NOT EXECUTED
        }                                                             
                                                                      
        for (i = 0; i < ret; i += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)  
        {                                                             
            char* entry = (char*) fs_info->cl_buf + i;                
ffc1cbe4:	81 7f 00 9c 	lwz     r11,156(r31)                           <== NOT EXECUTED
                                                                      
            /*                                                        
             * Is this directory from here on empty ?                 
             */                                                       
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                     
ffc1cbe8:	7c 0b e0 ae 	lbzx    r0,r11,r28                             <== 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;                
ffc1cbec:	7d 2b e2 14 	add     r9,r11,r28                             <== NOT EXECUTED
                                                                      
            /*                                                        
             * Is this directory from here on empty ?                 
             */                                                       
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                     
ffc1cbf0:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1cbf4:	41 9e 03 70 	beq-    cr7,ffc1cf64 <msdos_dir_read+0x494>    <== 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)
ffc1cbf8:	2f 80 00 e5 	cmpwi   cr7,r0,229                             <== NOT EXECUTED
ffc1cbfc:	41 9e 03 48 	beq-    cr7,ffc1cf44 <msdos_dir_read+0x474>    <== NOT EXECUTED
                continue;                                             
                                                                      
            /* Is the directory entry empty a volume label */         
            if (((*MSDOS_DIR_ATTR(entry)) & MSDOS_ATTR_VOLUME_ID) &&  
ffc1cc00:	89 69 00 0b 	lbz     r11,11(r9)                             <== NOT EXECUTED
ffc1cc04:	71 66 00 08 	andi.   r6,r11,8                               <== NOT EXECUTED
ffc1cc08:	55 6b 06 be 	clrlwi  r11,r11,26                             <== NOT EXECUTED
ffc1cc0c:	41 82 00 0c 	beq-    ffc1cc18 <msdos_dir_read+0x148>        <== NOT EXECUTED
ffc1cc10:	2f 8b 00 0f 	cmpwi   cr7,r11,15                             <== NOT EXECUTED
ffc1cc14:	40 be 03 30 	bne+    cr7,ffc1cf44 <msdos_dir_read+0x474>    <== 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) ==     
ffc1cc18:	2f 8b 00 0f 	cmpwi   cr7,r11,15                             <== NOT EXECUTED
ffc1cc1c:	40 be 00 cc 	bne+    cr7,ffc1cce8 <msdos_dir_read+0x218>    <== NOT EXECUTED
                int   q;                                              
                                                                      
                /*                                                    
                 * Is this is the first entry of a LFN ?              
                 */                                                   
                if (lfn_start == FAT_FILE_SHORT_NAME)                 
ffc1cc20:	2f 9d ff ff 	cmpwi   cr7,r29,-1                             <== NOT EXECUTED
ffc1cc24:	40 be 00 34 	bne+    cr7,ffc1cc58 <msdos_dir_read+0x188>    <== NOT EXECUTED
                {                                                     
                    /*                                                
                     * The first entry must have the last long entry flag set.
                     */                                               
                    if ((*MSDOS_DIR_ENTRY_TYPE(entry) &               
ffc1cc28:	70 07 00 40 	andi.   r7,r0,64                               <== NOT EXECUTED
ffc1cc2c:	41 a2 03 18 	beq+    ffc1cf44 <msdos_dir_read+0x474>        <== 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));
ffc1cc30:	38 61 00 34 	addi    r3,r1,52                               <== 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);    
ffc1cc34:	8a a9 00 0d 	lbz     r21,13(r9)                             <== NOT EXECUTED
                    memset (tmp_dirent.d_name, 0, sizeof(tmp_dirent.d_name));
ffc1cc38:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1cc3c:	91 21 01 3c 	stw     r9,316(r1)                             <== NOT EXECUTED
ffc1cc40:	38 a0 01 00 	li      r5,256                                 <== NOT EXECUTED
                                                                      
                    /*                                                
                     * Remember the start location of the long file name.
                     */                                               
                    lfn_start =                                       
                      ((j * bts2rd) + i) / MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;
ffc1cc44:	7f bc ca 14 	add     r29,r28,r25                            <== 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) &     
ffc1cc48:	54 1a 06 be 	clrlwi  r26,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));
ffc1cc4c:	48 00 15 75 	bl      ffc1e1c0 <memset>                      <== NOT EXECUTED
ffc1cc50:	81 21 01 3c 	lwz     r9,316(r1)                             <== NOT EXECUTED
                        continue;                                     
                                                                      
                    /*                                                
                     * Remember the start location of the long file name.
                     */                                               
                    lfn_start =                                       
ffc1cc54:	57 bd d9 7e 	rlwinm  r29,r29,27,5,31                        <== 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) &   
ffc1cc58:	88 09 00 00 	lbz     r0,0(r9)                               <== NOT EXECUTED
ffc1cc5c:	54 00 06 be 	clrlwi  r0,r0,26                               <== NOT EXECUTED
ffc1cc60:	7f 9a 00 00 	cmpw    cr7,r26,r0                             <== NOT EXECUTED
ffc1cc64:	40 be 02 dc 	bne+    cr7,ffc1cf40 <msdos_dir_read+0x470>    <== NOT EXECUTED
                                     MSDOS_LAST_LONG_ENTRY_MASK)) ||  
ffc1cc68:	88 09 00 0d 	lbz     r0,13(r9)                              <== NOT EXECUTED
ffc1cc6c:	7f 80 a8 00 	cmpw    cr7,r0,r21                             <== NOT EXECUTED
ffc1cc70:	40 be 02 d0 	bne+    cr7,ffc1cf40 <msdos_dir_read+0x470>    <== 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)        
ffc1cc74:	39 00 00 0d 	li      r8,13                                  <== NOT EXECUTED
ffc1cc78:	7d 09 03 a6 	mtctr   r8                                     <== 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--;                                        
ffc1cc7c:	3b 5a ff ff 	addi    r26,r26,-1                             <== NOT EXECUTED
                p = entry + 1;                                        
                o = lfn_entries * MSDOS_LFN_LEN_PER_ENTRY;            
ffc1cc80:	1d 5a 00 0d 	mulli   r10,r26,13                             <== 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;                                        
ffc1cc84:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
                o = lfn_entries * MSDOS_LFN_LEN_PER_ENTRY;            
                                                                      
                for (q = 0; q < MSDOS_LFN_LEN_PER_ENTRY; q++)         
ffc1cc88:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
                {                                                     
                    if (o >= (sizeof(tmp_dirent.d_name) - 1))         
ffc1cc8c:	2b 8a 00 fe 	cmplwi  cr7,r10,254                            <== NOT EXECUTED
ffc1cc90:	41 9d 02 a4 	bgt-    cr7,ffc1cf34 <msdos_dir_read+0x464>    <== NOT EXECUTED
                        break;                                        
                                                                      
                    tmp_dirent.d_name[o++] = *p;                      
ffc1cc94:	88 09 00 00 	lbz     r0,0(r9)                               <== NOT EXECUTED
 * RETURNS:                                                           
 *     the number of bytes read on success, or -1 if error occured (errno
 *     set apropriately).                                             
 */                                                                   
ssize_t                                                               
msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count)        
ffc1cc98:	38 a1 00 20 	addi    r5,r1,32                               <== NOT EXECUTED
ffc1cc9c:	7d 05 52 14 	add     r8,r5,r10                              <== 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;                      
ffc1cca0:	98 08 00 14 	stb     r0,20(r8)                              <== NOT EXECUTED
ffc1cca4:	39 4a 00 01 	addi    r10,r10,1                              <== NOT EXECUTED
                                                                      
                    if (*p == '\0')                                   
ffc1cca8:	88 09 00 00 	lbz     r0,0(r9)                               <== NOT EXECUTED
ffc1ccac:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1ccb0:	41 9e 02 84 	beq-    cr7,ffc1cf34 <msdos_dir_read+0x464>    <== NOT EXECUTED
                        break;                                        
                                                                      
                    switch (q)                                        
ffc1ccb4:	2f 8b 00 04 	cmpwi   cr7,r11,4                              <== NOT EXECUTED
ffc1ccb8:	41 9e 00 10 	beq-    cr7,ffc1ccc8 <msdos_dir_read+0x1f8>    <== NOT EXECUTED
ffc1ccbc:	2f 8b 00 0a 	cmpwi   cr7,r11,10                             <== NOT EXECUTED
ffc1ccc0:	40 be 00 18 	bne+    cr7,ffc1ccd8 <msdos_dir_read+0x208>    <== NOT EXECUTED
ffc1ccc4:	48 00 00 0c 	b       ffc1ccd0 <msdos_dir_read+0x200>        <== NOT EXECUTED
                    {                                                 
                        case 4:                                       
                            p += 5;                                   
ffc1ccc8:	39 29 00 05 	addi    r9,r9,5                                <== NOT EXECUTED
                            break;                                    
ffc1cccc:	48 00 00 10 	b       ffc1ccdc <msdos_dir_read+0x20c>        <== NOT EXECUTED
                        case 10:                                      
                            p += 4;                                   
ffc1ccd0:	39 29 00 04 	addi    r9,r9,4                                <== NOT EXECUTED
                            break;                                    
ffc1ccd4:	48 00 00 08 	b       ffc1ccdc <msdos_dir_read+0x20c>        <== NOT EXECUTED
                        default:                                      
                            p += 2;                                   
ffc1ccd8:	39 29 00 02 	addi    r9,r9,2                                <== NOT EXECUTED
                                                                      
                lfn_entries--;                                        
                p = entry + 1;                                        
                o = lfn_entries * MSDOS_LFN_LEN_PER_ENTRY;            
                                                                      
                for (q = 0; q < MSDOS_LFN_LEN_PER_ENTRY; q++)         
ffc1ccdc:	39 6b 00 01 	addi    r11,r11,1                              <== NOT EXECUTED
ffc1cce0:	42 00 ff ac 	bdnz+   ffc1cc8c <msdos_dir_read+0x1bc>        <== NOT EXECUTED
ffc1cce4:	48 00 02 50 	b       ffc1cf34 <msdos_dir_read+0x464>        <== NOT EXECUTED
                fat_dir_pos_t dir_pos;                                
                                                                      
                /*                                                    
                 * Skip active entries until get the entry to start from.
                 */                                                   
                if (start)                                            
ffc1cce8:	2f 96 00 00 	cmpwi   cr7,r22,0                              <== NOT EXECUTED
ffc1ccec:	41 9e 00 0c 	beq-    cr7,ffc1ccf8 <msdos_dir_read+0x228>    <== NOT EXECUTED
                {                                                     
                    lfn_start = FAT_FILE_SHORT_NAME;                  
                    start--;                                          
ffc1ccf0:	3a d6 ff ff 	addi    r22,r22,-1                             <== NOT EXECUTED
ffc1ccf4:	48 00 02 4c 	b       ffc1cf40 <msdos_dir_read+0x470>        <== 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,
ffc1ccf8:	80 7e 00 2c 	lwz     r3,44(r30)                             <== NOT EXECUTED
ffc1ccfc:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc1cd00:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc1cd04:	91 21 01 3c 	stw     r9,316(r1)                             <== NOT EXECUTED
ffc1cd08:	7f 26 cb 78 	mr      r6,r25                                 <== NOT EXECUTED
ffc1cd0c:	38 e1 00 08 	addi    r7,r1,8                                <== NOT EXECUTED
ffc1cd10:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1cd14:	4b ff 74 89 	bl      ffc1419c <fat_file_ioctl>              <== NOT EXECUTED
                                    j * bts2rd, &cur_cln);            
                if (rc != RC_OK)                                      
ffc1cd18:	81 21 01 3c 	lwz     r9,316(r1)                             <== NOT EXECUTED
ffc1cd1c:	7c 60 1b 79 	mr.     r0,r3                                  <== NOT EXECUTED
ffc1cd20:	40 82 02 00 	bne-    ffc1cf20 <msdos_dir_read+0x450>        <== NOT EXECUTED
                    rtems_semaphore_release(fs_info->vol_sema);       
                    return rc;                                        
                }                                                     
                                                                      
                fat_dir_pos_init(&dir_pos);                           
                dir_pos.sname.cln = cur_cln;                          
ffc1cd24:	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);
ffc1cd28:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc1cd2c:	80 7e 00 2c 	lwz     r3,44(r30)                             <== NOT EXECUTED
ffc1cd30:	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;                          
ffc1cd34:	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);
ffc1cd38:	91 21 01 3c 	stw     r9,316(r1)                             <== NOT EXECUTED
ffc1cd3c:	92 41 00 18 	stw     r18,24(r1)                             <== NOT EXECUTED
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
ffc1cd40:	92 41 00 1c 	stw     r18,28(r1)                             <== NOT EXECUTED
                    return rc;                                        
                }                                                     
                                                                      
                fat_dir_pos_init(&dir_pos);                           
                dir_pos.sname.cln = cur_cln;                          
                dir_pos.sname.ofs = i;                                
ffc1cd44:	93 81 00 14 	stw     r28,20(r1)                             <== NOT EXECUTED
                rc = fat_file_open(iop->pathinfo.mt_entry, &dir_pos, &tmp_fat_fd);
ffc1cd48:	4b ff 6f 75 	bl      ffc13cbc <fat_file_open>               <== NOT EXECUTED
                if (rc != RC_OK)                                      
ffc1cd4c:	7c 60 1b 79 	mr.     r0,r3                                  <== NOT EXECUTED
ffc1cd50:	81 21 01 3c 	lwz     r9,316(r1)                             <== NOT EXECUTED
ffc1cd54:	40 82 01 cc 	bne-    ffc1cf20 <msdos_dir_read+0x450>        <== 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)                 
ffc1cd58:	2f 9d ff ff 	cmpwi   cr7,r29,-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;                   
ffc1cd5c:	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;                    
ffc1cd60:	93 61 00 2c 	stw     r27,44(r1)                             <== NOT EXECUTED
                tmp_dirent.d_reclen = sizeof(struct dirent);          
                tmp_dirent.d_ino = tmp_fat_fd->ino;                   
ffc1cd64:	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;                    
ffc1cd68:	92 c1 00 28 	stw     r22,40(r1)                             <== NOT EXECUTED
                tmp_dirent.d_reclen = sizeof(struct dirent);          
ffc1cd6c:	b2 01 00 30 	sth     r16,48(r1)                             <== NOT EXECUTED
                tmp_dirent.d_ino = tmp_fat_fd->ino;                   
ffc1cd70:	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)                 
ffc1cd74:	41 9e 00 64 	beq-    cr7,ffc1cdd8 <msdos_dir_read+0x308>    <== 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;  
ffc1cd78:	38 c0 00 0b 	li      r6,11                                  <== NOT EXECUTED
ffc1cd7c:	7c c9 03 a6 	mtctr   r6                                     <== 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)                 
ffc1cd80:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
ffc1cd84:	38 00 00 00 	li      r0,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;  
ffc1cd88:	70 07 00 01 	andi.   r7,r0,1                                <== NOT EXECUTED
ffc1cd8c:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
ffc1cd90:	41 82 00 08 	beq-    ffc1cd98 <msdos_dir_read+0x2c8>        <== NOT EXECUTED
ffc1cd94:	39 40 00 80 	li      r10,128                                <== NOT EXECUTED
ffc1cd98:	7d 09 58 ae 	lbzx    r8,r9,r11                              <== NOT EXECUTED
ffc1cd9c:	54 00 f8 7e 	rlwinm  r0,r0,31,1,31                          <== NOT EXECUTED
                {                                                     
                    uint8_t  cs = 0;                                  
                    uint8_t* p = (uint8_t*) entry;                    
                    int      i;                                       
                                                                      
                    for (i = 0; i < 11; i++, p++)                     
ffc1cda0:	39 6b 00 01 	addi    r11,r11,1                              <== NOT EXECUTED
                        cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;  
ffc1cda4:	7c 08 02 14 	add     r0,r8,r0                               <== NOT EXECUTED
ffc1cda8:	7c 00 52 14 	add     r0,r0,r10                              <== NOT EXECUTED
ffc1cdac:	54 00 06 3e 	clrlwi  r0,r0,24                               <== NOT EXECUTED
                {                                                     
                    uint8_t  cs = 0;                                  
                    uint8_t* p = (uint8_t*) entry;                    
                    int      i;                                       
                                                                      
                    for (i = 0; i < 11; i++, p++)                     
ffc1cdb0:	42 00 ff d8 	bdnz+   ffc1cd88 <msdos_dir_read+0x2b8>        <== NOT EXECUTED
                        cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;  
                                                                      
                    if (lfn_entries || (lfn_checksum != cs))          
ffc1cdb4:	2f 9a 00 00 	cmpwi   cr7,r26,0                              <== NOT EXECUTED
  const char *src_tmp;                                                
                                                                      
  /*                                                                  
   * find last non-blank character of base name                       
   */                                                                 
  for ((i       =       MSDOS_SHORT_BASE_LEN  ,                       
ffc1cdb8:	39 60 00 08 	li      r11,8                                  <== 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))          
ffc1cdbc:	40 9e 00 20 	bne-    cr7,ffc1cddc <msdos_dir_read+0x30c>    <== NOT EXECUTED
ffc1cdc0:	7f 95 00 00 	cmpw    cr7,r21,r0                             <== NOT EXECUTED
ffc1cdc4:	40 be 00 18 	bne+    cr7,ffc1cddc <msdos_dir_read+0x30c>    <== NOT EXECUTED
ffc1cdc8:	48 00 01 b4 	b       ffc1cf7c <msdos_dir_read+0x4ac>        <== NOT EXECUTED
   */                                                                 
  for ((i       =       MSDOS_SHORT_BASE_LEN  ,                       
	src_tmp = src + MSDOS_SHORT_BASE_LEN-1);                             
       ((i > 0) &&                                                    
	(*src_tmp == ' '));                                                  
       i--,src_tmp--)                                                 
ffc1cdcc:	39 6b ff ff 	addi    r11,r11,-1                             <== NOT EXECUTED
  const char *src_tmp;                                                
                                                                      
  /*                                                                  
   * find last non-blank character of base name                       
   */                                                                 
  for ((i       =       MSDOS_SHORT_BASE_LEN  ,                       
ffc1cdd0:	42 00 00 14 	bdnz-   ffc1cde4 <msdos_dir_read+0x314>        <== NOT EXECUTED
ffc1cdd4:	48 00 00 20 	b       ffc1cdf4 <msdos_dir_read+0x324>        <== NOT EXECUTED
ffc1cdd8:	39 60 00 08 	li      r11,8                                  <== NOT EXECUTED
ffc1cddc:	39 00 00 08 	li      r8,8                                   <== NOT EXECUTED
ffc1cde0:	7d 09 03 a6 	mtctr   r8                                     <== 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)        
ffc1cde4:	7d 49 5a 14 	add     r10,r9,r11                             <== 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) &&                                                    
ffc1cde8:	88 0a ff ff 	lbz     r0,-1(r10)                             <== NOT EXECUTED
ffc1cdec:	2f 80 00 20 	cmpwi   cr7,r0,32                              <== NOT EXECUTED
ffc1cdf0:	41 9e ff dc 	beq+    cr7,ffc1cdcc <msdos_dir_read+0x2fc>    <== NOT EXECUTED
ffc1cdf4:	2f 8b 00 00 	cmpwi   cr7,r11,0                              <== NOT EXECUTED
   * copy base name to destination                                    
   */                                                                 
  src_tmp = src;                                                      
  len = i;                                                            
  while (i-- > 0) {                                                   
    *dst++ = tolower((unsigned char)(*src_tmp++));                    
ffc1cdf8:	80 f1 27 ac 	lwz     r7,10156(r17)                          <== NOT EXECUTED
ffc1cdfc:	39 40 00 00 	li      r10,0                                  <== 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)        
ffc1ce00:	38 0b 00 01 	addi    r0,r11,1                               <== NOT EXECUTED
ffc1ce04:	40 bc 00 38 	bge+    cr7,ffc1ce3c <msdos_dir_read+0x36c>    <== NOT EXECUTED
ffc1ce08:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc1ce0c:	48 00 00 30 	b       ffc1ce3c <msdos_dir_read+0x36c>        <== NOT EXECUTED
   * copy base name to destination                                    
   */                                                                 
  src_tmp = src;                                                      
  len = i;                                                            
  while (i-- > 0) {                                                   
    *dst++ = tolower((unsigned char)(*src_tmp++));                    
ffc1ce10:	7d 09 50 ae 	lbzx    r8,r9,r10                              <== NOT EXECUTED
ffc1ce14:	7c c7 42 14 	add     r6,r7,r8                               <== NOT EXECUTED
ffc1ce18:	88 c6 00 01 	lbz     r6,1(r6)                               <== NOT EXECUTED
ffc1ce1c:	54 c6 07 be 	clrlwi  r6,r6,30                               <== NOT EXECUTED
ffc1ce20:	2f 86 00 01 	cmpwi   cr7,r6,1                               <== NOT EXECUTED
ffc1ce24:	40 be 00 08 	bne+    cr7,ffc1ce2c <msdos_dir_read+0x35c>    <== NOT EXECUTED
ffc1ce28:	39 08 00 20 	addi    r8,r8,32                               <== 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)        
ffc1ce2c:	38 a1 00 20 	addi    r5,r1,32                               <== NOT EXECUTED
ffc1ce30:	7c c5 52 14 	add     r6,r5,r10                              <== NOT EXECUTED
   * copy base name to destination                                    
   */                                                                 
  src_tmp = src;                                                      
  len = i;                                                            
  while (i-- > 0) {                                                   
    *dst++ = tolower((unsigned char)(*src_tmp++));                    
ffc1ce34:	99 06 00 14 	stb     r8,20(r6)                              <== NOT EXECUTED
ffc1ce38:	39 4a 00 01 	addi    r10,r10,1                              <== NOT EXECUTED
  /*                                                                  
   * copy base name to destination                                    
   */                                                                 
  src_tmp = src;                                                      
  len = i;                                                            
  while (i-- > 0) {                                                   
ffc1ce3c:	34 00 ff ff 	addic.  r0,r0,-1                               <== NOT EXECUTED
ffc1ce40:	40 82 ff d0 	bne+    ffc1ce10 <msdos_dir_read+0x340>        <== 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) &&                                                    
ffc1ce44:	89 49 00 0a 	lbz     r10,10(r9)                             <== NOT EXECUTED
 * RETURNS:                                                           
 *     the number of bytes read on success, or -1 if error occured (errno
 *     set apropriately).                                             
 */                                                                   
ssize_t                                                               
msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count)        
ffc1ce48:	7d 60 58 f8 	not     r0,r11                                 <== NOT EXECUTED
ffc1ce4c:	7c 00 fe 70 	srawi   r0,r0,31                               <== 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) &&                                                    
ffc1ce50:	2f 8a 00 20 	cmpwi   cr7,r10,32                             <== 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)        
ffc1ce54:	7d 60 00 38 	and     r0,r11,r0                              <== NOT EXECUTED
ffc1ce58:	38 a1 00 20 	addi    r5,r1,32                               <== NOT EXECUTED
ffc1ce5c:	7d 05 02 14 	add     r8,r5,r0                               <== NOT EXECUTED
ffc1ce60:	39 08 00 14 	addi    r8,r8,20                               <== 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) &&                                                    
ffc1ce64:	40 9e 01 28 	bne-    cr7,ffc1cf8c <msdos_dir_read+0x4bc>    <== NOT EXECUTED
ffc1ce68:	89 49 00 09 	lbz     r10,9(r9)                              <== NOT EXECUTED
ffc1ce6c:	2f 8a 00 20 	cmpwi   cr7,r10,32                             <== NOT EXECUTED
ffc1ce70:	40 9e 01 24 	bne-    cr7,ffc1cf94 <msdos_dir_read+0x4c4>    <== NOT EXECUTED
ffc1ce74:	89 49 00 08 	lbz     r10,8(r9)                              <== NOT EXECUTED
ffc1ce78:	2f 8a 00 20 	cmpwi   cr7,r10,32                             <== NOT EXECUTED
ffc1ce7c:	41 be 00 4c 	beq+    cr7,ffc1cec8 <msdos_dir_read+0x3f8>    <== NOT EXECUTED
ffc1ce80:	39 40 00 01 	li      r10,1                                  <== NOT EXECUTED
ffc1ce84:	48 00 01 14 	b       ffc1cf98 <msdos_dir_read+0x4c8>        <== 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)        
ffc1ce88:	7c c9 3a 14 	add     r6,r9,r7                               <== NOT EXECUTED
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
    len += i + 1; /* extension + dot */                               
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
ffc1ce8c:	88 c6 00 08 	lbz     r6,8(r6)                               <== NOT EXECUTED
ffc1ce90:	7c 64 32 14 	add     r3,r4,r6                               <== NOT EXECUTED
ffc1ce94:	88 03 00 01 	lbz     r0,1(r3)                               <== NOT EXECUTED
ffc1ce98:	54 00 07 be 	clrlwi  r0,r0,30                               <== NOT EXECUTED
ffc1ce9c:	2f 80 00 01 	cmpwi   cr7,r0,1                               <== NOT EXECUTED
ffc1cea0:	40 be 00 08 	bne+    cr7,ffc1cea8 <msdos_dir_read+0x3d8>    <== NOT EXECUTED
ffc1cea4:	38 c6 00 20 	addi    r6,r6,32                               <== NOT EXECUTED
ffc1cea8:	9c c8 00 01 	stbu    r6,1(r8)                               <== NOT EXECUTED
ffc1ceac:	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) {                                                 
ffc1ceb0:	42 00 ff d8 	bdnz+   ffc1ce88 <msdos_dir_read+0x3b8>        <== 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)        
ffc1ceb4:	7d 40 50 f8 	not     r0,r10                                 <== NOT EXECUTED
ffc1ceb8:	7c 00 fe 70 	srawi   r0,r0,31                               <== NOT EXECUTED
ffc1cebc:	7d 4a 00 38 	and     r10,r10,r0                             <== NOT EXECUTED
ffc1cec0:	7d 05 52 14 	add     r8,r5,r10                              <== NOT EXECUTED
ffc1cec4:	7d 6b 52 14 	add     r11,r11,r10                            <== NOT EXECUTED
    while (i-- > 0) {                                                 
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
      len++;                                                          
    }                                                                 
  }                                                                   
  *dst = '\0'; /* terminate string */                                 
ffc1cec8:	99 c8 00 00 	stb     r14,0(r8)                              <== 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(
ffc1cecc:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc1ced0:	b1 61 00 32 	sth     r11,50(r1)                             <== NOT EXECUTED
                else                                                  
                {                                                     
                    tmp_dirent.d_namlen = strlen(tmp_dirent.d_name);  
                }                                                     
                                                                      
                memcpy(buffer + cmpltd, &tmp_dirent, sizeof(struct dirent));
ffc1ced4:	81 01 01 38 	lwz     r8,312(r1)                             <== NOT EXECUTED
ffc1ced8:	38 81 00 20 	addi    r4,r1,32                               <== NOT EXECUTED
ffc1cedc:	38 a0 01 18 	li      r5,280                                 <== NOT EXECUTED
ffc1cee0:	7c 68 da 14 	add     r3,r8,r27                              <== NOT EXECUTED
ffc1cee4:	48 00 11 f9 	bl      ffc1e0dc <memcpy>                      <== NOT EXECUTED
                                                                      
                iop->offset = iop->offset + sizeof(struct dirent);    
ffc1cee8:	81 5e 00 10 	lwz     r10,16(r30)                            <== NOT EXECUTED
ffc1ceec:	81 7e 00 14 	lwz     r11,20(r30)                            <== 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);
ffc1cef0:	80 7e 00 2c 	lwz     r3,44(r30)                             <== 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);    
ffc1cef4:	31 6b 01 18 	addic   r11,r11,280                            <== NOT EXECUTED
ffc1cef8:	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);
ffc1cefc:	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);    
ffc1cf00:	91 5e 00 10 	stw     r10,16(r30)                            <== NOT EXECUTED
ffc1cf04:	91 7e 00 14 	stw     r11,20(r30)                            <== 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);
ffc1cf08:	4b ff 71 dd 	bl      ffc140e4 <fat_file_close>              <== NOT EXECUTED
                if (rc != RC_OK)                                      
ffc1cf0c:	7c 60 1b 79 	mr.     r0,r3                                  <== NOT EXECUTED
ffc1cf10:	40 82 00 10 	bne-    ffc1cf20 <msdos_dir_read+0x450>        <== NOT EXECUTED
                }                                                     
                                                                      
                memcpy(buffer + cmpltd, &tmp_dirent, sizeof(struct dirent));
                                                                      
                iop->offset = iop->offset + sizeof(struct dirent);    
                cmpltd += (sizeof(struct dirent));                    
ffc1cf14:	3b 7b 01 18 	addi    r27,r27,280                            <== NOT EXECUTED
                count -= (sizeof(struct dirent));                     
ffc1cf18:	3a f7 fe e8 	addi    r23,r23,-280                           <== NOT EXECUTED
ffc1cf1c:	48 00 00 18 	b       ffc1cf34 <msdos_dir_read+0x464>        <== NOT EXECUTED
                                                                      
                /* inode number extracted, close fat-file */          
                rc = fat_file_close(iop->pathinfo.mt_entry, tmp_fat_fd);
                if (rc != RC_OK)                                      
                {                                                     
                    rtems_semaphore_release(fs_info->vol_sema);       
ffc1cf20:	80 7f 00 98 	lwz     r3,152(r31)                            <== NOT EXECUTED
ffc1cf24:	90 01 01 3c 	stw     r0,316(r1)                             <== NOT EXECUTED
ffc1cf28:	4b fe ee f5 	bl      ffc0be1c <rtems_semaphore_release>     <== NOT EXECUTED
                    return rc;                                        
ffc1cf2c:	80 01 01 3c 	lwz     r0,316(r1)                             <== NOT EXECUTED
ffc1cf30:	48 00 00 40 	b       ffc1cf70 <msdos_dir_read+0x4a0>        <== NOT EXECUTED
                }                                                     
            }                                                         
                                                                      
            if (count <= 0)                                           
ffc1cf34:	2f 97 00 00 	cmpwi   cr7,r23,0                              <== NOT EXECUTED
ffc1cf38:	40 be 00 0c 	bne+    cr7,ffc1cf44 <msdos_dir_read+0x474>    <== NOT EXECUTED
ffc1cf3c:	48 00 00 1c 	b       ffc1cf58 <msdos_dir_read+0x488>        <== 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;                  
ffc1cf40:	3b a0 ff ff 	li      r29,-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)  
ffc1cf44:	3b 9c 00 20 	addi    r28,r28,32                             <== NOT EXECUTED
ffc1cf48:	48 00 00 08 	b       ffc1cf50 <msdos_dir_read+0x480>        <== NOT EXECUTED
         * directories feature :( - we should count elements currently
         * present in the directory because there may be holes :)     
         */                                                           
        ret = fat_file_read(iop->pathinfo.mt_entry, fat_fd, (j * bts2rd),
                            bts2rd, fs_info->cl_buf);                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
ffc1cf4c:	3b 80 00 00 	li      r28,0                                  <== 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)  
ffc1cf50:	7f 9c 98 40 	cmplw   cr7,r28,r19                            <== NOT EXECUTED
ffc1cf54:	41 9c fc 90 	blt+    cr7,ffc1cbe4 <msdos_dir_read+0x114>    <== NOT EXECUTED
ffc1cf58:	7f 39 a2 14 	add     r25,r25,r20                            <== NOT EXECUTED
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    while (count > 0)                                                 
ffc1cf5c:	2f 97 00 00 	cmpwi   cr7,r23,0                              <== NOT EXECUTED
ffc1cf60:	40 9e fc 44 	bne+    cr7,ffc1cba4 <msdos_dir_read+0xd4>     <== NOT EXECUTED
                break;                                                
        }                                                             
        j++;                                                          
    }                                                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1cf64:	80 7f 00 98 	lwz     r3,152(r31)                            <== NOT EXECUTED
ffc1cf68:	4b fe ee b5 	bl      ffc0be1c <rtems_semaphore_release>     <== NOT EXECUTED
    return cmpltd;                                                    
ffc1cf6c:	7f 60 db 78 	mr      r0,r27                                 <== NOT EXECUTED
}                                                                     
ffc1cf70:	39 61 01 88 	addi    r11,r1,392                             <== NOT EXECUTED
ffc1cf74:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
ffc1cf78:	4b fe 5b 3c 	b       ffc02ab4 <_restgpr_14_x>               <== 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);  
ffc1cf7c:	38 61 00 34 	addi    r3,r1,52                               <== NOT EXECUTED
ffc1cf80:	48 00 1e a5 	bl      ffc1ee24 <strlen>                      <== NOT EXECUTED
ffc1cf84:	b0 61 00 32 	sth     r3,50(r1)                              <== NOT EXECUTED
ffc1cf88:	4b ff ff 4c 	b       ffc1ced4 <msdos_dir_read+0x404>        <== NOT EXECUTED
    *dst++ = tolower((unsigned char)(*src_tmp++));                    
  }                                                                   
  /*                                                                  
   * find last non-blank character of extension                       
   */                                                                 
  for ((i       =                            MSDOS_SHORT_EXT_LEN  ,   
ffc1cf8c:	39 40 00 03 	li      r10,3                                  <== NOT EXECUTED
ffc1cf90:	48 00 00 08 	b       ffc1cf98 <msdos_dir_read+0x4c8>        <== NOT EXECUTED
	src_tmp = src + MSDOS_SHORT_BASE_LEN+MSDOS_SHORT_EXT_LEN-1);         
       ((i > 0) &&                                                    
	(*src_tmp == ' '));                                                  
       i--,src_tmp--)                                                 
ffc1cf94:	39 40 00 02 	li      r10,2                                  <== NOT EXECUTED
    {};                                                               
  /*                                                                  
   * extension is not empty                                           
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
ffc1cf98:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
    len += i + 1; /* extension + dot */                               
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
ffc1cf9c:	80 91 27 ac 	lwz     r4,10156(r17)                          <== NOT EXECUTED
    {};                                                               
  /*                                                                  
   * extension is not empty                                           
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
ffc1cfa0:	7c e5 02 14 	add     r7,r5,r0                               <== NOT EXECUTED
    len += i + 1; /* extension + dot */                               
ffc1cfa4:	38 0a 00 01 	addi    r0,r10,1                               <== NOT EXECUTED
    {};                                                               
  /*                                                                  
   * extension is not empty                                           
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
ffc1cfa8:	99 e7 00 2c 	stb     r15,44(r7)                             <== NOT EXECUTED
ffc1cfac:	38 a8 00 01 	addi    r5,r8,1                                <== NOT EXECUTED
    len += i + 1; /* extension + dot */                               
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
ffc1cfb0:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
  /*                                                                  
   * extension is not empty                                           
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
    len += i + 1; /* extension + dot */                               
ffc1cfb4:	7d 6b 02 14 	add     r11,r11,r0                             <== NOT EXECUTED
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
ffc1cfb8:	38 e0 00 00 	li      r7,0                                   <== NOT EXECUTED
ffc1cfbc:	4b ff fe f4 	b       ffc1ceb0 <msdos_dir_read+0x3e0>        <== NOT EXECUTED
                                                                      

ffc1d134 <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) {
ffc1d134:	94 21 ff d8 	stwu    r1,-40(r1)                             <== NOT EXECUTED
ffc1d138:	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,        
ffc1d13c:	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)            
{                                                                     
ffc1d140:	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;                              
ffc1d144:	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;          
ffc1d148:	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)            
{                                                                     
ffc1d14c:	bf 81 00 18 	stmw    r28,24(r1)                             <== NOT EXECUTED
ffc1d150:	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 = pathloc->mt_entry->fs_info;          
ffc1d154:	83 e9 00 34 	lwz     r31,52(r9)                             <== NOT EXECUTED
    fat_file_fd_t     *fat_fd = pathloc->node_access;                 
ffc1d158:	83 a4 00 00 	lwz     r29,0(r4)                              <== NOT EXECUTED
    bool               is_empty = false;                              
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1d15c:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1d160:	80 7f 00 98 	lwz     r3,152(r31)                            <== 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;                              
ffc1d164:	98 01 00 08 	stb     r0,8(r1)                               <== NOT EXECUTED
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1d168:	4b fe eb 89 	bl      ffc0bcf0 <rtems_semaphore_obtain>      <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1d16c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1d170:	41 be 00 10 	beq+    cr7,ffc1d180 <msdos_dir_rmnod+0x4c>    <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc1d174:	48 00 01 35 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc1d178:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1d17c:	48 00 00 20 	b       ffc1d19c <msdos_dir_rmnod+0x68>        <== 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)                                        
ffc1d180:	80 1d 00 08 	lwz     r0,8(r29)                              <== NOT EXECUTED
ffc1d184:	2b 80 00 01 	cmplwi  cr7,r0,1                               <== NOT EXECUTED
ffc1d188:	40 bd 00 20 	ble+    cr7,ffc1d1a8 <msdos_dir_rmnod+0x74>    <== NOT EXECUTED
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
ffc1d18c:	80 7f 00 98 	lwz     r3,152(r31)                            <== NOT EXECUTED
ffc1d190:	4b fe ec 8d 	bl      ffc0be1c <rtems_semaphore_release>     <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EBUSY);                  
ffc1d194:	48 00 01 15 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc1d198:	38 00 00 10 	li      r0,16                                  <== NOT EXECUTED
ffc1d19c:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1d1a0:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc1d1a4:	48 00 00 78 	b       ffc1d21c <msdos_dir_rmnod+0xe8>        <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * You cannot remove a node that still has children               
     */                                                               
    rc = msdos_dir_is_empty(pathloc->mt_entry, fat_fd, &is_empty);    
ffc1d1a8:	80 7e 00 10 	lwz     r3,16(r30)                             <== NOT EXECUTED
ffc1d1ac:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc1d1b0:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc1d1b4:	4b ff d3 4d 	bl      ffc1a500 <msdos_dir_is_empty>          <== NOT EXECUTED
    if (rc != RC_OK)                                                  
ffc1d1b8:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc1d1bc:	40 82 00 58 	bne-    ffc1d214 <msdos_dir_rmnod+0xe0>        <== NOT EXECUTED
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
    }                                                                 
                                                                      
    if (!is_empty)                                                    
ffc1d1c0:	88 01 00 08 	lbz     r0,8(r1)                               <== NOT EXECUTED
ffc1d1c4:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1d1c8:	40 be 00 18 	bne+    cr7,ffc1d1e0 <msdos_dir_rmnod+0xac>    <== NOT EXECUTED
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
ffc1d1cc:	80 7f 00 98 	lwz     r3,152(r31)                            <== NOT EXECUTED
ffc1d1d0:	4b fe ec 4d 	bl      ffc0be1c <rtems_semaphore_release>     <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(ENOTEMPTY);              
ffc1d1d4:	48 00 00 d5 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc1d1d8:	38 00 00 5a 	li      r0,90                                  <== NOT EXECUTED
ffc1d1dc:	4b ff ff c0 	b       ffc1d19c <msdos_dir_rmnod+0x68>        <== NOT EXECUTED
ffc1d1e0:	80 7e 00 10 	lwz     r3,16(r30)                             <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * You cannot remove the file system root node.                   
     */                                                               
    if (rtems_filesystem_is_root_location(pathloc))                   
ffc1d1e4:	80 1e 00 00 	lwz     r0,0(r30)                              <== NOT EXECUTED
ffc1d1e8:	81 23 00 1c 	lwz     r9,28(r3)                              <== NOT EXECUTED
ffc1d1ec:	7f 89 00 00 	cmpw    cr7,r9,r0                              <== NOT EXECUTED
ffc1d1f0:	41 be ff 9c 	beq-    cr7,ffc1d18c <msdos_dir_rmnod+0x58>    <== 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,
ffc1d1f4:	38 9d 00 20 	addi    r4,r29,32                              <== NOT EXECUTED
ffc1d1f8:	38 a0 00 e5 	li      r5,229                                 <== NOT EXECUTED
ffc1d1fc:	4b ff d1 e1 	bl      ffc1a3dc <msdos_set_first_char4file_name><== NOT EXECUTED
                                        MSDOS_THIS_DIR_ENTRY_EMPTY);  
    if (rc != RC_OK)                                                  
ffc1d200:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc1d204:	40 82 00 10 	bne-    ffc1d214 <msdos_dir_rmnod+0xe0>        <== NOT EXECUTED
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
    }                                                                 
                                                                      
    fat_file_mark_removed(pathloc->mt_entry, fat_fd);                 
ffc1d208:	80 7e 00 10 	lwz     r3,16(r30)                             <== NOT EXECUTED
ffc1d20c:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc1d210:	4b ff 74 59 	bl      ffc14668 <fat_file_mark_removed>       <== NOT EXECUTED
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1d214:	80 7f 00 98 	lwz     r3,152(r31)                            <== NOT EXECUTED
ffc1d218:	4b fe ec 05 	bl      ffc0be1c <rtems_semaphore_release>     <== NOT EXECUTED
    return rc;                                                        
}                                                                     
ffc1d21c:	39 61 00 28 	addi    r11,r1,40                              <== NOT EXECUTED
ffc1d220:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1d224:	4b fe 58 c8 	b       ffc02aec <_restgpr_28_x>               <== NOT EXECUTED
                                                                      

ffc1d008 <msdos_dir_stat>: int msdos_dir_stat( rtems_filesystem_location_info_t *loc, struct stat *buf ) {
ffc1d008:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1d00c:	7c 08 02 a6 	mflr    r0                                     
    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,        
ffc1d010:	38 a0 00 00 	li      r5,0                                   
int                                                                   
msdos_dir_stat(                                                       
    rtems_filesystem_location_info_t *loc,                            
    struct stat                      *buf                             
    )                                                                 
{                                                                     
ffc1d014:	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;              
ffc1d018:	81 23 00 10 	lwz     r9,16(r3)                              
int                                                                   
msdos_dir_stat(                                                       
    rtems_filesystem_location_info_t *loc,                            
    struct stat                      *buf                             
    )                                                                 
{                                                                     
ffc1d01c:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc1d020:	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,        
ffc1d024:	38 80 00 00 	li      r4,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;              
ffc1d028:	83 c9 00 34 	lwz     r30,52(r9)                             
    fat_file_fd_t     *fat_fd = loc->node_access;                     
ffc1d02c:	83 a3 00 00 	lwz     r29,0(r3)                              
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1d030:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc1d034:	4b fe ec bd 	bl      ffc0bcf0 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1d038:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1d03c:	41 a2 00 18 	beq+    ffc1d054 <msdos_dir_stat+0x4c>         <== ALWAYS TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc1d040:	48 00 02 69 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc1d044:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1d048:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1d04c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1d050:	48 00 00 64 	b       ffc1d0b4 <msdos_dir_stat+0xac>         <== NOT EXECUTED
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
    buf->st_ino = fat_fd->ino;                                        
ffc1d054:	80 1d 00 0c 	lwz     r0,12(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;                               
ffc1d058:	81 5e 00 58 	lwz     r10,88(r30)                            
ffc1d05c:	81 7e 00 5c 	lwz     r11,92(r30)                            
    buf->st_ino = fat_fd->ino;                                        
ffc1d060:	90 1f 00 08 	stw     r0,8(r31)                              
    buf->st_mode  = S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO;            
ffc1d064:	38 00 41 ff 	li      r0,16895                               
ffc1d068:	90 1f 00 0c 	stw     r0,12(r31)                             
    buf->st_rdev = 0ll;                                               
    buf->st_size = fat_fd->fat_file_size;                             
ffc1d06c:	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;                               
ffc1d070:	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;                                               
ffc1d074:	39 40 00 00 	li      r10,0                                  
    buf->st_size = fat_fd->fat_file_size;                             
ffc1d078:	90 1f 00 24 	stw     r0,36(r31)                             
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
ffc1d07c:	54 00 ba 7e 	rlwinm  r0,r0,23,9,31                          
ffc1d080:	90 1f 00 44 	stw     r0,68(r31)                             
    buf->st_blksize = fs_info->fat.vol.bps;                           
ffc1d084:	a0 1e 00 00 	lhz     r0,0(r30)                              
    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;                               
ffc1d088:	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;            
    buf->st_rdev = 0ll;                                               
ffc1d08c:	39 60 00 00 	li      r11,0                                  
    buf->st_size = fat_fd->fat_file_size;                             
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
    buf->st_blksize = fs_info->fat.vol.bps;                           
ffc1d090:	90 1f 00 40 	stw     r0,64(r31)                             
    buf->st_mtime = fat_fd->mtime;                                    
ffc1d094:	80 1d 00 40 	lwz     r0,64(r29)                             
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
    buf->st_size = fat_fd->fat_file_size;                             
ffc1d098:	90 7f 00 20 	stw     r3,32(r31)                             
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
ffc1d09c:	91 5f 00 18 	stw     r10,24(r31)                            
ffc1d0a0:	91 7f 00 1c 	stw     r11,28(r31)                            
    buf->st_size = fat_fd->fat_file_size;                             
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
    buf->st_blksize = fs_info->fat.vol.bps;                           
    buf->st_mtime = fat_fd->mtime;                                    
ffc1d0a4:	90 1f 00 30 	stw     r0,48(r31)                             
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1d0a8:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc1d0ac:	4b fe ed 71 	bl      ffc0be1c <rtems_semaphore_release>     
    return RC_OK;                                                     
ffc1d0b0:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1d0b4:	39 61 00 18 	addi    r11,r1,24                              
ffc1d0b8:	4b fe 5a 38 	b       ffc02af0 <_restgpr_29_x>               
                                                                      

ffc1d0bc <msdos_dir_sync>: * RETURNS: * RC_OK on success, or -1 if error occured (errno set apropriately). */ int msdos_dir_sync(rtems_libio_t *iop) {
ffc1d0bc:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc1d0c0:	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,        
ffc1d0c4:	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)                                    
{                                                                     
ffc1d0c8:	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,        
ffc1d0cc:	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;     
ffc1d0d0:	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)                                    
{                                                                     
ffc1d0d4:	bf a1 00 0c 	stmw    r29,12(r1)                             <== NOT EXECUTED
ffc1d0d8:	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;     
ffc1d0dc:	83 c9 00 34 	lwz     r30,52(r9)                             <== NOT EXECUTED
int                                                                   
msdos_dir_sync(rtems_libio_t *iop)                                    
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
ffc1d0e0:	83 a3 00 1c 	lwz     r29,28(r3)                             <== NOT EXECUTED
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1d0e4:	80 7e 00 98 	lwz     r3,152(r30)                            <== NOT EXECUTED
ffc1d0e8:	4b fe ec 09 	bl      ffc0bcf0 <rtems_semaphore_obtain>      <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1d0ec:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1d0f0:	41 be 00 18 	beq+    cr7,ffc1d108 <msdos_dir_sync+0x4c>     <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc1d0f4:	48 00 01 b5 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc1d0f8:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1d0fc:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1d100:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc1d104:	48 00 00 1c 	b       ffc1d120 <msdos_dir_sync+0x64>         <== NOT EXECUTED
                                                                      
    rc = fat_file_datasync(iop->pathinfo.mt_entry, fat_fd);           
ffc1d108:	80 7f 00 2c 	lwz     r3,44(r31)                             <== NOT EXECUTED
ffc1d10c:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc1d110:	4b ff 75 b1 	bl      ffc146c0 <fat_file_datasync>           <== NOT EXECUTED
ffc1d114:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1d118:	80 7e 00 98 	lwz     r3,152(r30)                            <== NOT EXECUTED
ffc1d11c:	4b fe ed 01 	bl      ffc0be1c <rtems_semaphore_release>     <== NOT EXECUTED
    return rc;                                                        
}                                                                     
ffc1d120:	39 61 00 18 	addi    r11,r1,24                              <== NOT EXECUTED
ffc1d124:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1d128:	4b fe 59 c8 	b       ffc02af0 <_restgpr_29_x>               <== NOT EXECUTED
                                                                      

ffc193f4 <msdos_eval4make>: msdos_eval4make( const char *path, rtems_filesystem_location_info_t *pathloc, const char **name ) {
ffc193f4:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc193f8:	7c 08 02 a6 	mflr    r0                                     
ffc193fc:	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;
ffc19400:	81 24 00 10 	lwz     r9,16(r4)                              
msdos_eval4make(                                                      
    const char                         *path,                         
    rtems_filesystem_location_info_t   *pathloc,                      
    const char                        **name                          
    )                                                                 
{                                                                     
ffc19404:	be c1 00 28 	stmw    r22,40(r1)                             
ffc19408:	7c 7c 1b 78 	mr      r28,r3                                 
ffc1940c:	7c 9f 23 78 	mr      r31,r4                                 
    int                               rc = RC_OK;                     
    rtems_status_code                 sc = RTEMS_SUCCESSFUL;          
    msdos_fs_info_t                  *fs_info = pathloc->mt_entry->fs_info;
ffc19410:	83 a9 00 34 	lwz     r29,52(r9)                             
msdos_eval4make(                                                      
    const char                         *path,                         
    rtems_filesystem_location_info_t   *pathloc,                      
    const char                        **name                          
    )                                                                 
{                                                                     
ffc19414:	7c bb 2b 78 	mr      r27,r5                                 
    int                               i = 0;                          
    int                               token_len;                      
    const char                       *token;                          
    bool                              done = false;                   
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc19418:	38 80 00 00 	li      r4,0                                   
ffc1941c:	80 7d 00 98 	lwz     r3,152(r29)                            
ffc19420:	38 a0 00 00 	li      r5,0                                   
ffc19424:	4b ff 28 cd 	bl      ffc0bcf0 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc19428:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1942c:	41 be 00 18 	beq+    cr7,ffc19444 <msdos_eval4make+0x50>    <== ALWAYS TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc19430:	48 00 3e 79 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc19434:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc19438:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1943c:	3b 40 ff ff 	li      r26,-1                                 <== NOT EXECUTED
ffc19440:	48 00 02 1c 	b       ffc1965c <msdos_eval4make+0x268>       <== NOT EXECUTED
                                                                      
    if (!pathloc->node_access)                                        
ffc19444:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc19448:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1944c:	40 be 00 18 	bne+    cr7,ffc19464 <msdos_eval4make+0x70>    <== ALWAYS TAKEN
    {                                                                 
        errno = ENOENT;                                               
ffc19450:	48 00 3e 59 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc19454:	38 00 00 02 	li      r0,2                                   <== NOT EXECUTED
ffc19458:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
        rc = -1;                                                      
ffc1945c:	3b 40 ff ff 	li      r26,-1                                 <== NOT EXECUTED
        goto err;                                                     
ffc19460:	48 00 01 f4 	b       ffc19654 <msdos_eval4make+0x260>       <== NOT EXECUTED
    }                                                                 
                                                                      
    fat_fd = pathloc->node_access;                                    
                                                                      
    rc = fat_file_reopen(fat_fd);                                     
ffc19464:	4b ff a9 9d 	bl      ffc13e00 <fat_file_reopen>             
    if (rc != RC_OK)                                                  
ffc19468:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc1946c:	40 82 01 e8 	bne-    ffc19654 <msdos_eval4make+0x260>       <== NEVER TAKEN
ffc19470:	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)            
ffc19474:	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);
ffc19478:	7f 1c f2 14 	add     r24,r28,r30                            
ffc1947c:	7f 03 c3 78 	mr      r3,r24                                 
ffc19480:	48 00 59 a5 	bl      ffc1ee24 <strlen>                      
ffc19484:	38 a1 00 08 	addi    r5,r1,8                                
ffc19488:	7c 64 1b 78 	mr      r4,r3                                  
ffc1948c:	38 c1 00 0c 	addi    r6,r1,12                               
ffc19490:	7f 03 c3 78 	mr      r3,r24                                 
ffc19494:	48 00 0c 09 	bl      ffc1a09c <msdos_get_token>             
        i += token_len;                                               
ffc19498:	80 a1 00 0c 	lwz     r5,12(r1)                              
        fat_fd = pathloc->node_access;                                
                                                                      
        switch (type)                                                 
ffc1949c:	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;                                
ffc194a0:	83 1f 00 00 	lwz     r24,0(r31)                             
    if (rc != RC_OK)                                                  
        goto err;                                                     
                                                                      
    while (!done)                                                     
    {                                                                 
        type = msdos_get_token(&path[i], strlen(&path[i]), &token, &token_len);
ffc194a4:	7c 77 1b 78 	mr      r23,r3                                 
        i += token_len;                                               
ffc194a8:	7f de 2a 14 	add     r30,r30,r5                             
        fat_fd = pathloc->node_access;                                
                                                                      
        switch (type)                                                 
ffc194ac:	41 9e 00 2c 	beq-    cr7,ffc194d8 <msdos_eval4make+0xe4>    
ffc194b0:	2b 83 00 02 	cmplwi  cr7,r3,2                               
ffc194b4:	41 9d 00 10 	bgt-    cr7,ffc194c4 <msdos_eval4make+0xd0>    
ffc194b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc194bc:	41 9e 01 00 	beq-    cr7,ffc195bc <msdos_eval4make+0x1c8>   
ffc194c0:	4b ff ff b8 	b       ffc19478 <msdos_eval4make+0x84>        
ffc194c4:	2f 83 00 03 	cmpwi   cr7,r3,3                               
ffc194c8:	41 9e 00 c8 	beq-    cr7,ffc19590 <msdos_eval4make+0x19c>   <== ALWAYS TAKEN
ffc194cc:	2f 83 00 04 	cmpwi   cr7,r3,4                               <== NOT EXECUTED
ffc194d0:	40 9e ff a8 	bne+    cr7,ffc19478 <msdos_eval4make+0x84>    <== NOT EXECUTED
ffc194d4:	48 00 00 f4 	b       ffc195c8 <msdos_eval4make+0x1d4>       <== NOT EXECUTED
        {                                                             
            case MSDOS_UP_DIR:                                        
                /*                                                    
                 *  Only a directory can be decended into.            
                 */                                                   
                if (fat_fd->fat_file_type != FAT_DIRECTORY)           
ffc194d8:	80 18 00 10 	lwz     r0,16(r24)                             
ffc194dc:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc194e0:	40 9e 01 40 	bne-    cr7,ffc19620 <msdos_eval4make+0x22c>   <== NEVER TAKEN
ffc194e4:	80 9f 00 10 	lwz     r4,16(r31)                             
ffc194e8:	80 04 00 1c 	lwz     r0,28(r4)                              
                }                                                     
                                                                      
                /*                                                    
                 *  Am I at the root of this mounted filesystem?      
                 */                                                   
                if (rtems_filesystem_is_root_location(pathloc))       
ffc194ec:	7f 80 c0 00 	cmpw    cr7,r0,r24                             
ffc194f0:	40 be 00 74 	bne+    cr7,ffc19564 <msdos_eval4make+0x170>   <== NEVER TAKEN
                    /*                                                
                     *  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)            
ffc194f4:	81 39 27 9c 	lwz     r9,10140(r25)                          
                {                                                     
                    /*                                                
                     *  Am I at the root of all filesystems?          
                     *  XXX: MSDOS is not supposed to be base fs.     
                     */                                               
                    if (pathloc->node_access ==                       
ffc194f8:	81 29 00 18 	lwz     r9,24(r9)                              
ffc194fc:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc19500:	41 9e ff 78 	beq+    cr7,ffc19478 <msdos_eval4make+0x84>    <== ALWAYS TAKEN
                    {                                                 
                        break;       /* Throw out the .. in this case */
                    }                                                 
                    else                                              
                    {                                                 
                        newloc = pathloc->mt_entry->mt_point_node;    
ffc19504:	39 61 00 10 	addi    r11,r1,16                              <== NOT EXECUTED
ffc19508:	38 84 00 08 	addi    r4,r4,8                                <== NOT EXECUTED
ffc1950c:	7c a4 a4 aa 	lswi    r5,r4,20                               <== NOT EXECUTED
ffc19510:	7c ab a5 aa 	stswi   r5,r11,20                              <== NOT EXECUTED
                        *pathloc = newloc;                            
                                                                      
                        rc = fat_file_close(pathloc->mt_entry, fat_fd);
ffc19514:	7c 04 03 78 	mr      r4,r0                                  <== NOT EXECUTED
                        break;       /* Throw out the .. in this case */
                    }                                                 
                    else                                              
                    {                                                 
                        newloc = pathloc->mt_entry->mt_point_node;    
                        *pathloc = newloc;                            
ffc19518:	7c ab a4 aa 	lswi    r5,r11,20                              <== NOT EXECUTED
ffc1951c:	7c bf a5 aa 	stswi   r5,r31,20                              <== NOT EXECUTED
                                                                      
                        rc = fat_file_close(pathloc->mt_entry, fat_fd);
ffc19520:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc19524:	4b ff ab c1 	bl      ffc140e4 <fat_file_close>              <== NOT EXECUTED
                        if (rc != RC_OK)                              
ffc19528:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
ffc1952c:	40 a2 01 28 	bne+    ffc19654 <msdos_eval4make+0x260>       <== NOT EXECUTED
                            goto err;                                 
                                                                      
                        rtems_semaphore_release(fs_info->vol_sema);   
ffc19530:	80 7d 00 98 	lwz     r3,152(r29)                            <== NOT EXECUTED
ffc19534:	4b ff 28 e9 	bl      ffc0be1c <rtems_semaphore_release>     <== NOT EXECUTED
                        return (*pathloc->ops->evalformake_h)(&path[i-token_len],
ffc19538:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc1953c:	81 3f 00 0c 	lwz     r9,12(r31)                             <== NOT EXECUTED
ffc19540:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc19544:	7f c0 f0 50 	subf    r30,r0,r30                             <== NOT EXECUTED
ffc19548:	80 09 00 04 	lwz     r0,4(r9)                               <== NOT EXECUTED
ffc1954c:	7c 7c f2 14 	add     r3,r28,r30                             <== NOT EXECUTED
ffc19550:	7f 65 db 78 	mr      r5,r27                                 <== NOT EXECUTED
ffc19554:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc19558:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc1955c:	7c 7a 1b 78 	mr      r26,r3                                 <== NOT EXECUTED
ffc19560:	48 00 00 fc 	b       ffc1965c <msdos_eval4make+0x268>       <== NOT EXECUTED
                                                              pathloc, name);
                    }                                                 
                }                                                     
                else                                                  
                {                                                     
                    rc = msdos_find_name(pathloc, token, token_len);  
ffc19564:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc19568:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1956c:	48 00 1d f5 	bl      ffc1b360 <msdos_find_name>             <== NOT EXECUTED
                    if (rc != RC_OK)                                  
ffc19570:	7c 76 1b 79 	mr.     r22,r3                                 <== NOT EXECUTED
ffc19574:	41 82 ff 04 	beq+    ffc19478 <msdos_eval4make+0x84>        <== NOT EXECUTED
                    {                                                 
                        if (rc == MSDOS_NAME_NOT_FOUND_ERR)           
ffc19578:	2f 96 7d 01 	cmpwi   cr7,r22,32001                          <== NOT EXECUTED
ffc1957c:	40 be 00 c8 	bne+    cr7,ffc19644 <msdos_eval4make+0x250>   <== NOT EXECUTED
                        {                                             
                            errno = ENOENT;                           
ffc19580:	48 00 3d 29 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc19584:	92 e3 00 00 	stw     r23,0(r3)                              <== NOT EXECUTED
                            rc = -1;                                  
ffc19588:	3a c0 ff ff 	li      r22,-1                                 
ffc1958c:	48 00 00 b8 	b       ffc19644 <msdos_eval4make+0x250>       
                                                                      
            case MSDOS_NAME:                                          
                /*                                                    
                 *  Only a directory can be decended into.            
                 */                                                   
                if (fat_fd->fat_file_type != FAT_DIRECTORY)           
ffc19590:	80 18 00 10 	lwz     r0,16(r24)                             
ffc19594:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc19598:	40 9e 00 88 	bne-    cr7,ffc19620 <msdos_eval4make+0x22c>   
                                                                      
                /*                                                    
                 * 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);      
ffc1959c:	80 81 00 08 	lwz     r4,8(r1)                               
ffc195a0:	7f e3 fb 78 	mr      r3,r31                                 
ffc195a4:	48 00 1d bd 	bl      ffc1b360 <msdos_find_name>             
                if (rc)                                               
ffc195a8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc195ac:	41 a2 fe cc 	beq-    ffc19478 <msdos_eval4make+0x84>        
                {                                                     
                    if (rc != MSDOS_NAME_NOT_FOUND_ERR)               
ffc195b0:	2f 83 7d 01 	cmpwi   cr7,r3,32001                           
ffc195b4:	41 be 00 20 	beq+    cr7,ffc195d4 <msdos_eval4make+0x1e0>   <== ALWAYS TAKEN
ffc195b8:	48 00 00 3c 	b       ffc195f4 <msdos_eval4make+0x200>       <== NOT EXECUTED
                        done = true;                                  
                }                                                     
                break;                                                
                                                                      
            case MSDOS_NO_MORE_PATH:                                  
                errno = EEXIST;                                       
ffc195bc:	48 00 3c ed 	bl      ffc1d2a8 <__errno>                     
ffc195c0:	38 00 00 11 	li      r0,17                                  
ffc195c4:	48 00 00 64 	b       ffc19628 <msdos_eval4make+0x234>       
                                                                      
            case MSDOS_CURRENT_DIR:                                   
                break;                                                
                                                                      
            case MSDOS_INVALID_TOKEN:                                 
                errno = ENAMETOOLONG;                                 
ffc195c8:	48 00 3c e1 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc195cc:	38 00 00 5b 	li      r0,91                                  <== NOT EXECUTED
ffc195d0:	48 00 00 58 	b       ffc19628 <msdos_eval4make+0x234>       <== NOT EXECUTED
                break;                                                
                                                                      
        }                                                             
    }                                                                 
                                                                      
    *name = &path[i - token_len];                                     
ffc195d4:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc195d8:	7c 00 f0 50 	subf    r0,r0,r30                              
ffc195dc:	7c 1c 02 14 	add     r0,r28,r0                              
ffc195e0:	90 1b 00 00 	stw     r0,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++)                                      
ffc195e4:	48 00 00 20 	b       ffc19604 <msdos_eval4make+0x210>       
    {                                                                 
        if (!msdos_is_separator(path[i]))                             
ffc195e8:	4b fe fc 0d 	bl      ffc091f4 <rtems_filesystem_is_separator>
ffc195ec:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc195f0:	40 be 00 10 	bne+    cr7,ffc19600 <msdos_eval4make+0x20c>   
        {                                                             
            errno = ENOENT;                                           
ffc195f4:	48 00 3c b5 	bl      ffc1d2a8 <__errno>                     
ffc195f8:	38 00 00 02 	li      r0,2                                   
ffc195fc:	48 00 00 2c 	b       ffc19628 <msdos_eval4make+0x234>       
                                                                      
    /*                                                                
     * 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++)                                      
ffc19600:	3b de 00 01 	addi    r30,r30,1                              
ffc19604:	7c 7c f0 ae 	lbzx    r3,r28,r30                             
ffc19608:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1960c:	40 9e ff dc 	bne+    cr7,ffc195e8 <msdos_eval4make+0x1f4>   
            rc = -1;                                                  
            goto error;                                               
        }                                                             
    }                                                                 
                                                                      
    fat_fd = pathloc->node_access;                                    
ffc19610:	83 1f 00 00 	lwz     r24,0(r31)                             
                                                                      
    if (fat_fd->fat_file_type != FAT_DIRECTORY)                       
ffc19614:	80 18 00 10 	lwz     r0,16(r24)                             
ffc19618:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc1961c:	41 9e 00 14 	beq-    cr7,ffc19630 <msdos_eval4make+0x23c>   <== ALWAYS TAKEN
    {                                                                 
        errno = ENOTDIR;                                              
ffc19620:	48 00 3c 89 	bl      ffc1d2a8 <__errno>                     
ffc19624:	38 00 00 14 	li      r0,20                                  
ffc19628:	90 03 00 00 	stw     r0,0(r3)                               
ffc1962c:	4b ff ff 5c 	b       ffc19588 <msdos_eval4make+0x194>       
 *     None                                                           
 */                                                                   
static void                                                           
msdos_set_handlers(rtems_filesystem_location_info_t *loc)             
{                                                                     
    msdos_fs_info_t *fs_info = loc->mt_entry->fs_info;                
ffc19630:	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)                       
        loc->handlers = fs_info->directory_handlers;                  
ffc19634:	81 29 00 34 	lwz     r9,52(r9)                              
ffc19638:	80 09 00 90 	lwz     r0,144(r9)                             
ffc1963c:	90 1f 00 08 	stw     r0,8(r31)                              
ffc19640:	48 00 00 14 	b       ffc19654 <msdos_eval4make+0x260>       
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
    return RC_OK;                                                     
                                                                      
error:                                                                
    fat_file_close(pathloc->mt_entry, fat_fd);                        
ffc19644:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc19648:	7f 04 c3 78 	mr      r4,r24                                 
ffc1964c:	7e da b3 78 	mr      r26,r22                                
ffc19650:	4b ff aa 95 	bl      ffc140e4 <fat_file_close>              
                                                                      
err:                                                                  
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc19654:	80 7d 00 98 	lwz     r3,152(r29)                            
ffc19658:	4b ff 27 c5 	bl      ffc0be1c <rtems_semaphore_release>     
    return rc;                                                        
}                                                                     
ffc1965c:	39 61 00 50 	addi    r11,r1,80                              
ffc19660:	7f 43 d3 78 	mr      r3,r26                                 
ffc19664:	4b fe 94 70 	b       ffc02ad4 <_restgpr_22_x>               
                                                                      

ffc191bc <msdos_eval_path>: const char *pathname, size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc ) {
ffc191bc:	94 21 ff a8 	stwu    r1,-88(r1)                             
ffc191c0:	7c 08 02 a6 	mflr    r0                                     
ffc191c4:	90 01 00 5c 	stw     r0,92(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;                  
ffc191c8:	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;
ffc191cc:	81 26 00 10 	lwz     r9,16(r6)                              
    const char                        *pathname,                      
    size_t                             pathnamelen,                   
    int                                flags,                         
    rtems_filesystem_location_info_t  *pathloc                        
    )                                                                 
{                                                                     
ffc191d0:	be a1 00 2c 	stmw    r21,44(r1)                             
ffc191d4:	7c 7b 1b 78 	mr      r27,r3                                 
ffc191d8:	7c 9d 23 78 	mr      r29,r4                                 
    int                               rc = RC_OK;                     
    rtems_status_code                 sc = RTEMS_SUCCESSFUL;          
    msdos_fs_info_t                  *fs_info = pathloc->mt_entry->fs_info;
ffc191dc:	83 c9 00 34 	lwz     r30,52(r9)                             
    const char                        *pathname,                      
    size_t                             pathnamelen,                   
    int                                flags,                         
    rtems_filesystem_location_info_t  *pathloc                        
    )                                                                 
{                                                                     
ffc191e0:	7c ba 2b 78 	mr      r26,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,        
ffc191e4:	38 80 00 00 	li      r4,0                                   
    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;                  
ffc191e8:	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,        
ffc191ec:	38 a0 00 00 	li      r5,0                                   
ffc191f0:	80 7e 00 98 	lwz     r3,152(r30)                            
    const char                        *pathname,                      
    size_t                             pathnamelen,                   
    int                                flags,                         
    rtems_filesystem_location_info_t  *pathloc                        
    )                                                                 
{                                                                     
ffc191f4:	7c df 33 78 	mr      r31,r6                                 
    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,        
ffc191f8:	4b ff 2a f9 	bl      ffc0bcf0 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc191fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc19200:	41 be 00 18 	beq+    cr7,ffc19218 <msdos_eval_path+0x5c>    <== ALWAYS TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc19204:	48 00 40 a5 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc19208:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1920c:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc19210:	3b 20 ff ff 	li      r25,-1                                 <== NOT EXECUTED
ffc19214:	48 00 01 d4 	b       ffc193e8 <msdos_eval_path+0x22c>       <== NOT EXECUTED
                                                                      
    if (!pathloc->node_access)                                        
ffc19218:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc1921c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc19220:	40 be 00 18 	bne+    cr7,ffc19238 <msdos_eval_path+0x7c>    <== ALWAYS TAKEN
    {                                                                 
        errno = ENOENT;                                               
ffc19224:	48 00 40 85 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc19228:	38 00 00 02 	li      r0,2                                   <== NOT EXECUTED
ffc1922c:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
        rc = -1;                                                      
ffc19230:	3b 20 ff ff 	li      r25,-1                                 <== NOT EXECUTED
        goto err;                                                     
ffc19234:	48 00 01 ac 	b       ffc193e0 <msdos_eval_path+0x224>       <== NOT EXECUTED
    }                                                                 
                                                                      
    fat_fd = pathloc->node_access;                                    
                                                                      
    rc = fat_file_reopen(fat_fd);                                     
ffc19238:	4b ff ab c9 	bl      ffc13e00 <fat_file_reopen>             
    if (rc != RC_OK)                                                  
ffc1923c:	7c 79 1b 79 	mr.     r25,r3                                 
ffc19240:	40 82 01 a0 	bne-    ffc193e0 <msdos_eval_path+0x224>       <== NEVER TAKEN
ffc19244:	3b 80 00 00 	li      r28,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)            
ffc19248:	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);
ffc1924c:	7c 7b e2 14 	add     r3,r27,r28                             
ffc19250:	7f a4 eb 78 	mr      r4,r29                                 
ffc19254:	38 a1 00 08 	addi    r5,r1,8                                
ffc19258:	38 c1 00 0c 	addi    r6,r1,12                               
ffc1925c:	48 00 0e 41 	bl      ffc1a09c <msdos_get_token>             
        pathnamelen -= token_len;                                     
ffc19260:	80 a1 00 0c 	lwz     r5,12(r1)                              
        i += token_len;                                               
                                                                      
        fat_fd = pathloc->node_access;                                
                                                                      
        switch (type)                                                 
ffc19264:	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;                                
ffc19268:	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);
ffc1926c:	7c 77 1b 78 	mr      r23,r3                                 
        pathnamelen -= token_len;                                     
ffc19270:	7f a5 e8 50 	subf    r29,r5,r29                             
        i += token_len;                                               
ffc19274:	7f 9c 2a 14 	add     r28,r28,r5                             
                                                                      
        fat_fd = pathloc->node_access;                                
                                                                      
        switch (type)                                                 
ffc19278:	41 9e 00 d0 	beq-    cr7,ffc19348 <msdos_eval_path+0x18c>   
ffc1927c:	2f 83 00 04 	cmpwi   cr7,r3,4                               
ffc19280:	41 9e 01 08 	beq-    cr7,ffc19388 <msdos_eval_path+0x1cc>   <== NEVER TAKEN
ffc19284:	2f 03 00 02 	cmpwi   cr6,r3,2                               
ffc19288:	40 ba 01 10 	bne+    cr6,ffc19398 <msdos_eval_path+0x1dc>   
        {                                                             
            case MSDOS_UP_DIR:                                        
                /*                                                    
                 *  Only a directory can be decended into.            
                 */                                                   
                if (fat_fd->fat_file_type != FAT_DIRECTORY)           
ffc1928c:	80 16 00 10 	lwz     r0,16(r22)                             
ffc19290:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc19294:	40 9e 00 c0 	bne-    cr7,ffc19354 <msdos_eval_path+0x198>   <== NEVER TAKEN
ffc19298:	80 9f 00 10 	lwz     r4,16(r31)                             
ffc1929c:	80 04 00 1c 	lwz     r0,28(r4)                              
                }                                                     
                                                                      
                /*                                                    
                 *  Am I at the root of this mounted filesystem?      
                 */                                                   
                if (rtems_filesystem_is_root_location(pathloc))       
ffc192a0:	7f 80 b0 00 	cmpw    cr7,r0,r22                             
ffc192a4:	40 be 00 78 	bne+    cr7,ffc1931c <msdos_eval_path+0x160>   <== ALWAYS TAKEN
                    /*                                                
                     *  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)            
ffc192a8:	81 38 27 9c 	lwz     r9,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 ==                       
ffc192ac:	81 29 00 18 	lwz     r9,24(r9)                              <== NOT EXECUTED
ffc192b0:	7f 80 48 00 	cmpw    cr7,r0,r9                              <== NOT EXECUTED
ffc192b4:	41 9e ff 98 	beq+    cr7,ffc1924c <msdos_eval_path+0x90>    <== NOT EXECUTED
                    {                                                 
                        break;       /* Throw out the .. in this case */
                    }                                                 
                    else                                              
                    {                                                 
                        newloc = pathloc->mt_entry->mt_point_node;    
ffc192b8:	39 61 00 10 	addi    r11,r1,16                              <== NOT EXECUTED
ffc192bc:	38 84 00 08 	addi    r4,r4,8                                <== NOT EXECUTED
ffc192c0:	7c a4 a4 aa 	lswi    r5,r4,20                               <== NOT EXECUTED
ffc192c4:	7c ab a5 aa 	stswi   r5,r11,20                              <== NOT EXECUTED
                        *pathloc = newloc;                            
                                                                      
                        rc = fat_file_close(pathloc->mt_entry, fat_fd);
ffc192c8:	7c 04 03 78 	mr      r4,r0                                  <== NOT EXECUTED
                        break;       /* Throw out the .. in this case */
                    }                                                 
                    else                                              
                    {                                                 
                        newloc = pathloc->mt_entry->mt_point_node;    
                        *pathloc = newloc;                            
ffc192cc:	7c ab a4 aa 	lswi    r5,r11,20                              <== NOT EXECUTED
ffc192d0:	7c bf a5 aa 	stswi   r5,r31,20                              <== NOT EXECUTED
                                                                      
                        rc = fat_file_close(pathloc->mt_entry, fat_fd);
ffc192d4:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc192d8:	4b ff ae 0d 	bl      ffc140e4 <fat_file_close>              <== NOT EXECUTED
                        if (rc != RC_OK)                              
ffc192dc:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc192e0:	40 a2 01 00 	bne+    ffc193e0 <msdos_eval_path+0x224>       <== NOT EXECUTED
                            goto err;                                 
                                                                      
                        rtems_semaphore_release(fs_info->vol_sema);   
ffc192e4:	80 7e 00 98 	lwz     r3,152(r30)                            <== NOT EXECUTED
ffc192e8:	4b ff 2b 35 	bl      ffc0be1c <rtems_semaphore_release>     <== NOT EXECUTED
                        return (*pathloc->ops->evalpath_h)(&(pathname[i-token_len]),
ffc192ec:	81 3f 00 0c 	lwz     r9,12(r31)                             <== NOT EXECUTED
ffc192f0:	80 81 00 0c 	lwz     r4,12(r1)                              <== NOT EXECUTED
ffc192f4:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc192f8:	80 09 00 00 	lwz     r0,0(r9)                               <== NOT EXECUTED
ffc192fc:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc19300:	7c 64 e0 50 	subf    r3,r4,r28                              <== NOT EXECUTED
ffc19304:	7c 7b 1a 14 	add     r3,r27,r3                              <== NOT EXECUTED
ffc19308:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc1930c:	7c 9d 22 14 	add     r4,r29,r4                              <== NOT EXECUTED
ffc19310:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc19314:	7c 79 1b 78 	mr      r25,r3                                 <== NOT EXECUTED
ffc19318:	48 00 00 d0 	b       ffc193e8 <msdos_eval_path+0x22c>       <== NOT EXECUTED
                                                           flags, pathloc);
                    }                                                 
                }                                                     
                else                                                  
                {                                                     
                  rc = msdos_find_name(pathloc, token, token_len);    
ffc1931c:	80 81 00 08 	lwz     r4,8(r1)                               
ffc19320:	7f e3 fb 78 	mr      r3,r31                                 
ffc19324:	48 00 20 3d 	bl      ffc1b360 <msdos_find_name>             
                    if (rc != RC_OK)                                  
ffc19328:	7c 75 1b 79 	mr.     r21,r3                                 
ffc1932c:	41 82 ff 20 	beq+    ffc1924c <msdos_eval_path+0x90>        <== ALWAYS TAKEN
                    {                                                 
                        if (rc == MSDOS_NAME_NOT_FOUND_ERR)           
ffc19330:	2f 95 7d 01 	cmpwi   cr7,r21,32001                          <== NOT EXECUTED
ffc19334:	40 be 00 9c 	bne+    cr7,ffc193d0 <msdos_eval_path+0x214>   <== NOT EXECUTED
                        {                                             
                            errno = ENOENT;                           
ffc19338:	48 00 3f 71 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc1933c:	92 e3 00 00 	stw     r23,0(r3)                              <== NOT EXECUTED
                            rc = -1;                                  
ffc19340:	3a a0 ff ff 	li      r21,-1                                 
ffc19344:	48 00 00 8c 	b       ffc193d0 <msdos_eval_path+0x214>       
                                                                      
            case MSDOS_NAME:                                          
                /*                                                    
                 *  Only a directory can be decended into.            
                 */                                                   
                if (fat_fd->fat_file_type != FAT_DIRECTORY)           
ffc19348:	80 16 00 10 	lwz     r0,16(r22)                             
ffc1934c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc19350:	41 be 00 10 	beq+    cr7,ffc19360 <msdos_eval_path+0x1a4>   
                {                                                     
                    errno = ENOTSUP;                                  
ffc19354:	48 00 3f 55 	bl      ffc1d2a8 <__errno>                     
ffc19358:	38 00 00 86 	li      r0,134                                 
ffc1935c:	48 00 00 34 	b       ffc19390 <msdos_eval_path+0x1d4>       
                                                                      
                /*                                                    
                 *  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);      
ffc19360:	80 81 00 08 	lwz     r4,8(r1)                               
ffc19364:	7f e3 fb 78 	mr      r3,r31                                 
ffc19368:	48 00 1f f9 	bl      ffc1b360 <msdos_find_name>             
                if (rc != RC_OK)                                      
ffc1936c:	7c 75 1b 79 	mr.     r21,r3                                 
ffc19370:	41 82 fe dc 	beq+    ffc1924c <msdos_eval_path+0x90>        
                {                                                     
                    if (rc == MSDOS_NAME_NOT_FOUND_ERR)               
ffc19374:	2f 95 7d 01 	cmpwi   cr7,r21,32001                          
ffc19378:	40 be 00 58 	bne+    cr7,ffc193d0 <msdos_eval_path+0x214>   
                    {                                                 
                        errno = ENOENT;                               
ffc1937c:	48 00 3f 2d 	bl      ffc1d2a8 <__errno>                     
ffc19380:	38 00 00 02 	li      r0,2                                   
ffc19384:	48 00 00 0c 	b       ffc19390 <msdos_eval_path+0x1d4>       
            case MSDOS_NO_MORE_PATH:                                  
            case MSDOS_CURRENT_DIR:                                   
                break;                                                
                                                                      
            case MSDOS_INVALID_TOKEN:                                 
                errno = ENAMETOOLONG;                                 
ffc19388:	48 00 3f 21 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc1938c:	38 00 00 5b 	li      r0,91                                  <== NOT EXECUTED
ffc19390:	90 03 00 00 	stw     r0,0(r3)                               
ffc19394:	4b ff ff ac 	b       ffc19340 <msdos_eval_path+0x184>       
                                                                      
    rc = fat_file_reopen(fat_fd);                                     
    if (rc != RC_OK)                                                  
        goto err;                                                     
                                                                      
    while ((type != MSDOS_NO_MORE_PATH) && (type != MSDOS_INVALID_TOKEN))
ffc19398:	2f 03 00 00 	cmpwi   cr6,r3,0                               
ffc1939c:	41 9a 00 08 	beq-    cr6,ffc193a4 <msdos_eval_path+0x1e8>   
ffc193a0:	40 9e fe ac 	bne+    cr7,ffc1924c <msdos_eval_path+0x90>    <== 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)                       
ffc193a4:	81 7f 00 00 	lwz     r11,0(r31)                             
 *     None                                                           
 */                                                                   
static void                                                           
msdos_set_handlers(rtems_filesystem_location_info_t *loc)             
{                                                                     
    msdos_fs_info_t *fs_info = loc->mt_entry->fs_info;                
ffc193a8:	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)                       
ffc193ac:	80 0b 00 10 	lwz     r0,16(r11)                             
 *     None                                                           
 */                                                                   
static void                                                           
msdos_set_handlers(rtems_filesystem_location_info_t *loc)             
{                                                                     
    msdos_fs_info_t *fs_info = loc->mt_entry->fs_info;                
ffc193b0:	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)                       
ffc193b4:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc193b8:	40 be 00 0c 	bne+    cr7,ffc193c4 <msdos_eval_path+0x208>   
        loc->handlers = fs_info->directory_handlers;                  
ffc193bc:	80 09 00 90 	lwz     r0,144(r9)                             
ffc193c0:	48 00 00 08 	b       ffc193c8 <msdos_eval_path+0x20c>       
    else                                                              
        loc->handlers = fs_info->file_handlers;                       
ffc193c4:	80 09 00 94 	lwz     r0,148(r9)                             
ffc193c8:	90 1f 00 08 	stw     r0,8(r31)                              
ffc193cc:	48 00 00 14 	b       ffc193e0 <msdos_eval_path+0x224>       
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
    return RC_OK;                                                     
                                                                      
error:                                                                
    fat_file_close(pathloc->mt_entry, fat_fd);                        
ffc193d0:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc193d4:	7e c4 b3 78 	mr      r4,r22                                 
ffc193d8:	7e b9 ab 78 	mr      r25,r21                                
ffc193dc:	4b ff ad 09 	bl      ffc140e4 <fat_file_close>              
                                                                      
err:                                                                  
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc193e0:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc193e4:	4b ff 2a 39 	bl      ffc0be1c <rtems_semaphore_release>     
    return rc;                                                        
}                                                                     
ffc193e8:	39 61 00 58 	addi    r11,r1,88                              
ffc193ec:	7f 23 cb 78 	mr      r3,r25                                 
ffc193f0:	4b fe 96 e0 	b       ffc02ad0 <_restgpr_21_x>               
                                                                      

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

ffc196fc <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) {
ffc196fc:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc19700:	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,        
ffc19704:	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)                                  
{                                                                     
ffc19708:	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,        
ffc1970c:	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;     
ffc19710:	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)                                  
{                                                                     
ffc19714:	bf 81 00 08 	stmw    r28,8(r1)                              
ffc19718:	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;     
ffc1971c:	83 c9 00 34 	lwz     r30,52(r9)                             
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
ffc19720:	83 a3 00 1c 	lwz     r29,28(r3)                             
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc19724:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc19728:	4b ff 25 c9 	bl      ffc0bcf0 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1972c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc19730:	41 be 00 18 	beq+    cr7,ffc19748 <msdos_file_close+0x4c>   <== ALWAYS TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc19734:	48 00 3b 75 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc19738:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1973c:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc19740:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc19744:	48 00 00 54 	b       ffc19798 <msdos_file_close+0x9c>       <== NOT EXECUTED
                                                                      
    /*                                                                
     * if fat-file descriptor is not marked as "removed", synchronize 
     * size, first cluster number, write time and date fields of the file
     */                                                               
    if (!FAT_FILE_IS_REMOVED(fat_fd))                                 
ffc19748:	88 1d 00 30 	lbz     r0,48(r29)                             
ffc1974c:	70 09 00 01 	andi.   r9,r0,1                                
ffc19750:	40 82 00 30 	bne-    ffc19780 <msdos_file_close+0x84>       <== NEVER TAKEN
ffc19754:	48 00 00 50 	b       ffc197a4 <msdos_file_close+0xa8>       
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
            return rc;                                                
        }                                                             
                                                                      
        rc = msdos_set_file_size(iop->pathinfo.mt_entry, fat_fd);     
ffc19758:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc1975c:	7f a4 eb 78 	mr      r4,r29                                 
ffc19760:	48 00 0b f9 	bl      ffc1a358 <msdos_set_file_size>         
        if (rc != RC_OK)                                              
ffc19764:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc19768:	40 82 00 28 	bne-    ffc19790 <msdos_file_close+0x94>       <== 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);
ffc1976c:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc19770:	7f a4 eb 78 	mr      r4,r29                                 
ffc19774:	48 00 0a 29 	bl      ffc1a19c <msdos_set_dir_wrt_time_and_date>
        if (rc != RC_OK)                                              
ffc19778:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1977c:	40 82 00 14 	bne-    ffc19790 <msdos_file_close+0x94>       <== NEVER TAKEN
            rtems_semaphore_release(fs_info->vol_sema);               
            return rc;                                                
        }                                                             
    }                                                                 
                                                                      
    rc = fat_file_close(iop->pathinfo.mt_entry, fat_fd);              
ffc19780:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc19784:	7f a4 eb 78 	mr      r4,r29                                 
ffc19788:	4b ff a9 5d 	bl      ffc140e4 <fat_file_close>              
ffc1978c:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc19790:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc19794:	4b ff 26 89 	bl      ffc0be1c <rtems_semaphore_release>     
    return rc;                                                        
}                                                                     
ffc19798:	39 61 00 18 	addi    r11,r1,24                              
ffc1979c:	7f 83 e3 78 	mr      r3,r28                                 
ffc197a0:	4b fe 93 4c 	b       ffc02aec <_restgpr_28_x>               
     * 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);
ffc197a4:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc197a8:	7f a4 eb 78 	mr      r4,r29                                 
ffc197ac:	48 00 0a e1 	bl      ffc1a28c <msdos_set_first_cluster_num> 
        if (rc != RC_OK)                                              
ffc197b0:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc197b4:	41 82 ff a4 	beq+    ffc19758 <msdos_file_close+0x5c>       <== ALWAYS TAKEN
ffc197b8:	4b ff ff d8 	b       ffc19790 <msdos_file_close+0x94>       <== NOT EXECUTED
                                                                      

ffc19c58 <msdos_file_datasync>: * RETURNS: * RC_OK on success, or -1 if error occured (errno set appropriately) */ int msdos_file_datasync(rtems_libio_t *iop) {
ffc19c58:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc19c5c:	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,        
ffc19c60:	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)                               
{                                                                     
ffc19c64:	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,        
ffc19c68:	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;     
ffc19c6c:	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)                               
{                                                                     
ffc19c70:	bf a1 00 0c 	stmw    r29,12(r1)                             <== NOT EXECUTED
ffc19c74:	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;     
ffc19c78:	83 c9 00 34 	lwz     r30,52(r9)                             <== NOT EXECUTED
int                                                                   
msdos_file_datasync(rtems_libio_t *iop)                               
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
ffc19c7c:	83 a3 00 1c 	lwz     r29,28(r3)                             <== NOT EXECUTED
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc19c80:	80 7e 00 98 	lwz     r3,152(r30)                            <== NOT EXECUTED
ffc19c84:	4b ff 20 6d 	bl      ffc0bcf0 <rtems_semaphore_obtain>      <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc19c88:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc19c8c:	41 be 00 18 	beq+    cr7,ffc19ca4 <msdos_file_datasync+0x4c><== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc19c90:	48 00 36 19 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc19c94:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc19c98:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc19c9c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc19ca0:	48 00 00 1c 	b       ffc19cbc <msdos_file_datasync+0x64>    <== NOT EXECUTED
                                                                      
    /* synchronize file data */                                       
    rc = fat_file_datasync(iop->pathinfo.mt_entry, fat_fd);           
ffc19ca4:	80 7f 00 2c 	lwz     r3,44(r31)                             <== NOT EXECUTED
ffc19ca8:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc19cac:	4b ff aa 15 	bl      ffc146c0 <fat_file_datasync>           <== NOT EXECUTED
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc19cb0:	80 7e 00 98 	lwz     r3,152(r30)                            <== NOT EXECUTED
ffc19cb4:	4b ff 21 69 	bl      ffc0be1c <rtems_semaphore_release>     <== NOT EXECUTED
    return RC_OK;                                                     
ffc19cb8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc19cbc:	39 61 00 18 	addi    r11,r1,24                              <== NOT EXECUTED
ffc19cc0:	4b fe 8e 30 	b       ffc02af0 <_restgpr_29_x>               <== NOT EXECUTED
                                                                      

ffc19aa8 <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) {
ffc19aa8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc19aac:	7c 08 02 a6 	mflr    r0                                     
ffc19ab0:	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;     
ffc19ab4:	81 23 00 2c 	lwz     r9,44(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)        
{                                                                     
ffc19ab8:	bf 41 00 08 	stmw    r26,8(r1)                              
ffc19abc:	7c 7f 1b 78 	mr      r31,r3                                 
ffc19ac0:	7c be 2b 78 	mr      r30,r5                                 
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc19ac4:	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)                              
ffc19ac8:	39 20 00 00 	li      r9,0                                   
ffc19acc:	7f 89 28 00 	cmpw    cr7,r9,r5                              
msdos_file_ftruncate(rtems_libio_t *iop, rtems_off64_t length)        
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
ffc19ad0:	83 83 00 1c 	lwz     r28,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)        
{                                                                     
ffc19ad4:	7c dd 33 78 	mr      r29,r6                                 
    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)                              
ffc19ad8:	80 1c 00 18 	lwz     r0,24(r28)                             
ffc19adc:	41 9d 00 10 	bgt-    cr7,ffc19aec <msdos_file_ftruncate+0x44><== NEVER TAKEN
ffc19ae0:	40 be 00 84 	bne+    cr7,ffc19b64 <msdos_file_ftruncate+0xbc><== NEVER TAKEN
ffc19ae4:	7f 80 30 40 	cmplw   cr7,r0,r6                              
ffc19ae8:	40 bd 00 7c 	ble+    cr7,ffc19b64 <msdos_file_ftruncate+0xbc>
        return RC_OK;                                                 
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc19aec:	80 7b 00 98 	lwz     r3,152(r27)                            
ffc19af0:	38 80 00 00 	li      r4,0                                   
ffc19af4:	38 a0 00 00 	li      r5,0                                   
ffc19af8:	4b ff 21 f9 	bl      ffc0bcf0 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc19afc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc19b00:	41 be 00 18 	beq+    cr7,ffc19b18 <msdos_file_ftruncate+0x70><== ALWAYS TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc19b04:	48 00 37 a5 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc19b08:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc19b0c:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc19b10:	3b 40 ff ff 	li      r26,-1                                 <== NOT EXECUTED
ffc19b14:	48 00 00 54 	b       ffc19b68 <msdos_file_ftruncate+0xc0>   <== NOT EXECUTED
                                                                      
    rc = fat_file_truncate(iop->pathinfo.mt_entry, fat_fd, length);   
ffc19b18:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc19b1c:	7f 84 e3 78 	mr      r4,r28                                 
ffc19b20:	7f a5 eb 78 	mr      r5,r29                                 
ffc19b24:	4b ff a4 a9 	bl      ffc13fcc <fat_file_truncate>           
    if (rc != RC_OK)                                                  
ffc19b28:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc19b2c:	40 82 00 2c 	bne-    ffc19b58 <msdos_file_ftruncate+0xb0>   <== 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)                               
ffc19b30:	7f 9a f0 00 	cmpw    cr7,r26,r30                            
ffc19b34:	80 1c 00 18 	lwz     r0,24(r28)                             
ffc19b38:	41 9d 00 10 	bgt-    cr7,ffc19b48 <msdos_file_ftruncate+0xa0><== NEVER TAKEN
ffc19b3c:	40 9e 00 1c 	bne-    cr7,ffc19b58 <msdos_file_ftruncate+0xb0><== NEVER TAKEN
ffc19b40:	7f 80 e8 40 	cmplw   cr7,r0,r29                             
ffc19b44:	40 9d 00 14 	ble-    cr7,ffc19b58 <msdos_file_ftruncate+0xb0><== NEVER TAKEN
        iop->size = fat_fd->fat_file_size = length;                   
ffc19b48:	38 00 00 00 	li      r0,0                                   
ffc19b4c:	93 bc 00 18 	stw     r29,24(r28)                            
ffc19b50:	93 bf 00 0c 	stw     r29,12(r31)                            
ffc19b54:	90 1f 00 08 	stw     r0,8(r31)                              
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc19b58:	80 7b 00 98 	lwz     r3,152(r27)                            
ffc19b5c:	4b ff 22 c1 	bl      ffc0be1c <rtems_semaphore_release>     
    return RC_OK;                                                     
ffc19b60:	48 00 00 08 	b       ffc19b68 <msdos_file_ftruncate+0xc0>   
    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)                              
        return RC_OK;                                                 
ffc19b64:	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;                                                     
}                                                                     
ffc19b68:	39 61 00 20 	addi    r11,r1,32                              
ffc19b6c:	7f 43 d3 78 	mr      r3,r26                                 
ffc19b70:	4b fe 8f 74 	b       ffc02ae4 <_restgpr_26_x>               
                                                                      

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

ffc1991c <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) {
ffc1991c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc19920:	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,        
ffc19924:	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)
{                                                                     
ffc19928:	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,        
ffc1992c:	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;                                 
ffc19930:	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;     
ffc19934:	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)
{                                                                     
ffc19938:	bf 81 00 18 	stmw    r28,24(r1)                             
ffc1993c:	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;     
ffc19940:	83 a9 00 34 	lwz     r29,52(r9)                             
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
ffc19944:	83 c3 00 1c 	lwz     r30,28(r3)                             
    uint32_t           real_size = 0;                                 
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc19948:	80 7d 00 98 	lwz     r3,152(r29)                            
{                                                                     
    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;                                 
ffc1994c:	90 01 00 08 	stw     r0,8(r1)                               
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc19950:	4b ff 23 a1 	bl      ffc0bcf0 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc19954:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc19958:	41 be 00 1c 	beq+    cr7,ffc19974 <msdos_file_lseek+0x58>   <== ALWAYS TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc1995c:	48 00 39 4d 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc19960:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc19964:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc19968:	39 40 ff ff 	li      r10,-1                                 <== NOT EXECUTED
ffc1996c:	39 60 ff ff 	li      r11,-1                                 <== NOT EXECUTED
ffc19970:	48 00 00 70 	b       ffc199e0 <msdos_file_lseek+0xc4>       <== NOT EXECUTED
                                                                      
    rc = fat_file_extend(iop->pathinfo.mt_entry, fat_fd, iop->offset, 
ffc19974:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc19978:	7f c4 f3 78 	mr      r4,r30                                 
ffc1997c:	80 bf 00 14 	lwz     r5,20(r31)                             
ffc19980:	38 c1 00 08 	addi    r6,r1,8                                
ffc19984:	4b ff a8 f1 	bl      ffc14274 <fat_file_extend>             
                         &real_size);                                 
    if (rc != RC_OK)                                                  
ffc19988:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1998c:	41 a2 00 18 	beq+    ffc199a4 <msdos_file_lseek+0x88>       <== ALWAYS TAKEN
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
ffc19990:	80 7d 00 98 	lwz     r3,152(r29)                            <== NOT EXECUTED
ffc19994:	4b ff 24 89 	bl      ffc0be1c <rtems_semaphore_release>     <== NOT EXECUTED
        return rc;                                                    
ffc19998:	7f 8b e3 78 	mr      r11,r28                                <== NOT EXECUTED
ffc1999c:	7f 8a fe 70 	srawi   r10,r28,31                             <== NOT EXECUTED
ffc199a0:	48 00 00 40 	b       ffc199e0 <msdos_file_lseek+0xc4>       <== NOT EXECUTED
    }                                                                 
                                                                      
    if (real_size > fat_fd->fat_file_size)                            
ffc199a4:	80 01 00 08 	lwz     r0,8(r1)                               
ffc199a8:	81 3e 00 18 	lwz     r9,24(r30)                             
ffc199ac:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc199b0:	40 9d 00 10 	ble-    cr7,ffc199c0 <msdos_file_lseek+0xa4>   <== ALWAYS TAKEN
        fat_fd->fat_file_size = iop->offset = real_size;              
ffc199b4:	90 1f 00 14 	stw     r0,20(r31)                             <== NOT EXECUTED
ffc199b8:	93 9f 00 10 	stw     r28,16(r31)                            <== NOT EXECUTED
ffc199bc:	90 1e 00 18 	stw     r0,24(r30)                             <== NOT EXECUTED
                                                                      
    iop->size = fat_fd->fat_file_size;                                
ffc199c0:	80 1e 00 18 	lwz     r0,24(r30)                             
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc199c4:	80 7d 00 98 	lwz     r3,152(r29)                            
    }                                                                 
                                                                      
    if (real_size > fat_fd->fat_file_size)                            
        fat_fd->fat_file_size = iop->offset = real_size;              
                                                                      
    iop->size = fat_fd->fat_file_size;                                
ffc199c8:	90 1f 00 0c 	stw     r0,12(r31)                             
ffc199cc:	38 00 00 00 	li      r0,0                                   
ffc199d0:	90 1f 00 08 	stw     r0,8(r31)                              
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc199d4:	4b ff 24 49 	bl      ffc0be1c <rtems_semaphore_release>     
    return iop->offset;                                               
ffc199d8:	81 5f 00 10 	lwz     r10,16(r31)                            
ffc199dc:	81 7f 00 14 	lwz     r11,20(r31)                            
}                                                                     
ffc199e0:	7d 64 5b 78 	mr      r4,r11                                 
ffc199e4:	39 61 00 28 	addi    r11,r1,40                              
ffc199e8:	7d 43 53 78 	mr      r3,r10                                 
ffc199ec:	4b fe 91 00 	b       ffc02aec <_restgpr_28_x>               
                                                                      

ffc19668 <msdos_file_open>: * and errno set appropriately */ int msdos_file_open(rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode) {
ffc19668:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1966c:	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,        
ffc19670:	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)                                      
{                                                                     
ffc19674:	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,        
ffc19678:	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;     
ffc1967c:	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)                                      
{                                                                     
ffc19680:	bf 81 00 08 	stmw    r28,8(r1)                              
ffc19684:	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;     
ffc19688:	83 c9 00 34 	lwz     r30,52(r9)                             
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
ffc1968c:	83 a3 00 1c 	lwz     r29,28(r3)                             
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc19690:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc19694:	4b ff 26 5d 	bl      ffc0bcf0 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc19698:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1969c:	41 be 00 18 	beq+    cr7,ffc196b4 <msdos_file_open+0x4c>    <== ALWAYS TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc196a0:	48 00 3c 09 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc196a4:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc196a8:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc196ac:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc196b0:	48 00 00 40 	b       ffc196f0 <msdos_file_open+0x88>        <== NOT EXECUTED
                                                                      
    rc = fat_file_reopen(fat_fd);                                     
ffc196b4:	7f a3 eb 78 	mr      r3,r29                                 
ffc196b8:	4b ff a7 49 	bl      ffc13e00 <fat_file_reopen>             
    if (rc != RC_OK)                                                  
ffc196bc:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc196c0:	40 82 00 28 	bne-    ffc196e8 <msdos_file_open+0x80>        <== NEVER TAKEN
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
    }                                                                 
                                                                      
    if (iop->flags & LIBIO_FLAGS_APPEND)                              
ffc196c4:	80 1f 00 18 	lwz     r0,24(r31)                             
ffc196c8:	70 09 02 00 	andi.   r9,r0,512                              
ffc196cc:	80 1d 00 18 	lwz     r0,24(r29)                             
ffc196d0:	41 82 00 0c 	beq-    ffc196dc <msdos_file_open+0x74>        
        iop->offset = fat_fd->fat_file_size;                          
ffc196d4:	90 1f 00 14 	stw     r0,20(r31)                             
ffc196d8:	93 9f 00 10 	stw     r28,16(r31)                            
                                                                      
    iop->size = fat_fd->fat_file_size;                                
ffc196dc:	90 1f 00 0c 	stw     r0,12(r31)                             
ffc196e0:	38 00 00 00 	li      r0,0                                   
ffc196e4:	90 1f 00 08 	stw     r0,8(r31)                              
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc196e8:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc196ec:	4b ff 27 31 	bl      ffc0be1c <rtems_semaphore_release>     
    return RC_OK;                                                     
}                                                                     
ffc196f0:	39 61 00 18 	addi    r11,r1,24                              
ffc196f4:	7f 83 e3 78 	mr      r3,r28                                 
ffc196f8:	4b fe 93 f4 	b       ffc02aec <_restgpr_28_x>               
                                                                      

ffc197bc <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) {
ffc197bc:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc197c0:	7c 08 02 a6 	mflr    r0                                     
ffc197c4:	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;     
ffc197c8:	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)       
{                                                                     
ffc197cc:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc197d0:	7c 7d 1b 78 	mr      r29,r3                                 
ffc197d4:	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;     
ffc197d8:	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)       
{                                                                     
ffc197dc:	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;            
ffc197e0:	83 63 00 1c 	lwz     r27,28(r3)                             
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc197e4:	38 80 00 00 	li      r4,0                                   
ffc197e8:	80 7f 00 98 	lwz     r3,152(r31)                            
ffc197ec:	38 a0 00 00 	li      r5,0                                   
ffc197f0:	4b ff 25 01 	bl      ffc0bcf0 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc197f4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc197f8:	41 be 00 18 	beq+    cr7,ffc19810 <msdos_file_read+0x54>    <== ALWAYS TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc197fc:	48 00 3a ad 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc19800:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc19804:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc19808:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc1980c:	48 00 00 28 	b       ffc19834 <msdos_file_read+0x78>        <== NOT EXECUTED
                                                                      
    ret = fat_file_read(iop->pathinfo.mt_entry, fat_fd, iop->offset, count,
ffc19810:	80 7d 00 2c 	lwz     r3,44(r29)                             
ffc19814:	7f c7 f3 78 	mr      r7,r30                                 
ffc19818:	80 bd 00 14 	lwz     r5,20(r29)                             
ffc1981c:	7f 64 db 78 	mr      r4,r27                                 
ffc19820:	7f 86 e3 78 	mr      r6,r28                                 
ffc19824:	4b ff a5 f1 	bl      ffc13e14 <fat_file_read>               
ffc19828:	7c 7e 1b 78 	mr      r30,r3                                 
                        buffer);                                      
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1982c:	80 7f 00 98 	lwz     r3,152(r31)                            
ffc19830:	4b ff 25 ed 	bl      ffc0be1c <rtems_semaphore_release>     
    return ret;                                                       
}                                                                     
ffc19834:	39 61 00 20 	addi    r11,r1,32                              
ffc19838:	7f c3 f3 78 	mr      r3,r30                                 
ffc1983c:	4b fe 92 ac 	b       ffc02ae8 <_restgpr_27_x>               
                                                                      

ffc19cd4 <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) {
ffc19cd4:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc19cd8:	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,        
ffc19cdc:	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)           
{                                                                     
ffc19ce0:	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;          
ffc19ce4:	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)           
{                                                                     
ffc19ce8:	bf 81 00 08 	stmw    r28,8(r1)                              <== NOT EXECUTED
ffc19cec:	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;          
ffc19cf0:	83 c9 00 34 	lwz     r30,52(r9)                             <== NOT EXECUTED
    fat_file_fd_t     *fat_fd = pathloc->node_access;                 
ffc19cf4:	83 a4 00 00 	lwz     r29,0(r4)                              <== NOT EXECUTED
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc19cf8:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc19cfc:	80 7e 00 98 	lwz     r3,152(r30)                            <== NOT EXECUTED
ffc19d00:	4b ff 1f f1 	bl      ffc0bcf0 <rtems_semaphore_obtain>      <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc19d04:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc19d08:	41 be 00 18 	beq+    cr7,ffc19d20 <msdos_file_rmnod+0x4c>   <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc19d0c:	48 00 35 9d 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc19d10:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc19d14:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc19d18:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc19d1c:	48 00 00 30 	b       ffc19d4c <msdos_file_rmnod+0x78>       <== NOT EXECUTED
                                                                      
    /* mark file removed */                                           
    rc = msdos_set_first_char4file_name(pathloc->mt_entry,            
ffc19d20:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc19d24:	38 9d 00 20 	addi    r4,r29,32                              <== NOT EXECUTED
ffc19d28:	38 a0 00 e5 	li      r5,229                                 <== NOT EXECUTED
ffc19d2c:	48 00 06 b1 	bl      ffc1a3dc <msdos_set_first_char4file_name><== NOT EXECUTED
                                        &fat_fd->dir_pos,             
                                        MSDOS_THIS_DIR_ENTRY_EMPTY);  
    if (rc != RC_OK)                                                  
ffc19d30:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc19d34:	40 82 00 10 	bne-    ffc19d44 <msdos_file_rmnod+0x70>       <== NOT EXECUTED
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
    }                                                                 
                                                                      
    fat_file_mark_removed(pathloc->mt_entry, fat_fd);                 
ffc19d38:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc19d3c:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc19d40:	4b ff a9 29 	bl      ffc14668 <fat_file_mark_removed>       <== NOT EXECUTED
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc19d44:	80 7e 00 98 	lwz     r3,152(r30)                            <== NOT EXECUTED
ffc19d48:	4b ff 20 d5 	bl      ffc0be1c <rtems_semaphore_release>     <== NOT EXECUTED
    return RC_OK;                                                     
}                                                                     
ffc19d4c:	39 61 00 18 	addi    r11,r1,24                              <== NOT EXECUTED
ffc19d50:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc19d54:	4b fe 8d 98 	b       ffc02aec <_restgpr_28_x>               <== NOT EXECUTED
                                                                      

ffc199f0 <msdos_file_stat>: int msdos_file_stat( rtems_filesystem_location_info_t *loc, struct stat *buf ) {
ffc199f0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc199f4:	7c 08 02 a6 	mflr    r0                                     
    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,        
ffc199f8:	38 a0 00 00 	li      r5,0                                   
int                                                                   
msdos_file_stat(                                                      
    rtems_filesystem_location_info_t *loc,                            
    struct stat                      *buf                             
    )                                                                 
{                                                                     
ffc199fc:	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;              
ffc19a00:	81 23 00 10 	lwz     r9,16(r3)                              
int                                                                   
msdos_file_stat(                                                      
    rtems_filesystem_location_info_t *loc,                            
    struct stat                      *buf                             
    )                                                                 
{                                                                     
ffc19a04:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc19a08:	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,        
ffc19a0c:	38 80 00 00 	li      r4,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;              
ffc19a10:	83 c9 00 34 	lwz     r30,52(r9)                             
    fat_file_fd_t     *fat_fd = loc->node_access;                     
ffc19a14:	83 a3 00 00 	lwz     r29,0(r3)                              
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc19a18:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc19a1c:	4b ff 22 d5 	bl      ffc0bcf0 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc19a20:	2c 03 00 00 	cmpwi   r3,0                                   
ffc19a24:	41 a2 00 18 	beq+    ffc19a3c <msdos_file_stat+0x4c>        <== ALWAYS TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc19a28:	48 00 38 81 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc19a2c:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc19a30:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc19a34:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc19a38:	48 00 00 68 	b       ffc19aa0 <msdos_file_stat+0xb0>        <== NOT EXECUTED
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
    buf->st_ino = fat_fd->ino;                                        
ffc19a3c:	80 1d 00 0c 	lwz     r0,12(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;                               
ffc19a40:	81 5e 00 58 	lwz     r10,88(r30)                            
ffc19a44:	81 7e 00 5c 	lwz     r11,92(r30)                            
    buf->st_ino = fat_fd->ino;                                        
ffc19a48:	90 1f 00 08 	stw     r0,8(r31)                              
    buf->st_mode  = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;            
ffc19a4c:	38 00 00 00 	li      r0,0                                   
ffc19a50:	60 00 81 ff 	ori     r0,r0,33279                            
ffc19a54:	90 1f 00 0c 	stw     r0,12(r31)                             
    buf->st_rdev = 0ll;                                               
    buf->st_size = fat_fd->fat_file_size;                             
ffc19a58:	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;                               
ffc19a5c:	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;                                               
ffc19a60:	39 40 00 00 	li      r10,0                                  
    buf->st_size = fat_fd->fat_file_size;                             
ffc19a64:	90 1f 00 24 	stw     r0,36(r31)                             
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
ffc19a68:	54 00 ba 7e 	rlwinm  r0,r0,23,9,31                          
ffc19a6c:	90 1f 00 44 	stw     r0,68(r31)                             
    buf->st_blksize = fs_info->fat.vol.bps;                           
ffc19a70:	a0 1e 00 00 	lhz     r0,0(r30)                              
    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;                               
ffc19a74:	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;            
    buf->st_rdev = 0ll;                                               
ffc19a78:	39 60 00 00 	li      r11,0                                  
    buf->st_size = fat_fd->fat_file_size;                             
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
    buf->st_blksize = fs_info->fat.vol.bps;                           
ffc19a7c:	90 1f 00 40 	stw     r0,64(r31)                             
    buf->st_mtime = fat_fd->mtime;                                    
ffc19a80:	80 1d 00 40 	lwz     r0,64(r29)                             
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
    buf->st_size = fat_fd->fat_file_size;                             
ffc19a84:	90 7f 00 20 	stw     r3,32(r31)                             
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    buf->st_dev = fs_info->fat.vol.dev;                               
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
ffc19a88:	91 5f 00 18 	stw     r10,24(r31)                            
ffc19a8c:	91 7f 00 1c 	stw     r11,28(r31)                            
    buf->st_size = fat_fd->fat_file_size;                             
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
    buf->st_blksize = fs_info->fat.vol.bps;                           
    buf->st_mtime = fat_fd->mtime;                                    
ffc19a90:	90 1f 00 30 	stw     r0,48(r31)                             
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc19a94:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc19a98:	4b ff 23 85 	bl      ffc0be1c <rtems_semaphore_release>     
    return RC_OK;                                                     
ffc19a9c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc19aa0:	39 61 00 18 	addi    r11,r1,24                              
ffc19aa4:	4b fe 90 4c 	b       ffc02af0 <_restgpr_29_x>               
                                                                      

ffc19b74 <msdos_file_sync>: * RETURNS: * RC_OK on success, or -1 if error occured (errno set appropriately) */ int msdos_file_sync(rtems_libio_t *iop) {
ffc19b74:	94 21 ff e0 	stwu    r1,-32(r1)                             <== NOT EXECUTED
ffc19b78:	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,        
ffc19b7c:	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)                                   
{                                                                     
ffc19b80:	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,        
ffc19b84:	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;     
ffc19b88:	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)                                   
{                                                                     
ffc19b8c:	bf 61 00 0c 	stmw    r27,12(r1)                             <== NOT EXECUTED
ffc19b90:	7c 7e 1b 78 	mr      r30,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;     
ffc19b94:	83 e9 00 34 	lwz     r31,52(r9)                             <== NOT EXECUTED
int                                                                   
msdos_file_sync(rtems_libio_t *iop)                                   
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
ffc19b98:	83 a3 00 1c 	lwz     r29,28(r3)                             <== NOT EXECUTED
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc19b9c:	80 7f 00 98 	lwz     r3,152(r31)                            <== NOT EXECUTED
ffc19ba0:	4b ff 21 51 	bl      ffc0bcf0 <rtems_semaphore_obtain>      <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc19ba4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc19ba8:	41 be 00 18 	beq+    cr7,ffc19bc0 <msdos_file_sync+0x4c>    <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc19bac:	48 00 36 fd 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc19bb0:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc19bb4:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc19bb8:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc19bbc:	48 00 00 78 	b       ffc19c34 <msdos_file_sync+0xc0>        <== NOT EXECUTED
                                                                      
    /* synchronize file data */                                       
    rc = fat_file_datasync(iop->pathinfo.mt_entry, fat_fd);           
ffc19bc0:	80 7e 00 2c 	lwz     r3,44(r30)                             <== NOT EXECUTED
ffc19bc4:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc19bc8:	4b ff aa f9 	bl      ffc146c0 <fat_file_datasync>           <== NOT EXECUTED
    if (rc != RC_OK)                                                  
ffc19bcc:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc19bd0:	40 82 00 5c 	bne-    ffc19c2c <msdos_file_sync+0xb8>        <== NOT EXECUTED
                                                                      
    /*                                                                
     * if fat-file descriptor is not marked "removed" - synchronize file
     * metadata                                                       
     */                                                               
    if (!FAT_FILE_IS_REMOVED(fat_fd))                                 
ffc19bd4:	88 1d 00 30 	lbz     r0,48(r29)                             <== NOT EXECUTED
ffc19bd8:	70 09 00 01 	andi.   r9,r0,1                                <== NOT EXECUTED
ffc19bdc:	40 82 00 50 	bne-    ffc19c2c <msdos_file_sync+0xb8>        <== NOT EXECUTED
ffc19be0:	48 00 00 60 	b       ffc19c40 <msdos_file_sync+0xcc>        <== NOT EXECUTED
        if (rc != RC_OK)                                              
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
            return rc;                                                
        }                                                             
        rc = msdos_set_file_size(iop->pathinfo.mt_entry, fat_fd);     
ffc19be4:	80 7e 00 2c 	lwz     r3,44(r30)                             <== NOT EXECUTED
ffc19be8:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc19bec:	48 00 07 6d 	bl      ffc1a358 <msdos_set_file_size>         <== NOT EXECUTED
        if (rc != RC_OK)                                              
ffc19bf0:	7c 7b 1b 79 	mr.     r27,r3                                 <== NOT EXECUTED
ffc19bf4:	41 a2 00 14 	beq+    ffc19c08 <msdos_file_sync+0x94>        <== NOT EXECUTED
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
ffc19bf8:	80 7f 00 98 	lwz     r3,152(r31)                            <== NOT EXECUTED
            return rc;                                                
ffc19bfc:	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);               
ffc19c00:	4b ff 22 1d 	bl      ffc0be1c <rtems_semaphore_release>     <== NOT EXECUTED
            return rc;                                                
ffc19c04:	48 00 00 30 	b       ffc19c34 <msdos_file_sync+0xc0>        <== NOT EXECUTED
        }                                                             
        rc = msdos_set_dir_wrt_time_and_date(iop->pathinfo.mt_entry, fat_fd);
ffc19c08:	80 7e 00 2c 	lwz     r3,44(r30)                             <== NOT EXECUTED
ffc19c0c:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc19c10:	48 00 05 8d 	bl      ffc1a19c <msdos_set_dir_wrt_time_and_date><== NOT EXECUTED
        if (rc != RC_OK)                                              
ffc19c14:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc19c18:	41 a2 00 14 	beq+    ffc19c2c <msdos_file_sync+0xb8>        <== NOT EXECUTED
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
ffc19c1c:	80 7f 00 98 	lwz     r3,152(r31)                            <== NOT EXECUTED
            return rc;                                                
ffc19c20:	7f dc f3 78 	mr      r28,r30                                <== 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);               
ffc19c24:	4b ff 21 f9 	bl      ffc0be1c <rtems_semaphore_release>     <== NOT EXECUTED
            return rc;                                                
ffc19c28:	48 00 00 0c 	b       ffc19c34 <msdos_file_sync+0xc0>        <== NOT EXECUTED
        }                                                             
    }                                                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc19c2c:	80 7f 00 98 	lwz     r3,152(r31)                            <== NOT EXECUTED
ffc19c30:	4b ff 21 ed 	bl      ffc0be1c <rtems_semaphore_release>     <== NOT EXECUTED
    return RC_OK;                                                     
}                                                                     
ffc19c34:	39 61 00 20 	addi    r11,r1,32                              <== NOT EXECUTED
ffc19c38:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc19c3c:	4b fe 8e ac 	b       ffc02ae8 <_restgpr_27_x>               <== 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);
ffc19c40:	80 7e 00 2c 	lwz     r3,44(r30)                             <== NOT EXECUTED
ffc19c44:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc19c48:	48 00 06 45 	bl      ffc1a28c <msdos_set_first_cluster_num> <== NOT EXECUTED
        if (rc != RC_OK)                                              
ffc19c4c:	7c 7b 1b 79 	mr.     r27,r3                                 <== NOT EXECUTED
ffc19c50:	41 82 ff 94 	beq+    ffc19be4 <msdos_file_sync+0x70>        <== NOT EXECUTED
ffc19c54:	4b ff ff a4 	b       ffc19bf8 <msdos_file_sync+0x84>        <== NOT EXECUTED
                                                                      

ffc19840 <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) {
ffc19840:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc19844:	7c 08 02 a6 	mflr    r0                                     
ffc19848:	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;     
ffc1984c:	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) 
{                                                                     
ffc19850:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc19854:	7c 7f 1b 78 	mr      r31,r3                                 
ffc19858:	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;     
ffc1985c:	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) 
{                                                                     
ffc19860:	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;            
ffc19864:	83 c3 00 1c 	lwz     r30,28(r3)                             
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc19868:	38 80 00 00 	li      r4,0                                   
ffc1986c:	80 7d 00 98 	lwz     r3,152(r29)                            
ffc19870:	38 a0 00 00 	li      r5,0                                   
ffc19874:	4b ff 24 7d 	bl      ffc0bcf0 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc19878:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1987c:	41 be 00 14 	beq+    cr7,ffc19890 <msdos_file_write+0x50>   <== ALWAYS TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc19880:	48 00 3a 29 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc19884:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc19888:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1988c:	48 00 00 2c 	b       ffc198b8 <msdos_file_write+0x78>       <== NOT EXECUTED
                                                                      
    ret = fat_file_write(iop->pathinfo.mt_entry, fat_fd, iop->offset, count,
ffc19890:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc19894:	7f 87 e3 78 	mr      r7,r28                                 
ffc19898:	80 bf 00 14 	lwz     r5,20(r31)                             
ffc1989c:	7f c4 f3 78 	mr      r4,r30                                 
ffc198a0:	7f 66 db 78 	mr      r6,r27                                 
ffc198a4:	4b ff ab c9 	bl      ffc1446c <fat_file_write>              
                         buffer);                                     
    if (ret < 0)                                                      
ffc198a8:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc198ac:	40 a0 00 14 	bge+    ffc198c0 <msdos_file_write+0x80>       <== ALWAYS TAKEN
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
ffc198b0:	80 7d 00 98 	lwz     r3,152(r29)                            <== NOT EXECUTED
ffc198b4:	4b ff 25 69 	bl      ffc0be1c <rtems_semaphore_release>     <== NOT EXECUTED
        return -1;                                                    
ffc198b8:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc198bc:	48 00 00 54 	b       ffc19910 <msdos_file_write+0xd0>       <== NOT EXECUTED
                                                                      
    /*                                                                
     * update file size in both fat-file descriptor and file control block if
     * file was extended                                              
     */                                                               
    if (iop->offset + ret > fat_fd->fat_file_size)                    
ffc198c0:	81 1f 00 10 	lwz     r8,16(r31)                             
ffc198c4:	7f 8b e3 78 	mr      r11,r28                                
ffc198c8:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc198cc:	7f 8a fe 70 	srawi   r10,r28,31                             
ffc198d0:	80 1e 00 18 	lwz     r0,24(r30)                             
ffc198d4:	7d 6b 48 14 	addc    r11,r11,r9                             
ffc198d8:	7d 4a 41 14 	adde    r10,r10,r8                             
ffc198dc:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc198e0:	41 9d 00 10 	bgt-    cr7,ffc198f0 <msdos_file_write+0xb0>   <== NEVER TAKEN
ffc198e4:	40 9e 00 14 	bne-    cr7,ffc198f8 <msdos_file_write+0xb8>   <== NEVER TAKEN
ffc198e8:	7f 8b 00 40 	cmplw   cr7,r11,r0                             
ffc198ec:	40 9d 00 0c 	ble-    cr7,ffc198f8 <msdos_file_write+0xb8>   
        fat_fd->fat_file_size = iop->offset + ret;                    
ffc198f0:	7c 1c 4a 14 	add     r0,r28,r9                              
ffc198f4:	90 1e 00 18 	stw     r0,24(r30)                             
                                                                      
    iop->size = fat_fd->fat_file_size;                                
ffc198f8:	80 1e 00 18 	lwz     r0,24(r30)                             
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc198fc:	80 7d 00 98 	lwz     r3,152(r29)                            
     * file was extended                                              
     */                                                               
    if (iop->offset + ret > fat_fd->fat_file_size)                    
        fat_fd->fat_file_size = iop->offset + ret;                    
                                                                      
    iop->size = fat_fd->fat_file_size;                                
ffc19900:	90 1f 00 0c 	stw     r0,12(r31)                             
ffc19904:	38 00 00 00 	li      r0,0                                   
ffc19908:	90 1f 00 08 	stw     r0,8(r31)                              
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1990c:	4b ff 25 11 	bl      ffc0be1c <rtems_semaphore_release>     
    return ret;                                                       
}                                                                     
ffc19910:	39 61 00 20 	addi    r11,r1,32                              
ffc19914:	7f 83 e3 78 	mr      r3,r28                                 
ffc19918:	4b fe 91 d0 	b       ffc02ae8 <_restgpr_27_x>               
                                                                      

ffc1c890 <msdos_filename_unix2dos>: /* * Fill the dos filename string with blanks. These are DOS's pad * characters. */ for (i = 0; i <= 10; i++) dn[i] = ' ';
ffc1c890:	39 60 00 0b 	li      r11,11                                 
ffc1c894:	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++)                                            
ffc1c898:	39 20 00 00 	li      r9,0                                   
		dn[i] = ' ';                                                        
ffc1c89c:	38 00 00 20 	li      r0,32                                  
ffc1c8a0:	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++)                                            
ffc1c8a4:	39 29 00 01 	addi    r9,r9,1                                
ffc1c8a8:	42 00 ff f8 	bdnz+   ffc1c8a0 <msdos_filename_unix2dos+0x10>
                                                                      
	/*                                                                   
	 * The filenames "." and ".." are handled specially, since they      
	 * don't follow dos filename rules.                                  
	 */                                                                  
	if (un[0] == '.' && unlen == 1) {                                    
ffc1c8ac:	88 03 00 00 	lbz     r0,0(r3)                               
ffc1c8b0:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc1c8b4:	40 be 00 40 	bne+    cr7,ffc1c8f4 <msdos_filename_unix2dos+0x64><== ALWAYS TAKEN
ffc1c8b8:	2f 84 00 01 	cmpwi   cr7,r4,1                               <== NOT EXECUTED
ffc1c8bc:	40 be 00 0c 	bne+    cr7,ffc1c8c8 <msdos_filename_unix2dos+0x38><== NOT EXECUTED
		dn[0] = '.';                                                        
ffc1c8c0:	98 05 00 00 	stb     r0,0(r5)                               <== NOT EXECUTED
		return 0;                                                           
ffc1c8c4:	48 00 01 14 	b       ffc1c9d8 <msdos_filename_unix2dos+0x148><== NOT EXECUTED
	}                                                                    
	if (un[0] == '.' && un[1] == '.' && unlen == 2) {                    
ffc1c8c8:	88 03 00 01 	lbz     r0,1(r3)                               <== NOT EXECUTED
ffc1c8cc:	2f 80 00 2e 	cmpwi   cr7,r0,46                              <== NOT EXECUTED
ffc1c8d0:	40 be 00 24 	bne+    cr7,ffc1c8f4 <msdos_filename_unix2dos+0x64><== NOT EXECUTED
ffc1c8d4:	2f 84 00 02 	cmpwi   cr7,r4,2                               <== NOT EXECUTED
ffc1c8d8:	40 be 00 1c 	bne+    cr7,ffc1c8f4 <msdos_filename_unix2dos+0x64><== NOT EXECUTED
		dn[0] = '.';                                                        
ffc1c8dc:	98 05 00 00 	stb     r0,0(r5)                               <== NOT EXECUTED
		dn[1] = '.';                                                        
ffc1c8e0:	98 05 00 01 	stb     r0,1(r5)                               <== NOT EXECUTED
		return 0;                                                           
ffc1c8e4:	48 00 00 f4 	b       ffc1c9d8 <msdos_filename_unix2dos+0x148><== NOT EXECUTED
                                                                      
  /*                                                                  
   * Remove any dots from the start of a file name.                   
   */                                                                 
	while (unlen && (*un == '.')) {                                      
		un++;                                                               
ffc1c8e8:	38 63 00 01 	addi    r3,r3,1                                <== NOT EXECUTED
		unlen--;                                                            
ffc1c8ec:	38 84 ff ff 	addi    r4,r4,-1                               <== NOT EXECUTED
ffc1c8f0:	48 00 00 0c 	b       ffc1c8fc <msdos_filename_unix2dos+0x6c><== NOT EXECUTED
ffc1c8f4:	38 04 00 01 	addi    r0,r4,1                                
ffc1c8f8:	7c 09 03 a6 	mtctr   r0                                     
	}                                                                    
                                                                      
  /*                                                                  
   * Remove any dots from the start of a file name.                   
   */                                                                 
	while (unlen && (*un == '.')) {                                      
ffc1c8fc:	42 00 00 18 	bdnz-   ffc1c914 <msdos_filename_unix2dos+0x84>
	 * of string, a '.', or 8 characters. Whichever happens first stops  
	 * us. This forms the name portion of the dos filename. Fold to      
	 * upper case.                                                       
	 */                                                                  
	for (i = 0; i <= 7 && unlen && (c = *un) && c != '.'; i++) {         
    if (msdos_map[c] == 0)                                            
ffc1c900:	38 00 00 08 	li      r0,8                                   
                                                                      
	/*                                                                   
	 * Fill the dos filename string with blanks. These are DOS's pad     
	 * characters.                                                       
	 */                                                                  
	for (i = 0; i <= 10; i++)                                            
ffc1c904:	39 20 00 00 	li      r9,0                                   
	 * of string, a '.', or 8 characters. Whichever happens first stops  
	 * us. This forms the name portion of the dos filename. Fold to      
	 * upper case.                                                       
	 */                                                                  
	for (i = 0; i <= 7 && unlen && (c = *un) && c != '.'; i++) {         
    if (msdos_map[c] == 0)                                            
ffc1c908:	7c 09 03 a6 	mtctr   r0                                     
ffc1c90c:	3d 60 ff c3 	lis     r11,-61                                
ffc1c910:	48 00 00 38 	b       ffc1c948 <msdos_filename_unix2dos+0xb8>
	}                                                                    
                                                                      
  /*                                                                  
   * Remove any dots from the start of a file name.                   
   */                                                                 
	while (unlen && (*un == '.')) {                                      
ffc1c914:	88 03 00 00 	lbz     r0,0(r3)                               
ffc1c918:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc1c91c:	41 9e ff cc 	beq+    cr7,ffc1c8e8 <msdos_filename_unix2dos+0x58><== NEVER TAKEN
ffc1c920:	4b ff ff e0 	b       ffc1c900 <msdos_filename_unix2dos+0x70>
	 * of string, a '.', or 8 characters. Whichever happens first stops  
	 * us. This forms the name portion of the dos filename. Fold to      
	 * upper case.                                                       
	 */                                                                  
	for (i = 0; i <= 7 && unlen && (c = *un) && c != '.'; i++) {         
    if (msdos_map[c] == 0)                                            
ffc1c924:	39 4b e2 cc 	addi    r10,r11,-7476                          
ffc1c928:	7c 0a 00 ae 	lbzx    r0,r10,r0                              
ffc1c92c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1c930:	41 9e 00 4c 	beq-    cr7,ffc1c97c <msdos_filename_unix2dos+0xec><== NEVER TAKEN
      break;                                                          
		dn[i] = msdos_map[c];                                               
ffc1c934:	7c 05 49 ae 	stbx    r0,r5,r9                               
		un++;                                                               
ffc1c938:	38 63 00 01 	addi    r3,r3,1                                
		unlen--;                                                            
ffc1c93c:	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++) {         
ffc1c940:	39 29 00 01 	addi    r9,r9,1                                
ffc1c944:	42 40 00 38 	bdz-    ffc1c97c <msdos_filename_unix2dos+0xec>
ffc1c948:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc1c94c:	41 9e 00 30 	beq-    cr7,ffc1c97c <msdos_filename_unix2dos+0xec>
ffc1c950:	88 03 00 00 	lbz     r0,0(r3)                               
ffc1c954:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1c958:	41 9e 00 24 	beq-    cr7,ffc1c97c <msdos_filename_unix2dos+0xec><== NEVER TAKEN
ffc1c95c:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc1c960:	40 9e ff c4 	bne+    cr7,ffc1c924 <msdos_filename_unix2dos+0x94><== ALWAYS TAKEN
ffc1c964:	48 00 00 18 	b       ffc1c97c <msdos_filename_unix2dos+0xec><== NOT EXECUTED
	 */                                                                  
	while (unlen && (c = *un)) {                                         
		un++;                                                               
		unlen--;                                                            
		/* Make sure we've skipped over the dot before stopping. */         
		if (c == '.')                                                       
ffc1c968:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
	/*                                                                   
	 * Strip any further characters up to a '.' or the end of the        
	 * string.                                                           
	 */                                                                  
	while (unlen && (c = *un)) {                                         
		un++;                                                               
ffc1c96c:	38 63 00 01 	addi    r3,r3,1                                
		unlen--;                                                            
ffc1c970:	38 84 ff ff 	addi    r4,r4,-1                               
		/* Make sure we've skipped over the dot before stopping. */         
		if (c == '.')                                                       
ffc1c974:	40 be 00 10 	bne+    cr7,ffc1c984 <msdos_filename_unix2dos+0xf4><== ALWAYS TAKEN
ffc1c978:	48 00 00 1c 	b       ffc1c994 <msdos_filename_unix2dos+0x104><== NOT EXECUTED
ffc1c97c:	39 64 00 01 	addi    r11,r4,1                               
ffc1c980:	7d 69 03 a6 	mtctr   r11                                    
                                                                      
	/*                                                                   
	 * Strip any further characters up to a '.' or the end of the        
	 * string.                                                           
	 */                                                                  
	while (unlen && (c = *un)) {                                         
ffc1c984:	42 40 00 10 	bdz-    ffc1c994 <msdos_filename_unix2dos+0x104>
ffc1c988:	88 03 00 00 	lbz     r0,0(r3)                               
ffc1c98c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1c990:	40 9e ff d8 	bne+    cr7,ffc1c968 <msdos_filename_unix2dos+0xd8><== ALWAYS TAKEN
/*                                                                    
 * 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)          
ffc1c994:	39 20 00 00 	li      r9,0                                   
	 * Copy in the extension part of the name, if any. Force to upper    
	 * case. Note that the extension is allowed to contain '.'s.         
	 * Filenames in this form are probably inaccessable under dos.       
	 */                                                                  
	for (i = 8; i <= 10 && unlen && (c = *un); i++) {                    
    if (msdos_map[c] == 0)                                            
ffc1c998:	3d 60 ff c3 	lis     r11,-61                                
ffc1c99c:	48 00 00 28 	b       ffc1c9c4 <msdos_filename_unix2dos+0x134>
ffc1c9a0:	39 4b e2 cc 	addi    r10,r11,-7476                          <== NOT EXECUTED
ffc1c9a4:	7c 0a 00 ae 	lbzx    r0,r10,r0                              <== NOT EXECUTED
ffc1c9a8:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1c9ac:	41 9e 00 2c 	beq-    cr7,ffc1c9d8 <msdos_filename_unix2dos+0x148><== 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++) {                    
ffc1c9b0:	2f 89 00 02 	cmpwi   cr7,r9,2                               <== NOT EXECUTED
/*                                                                    
 * 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)          
ffc1c9b4:	7d 45 4a 14 	add     r10,r5,r9                              <== NOT EXECUTED
	 * Filenames in this form are probably inaccessable under dos.       
	 */                                                                  
	for (i = 8; i <= 10 && unlen && (c = *un); i++) {                    
    if (msdos_map[c] == 0)                                            
      break;                                                          
    dn[i] = msdos_map[c];                                             
ffc1c9b8:	98 0a 00 08 	stb     r0,8(r10)                              <== 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++) {                    
ffc1c9bc:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
ffc1c9c0:	41 9e 00 18 	beq-    cr7,ffc1c9d8 <msdos_filename_unix2dos+0x148><== NOT EXECUTED
ffc1c9c4:	7f 89 20 00 	cmpw    cr7,r9,r4                              
ffc1c9c8:	41 9e 00 10 	beq-    cr7,ffc1c9d8 <msdos_filename_unix2dos+0x148><== ALWAYS TAKEN
ffc1c9cc:	7c 03 48 ae 	lbzx    r0,r3,r9                               <== NOT EXECUTED
ffc1c9d0:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1c9d4:	40 9e ff cc 	bne+    cr7,ffc1c9a0 <msdos_filename_unix2dos+0x110><== NOT EXECUTED
    dn[i] = msdos_map[c];                                             
		un++;                                                               
		unlen--;                                                            
	}                                                                    
	return 0;                                                            
}                                                                     
ffc1c9d8:	38 60 00 00 	li      r3,0                                   
ffc1c9dc:	4e 80 00 20 	blr                                            
                                                                      

ffc1b360 <msdos_find_name>: msdos_find_name( rtems_filesystem_location_info_t *parent_loc, const char *name, int name_len ) {
ffc1b360:	94 21 ff a0 	stwu    r1,-96(r1)                             
ffc1b364:	7c 08 02 a6 	mflr    r0                                     
ffc1b368:	90 01 00 64 	stw     r0,100(r1)                             
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = parent_loc->mt_entry->fs_info;       
    fat_file_fd_t     *fat_fd = NULL;                                 
ffc1b36c:	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;       
ffc1b370:	81 23 00 10 	lwz     r9,16(r3)                              
msdos_find_name(                                                      
    rtems_filesystem_location_info_t *parent_loc,                     
    const char                       *name,                           
    int                               name_len                        
    )                                                                 
{                                                                     
ffc1b374:	bf 61 00 4c 	stmw    r27,76(r1)                             
ffc1b378:	7c bc 2b 78 	mr      r28,r5                                 
ffc1b37c:	7c 9b 23 78 	mr      r27,r4                                 
ffc1b380:	7c 7f 1b 78 	mr      r31,r3                                 
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = parent_loc->mt_entry->fs_info;       
ffc1b384:	83 a9 00 34 	lwz     r29,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);         
ffc1b388:	38 80 00 00 	li      r4,0                                   
    int                               name_len                        
    )                                                                 
{                                                                     
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = parent_loc->mt_entry->fs_info;       
    fat_file_fd_t     *fat_fd = NULL;                                 
ffc1b38c:	90 01 00 08 	stw     r0,8(r1)                               
    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);         
ffc1b390:	38 a0 00 20 	li      r5,32                                  
ffc1b394:	38 61 00 1c 	addi    r3,r1,28                               
ffc1b398:	48 00 2e 29 	bl      ffc1e1c0 <memset>                      
                                                                      
    name_type = msdos_long_to_short (name,                            
ffc1b39c:	7f 84 e3 78 	mr      r4,r28                                 
ffc1b3a0:	38 a1 00 1c 	addi    r5,r1,28                               
ffc1b3a4:	38 c0 00 0b 	li      r6,11                                  
ffc1b3a8:	7f 63 db 78 	mr      r3,r27                                 
ffc1b3ac:	4b ff eb 35 	bl      ffc19ee0 <msdos_long_to_short>         
                                                                      
    /*                                                                
     * 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,
ffc1b3b0:	3b c1 00 0c 	addi    r30,r1,12                              
    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,                            
ffc1b3b4:	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,
ffc1b3b8:	7f 86 e3 78 	mr      r6,r28                                 
ffc1b3bc:	7f e3 fb 78 	mr      r3,r31                                 
ffc1b3c0:	38 80 00 00 	li      r4,0                                   
ffc1b3c4:	7f 65 db 78 	mr      r5,r27                                 
ffc1b3c8:	7f c8 f3 78 	mr      r8,r30                                 
ffc1b3cc:	39 21 00 1c 	addi    r9,r1,28                               
ffc1b3d0:	4b ff fe 89 	bl      ffc1b258 <msdos_get_name_node>         
                             &dir_pos, node_entry);                   
    if (rc != RC_OK)                                                  
ffc1b3d4:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1b3d8:	40 82 01 64 	bne-    ffc1b53c <msdos_find_name+0x1dc>       
        return rc;                                                    
                                                                      
    if (((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_VOLUME_ID) ||     
ffc1b3dc:	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;                              
ffc1b3e0:	3b 80 7d 01 	li      r28,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) ||     
ffc1b3e4:	70 09 00 08 	andi.   r9,r0,8                                
ffc1b3e8:	40 a2 01 54 	bne+    ffc1b53c <msdos_find_name+0x1dc>       <== NEVER TAKEN
        ((*MSDOS_DIR_ATTR(node_entry) & MSDOS_ATTR_LFN_MASK) == MSDOS_ATTR_LFN))
ffc1b3ec:	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) ||     
ffc1b3f0:	2f 80 00 0f 	cmpwi   cr7,r0,15                              
ffc1b3f4:	41 be 01 48 	beq+    cr7,ffc1b53c <msdos_find_name+0x1dc>   <== 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);      
ffc1b3f8:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc1b3fc:	7f c4 f3 78 	mr      r4,r30                                 
ffc1b400:	38 a1 00 08 	addi    r5,r1,8                                
ffc1b404:	4b ff 88 b9 	bl      ffc13cbc <fat_file_open>               
    if (rc != RC_OK)                                                  
ffc1b408:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1b40c:	40 82 01 30 	bne-    ffc1b53c <msdos_find_name+0x1dc>       
        return rc;                                                    
                                                                      
    fat_fd->dir_pos = dir_pos;                                        
ffc1b410:	83 81 00 08 	lwz     r28,8(r1)                              
ffc1b414:	39 3c 00 20 	addi    r9,r28,32                              
ffc1b418:	7c be 84 aa 	lswi    r5,r30,16                              
ffc1b41c:	7c a9 85 aa 	stswi   r5,r9,16                               
     * 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)                                       
ffc1b420:	83 dc 00 08 	lwz     r30,8(r28)                             
ffc1b424:	2f 9e 00 01 	cmpwi   cr7,r30,1                              
ffc1b428:	40 be 00 ec 	bne+    cr7,ffc1b514 <msdos_find_name+0x1b4>   
    {                                                                 
        fat_fd->cln = MSDOS_EXTRACT_CLUSTER_NUM(node_entry);          
ffc1b42c:	a1 21 00 30 	lhz     r9,48(r1)                              
ffc1b430:	a0 01 00 36 	lhz     r0,54(r1)                              
ffc1b434:	55 2b c2 3e 	rlwinm  r11,r9,24,8,31                         
ffc1b438:	55 29 44 2e 	rlwinm  r9,r9,8,16,23                          
ffc1b43c:	7d 69 4b 78 	or      r9,r11,r9                              
ffc1b440:	54 0b c2 3e 	rlwinm  r11,r0,24,8,31                         
ffc1b444:	54 00 44 2e 	rlwinm  r0,r0,8,16,23                          
ffc1b448:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          
ffc1b44c:	7d 60 03 78 	or      r0,r11,r0                              
ffc1b450:	7d 20 03 78 	or      r0,r9,r0                               
                                                                      
        time_val = *MSDOS_DIR_WRITE_TIME(node_entry);                 
        date = *MSDOS_DIR_WRITE_DATE(node_entry);                     
ffc1b454:	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);          
ffc1b458:	90 1c 00 1c 	stw     r0,28(r28)                             
                                                                      
        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));
ffc1b45c:	55 23 c2 3e 	rlwinm  r3,r9,24,8,31                          
     */                                                               
    if (fat_fd->links_num == 1)                                       
    {                                                                 
        fat_fd->cln = MSDOS_EXTRACT_CLUSTER_NUM(node_entry);          
                                                                      
        time_val = *MSDOS_DIR_WRITE_TIME(node_entry);                 
ffc1b460:	a0 01 00 32 	lhz     r0,50(r1)                              
        date = *MSDOS_DIR_WRITE_DATE(node_entry);                     
                                                                      
        fat_fd->mtime = msdos_date_dos2unix(CF_LE_W(date), CF_LE_W(time_val));
ffc1b464:	55 29 44 2e 	rlwinm  r9,r9,8,16,23                          
ffc1b468:	7c 63 4b 78 	or      r3,r3,r9                               
ffc1b46c:	54 04 c2 3e 	rlwinm  r4,r0,24,8,31                          
ffc1b470:	54 00 44 2e 	rlwinm  r0,r0,8,16,23                          
ffc1b474:	7c 84 03 78 	or      r4,r4,r0                               
ffc1b478:	48 00 13 35 	bl      ffc1c7ac <msdos_date_dos2unix>         
                                                                      
        if ((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_DIRECTORY)     
ffc1b47c:	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));
ffc1b480:	90 7c 00 40 	stw     r3,64(r28)                             
                                                                      
        if ((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_DIRECTORY)     
ffc1b484:	70 09 00 10 	andi.   r9,r0,16                               
ffc1b488:	80 81 00 08 	lwz     r4,8(r1)                               
ffc1b48c:	41 a2 00 2c 	beq+    ffc1b4b8 <msdos_find_name+0x158>       
        {                                                             
            fat_fd->fat_file_type = FAT_DIRECTORY;                    
            fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                
ffc1b490:	3c 00 00 20 	lis     r0,32                                  
                                                                      
        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;                    
ffc1b494:	93 c4 00 10 	stw     r30,16(r4)                             
            fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                
ffc1b498:	90 04 00 14 	stw     r0,20(r4)                              
                                                                      
            rc = fat_file_size(parent_loc->mt_entry, fat_fd);         
ffc1b49c:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc1b4a0:	4b ff 93 15 	bl      ffc147b4 <fat_file_size>               
            if (rc != RC_OK)                                          
ffc1b4a4:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1b4a8:	41 a2 00 38 	beq+    ffc1b4e0 <msdos_find_name+0x180>       <== ALWAYS TAKEN
            {                                                         
                fat_file_close(parent_loc->mt_entry, fat_fd);         
ffc1b4ac:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc1b4b0:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc1b4b4:	48 00 00 7c 	b       ffc1b530 <msdos_find_name+0x1d0>       <== NOT EXECUTED
ffc1b4b8:	81 21 00 38 	lwz     r9,56(r1)                              
ffc1b4bc:	51 20 46 3e 	rlwimi  r0,r9,8,24,31                          
ffc1b4c0:	51 20 c4 2e 	rlwimi  r0,r9,24,16,23                         
ffc1b4c4:	51 20 42 1e 	rlwimi  r0,r9,8,8,15                           
ffc1b4c8:	51 20 c0 0e 	rlwimi  r0,r9,24,0,7                           
                return rc;                                            
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            fat_fd->fat_file_size = CF_LE_L(*MSDOS_DIR_FILE_SIZE(node_entry));
ffc1b4cc:	90 04 00 18 	stw     r0,24(r4)                              
            fat_fd->fat_file_type = FAT_FILE;                         
ffc1b4d0:	38 00 00 05 	li      r0,5                                   
ffc1b4d4:	90 04 00 10 	stw     r0,16(r4)                              
            fat_fd->size_limit = MSDOS_MAX_FILE_SIZE;                 
ffc1b4d8:	38 00 ff ff 	li      r0,-1                                  
ffc1b4dc:	90 04 00 14 	stw     r0,20(r4)                              
        }                                                             
                                                                      
        /* these data is not actual for zero-length fat-file */       
        fat_fd->map.file_cln = 0;                                     
ffc1b4e0:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1b4e4:	38 00 00 00 	li      r0,0                                   
        fat_fd->map.disk_cln = fat_fd->cln;                           
                                                                      
        if ((fat_fd->fat_file_size != 0) &&                           
ffc1b4e8:	81 69 00 18 	lwz     r11,24(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;                                     
ffc1b4ec:	90 09 00 34 	stw     r0,52(r9)                              
        fat_fd->map.disk_cln = fat_fd->cln;                           
                                                                      
        if ((fat_fd->fat_file_size != 0) &&                           
ffc1b4f0:	2f 8b 00 00 	cmpwi   cr7,r11,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;                           
ffc1b4f4:	80 09 00 1c 	lwz     r0,28(r9)                              
ffc1b4f8:	90 09 00 38 	stw     r0,56(r9)                              
                                                                      
        if ((fat_fd->fat_file_size != 0) &&                           
ffc1b4fc:	41 9e 00 10 	beq-    cr7,ffc1b50c <msdos_find_name+0x1ac>   
            (fat_fd->fat_file_size <= fs_info->fat.vol.bpc))          
ffc1b500:	a1 5d 00 06 	lhz     r10,6(r29)                             
                                                                      
        /* 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) &&                           
ffc1b504:	7f 8b 50 40 	cmplw   cr7,r11,r10                            
ffc1b508:	40 9d 00 08 	ble-    cr7,ffc1b510 <msdos_find_name+0x1b0>   <== ALWAYS TAKEN
        {                                                             
            fat_fd->map.last_cln = fat_fd->cln;                       
        }                                                             
        else                                                          
        {                                                             
            fat_fd->map.last_cln = FAT_UNDEFINED_VALUE;               
ffc1b50c:	38 00 ff ff 	li      r0,-1                                  
ffc1b510:	90 09 00 3c 	stw     r0,60(r9)                              
        }                                                             
    }                                                                 
                                                                      
    /* close fat-file corresponded to the node we searched in */      
    rc = fat_file_close(parent_loc->mt_entry, parent_loc->node_access);
ffc1b514:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc1b518:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc1b51c:	4b ff 8b c9 	bl      ffc140e4 <fat_file_close>              
ffc1b520:	80 81 00 08 	lwz     r4,8(r1)                               
    if (rc != RC_OK)                                                  
ffc1b524:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1b528:	41 a2 00 10 	beq+    ffc1b538 <msdos_find_name+0x1d8>       <== ALWAYS TAKEN
    {                                                                 
        fat_file_close(parent_loc->mt_entry, fat_fd);                 
ffc1b52c:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc1b530:	4b ff 8b b5 	bl      ffc140e4 <fat_file_close>              <== NOT EXECUTED
        return rc;                                                    
ffc1b534:	48 00 00 08 	b       ffc1b53c <msdos_find_name+0x1dc>       <== NOT EXECUTED
    }                                                                 
                                                                      
    /* update node_info_ptr field */                                  
    parent_loc->node_access = fat_fd;                                 
ffc1b538:	90 9f 00 00 	stw     r4,0(r31)                              
                                                                      
    return rc;                                                        
}                                                                     
ffc1b53c:	39 61 00 60 	addi    r11,r1,96                              
ffc1b540:	7f 83 e3 78 	mr      r3,r28                                 
ffc1b544:	4b fe 75 a4 	b       ffc02ae8 <_restgpr_27_x>               
                                                                      

ffc1a634 <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 ) {
ffc1a634:	94 21 ff 80 	stwu    r1,-128(r1)                            
ffc1a638:	7d 80 00 26 	mfcr    r12                                    
ffc1a63c:	7c 08 02 a6 	mflr    r0                                     
ffc1a640:	7c ab 2b 78 	mr      r11,r5                                 
ffc1a644:	bd c1 00 38 	stmw    r14,56(r1)                             
ffc1a648:	7d 3c 4b 78 	mr      r28,r9                                 
    uint32_t         empty_space_count = 0;                           
    bool             empty_space_found = false;                       
    uint32_t         entries_per_block;                               
    bool             read_cluster = false;                            
                                                                      
    assert(name_len > 0);                                             
ffc1a64c:	7c e9 3b 79 	mr.     r9,r7                                  
    int                                   name_len,                   
    msdos_name_type_t                     name_type,                  
    fat_dir_pos_t                        *dir_pos,                    
    char                                 *name_dir_entry              
                                )                                     
{                                                                     
ffc1a650:	90 01 00 84 	stw     r0,132(r1)                             
ffc1a654:	7c 79 1b 78 	mr      r25,r3                                 
ffc1a658:	7c 9d 23 78 	mr      r29,r4                                 
ffc1a65c:	91 81 00 34 	stw     r12,52(r1)                             
ffc1a660:	7d 5b 53 78 	mr      r27,r10                                
ffc1a664:	90 c1 00 18 	stw     r6,24(r1)                              
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1a668:	83 03 00 34 	lwz     r24,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);                                             
ffc1a66c:	41 a1 00 28 	bgt+    ffc1a694 <msdos_find_name_in_fat_file+0x60><== ALWAYS TAKEN
ffc1a670:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc1a674:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1a678:	38 a5 e1 bc 	addi    r5,r5,-7748                            <== NOT EXECUTED
ffc1a67c:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc1a680:	38 63 e2 30 	addi    r3,r3,-7632                            <== NOT EXECUTED
ffc1a684:	38 80 04 19 	li      r4,1049                                <== NOT EXECUTED
ffc1a688:	38 a5 00 14 	addi    r5,r5,20                               <== NOT EXECUTED
ffc1a68c:	38 c6 e2 ae 	addi    r6,r6,-7506                            <== NOT EXECUTED
ffc1a690:	48 00 00 e0 	b       ffc1a770 <msdos_find_name_in_fat_file+0x13c><== NOT EXECUTED
     * 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))               
ffc1a694:	2f 85 00 00 	cmpwi   cr7,r5,0                               
static inline void                                                    
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
ffc1a698:	38 00 00 00 	li      r0,0                                   
ffc1a69c:	90 1c 00 00 	stw     r0,0(r28)                              
  dir_pos->sname.ofs = 0;                                             
ffc1a6a0:	90 1c 00 04 	stw     r0,4(r28)                              
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
ffc1a6a4:	38 00 ff ff 	li      r0,-1                                  
ffc1a6a8:	90 1c 00 08 	stw     r0,8(r28)                              
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
ffc1a6ac:	90 1c 00 0c 	stw     r0,12(r28)                             
                                                                      
    assert(name_len > 0);                                             
                                                                      
    fat_dir_pos_init(dir_pos);                                        
                                                                      
    lfn_start.cln = lfn_start.ofs = FAT_FILE_SHORT_NAME;              
ffc1a6b0:	90 01 00 10 	stw     r0,16(r1)                              
ffc1a6b4:	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))               
ffc1a6b8:	41 9e 00 10 	beq-    cr7,ffc1a6c8 <msdos_find_name_in_fat_file+0x94>
ffc1a6bc:	2f 88 00 01 	cmpwi   cr7,r8,1                               
      lfn_entries = 0;                                                
ffc1a6c0:	3b 40 00 00 	li      r26,0                                  
     * 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))               
ffc1a6c4:	41 9e 00 10 	beq-    cr7,ffc1a6d4 <msdos_find_name_in_fat_file+0xa0>
      lfn_entries = 0;                                                
    else                                                              
      lfn_entries =                                                   
        ((name_len - 1) + MSDOS_LFN_LEN_PER_ENTRY) / MSDOS_LFN_LEN_PER_ENTRY;
ffc1a6c8:	3b 49 00 0c 	addi    r26,r9,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 =                                                   
ffc1a6cc:	38 00 00 0d 	li      r0,13                                  
ffc1a6d0:	7f 5a 03 d6 	divw    r26,r26,r0                             
        ((name_len - 1) + MSDOS_LFN_LEN_PER_ENTRY) / MSDOS_LFN_LEN_PER_ENTRY;
                                                                      
    if (FAT_FD_OF_ROOT_DIR(fat_fd) &&                                 
ffc1a6d4:	80 1d 00 20 	lwz     r0,32(r29)                             
ffc1a6d8:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc1a6dc:	40 be 00 24 	bne+    cr7,ffc1a700 <msdos_find_name_in_fat_file+0xcc>
ffc1a6e0:	80 1d 00 24 	lwz     r0,36(r29)                             
ffc1a6e4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1a6e8:	40 9e 00 18 	bne-    cr7,ffc1a700 <msdos_find_name_in_fat_file+0xcc><== NEVER TAKEN
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
ffc1a6ec:	88 18 00 0a 	lbz     r0,10(r24)                             
      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) &&                                 
ffc1a6f0:	70 03 00 03 	andi.   r3,r0,3                                
ffc1a6f4:	41 82 00 0c 	beq-    ffc1a700 <msdos_find_name_in_fat_file+0xcc><== NEVER TAKEN
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
        bts2rd = fat_fd->fat_file_size;                               
ffc1a6f8:	83 fd 00 18 	lwz     r31,24(r29)                            
ffc1a6fc:	48 00 00 08 	b       ffc1a704 <msdos_find_name_in_fat_file+0xd0>
    else                                                              
        bts2rd = fs_info->fat.vol.bpc;                                
ffc1a700:	a3 f8 00 06 	lhz     r31,6(r24)                             
                  /*                                                  
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
ffc1a704:	39 5a 00 01 	addi    r10,r26,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),
ffc1a708:	3a 20 00 00 	li      r17,0                                  
                  /*                                                  
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
ffc1a70c:	91 41 00 1c 	stw     r10,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;                       
ffc1a710:	38 00 00 00 	li      r0,0                                   
    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;                           
ffc1a714:	3a 60 00 00 	li      r19,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;                           
ffc1a718:	3a a0 00 00 	li      r21,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;                          
ffc1a71c:	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;                                   
ffc1a720:	3b c0 00 00 	li      r30,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;                                
ffc1a724:	39 c0 00 00 	li      r14,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;                             
ffc1a728:	39 e0 00 00 	li      r15,0                                  
    char                                 *name_dir_entry              
                                )                                     
{                                                                     
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         dir_offset = 0;                                  
ffc1a72c:	3a 40 00 00 	li      r18,0                                  
ffc1a730:	2e 0b 00 00 	cmpwi   cr4,r11,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 ||                                
ffc1a734:	2d 88 00 01 	cmpwi   cr3,r8,1                               
                        memcpy(name_dir_entry, entry,                 
                               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);    
                        return RC_OK;                                 
                    }                                                 
                                                                      
                    lfn_start.cln = FAT_FILE_SHORT_NAME;              
ffc1a738:	3a 00 ff ff 	li      r16,-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),
ffc1a73c:	48 00 03 10 	b       ffc1aa4c <msdos_find_name_in_fat_file+0x418>
        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)                  
ffc1a740:	2f 83 00 1f 	cmpwi   cr7,r3,31                              
ffc1a744:	40 9d 06 dc 	ble-    cr7,ffc1ae20 <msdos_find_name_in_fat_file+0x7ec><== NEVER TAKEN
            rtems_set_errno_and_return_minus_one(EIO);                
                                                                      
        assert(ret == bts2rd);                                        
ffc1a748:	7f 83 f8 00 	cmpw    cr7,r3,r31                             
ffc1a74c:	41 be 00 28 	beq+    cr7,ffc1a774 <msdos_find_name_in_fat_file+0x140><== ALWAYS TAKEN
ffc1a750:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc1a754:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1a758:	38 a5 e1 bc 	addi    r5,r5,-7748                            <== NOT EXECUTED
ffc1a75c:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc1a760:	38 63 e2 30 	addi    r3,r3,-7632                            <== NOT EXECUTED
ffc1a764:	38 80 04 49 	li      r4,1097                                <== NOT EXECUTED
ffc1a768:	38 a5 00 14 	addi    r5,r5,20                               <== NOT EXECUTED
ffc1a76c:	38 c6 e2 bb 	addi    r6,r6,-7493                            <== NOT EXECUTED
ffc1a770:	4b fe cb 11 	bl      ffc07280 <__assert_func>               <== NOT EXECUTED
ffc1a774:	3a c0 00 00 	li      r22,0                                  
             * 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)                               
ffc1a778:	2f 93 00 00 	cmpwi   cr7,r19,0                              
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (dir_entry = 0;                                           
             dir_entry < bts2rd;                                      
             dir_entry += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)          
        {                                                             
            char* entry = (char*) fs_info->cl_buf + dir_entry;        
ffc1a77c:	81 58 00 9c 	lwz     r10,156(r24)                           
ffc1a780:	7e ea b2 14 	add     r23,r10,r22                            
                                                                      
            /*                                                        
             * 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) ==       
ffc1a784:	7d 4a b0 ae 	lbzx    r10,r10,r22                            
             * 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)                               
ffc1a788:	40 9e 00 0c 	bne-    cr7,ffc1a794 <msdos_find_name_in_fat_file+0x160><== NEVER TAKEN
ffc1a78c:	7e d5 b3 78 	mr      r21,r22                                
ffc1a790:	7e 54 93 78 	mr      r20,r18                                
            {                                                         
                empty_space_entry = dir_entry;                        
                empty_space_offset = dir_offset;                      
            }                                                         
                                                                      
            if (remainder_empty)                                      
ffc1a794:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc1a798:	40 be 00 24 	bne+    cr7,ffc1a7bc <msdos_find_name_in_fat_file+0x188>
#endif                                                                
                /*                                                    
                 * If just looking and there is no more entries in the
                 * directory - return name-not-found                  
                 */                                                   
                if (!create_node)                                     
ffc1a79c:	41 92 06 b0 	beq-    cr4,ffc1ae4c <msdos_find_name_in_fat_file+0x818>
                 * 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)                               
ffc1a7a0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1a7a4:	40 9e 02 f4 	bne-    cr7,ffc1aa98 <msdos_find_name_in_fat_file+0x464><== 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;   
ffc1a7a8:	57 e0 d9 7e 	rlwinm  r0,r31,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);
ffc1a7ac:	7e 73 02 14 	add     r19,r19,r0                             
ffc1a7b0:	56 d6 d9 7e 	rlwinm  r22,r22,27,5,31                        
                 * we may have already found that are just before this entry. If more
                 * are needed FAT_EOF is returned by the read and we extend the file.
                 */                                                   
                if (!empty_space_found)                               
                {                                                     
                  empty_space_count +=                                
ffc1a7b4:	7e 76 98 50 	subf    r19,r22,r19                            
ffc1a7b8:	48 00 02 e0 	b       ffc1aa98 <msdos_find_name_in_fat_file+0x464>
                  printf ("MSFS:[3.2] esf:%i esc%i\n", empty_space_found, empty_space_count);
#endif                                                                
                }                                                     
                break;                                                
            }                                                         
            else if (entry_empty)                                     
ffc1a7bc:	2f 8a 00 e5 	cmpwi   cr7,r10,229                            
ffc1a7c0:	40 be 00 1c 	bne+    cr7,ffc1a7dc <msdos_find_name_in_fat_file+0x1a8><== ALWAYS TAKEN
            {                                                         
                if (create_node)                                      
ffc1a7c4:	41 92 02 74 	beq-    cr4,ffc1aa38 <msdos_find_name_in_fat_file+0x404><== NOT EXECUTED
                  /*                                                  
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
ffc1a7c8:	81 41 00 1c 	lwz     r10,28(r1)                             <== NOT EXECUTED
                if (create_node)                                      
                {                                                     
                  /*                                                  
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
ffc1a7cc:	3a 73 00 01 	addi    r19,r19,1                              <== NOT EXECUTED
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
ffc1a7d0:	7f 93 50 00 	cmpw    cr7,r19,r10                            <== NOT EXECUTED
ffc1a7d4:	40 be 02 64 	bne+    cr7,ffc1aa38 <msdos_find_name_in_fat_file+0x404><== NOT EXECUTED
ffc1a7d8:	48 00 02 5c 	b       ffc1aa34 <msdos_find_name_in_fat_file+0x400><== NOT EXECUTED
                 * A valid entry so handle it.                        
                 *                                                    
                 * If empty space has not been found we need to start the
                 * count again.                                       
                 */                                                   
                if (create_node && !empty_space_found)                
ffc1a7dc:	41 92 00 14 	beq-    cr4,ffc1a7f0 <msdos_find_name_in_fat_file+0x1bc>
ffc1a7e0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1a7e4:	40 9e 00 0c 	bne-    cr7,ffc1a7f0 <msdos_find_name_in_fat_file+0x1bc><== NEVER TAKEN
                {                                                     
                    empty_space_entry = 0;                            
                    empty_space_count = 0;                            
ffc1a7e8:	3a 60 00 00 	li      r19,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;                            
ffc1a7ec:	3a a0 00 00 	li      r21,0                                  
                                                                      
                /*                                                    
                 * Check the attribute to see if the entry is for a long
                 * file name.                                         
                 */                                                   
                if ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) == 
ffc1a7f0:	88 f7 00 0b 	lbz     r7,11(r23)                             
ffc1a7f4:	54 e7 06 be 	clrlwi  r7,r7,26                               
ffc1a7f8:	2f 87 00 0f 	cmpwi   cr7,r7,15                              
ffc1a7fc:	40 be 01 1c 	bne+    cr7,ffc1a918 <msdos_find_name_in_fat_file+0x2e4>
#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)         
ffc1a800:	80 e1 00 0c 	lwz     r7,12(r1)                              
ffc1a804:	2f 87 ff ff 	cmpwi   cr7,r7,-1                              
ffc1a808:	40 be 00 2c 	bne+    cr7,ffc1a834 <msdos_find_name_in_fat_file+0x200>
                                                                      
                        /*                                            
                         * The first entry must have the last long entry
                         * flag set.                                  
                         */                                           
                        if ((*MSDOS_DIR_ENTRY_TYPE(entry) &           
ffc1a80c:	71 43 00 40 	andi.   r3,r10,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;                          
ffc1a810:	39 e0 00 00 	li      r15,0                                  
                                                                      
                        /*                                            
                         * The first entry must have the last long entry
                         * flag set.                                  
                         */                                           
                        if ((*MSDOS_DIR_ENTRY_TYPE(entry) &           
ffc1a814:	41 82 02 24 	beq-    ffc1aa38 <msdos_find_name_in_fat_file+0x404>
                         * 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) &
ffc1a818:	55 4a 06 be 	clrlwi  r10,r10,26                             
ffc1a81c:	7f 9a 50 00 	cmpw    cr7,r26,r10                            
ffc1a820:	40 be 02 18 	bne+    cr7,ffc1aa38 <msdos_find_name_in_fat_file+0x404>
                            continue;                                 
                                                                      
                        /*                                            
                         * Get the checksum of the short entry.       
                         */                                           
                        lfn_start.cln = dir_offset;                   
ffc1a824:	92 41 00 0c 	stw     r18,12(r1)                             
                        lfn_start.ofs = dir_entry;                    
                        lfn_entry = lfn_entries;                      
                        lfn_checksum = *MSDOS_DIR_LFN_CHECKSUM(entry);
ffc1a828:	7f 5e d3 78 	mr      r30,r26                                
                                                                      
                        /*                                            
                         * Get the checksum of the short entry.       
                         */                                           
                        lfn_start.cln = dir_offset;                   
                        lfn_start.ofs = dir_entry;                    
ffc1a82c:	92 c1 00 10 	stw     r22,16(r1)                             
                        lfn_entry = lfn_entries;                      
                        lfn_checksum = *MSDOS_DIR_LFN_CHECKSUM(entry);
ffc1a830:	89 d7 00 0d 	lbz     r14,13(r23)                            
                     * 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) & 
ffc1a834:	89 57 00 00 	lbz     r10,0(r23)                             
ffc1a838:	55 4a 06 be 	clrlwi  r10,r10,26                             
ffc1a83c:	7f 9e 50 00 	cmpw    cr7,r30,r10                            
ffc1a840:	40 be 00 10 	bne+    cr7,ffc1a850 <msdos_find_name_in_fat_file+0x21c><== NEVER TAKEN
                                       MSDOS_LAST_LONG_ENTRY_MASK)) ||
ffc1a844:	89 57 00 0d 	lbz     r10,13(r23)                            
ffc1a848:	7f 8a 70 00 	cmpw    cr7,r10,r14                            
ffc1a84c:	41 9e 00 0c 	beq-    cr7,ffc1a858 <msdos_find_name_in_fat_file+0x224><== 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;          
ffc1a850:	92 01 00 0c 	stw     r16,12(r1)                             <== NOT EXECUTED
                        continue;                                     
ffc1a854:	48 00 01 e4 	b       ffc1aa38 <msdos_find_name_in_fat_file+0x404><== NOT EXECUTED
                    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++)     
ffc1a858:	38 a0 00 0d 	li      r5,13                                  
ffc1a85c:	7c a9 03 a6 	mtctr   r5                                     
#endif                                                                
                        lfn_start.cln = FAT_FILE_SHORT_NAME;          
                        continue;                                     
                    }                                                 
                                                                      
                    lfn_entry--;                                      
ffc1a860:	38 fe ff ff 	addi    r7,r30,-1                              
                    o = lfn_entry * MSDOS_LFN_LEN_PER_ENTRY;          
ffc1a864:	1c c7 00 0d 	mulli   r6,r7,13                               
                    p = entry + 1;                                    
ffc1a868:	3a f7 00 01 	addi    r23,r23,1                              
                                                                      
#if MSDOS_FIND_PRINT                                                  
                    printf ("MSFS:[5] lfne:%i\n", lfn_entry);         
#endif                                                                
                    for (i = 0; i < MSDOS_LFN_LEN_PER_ENTRY; i++)     
ffc1a86c:	39 40 00 00 	li      r10,0                                  
                    {                                                 
#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')                               
ffc1a870:	88 b7 00 00 	lbz     r5,0(r23)                              
ffc1a874:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc1a878:	40 be 00 1c 	bne+    cr7,ffc1a894 <msdos_find_name_in_fat_file+0x260>
                            /*                                        
                             * 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) &&   
ffc1a87c:	7f 9e d0 00 	cmpw    cr7,r30,r26                            
ffc1a880:	40 be 00 6c 	bne+    cr7,ffc1a8ec <msdos_find_name_in_fat_file+0x2b8><== NEVER TAKEN
                                ((o + i) != name_len))                
ffc1a884:	7d 46 52 14 	add     r10,r6,r10                             
                            /*                                        
                             * 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) &&   
ffc1a888:	7f 8a 48 00 	cmpw    cr7,r10,r9                             
ffc1a88c:	40 be 00 28 	bne+    cr7,ffc1a8b4 <msdos_find_name_in_fat_file+0x280><== NEVER TAKEN
ffc1a890:	48 00 00 5c 	b       ffc1a8ec <msdos_find_name_in_fat_file+0x2b8>
 *     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(                                      
ffc1a894:	7c 8a 32 14 	add     r4,r10,r6                              
                                ((o + i) != name_len))                
                                lfn_start.cln = FAT_FILE_SHORT_NAME;  
                            break;                                    
                        }                                             
                                                                      
                        if (((o + i) >= name_len) || (*p != name[o + i]))
ffc1a898:	7f 84 48 00 	cmpw    cr7,r4,r9                              
ffc1a89c:	40 9c 00 18 	bge-    cr7,ffc1a8b4 <msdos_find_name_in_fat_file+0x280>
 *     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(                                      
ffc1a8a0:	80 61 00 18 	lwz     r3,24(r1)                              
ffc1a8a4:	7c 83 32 14 	add     r4,r3,r6                               
                                ((o + i) != name_len))                
                                lfn_start.cln = FAT_FILE_SHORT_NAME;  
                            break;                                    
                        }                                             
                                                                      
                        if (((o + i) >= name_len) || (*p != name[o + i]))
ffc1a8a8:	7c 84 50 ae 	lbzx    r4,r4,r10                              
ffc1a8ac:	7f 84 28 00 	cmpw    cr7,r4,r5                              
ffc1a8b0:	41 be 00 0c 	beq+    cr7,ffc1a8bc <msdos_find_name_in_fat_file+0x288>
                        {                                             
                            lfn_start.cln = FAT_FILE_SHORT_NAME;      
ffc1a8b4:	92 01 00 0c 	stw     r16,12(r1)                             
                            break;                                    
ffc1a8b8:	48 00 00 34 	b       ffc1a8ec <msdos_find_name_in_fat_file+0x2b8>
                        }                                             
                                                                      
                        switch (i)                                    
ffc1a8bc:	2f 8a 00 04 	cmpwi   cr7,r10,4                              
ffc1a8c0:	41 9e 00 10 	beq-    cr7,ffc1a8d0 <msdos_find_name_in_fat_file+0x29c>
ffc1a8c4:	2f 8a 00 0a 	cmpwi   cr7,r10,10                             
ffc1a8c8:	40 be 00 18 	bne+    cr7,ffc1a8e0 <msdos_find_name_in_fat_file+0x2ac>
ffc1a8cc:	48 00 00 0c 	b       ffc1a8d8 <msdos_find_name_in_fat_file+0x2a4>
                        {                                             
                            case 4:                                   
                                p += 5;                               
ffc1a8d0:	3a f7 00 05 	addi    r23,r23,5                              
                                break;                                
ffc1a8d4:	48 00 00 10 	b       ffc1a8e4 <msdos_find_name_in_fat_file+0x2b0>
                            case 10:                                  
                                p += 4;                               
ffc1a8d8:	3a f7 00 04 	addi    r23,r23,4                              
                                break;                                
ffc1a8dc:	48 00 00 08 	b       ffc1a8e4 <msdos_find_name_in_fat_file+0x2b0>
                            default:                                  
                                p += 2;                               
ffc1a8e0:	3a f7 00 02 	addi    r23,r23,2                              
                    p = entry + 1;                                    
                                                                      
#if MSDOS_FIND_PRINT                                                  
                    printf ("MSFS:[5] lfne:%i\n", lfn_entry);         
#endif                                                                
                    for (i = 0; i < MSDOS_LFN_LEN_PER_ENTRY; i++)     
ffc1a8e4:	39 4a 00 01 	addi    r10,r10,1                              
ffc1a8e8:	42 00 ff 88 	bdnz+   ffc1a870 <msdos_find_name_in_fat_file+0x23c>
                                p += 2;                               
                                break;                                
                        }                                             
                    }                                                 
                                                                      
                    lfn_matched = ((lfn_entry == 0) &&                
ffc1a8ec:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc1a8f0:	39 e0 00 00 	li      r15,0                                  
ffc1a8f4:	40 9e 00 18 	bne-    cr7,ffc1a90c <msdos_find_name_in_fat_file+0x2d8>
 *     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(                                      
ffc1a8f8:	81 e1 00 0c 	lwz     r15,12(r1)                             
ffc1a8fc:	39 ef 00 01 	addi    r15,r15,1                              
ffc1a900:	7d ef 00 34 	cntlzw  r15,r15                                
ffc1a904:	55 ef d9 7e 	rlwinm  r15,r15,27,5,31                        
ffc1a908:	69 ef 00 01 	xori    r15,r15,1                              
                                p += 2;                               
                                break;                                
                        }                                             
                    }                                                 
                                                                      
                    lfn_matched = ((lfn_entry == 0) &&                
ffc1a90c:	55 ef 06 3e 	clrlwi  r15,r15,24                             
#endif                                                                
                        lfn_start.cln = FAT_FILE_SHORT_NAME;          
                        continue;                                     
                    }                                                 
                                                                      
                    lfn_entry--;                                      
ffc1a910:	7c fe 3b 78 	mr      r30,r7                                 
ffc1a914:	48 00 01 24 	b       ffc1aa38 <msdos_find_name_in_fat_file+0x404>
                     * 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)                                  
ffc1a918:	2f 8f 00 00 	cmpwi   cr7,r15,0                              
ffc1a91c:	41 9e 00 50 	beq-    cr7,ffc1a96c <msdos_find_name_in_fat_file+0x338>
                        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;
ffc1a920:	38 a0 00 0b 	li      r5,11                                  
ffc1a924:	7c a9 03 a6 	mtctr   r5                                     
                     * 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)                                  
ffc1a928:	38 e0 00 00 	li      r7,0                                   
ffc1a92c:	39 40 00 00 	li      r10,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;
ffc1a930:	71 43 00 01 	andi.   r3,r10,1                               
ffc1a934:	38 c0 00 00 	li      r6,0                                   
ffc1a938:	41 82 00 08 	beq-    ffc1a940 <msdos_find_name_in_fat_file+0x30c>
ffc1a93c:	38 c0 00 80 	li      r6,128                                 
ffc1a940:	7c b7 38 ae 	lbzx    r5,r23,r7                              
ffc1a944:	55 4a f8 7e 	rlwinm  r10,r10,31,1,31                        
                    {                                                 
                        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++)
ffc1a948:	38 e7 00 01 	addi    r7,r7,1                                
                            cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;
ffc1a94c:	7d 45 52 14 	add     r10,r5,r10                             
ffc1a950:	7d 4a 32 14 	add     r10,r10,r6                             
ffc1a954:	55 4a 06 3e 	clrlwi  r10,r10,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++)
ffc1a958:	42 00 ff d8 	bdnz+   ffc1a930 <msdos_find_name_in_fat_file+0x2fc>
                            cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;
                                                                      
                        if (lfn_entry || (lfn_checksum != cs))        
ffc1a95c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc1a960:	40 9e 00 0c 	bne-    cr7,ffc1a96c <msdos_find_name_in_fat_file+0x338><== NEVER TAKEN
ffc1a964:	7f 8e 50 00 	cmpw    cr7,r14,r10                            
ffc1a968:	41 9e 00 4c 	beq-    cr7,ffc1a9b4 <msdos_find_name_in_fat_file+0x380><== 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 ||                                
ffc1a96c:	40 ae 00 bc 	bne+    cr3,ffc1aa28 <msdos_find_name_in_fat_file+0x3f4>
                        ((name_type == MSDOS_NAME_SHORT) &&           
ffc1a970:	81 41 00 0c 	lwz     r10,12(r1)                             
ffc1a974:	2f 8a ff ff 	cmpwi   cr7,r10,-1                             
ffc1a978:	40 be 00 b0 	bne+    cr7,ffc1aa28 <msdos_find_name_in_fat_file+0x3f4><== NEVER TAKEN
                         (lfn_start.cln == FAT_FILE_SHORT_NAME) &&    
                         (memcmp(MSDOS_DIR_NAME(entry),               
ffc1a97c:	7e e3 bb 78 	mr      r3,r23                                 
ffc1a980:	90 01 00 28 	stw     r0,40(r1)                              
ffc1a984:	7f 64 db 78 	mr      r4,r27                                 
ffc1a988:	38 a0 00 0b 	li      r5,11                                  
ffc1a98c:	91 01 00 24 	stw     r8,36(r1)                              
ffc1a990:	91 21 00 2c 	stw     r9,44(r1)                              
ffc1a994:	91 61 00 20 	stw     r11,32(r1)                             
ffc1a998:	48 00 36 a1 	bl      ffc1e038 <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) &&    
ffc1a99c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1a9a0:	80 01 00 28 	lwz     r0,40(r1)                              
ffc1a9a4:	81 01 00 24 	lwz     r8,36(r1)                              
ffc1a9a8:	81 21 00 2c 	lwz     r9,44(r1)                              
ffc1a9ac:	81 61 00 20 	lwz     r11,32(r1)                             
ffc1a9b0:	40 be 00 78 	bne+    cr7,ffc1aa28 <msdos_find_name_in_fat_file+0x3f4>
#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,
ffc1a9b4:	7f 23 cb 78 	mr      r3,r25                                 
ffc1a9b8:	7f a4 eb 78 	mr      r4,r29                                 
ffc1a9bc:	38 a0 00 01 	li      r5,1                                   
ffc1a9c0:	7e 26 8b 78 	mr      r6,r17                                 
ffc1a9c4:	7f 87 e3 78 	mr      r7,r28                                 
ffc1a9c8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc1a9cc:	4b ff 97 d1 	bl      ffc1419c <fat_file_ioctl>              
                                                dir_offset * bts2rd,  
                                                &dir_pos->sname.cln); 
                        if (rc != RC_OK)                              
ffc1a9d0:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1a9d4:	40 82 04 8c 	bne-    ffc1ae60 <msdos_find_name_in_fat_file+0x82c><== NEVER TAKEN
                            return rc;                                
                                                                      
                        dir_pos->sname.ofs = dir_entry;               
                                                                      
                        if (lfn_start.cln != FAT_FILE_SHORT_NAME)     
ffc1a9d8:	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;               
ffc1a9dc:	92 dc 00 04 	stw     r22,4(r28)                             
                                                                      
                        if (lfn_start.cln != FAT_FILE_SHORT_NAME)     
ffc1a9e0:	2f 86 ff ff 	cmpwi   cr7,r6,-1                              
ffc1a9e4:	41 9e 00 28 	beq-    cr7,ffc1aa0c <msdos_find_name_in_fat_file+0x3d8>
                        {                                             
                          rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM,
ffc1a9e8:	7c df 31 d6 	mullw   r6,r31,r6                              
ffc1a9ec:	7f 23 cb 78 	mr      r3,r25                                 
ffc1a9f0:	7f a4 eb 78 	mr      r4,r29                                 
ffc1a9f4:	38 a0 00 01 	li      r5,1                                   
ffc1a9f8:	38 e1 00 0c 	addi    r7,r1,12                               
ffc1a9fc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc1aa00:	4b ff 97 9d 	bl      ffc1419c <fat_file_ioctl>              
                                              lfn_start.cln * bts2rd, 
                                              &lfn_start.cln);        
                          if (rc != RC_OK)                            
ffc1aa04:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1aa08:	40 82 04 4c 	bne-    ffc1ae54 <msdos_find_name_in_fat_file+0x820><== NEVER TAKEN
                            return rc;                                
                        }                                             
                                                                      
                        dir_pos->lname.cln = lfn_start.cln;           
ffc1aa0c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc1aa10:	90 1c 00 08 	stw     r0,8(r28)                              
                        dir_pos->lname.ofs = lfn_start.ofs;           
ffc1aa14:	80 01 00 10 	lwz     r0,16(r1)                              
ffc1aa18:	90 1c 00 0c 	stw     r0,12(r28)                             
                                                                      
                        memcpy(name_dir_entry, entry,                 
ffc1aa1c:	7c b7 04 aa 	lswi    r5,r23,32                              
ffc1aa20:	7c bb 05 aa 	stswi   r5,r27,32                              
                               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);    
                        return RC_OK;                                 
ffc1aa24:	48 00 04 3c 	b       ffc1ae60 <msdos_find_name_in_fat_file+0x82c>
                    }                                                 
                                                                      
                    lfn_start.cln = FAT_FILE_SHORT_NAME;              
ffc1aa28:	92 01 00 0c 	stw     r16,12(r1)                             
                    lfn_matched = false;                              
ffc1aa2c:	39 e0 00 00 	li      r15,0                                  
ffc1aa30:	48 00 00 08 	b       ffc1aa38 <msdos_find_name_in_fat_file+0x404>
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
                    empty_space_found = true;                         
ffc1aa34:	38 00 00 01 	li      r0,1                                   <== 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)          
ffc1aa38:	3a d6 00 20 	addi    r22,r22,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;                                           
ffc1aa3c:	7f 96 f8 40 	cmplw   cr7,r22,r31                            
ffc1aa40:	41 9c fd 38 	blt+    cr7,ffc1a778 <msdos_find_name_in_fat_file+0x144><== ALWAYS TAKEN
ffc1aa44:	7e 31 fa 14 	add     r17,r17,r31                            <== NOT EXECUTED
        }                                                             
                                                                      
        if (remainder_empty)                                          
            break;                                                    
                                                                      
        dir_offset++;                                                 
ffc1aa48:	3a 52 00 01 	addi    r18,r18,1                              <== NOT EXECUTED
    /*                                                                
     * Scan the directory seeing if the file is present. While        
     * doing this see if a suitable location can be found to          
     * create the entry if the name is not found.                     
     */                                                               
    while ((ret = fat_file_read(mt_entry, fat_fd, (dir_offset * bts2rd),
ffc1aa4c:	80 f8 00 9c 	lwz     r7,156(r24)                            
ffc1aa50:	7f 23 cb 78 	mr      r3,r25                                 
ffc1aa54:	7f a4 eb 78 	mr      r4,r29                                 
ffc1aa58:	90 01 00 28 	stw     r0,40(r1)                              
ffc1aa5c:	7e 25 8b 78 	mr      r5,r17                                 
ffc1aa60:	7f e6 fb 78 	mr      r6,r31                                 
ffc1aa64:	91 01 00 24 	stw     r8,36(r1)                              
ffc1aa68:	91 21 00 2c 	stw     r9,44(r1)                              
ffc1aa6c:	91 61 00 20 	stw     r11,32(r1)                             
ffc1aa70:	4b ff 93 a5 	bl      ffc13e14 <fat_file_read>               
ffc1aa74:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1aa78:	80 01 00 28 	lwz     r0,40(r1)                              
ffc1aa7c:	81 01 00 24 	lwz     r8,36(r1)                              
ffc1aa80:	81 21 00 2c 	lwz     r9,44(r1)                              
ffc1aa84:	81 61 00 20 	lwz     r11,32(r1)                             
ffc1aa88:	40 82 fc b8 	bne+    ffc1a740 <msdos_find_name_in_fat_file+0x10c><== ALWAYS TAKEN
    }                                                                 
                                                                      
    /*                                                                
     * If we are not to create the entry return a not found error.    
     */                                                               
    if (!create_node)                                                 
ffc1aa8c:	2f 8b 00 00 	cmpwi   cr7,r11,0                              <== NOT EXECUTED
      return MSDOS_NAME_NOT_FOUND_ERR;                                
ffc1aa90:	3b c0 7d 01 	li      r30,32001                              <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * If we are not to create the entry return a not found error.    
     */                                                               
    if (!create_node)                                                 
ffc1aa94:	41 be 03 cc 	beq+    cr7,ffc1ae60 <msdos_find_name_in_fat_file+0x82c><== NOT EXECUTED
     * data to place in each long file name entry. First set the short
     * file name to the slot of the SFN entry. This will mean no clashes
     * in this directory.                                             
     */                                                               
    lfn_checksum = 0;                                                 
    if (name_type == MSDOS_NAME_LONG)                                 
ffc1aa98:	2f 88 00 02 	cmpwi   cr7,r8,2                               
ffc1aa9c:	40 be 00 9c 	bne+    cr7,ffc1ab38 <msdos_find_name_in_fat_file+0x504>
    {                                                                 
        int      slot = (((empty_space_offset * bts2rd) + empty_space_entry) /
ffc1aaa0:	7d 14 f9 d6 	mullw   r8,r20,r31                             
                         MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE) + lfn_entries + 1;
ffc1aaa4:	38 1a 00 01 	addi    r0,r26,1                               
     * in this directory.                                             
     */                                                               
    lfn_checksum = 0;                                                 
    if (name_type == MSDOS_NAME_LONG)                                 
    {                                                                 
        int      slot = (((empty_space_offset * bts2rd) + empty_space_entry) /
ffc1aaa8:	7d 08 aa 14 	add     r8,r8,r21                              
ffc1aaac:	55 08 d9 7e 	rlwinm  r8,r8,27,5,31                          
                         MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE) + lfn_entries + 1;
ffc1aab0:	7d 00 42 14 	add     r8,r0,r8                               
{                                                                     
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
ffc1aab4:	88 1b 00 00 	lbz     r0,0(r27)                              
ffc1aab8:	2f 80 00 20 	cmpwi   cr7,r0,32                              
ffc1aabc:	40 be 00 10 	bne+    cr7,ffc1aacc <msdos_find_name_in_fat_file+0x498><== ALWAYS TAKEN
        *c = '_';                                                     
ffc1aac0:	38 00 00 5f 	li      r0,95                                  <== NOT EXECUTED
ffc1aac4:	98 1b 00 00 	stb     r0,0(r27)                              <== NOT EXECUTED
ffc1aac8:	48 00 00 0c 	b       ffc1aad4 <msdos_find_name_in_fat_file+0x4a0><== 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 == '.'))                                 
ffc1aacc:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc1aad0:	41 be ff f0 	beq-    cr7,ffc1aac0 <msdos_find_name_in_fat_file+0x48c><== NEVER TAKEN
ffc1aad4:	88 1b 00 01 	lbz     r0,1(r27)                              
ffc1aad8:	2f 80 00 20 	cmpwi   cr7,r0,32                              
ffc1aadc:	40 be 00 10 	bne+    cr7,ffc1aaec <msdos_find_name_in_fat_file+0x4b8><== ALWAYS TAKEN
        *c = '_';                                                     
ffc1aae0:	38 00 00 5f 	li      r0,95                                  <== NOT EXECUTED
ffc1aae4:	98 1b 00 01 	stb     r0,1(r27)                              <== NOT EXECUTED
ffc1aae8:	48 00 00 0c 	b       ffc1aaf4 <msdos_find_name_in_fat_file+0x4c0><== 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 == '.'))                                 
ffc1aaec:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc1aaf0:	41 be ff f0 	beq-    cr7,ffc1aae0 <msdos_find_name_in_fat_file+0x4ac><== NEVER TAKEN
        *c = '_';                                                     
    for (i = 0; i < 4; i++, c++)                                      
      *c = hex[(num >> ((3 - i) * 4)) & 0xf];                         
ffc1aaf4:	38 a0 00 04 	li      r5,4                                   
ffc1aaf8:	7c a9 03 a6 	mtctr   r5                                     
msdos_short_name_hex(char* sfn, int num)                              
{                                                                     
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
ffc1aafc:	39 7b 00 02 	addi    r11,r27,2                              
ffc1ab00:	39 20 00 0c 	li      r9,12                                  
      if ((*c == ' ') || (*c == '.'))                                 
        *c = '_';                                                     
    for (i = 0; i < 4; i++, c++)                                      
      *c = hex[(num >> ((3 - i) * 4)) & 0xf];                         
ffc1ab04:	3d 40 ff c3 	lis     r10,-61                                
ffc1ab08:	7d 00 4e 30 	sraw    r0,r8,r9                               
ffc1ab0c:	54 00 07 3e 	clrlwi  r0,r0,28                               
ffc1ab10:	38 ea dc 98 	addi    r7,r10,-9064                           
ffc1ab14:	7c 07 00 ae 	lbzx    r0,r7,r0                               
    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++)                                      
ffc1ab18:	39 29 ff fc 	addi    r9,r9,-4                               
      *c = hex[(num >> ((3 - i) * 4)) & 0xf];                         
ffc1ab1c:	98 0b 00 00 	stb     r0,0(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++)                                      
ffc1ab20:	39 6b 00 01 	addi    r11,r11,1                              
ffc1ab24:	42 00 ff e4 	bdnz+   ffc1ab08 <msdos_find_name_in_fat_file+0x4d4>
      *c = hex[(num >> ((3 - i) * 4)) & 0xf];                         
    *c++ = '~';                                                       
ffc1ab28:	38 00 00 7e 	li      r0,126                                 
ffc1ab2c:	98 1b 00 06 	stb     r0,6(r27)                              
    *c++ = '1';                                                       
ffc1ab30:	38 00 00 31 	li      r0,49                                  
ffc1ab34:	98 1b 00 07 	stb     r0,7(r27)                              
        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)                                                  
ffc1ab38:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
     * If a long file name calculate the checksum of the short file name
     * data to place in each long file name entry. First set the short
     * file name to the slot of the SFN entry. This will mean no clashes
     * in this directory.                                             
     */                                                               
    lfn_checksum = 0;                                                 
ffc1ab3c:	3a 20 00 00 	li      r17,0                                  
        int      slot = (((empty_space_offset * bts2rd) + empty_space_entry) /
                         MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE) + lfn_entries + 1;
        msdos_short_name_hex(MSDOS_DIR_NAME(name_dir_entry), slot);   
    }                                                                 
                                                                      
    if (lfn_entries)                                                  
ffc1ab40:	41 9e 00 3c 	beq-    cr7,ffc1ab7c <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 =                                            
ffc1ab44:	38 c0 00 0b 	li      r6,11                                  
ffc1ab48:	7c c9 03 a6 	mtctr   r6                                     
        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)                                                  
ffc1ab4c:	39 20 00 00 	li      r9,0                                   
    {                                                                 
        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(name_dir_entry);       
        int      i;                                                   
        for (i = 0; i < 11; i++, p++)                                 
            lfn_checksum =                                            
ffc1ab50:	72 27 00 01 	andi.   r7,r17,1                               
ffc1ab54:	38 00 00 00 	li      r0,0                                   
ffc1ab58:	41 82 00 08 	beq-    ffc1ab60 <msdos_find_name_in_fat_file+0x52c>
ffc1ab5c:	38 00 00 80 	li      r0,128                                 
ffc1ab60:	7d 7b 48 ae 	lbzx    r11,r27,r9                             
ffc1ab64:	56 31 f8 7e 	rlwinm  r17,r17,31,1,31                        
                                                                      
    if (lfn_entries)                                                  
    {                                                                 
        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(name_dir_entry);       
        int      i;                                                   
        for (i = 0; i < 11; i++, p++)                                 
ffc1ab68:	39 29 00 01 	addi    r9,r9,1                                
            lfn_checksum =                                            
ffc1ab6c:	7e 2b 8a 14 	add     r17,r11,r17                            
ffc1ab70:	7e 31 02 14 	add     r17,r17,r0                             
ffc1ab74:	56 31 06 3e 	clrlwi  r17,r17,24                             
                                                                      
    if (lfn_entries)                                                  
    {                                                                 
        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(name_dir_entry);       
        int      i;                                                   
        for (i = 0; i < 11; i++, p++)                                 
ffc1ab78:	42 00 ff d8 	bdnz+   ffc1ab50 <msdos_find_name_in_fat_file+0x51c>
     * 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)                                       
ffc1ab7c:	2f 93 00 00 	cmpwi   cr7,r19,0                              
ffc1ab80:	41 9e 00 18 	beq-    cr7,ffc1ab98 <msdos_find_name_in_fat_file+0x564><== NEVER TAKEN
    }                                                                 
                                                                      
    /*                                                                
     * Have we read past the empty block ? If so go back and read it again.
     */                                                               
    if (dir_offset != empty_space_offset)                             
ffc1ab84:	7f 92 a0 00 	cmpw    cr7,r18,r20                            
        read_cluster = true;                                          
ffc1ab88:	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)                             
ffc1ab8c:	40 be 00 18 	bne+    cr7,ffc1aba4 <msdos_find_name_in_fat_file+0x570><== NEVER TAKEN
    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;                            
ffc1ab90:	38 00 00 00 	li      r0,0                                   
ffc1ab94:	48 00 00 10 	b       ffc1aba4 <msdos_find_name_in_fat_file+0x570>
     * 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)                                       
ffc1ab98:	7e 54 93 78 	mr      r20,r18                                <== NOT EXECUTED
    {                                                                 
        read_cluster = true;                                          
ffc1ab9c:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
        empty_space_offset = dir_offset;                              
        empty_space_entry = 0;                                        
ffc1aba0:	3a a0 00 00 	li      r21,0                                  <== NOT EXECUTED
        read_cluster = true;                                          
                                                                      
    /*                                                                
     * Handle the entry writes.                                       
     */                                                               
    lfn_start.cln = lfn_start.ofs = FAT_FILE_SHORT_NAME;              
ffc1aba4:	39 20 ff ff 	li      r9,-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(                                      
ffc1aba8:	81 61 00 18 	lwz     r11,24(r1)                             
        read_cluster = true;                                          
                                                                      
    /*                                                                
     * Handle the entry writes.                                       
     */                                                               
    lfn_start.cln = lfn_start.ofs = FAT_FILE_SHORT_NAME;              
ffc1abac:	91 21 00 10 	stw     r9,16(r1)                              
ffc1abb0:	7e f4 f9 d6 	mullw   r23,r20,r31                            
ffc1abb4:	91 21 00 0c 	stw     r9,12(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(                                      
ffc1abb8:	1d 3a 00 0d 	mulli   r9,r26,13                              
ffc1abbc:	39 eb ff f3 	addi    r15,r11,-13                            
                                                                      
    /*                                                                
     * Handle the entry writes.                                       
     */                                                               
    lfn_start.cln = lfn_start.ofs = FAT_FILE_SHORT_NAME;              
    lfn_entry = 0;                                                    
ffc1abc0:	3a 60 00 00 	li      r19,0                                  
 *     RC_OK on success, or error code if error occured (errno set    
 *     appropriately)                                                 
 *                                                                    
 */                                                                   
#define MSDOS_FIND_PRINT 0                                            
int msdos_find_name_in_fat_file(                                      
ffc1abc4:	3a 1a 00 01 	addi    r16,r26,1                              
ffc1abc8:	7d ef 4a 14 	add     r15,r15,r9                             
#endif                                                                
                                                                      
    /*                                                                
     * The one more is the short entry.                               
     */                                                               
    while (lfn_entry < (lfn_entries + 1))                             
ffc1abcc:	48 00 02 70 	b       ffc1ae3c <msdos_find_name_in_fat_file+0x808>
    {                                                                 
        int length = 0;                                               
                                                                      
        if (read_cluster)                                             
ffc1abd0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1abd4:	41 be 00 24 	beq+    cr7,ffc1abf8 <msdos_find_name_in_fat_file+0x5c4><== ALWAYS TAKEN
        {                                                             
          uint32_t new_length;                                        
#if MSDOS_FIND_PRINT                                                  
          printf ("MSFS:[9.1] eso:%li\n", empty_space_offset);        
#endif                                                                
          ret = fat_file_read(mt_entry, fat_fd,                       
ffc1abd8:	80 f8 00 9c 	lwz     r7,156(r24)                            <== NOT EXECUTED
ffc1abdc:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc1abe0:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc1abe4:	7e e5 bb 78 	mr      r5,r23                                 <== NOT EXECUTED
ffc1abe8:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc1abec:	4b ff 92 29 	bl      ffc13e14 <fat_file_read>               <== NOT EXECUTED
                              (empty_space_offset * bts2rd), bts2rd,  
                              fs_info->cl_buf);                       
                                                                      
          if (ret != bts2rd)                                          
ffc1abf0:	7f 83 f8 00 	cmpw    cr7,r3,r31                             <== NOT EXECUTED
ffc1abf4:	40 be 00 28 	bne+    cr7,ffc1ac1c <msdos_find_name_in_fat_file+0x5e8><== NOT EXECUTED
 *     RC_OK on success, or error code if error occured (errno set    
 *     appropriately)                                                 
 *                                                                    
 */                                                                   
#define MSDOS_FIND_PRINT 0                                            
int msdos_find_name_in_fat_file(                                      
ffc1abf8:	3b d3 00 01 	addi    r30,r19,1                              
ffc1abfc:	1c 13 00 0d 	mulli   r0,r19,13                              
#endif                                                                
          ret = fat_file_read(mt_entry, fat_fd,                       
                              (empty_space_offset * bts2rd), bts2rd,  
                              fs_info->cl_buf);                       
                                                                      
          if (ret != bts2rd)                                          
ffc1ac00:	7f de 80 50 	subf    r30,r30,r16                            
ffc1ac04:	57 de 06 3e 	clrlwi  r30,r30,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(                                      
ffc1ac08:	7e ae ab 78 	mr      r14,r21                                
ffc1ac0c:	39 20 00 00 	li      r9,0                                   
ffc1ac10:	3a 40 00 00 	li      r18,0                                  
ffc1ac14:	7c 00 78 50 	subf    r0,r0,r15                              
ffc1ac18:	48 00 01 d0 	b       ffc1ade8 <msdos_find_name_in_fat_file+0x7b4>
                              (empty_space_offset * bts2rd), bts2rd,  
                              fs_info->cl_buf);                       
                                                                      
          if (ret != bts2rd)                                          
          {                                                           
            if (ret != FAT_EOF)                                       
ffc1ac1c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1ac20:	40 9e 02 00 	bne-    cr7,ffc1ae20 <msdos_find_name_in_fat_file+0x7ec><== 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,
ffc1ac24:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc1ac28:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc1ac2c:	7e e5 bb 78 	mr      r5,r23                                 <== NOT EXECUTED
ffc1ac30:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc1ac34:	4b ff 96 41 	bl      ffc14274 <fat_file_extend>             <== NOT EXECUTED
                                   &new_length);                      
                                                                      
            if (ret != RC_OK)                                         
ffc1ac38:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc1ac3c:	40 82 02 24 	bne-    ffc1ae60 <msdos_find_name_in_fat_file+0x82c><== 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))          
ffc1ac40:	80 01 00 08 	lwz     r0,8(r1)                               <== NOT EXECUTED
ffc1ac44:	7f 80 b8 00 	cmpw    cr7,r0,r23                             <== NOT EXECUTED
ffc1ac48:	40 9e 01 d8 	bne-    cr7,ffc1ae20 <msdos_find_name_in_fat_file+0x7ec><== NOT EXECUTED
              rtems_set_errno_and_return_minus_one(EIO);              
                                                                      
            memset(fs_info->cl_buf, 0, bts2rd);                       
ffc1ac4c:	80 78 00 9c 	lwz     r3,156(r24)                            <== NOT EXECUTED
ffc1ac50:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1ac54:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc1ac58:	48 00 35 69 	bl      ffc1e1c0 <memset>                      <== NOT EXECUTED
                                                                      
            ret = fat_file_write(mt_entry, fat_fd,                    
ffc1ac5c:	80 f8 00 9c 	lwz     r7,156(r24)                            <== NOT EXECUTED
ffc1ac60:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc1ac64:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc1ac68:	7e e5 bb 78 	mr      r5,r23                                 <== NOT EXECUTED
ffc1ac6c:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc1ac70:	4b ff 97 fd 	bl      ffc1446c <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)                                            
ffc1ac74:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              <== NOT EXECUTED
ffc1ac78:	41 9e 01 e4 	beq-    cr7,ffc1ae5c <msdos_find_name_in_fat_file+0x828><== NOT EXECUTED
              return ret;                                             
            else if (ret != bts2rd)                                   
ffc1ac7c:	7f 83 f8 00 	cmpw    cr7,r3,r31                             <== NOT EXECUTED
ffc1ac80:	41 9e ff 78 	beq+    cr7,ffc1abf8 <msdos_find_name_in_fat_file+0x5c4><== NOT EXECUTED
ffc1ac84:	48 00 01 9c 	b       ffc1ae20 <msdos_find_name_in_fat_file+0x7ec><== NOT EXECUTED
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
            lfn_entry++;                                              
ffc1ac88:	3a 73 00 01 	addi    r19,r19,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;  
ffc1ac8c:	82 d8 00 9c 	lwz     r22,156(r24)                           
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
ffc1ac90:	7f 93 80 00 	cmpw    cr7,r19,r16                            
                                                                      
        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;  
ffc1ac94:	7e d6 72 14 	add     r22,r22,r14                            
            char*       p;                                            
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
ffc1ac98:	3a 52 00 20 	addi    r18,r18,32                             
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
ffc1ac9c:	40 be 00 78 	bne+    cr7,ffc1ad14 <msdos_find_name_in_fat_file+0x6e0>
            {                                                         
                /* get current cluster number */                      
                int rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM,  
ffc1aca0:	7f 23 cb 78 	mr      r3,r25                                 
ffc1aca4:	7f a4 eb 78 	mr      r4,r29                                 
ffc1aca8:	38 a0 00 01 	li      r5,1                                   
ffc1acac:	7e e6 bb 78 	mr      r6,r23                                 
ffc1acb0:	7f 87 e3 78 	mr      r7,r28                                 
ffc1acb4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc1acb8:	4b ff 94 e5 	bl      ffc1419c <fat_file_ioctl>              
                                        empty_space_offset * bts2rd,  
                                        &dir_pos->sname.cln);         
                if (rc != RC_OK)                                      
ffc1acbc:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1acc0:	40 82 01 a0 	bne-    ffc1ae60 <msdos_find_name_in_fat_file+0x82c><== NEVER TAKEN
                  return rc;                                          
                                                                      
                dir_pos->sname.ofs = dir_entry;                       
                                                                      
                if (lfn_start.cln != FAT_FILE_SHORT_NAME)             
ffc1acc4:	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;                       
ffc1acc8:	91 dc 00 04 	stw     r14,4(r28)                             
                                                                      
                if (lfn_start.cln != FAT_FILE_SHORT_NAME)             
ffc1accc:	2f 86 ff ff 	cmpwi   cr7,r6,-1                              
ffc1acd0:	41 9e 00 28 	beq-    cr7,ffc1acf8 <msdos_find_name_in_fat_file+0x6c4>
                {                                                     
                  rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM,    
ffc1acd4:	7c df 31 d6 	mullw   r6,r31,r6                              
ffc1acd8:	7f 23 cb 78 	mr      r3,r25                                 
ffc1acdc:	7f a4 eb 78 	mr      r4,r29                                 
ffc1ace0:	38 a0 00 01 	li      r5,1                                   
ffc1ace4:	38 e1 00 0c 	addi    r7,r1,12                               
ffc1ace8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc1acec:	4b ff 94 b1 	bl      ffc1419c <fat_file_ioctl>              
                                      lfn_start.cln * bts2rd,         
                                      &lfn_start.cln);                
                  if (rc != RC_OK)                                    
ffc1acf0:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1acf4:	40 82 01 6c 	bne-    ffc1ae60 <msdos_find_name_in_fat_file+0x82c><== NEVER TAKEN
                    return rc;                                        
                }                                                     
                                                                      
                dir_pos->lname.cln = lfn_start.cln;                   
ffc1acf8:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc1acfc:	90 1c 00 08 	stw     r0,8(r28)                              
                dir_pos->lname.ofs = lfn_start.ofs;                   
ffc1ad00:	80 01 00 10 	lwz     r0,16(r1)                              
ffc1ad04:	90 1c 00 0c 	stw     r0,12(r28)                             
                                                                      
                /* write new node entry */                            
                memcpy (entry, (uint8_t *) name_dir_entry,            
ffc1ad08:	7c bb 04 aa 	lswi    r5,r27,32                              
ffc1ad0c:	7c b6 05 aa 	stswi   r5,r22,32                              
                        MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);           
                break;                                                
ffc1ad10:	48 00 00 e0 	b       ffc1adf0 <msdos_find_name_in_fat_file+0x7bc>
             * 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)                 
ffc1ad14:	81 61 00 0c 	lwz     r11,12(r1)                             
ffc1ad18:	2f 8b ff ff 	cmpwi   cr7,r11,-1                             
ffc1ad1c:	40 be 00 0c 	bne+    cr7,ffc1ad28 <msdos_find_name_in_fat_file+0x6f4>
            {                                                         
              lfn_start.cln = empty_space_offset;                     
ffc1ad20:	92 81 00 0c 	stw     r20,12(r1)                             
              lfn_start.ofs = dir_entry;                              
ffc1ad24:	91 c1 00 10 	stw     r14,16(r1)                             
            }                                                         
                                                                      
            /*                                                        
             * Clear the entry before loading the data.               
             */                                                       
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
ffc1ad28:	7e c3 b3 78 	mr      r3,r22                                 
ffc1ad2c:	90 01 00 28 	stw     r0,40(r1)                              
ffc1ad30:	38 80 00 00 	li      r4,0                                   
ffc1ad34:	38 a0 00 20 	li      r5,32                                  
ffc1ad38:	91 21 00 2c 	stw     r9,44(r1)                              
ffc1ad3c:	48 00 34 85 	bl      ffc1e1c0 <memset>                      
                }                                                     
                else                                                  
                {                                                     
                    p [0] = fill;                                     
                    p [1] = fill;                                     
                    fill = 0xff;                                      
ffc1ad40:	38 60 00 0d 	li      r3,13                                  
            /*                                                        
             * Clear the entry before loading the data.               
             */                                                       
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
                                                                      
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
ffc1ad44:	9a 36 00 0d 	stb     r17,13(r22)                            
                }                                                     
                else                                                  
                {                                                     
                    p [0] = fill;                                     
                    p [1] = fill;                                     
                    fill = 0xff;                                      
ffc1ad48:	7c 69 03 a6 	mtctr   r3                                     
             */                                                       
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
                                                                      
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
                                                                      
            p = entry + 1;                                            
ffc1ad4c:	39 76 00 01 	addi    r11,r22,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(                                      
ffc1ad50:	80 01 00 28 	lwz     r0,40(r1)                              
        {                                                             
            char*       entry = (char*) fs_info->cl_buf + dir_entry;  
            char*       p;                                            
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
ffc1ad54:	39 00 00 00 	li      r8,0                                   
 *     RC_OK on success, or error code if error occured (errno set    
 *     appropriately)                                                 
 *                                                                    
 */                                                                   
#define MSDOS_FIND_PRINT 0                                            
int msdos_find_name_in_fat_file(                                      
ffc1ad58:	81 21 00 2c 	lwz     r9,44(r1)                              
            *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++)             
ffc1ad5c:	39 40 00 00 	li      r10,0                                  
 *     RC_OK on success, or error code if error occured (errno set    
 *     appropriately)                                                 
 *                                                                    
 */                                                                   
#define MSDOS_FIND_PRINT 0                                            
int msdos_find_name_in_fat_file(                                      
ffc1ad60:	7c e0 4a 14 	add     r7,r0,r9                               
            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)                                          
ffc1ad64:	88 c7 00 00 	lbz     r6,0(r7)                               
ffc1ad68:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc1ad6c:	41 9e 00 10 	beq-    cr7,ffc1ad7c <msdos_find_name_in_fat_file+0x748>
                {                                                     
                    *p = *n;                                          
ffc1ad70:	98 cb 00 00 	stb     r6,0(r11)                              
                    n++;                                              
ffc1ad74:	38 e7 00 01 	addi    r7,r7,1                                
ffc1ad78:	48 00 00 10 	b       ffc1ad88 <msdos_find_name_in_fat_file+0x754>
                }                                                     
                else                                                  
                {                                                     
                    p [0] = fill;                                     
ffc1ad7c:	99 0b 00 00 	stb     r8,0(r11)                              
                    p [1] = fill;                                     
ffc1ad80:	99 0b 00 01 	stb     r8,1(r11)                              
                    fill = 0xff;                                      
ffc1ad84:	39 00 00 ff 	li      r8,255                                 
                }                                                     
                                                                      
                switch (i)                                            
ffc1ad88:	2f 8a 00 04 	cmpwi   cr7,r10,4                              
ffc1ad8c:	41 9e 00 10 	beq-    cr7,ffc1ad9c <msdos_find_name_in_fat_file+0x768>
ffc1ad90:	2f 8a 00 0a 	cmpwi   cr7,r10,10                             
ffc1ad94:	40 be 00 18 	bne+    cr7,ffc1adac <msdos_find_name_in_fat_file+0x778>
ffc1ad98:	48 00 00 0c 	b       ffc1ada4 <msdos_find_name_in_fat_file+0x770>
                {                                                     
                    case 4:                                           
                        p += 5;                                       
ffc1ad9c:	39 6b 00 05 	addi    r11,r11,5                              
                        break;                                        
ffc1ada0:	48 00 00 10 	b       ffc1adb0 <msdos_find_name_in_fat_file+0x77c>
                    case 10:                                          
                        p += 4;                                       
ffc1ada4:	39 6b 00 04 	addi    r11,r11,4                              
                        break;                                        
ffc1ada8:	48 00 00 08 	b       ffc1adb0 <msdos_find_name_in_fat_file+0x77c>
                    default:                                          
                        p += 2;                                       
ffc1adac:	39 6b 00 02 	addi    r11,r11,2                              
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
                                                                      
            p = entry + 1;                                            
            n = name + (lfn_entries - lfn_entry) * MSDOS_LFN_LEN_PER_ENTRY;
                                                                      
            for (i = 0; i < MSDOS_LFN_LEN_PER_ENTRY; i++)             
ffc1adb0:	39 4a 00 01 	addi    r10,r10,1                              
ffc1adb4:	42 00 ff b0 	bdnz+   ffc1ad64 <msdos_find_name_in_fat_file+0x730>
                        break;                                        
                }                                                     
            }                                                         
                                                                      
            *MSDOS_DIR_ENTRY_TYPE(entry) = (lfn_entries - lfn_entry) + 1;
            if (lfn_entry == 1)                                       
ffc1adb8:	2f 93 00 01 	cmpwi   cr7,r19,1                              
                        p += 2;                                       
                        break;                                        
                }                                                     
            }                                                         
                                                                      
            *MSDOS_DIR_ENTRY_TYPE(entry) = (lfn_entries - lfn_entry) + 1;
ffc1adbc:	9b d6 00 00 	stb     r30,0(r22)                             
            if (lfn_entry == 1)                                       
ffc1adc0:	40 be 00 0c 	bne+    cr7,ffc1adcc <msdos_find_name_in_fat_file+0x798>
                *MSDOS_DIR_ENTRY_TYPE(entry) |= MSDOS_LAST_LONG_ENTRY;
ffc1adc4:	63 cb 00 40 	ori     r11,r30,64                             
ffc1adc8:	99 76 00 00 	stb     r11,0(r22)                             
            *MSDOS_DIR_ATTR(entry) |= MSDOS_ATTR_LFN;                 
ffc1adcc:	89 76 00 0b 	lbz     r11,11(r22)                            
        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)          
ffc1add0:	3b de ff ff 	addi    r30,r30,-1                             
ffc1add4:	39 ce 00 20 	addi    r14,r14,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;                 
ffc1add8:	61 6b 00 0f 	ori     r11,r11,15                             
ffc1addc:	99 76 00 0b 	stb     r11,11(r22)                            
        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)          
ffc1ade0:	57 de 06 3e 	clrlwi  r30,r30,24                             
ffc1ade4:	39 29 ff f3 	addi    r9,r9,-13                              
                                                                      
#if MSDOS_FIND_PRINT                                                  
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
ffc1ade8:	7f 8e f8 40 	cmplw   cr7,r14,r31                            
ffc1adec:	41 9c fe 9c 	blt+    cr7,ffc1ac88 <msdos_find_name_in_fat_file+0x654><== ALWAYS TAKEN
            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,                        
ffc1adf0:	80 f8 00 9c 	lwz     r7,156(r24)                            
ffc1adf4:	7f 23 cb 78 	mr      r3,r25                                 
ffc1adf8:	7f a4 eb 78 	mr      r4,r29                                 
ffc1adfc:	7c b7 aa 14 	add     r5,r23,r21                             
ffc1ae00:	7e 46 93 78 	mr      r6,r18                                 
ffc1ae04:	7c e7 aa 14 	add     r7,r7,r21                              
ffc1ae08:	4b ff 96 65 	bl      ffc1446c <fat_file_write>              
                             (empty_space_offset * bts2rd) + empty_space_entry,
                             length, fs_info->cl_buf + empty_space_entry);
        if (ret == -1)                                                
ffc1ae0c:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc1ae10:	41 9e 00 4c 	beq-    cr7,ffc1ae5c <msdos_find_name_in_fat_file+0x828><== NEVER TAKEN
            return ret;                                               
        else if (ret != length)                                       
ffc1ae14:	7f 83 90 00 	cmpw    cr7,r3,r18                             
        }                                                             
                                                                      
        ret = fat_file_write(mt_entry, fat_fd,                        
                             (empty_space_offset * bts2rd) + empty_space_entry,
                             length, fs_info->cl_buf + empty_space_entry);
        if (ret == -1)                                                
ffc1ae18:	7e f7 fa 14 	add     r23,r23,r31                            
            return ret;                                               
        else if (ret != length)                                       
ffc1ae1c:	41 be 00 14 	beq+    cr7,ffc1ae30 <msdos_find_name_in_fat_file+0x7fc><== ALWAYS TAKEN
            rtems_set_errno_and_return_minus_one(EIO);                
ffc1ae20:	48 00 24 89 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc1ae24:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1ae28:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1ae2c:	48 00 00 30 	b       ffc1ae5c <msdos_find_name_in_fat_file+0x828><== NOT EXECUTED
                                                                      
        empty_space_offset++;                                         
ffc1ae30:	3a 94 00 01 	addi    r20,r20,1                              
        empty_space_entry = 0;                                        
ffc1ae34:	3a a0 00 00 	li      r21,0                                  
        read_cluster = true;                                          
ffc1ae38:	38 00 00 01 	li      r0,1                                   
#endif                                                                
                                                                      
    /*                                                                
     * The one more is the short entry.                               
     */                                                               
    while (lfn_entry < (lfn_entries + 1))                             
ffc1ae3c:	7f 9a 98 00 	cmpw    cr7,r26,r19                            
ffc1ae40:	40 9c fd 90 	bge+    cr7,ffc1abd0 <msdos_find_name_in_fat_file+0x59c>
        empty_space_offset++;                                         
        empty_space_entry = 0;                                        
        read_cluster = true;                                          
    }                                                                 
                                                                      
    return 0;                                                         
ffc1ae44:	3b c0 00 00 	li      r30,0                                  
ffc1ae48:	48 00 00 18 	b       ffc1ae60 <msdos_find_name_in_fat_file+0x82c>
                /*                                                    
                 * If just looking and there is no more entries in the
                 * directory - return name-not-found                  
                 */                                                   
                if (!create_node)                                     
                    return MSDOS_NAME_NOT_FOUND_ERR;                  
ffc1ae4c:	3b c0 7d 01 	li      r30,32001                              
ffc1ae50:	48 00 00 10 	b       ffc1ae60 <msdos_find_name_in_fat_file+0x82c>
                        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)                            
ffc1ae54:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
ffc1ae58:	48 00 00 08 	b       ffc1ae60 <msdos_find_name_in_fat_file+0x82c><== NOT EXECUTED
        }                                                             
                                                                      
        ret = fat_file_write(mt_entry, fat_fd,                        
                             (empty_space_offset * bts2rd) + empty_space_entry,
                             length, fs_info->cl_buf + empty_space_entry);
        if (ret == -1)                                                
ffc1ae5c:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
        empty_space_entry = 0;                                        
        read_cluster = true;                                          
    }                                                                 
                                                                      
    return 0;                                                         
}                                                                     
ffc1ae60:	81 81 00 34 	lwz     r12,52(r1)                             
ffc1ae64:	39 61 00 80 	addi    r11,r1,128                             
ffc1ae68:	7f c3 f3 78 	mr      r3,r30                                 
ffc1ae6c:	7d 81 81 20 	mtcrf   24,r12                                 
ffc1ae70:	4b fe 7c 44 	b       ffc02ab4 <_restgpr_14_x>               
                                                                      

ffc1ae74 <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 ) {
ffc1ae74:	94 21 ff d0 	stwu    r1,-48(r1)                             <== NOT EXECUTED
ffc1ae78:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1ae7c:	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) &&                                 
ffc1ae80:	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                   
    )                                                                 
{                                                                     
ffc1ae84:	be c1 00 08 	stmw    r22,8(r1)                              <== NOT EXECUTED
ffc1ae88:	7c 77 1b 78 	mr      r23,r3                                 <== 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) &&                                 
ffc1ae8c:	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                   
    )                                                                 
{                                                                     
ffc1ae90:	7c 9d 23 78 	mr      r29,r4                                 <== NOT EXECUTED
    int              rc = RC_OK;                                      
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1ae94:	83 03 00 34 	lwz     r24,52(r3)                             <== NOT EXECUTED
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              cl4find,                    
    fat_dir_pos_t                        *dir_pos,                    
    char                                 *dir_entry                   
    )                                                                 
{                                                                     
ffc1ae98:	7c b6 2b 78 	mr      r22,r5                                 <== NOT EXECUTED
ffc1ae9c:	7c db 33 78 	mr      r27,r6                                 <== NOT EXECUTED
ffc1aea0:	7c fe 3b 78 	mr      r30,r7                                 <== 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) &&                                 
ffc1aea4:	40 be 00 28 	bne+    cr7,ffc1aecc <msdos_find_node_by_cluster_num_in_fat_file+0x58><== NOT EXECUTED
ffc1aea8:	80 04 00 24 	lwz     r0,36(r4)                              <== NOT EXECUTED
ffc1aeac:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1aeb0:	40 9e 00 1c 	bne-    cr7,ffc1aecc <msdos_find_node_by_cluster_num_in_fat_file+0x58><== NOT EXECUTED
       (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))             
ffc1aeb4:	88 18 00 0a 	lbz     r0,10(r24)                             <== 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) &&                                 
ffc1aeb8:	70 09 00 03 	andi.   r9,r0,3                                <== NOT EXECUTED
ffc1aebc:	41 82 00 10 	beq-    ffc1aecc <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;                               
ffc1aec0:	83 84 00 18 	lwz     r28,24(r4)                             <== NOT EXECUTED
                                                                      
        assert(ret == bts2rd);                                        
                                                                      
        for (i = 0; i < bts2rd; i += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)
        {                                                             
            char* entry = (char*) fs_info->cl_buf + i;                
ffc1aec4:	3b 20 00 00 	li      r25,0                                  <== NOT EXECUTED
ffc1aec8:	48 00 00 f4 	b       ffc1afbc <msdos_find_node_by_cluster_num_in_fat_file+0x148><== NOT EXECUTED
                                                                      
    if (FAT_FD_OF_ROOT_DIR(fat_fd) &&                                 
       (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))             
        bts2rd = fat_fd->fat_file_size;                               
    else                                                              
        bts2rd = fs_info->fat.vol.bpc;                                
ffc1aecc:	a3 98 00 06 	lhz     r28,6(r24)                             <== NOT EXECUTED
ffc1aed0:	4b ff ff f4 	b       ffc1aec4 <msdos_find_node_by_cluster_num_in_fat_file+0x50><== 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 )                
ffc1aed4:	2f 83 00 1f 	cmpwi   cr7,r3,31                              <== NOT EXECUTED
ffc1aed8:	41 bd 00 18 	bgt+    cr7,ffc1aef0 <msdos_find_node_by_cluster_num_in_fat_file+0x7c><== NOT EXECUTED
            rtems_set_errno_and_return_minus_one( EIO );              
ffc1aedc:	48 00 23 cd 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc1aee0:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1aee4:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1aee8:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1aeec:	48 00 00 f4 	b       ffc1afe0 <msdos_find_node_by_cluster_num_in_fat_file+0x16c><== NOT EXECUTED
                                                                      
        assert(ret == bts2rd);                                        
ffc1aef0:	7f 83 e0 00 	cmpw    cr7,r3,r28                             <== NOT EXECUTED
ffc1aef4:	41 be 00 28 	beq+    cr7,ffc1af1c <msdos_find_node_by_cluster_num_in_fat_file+0xa8><== NOT EXECUTED
ffc1aef8:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc1aefc:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1af00:	38 a5 e1 bc 	addi    r5,r5,-7748                            <== NOT EXECUTED
ffc1af04:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc1af08:	38 63 e2 30 	addi    r3,r3,-7632                            <== NOT EXECUTED
ffc1af0c:	38 80 06 9e 	li      r4,1694                                <== NOT EXECUTED
ffc1af10:	38 a5 00 30 	addi    r5,r5,48                               <== NOT EXECUTED
ffc1af14:	38 c6 e2 bb 	addi    r6,r6,-7493                            <== NOT EXECUTED
ffc1af18:	4b fe c3 69 	bl      ffc07280 <__assert_func>               <== NOT EXECUTED
ffc1af1c:	83 f8 00 9c 	lwz     r31,156(r24)                           <== NOT EXECUTED
                                                                      
        for (i = 0; i < bts2rd; i += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)
        {                                                             
            char* entry = (char*) fs_info->cl_buf + i;                
ffc1af20:	3b 40 00 00 	li      r26,0                                  <== NOT EXECUTED
                                                                      
            /* if this and all rest entries are empty - return not-found */
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                     
ffc1af24:	88 1f 00 00 	lbz     r0,0(r31)                              <== NOT EXECUTED
ffc1af28:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1af2c:	41 9e 00 b0 	beq-    cr7,ffc1afdc <msdos_find_node_by_cluster_num_in_fat_file+0x168><== 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)) ==                     
ffc1af30:	2f 80 00 e5 	cmpwi   cr7,r0,229                             <== NOT EXECUTED
ffc1af34:	41 9e 00 74 	beq-    cr7,ffc1afa8 <msdos_find_node_by_cluster_num_in_fat_file+0x134><== NOT EXECUTED
                MSDOS_THIS_DIR_ENTRY_EMPTY)                           
                continue;                                             
                                                                      
            /* if get a non-empty entry - compare clusters num */     
            if (MSDOS_EXTRACT_CLUSTER_NUM(entry) == cl4find)          
ffc1af38:	a1 3f 00 14 	lhz     r9,20(r31)                             <== NOT EXECUTED
ffc1af3c:	a0 1f 00 1a 	lhz     r0,26(r31)                             <== NOT EXECUTED
ffc1af40:	55 2b c2 3e 	rlwinm  r11,r9,24,8,31                         <== NOT EXECUTED
ffc1af44:	55 29 44 2e 	rlwinm  r9,r9,8,16,23                          <== NOT EXECUTED
ffc1af48:	7d 69 4b 78 	or      r9,r11,r9                              <== NOT EXECUTED
ffc1af4c:	54 0b c2 3e 	rlwinm  r11,r0,24,8,31                         <== NOT EXECUTED
ffc1af50:	54 00 44 2e 	rlwinm  r0,r0,8,16,23                          <== NOT EXECUTED
ffc1af54:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          <== NOT EXECUTED
ffc1af58:	7d 60 03 78 	or      r0,r11,r0                              <== NOT EXECUTED
ffc1af5c:	7d 20 03 78 	or      r0,r9,r0                               <== NOT EXECUTED
ffc1af60:	7f 80 b0 00 	cmpw    cr7,r0,r22                             <== NOT EXECUTED
ffc1af64:	40 be 00 44 	bne+    cr7,ffc1afa8 <msdos_find_node_by_cluster_num_in_fat_file+0x134><== NOT EXECUTED
            {                                                         
                /* on success fill aux structure and copy all 32 bytes */
                rc = fat_file_ioctl(mt_entry, fat_fd, F_CLU_NUM, j * bts2rd,
ffc1af68:	7e e3 bb 78 	mr      r3,r23                                 <== NOT EXECUTED
ffc1af6c:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc1af70:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc1af74:	7f 26 cb 78 	mr      r6,r25                                 <== NOT EXECUTED
ffc1af78:	7f 67 db 78 	mr      r7,r27                                 <== NOT EXECUTED
ffc1af7c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1af80:	4b ff 92 1d 	bl      ffc1419c <fat_file_ioctl>              <== NOT EXECUTED
                                    &dir_pos->sname.cln);             
                if (rc != RC_OK)                                      
ffc1af84:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1af88:	40 a2 00 58 	bne+    ffc1afe0 <msdos_find_node_by_cluster_num_in_fat_file+0x16c><== NOT EXECUTED
                    return rc;                                        
                                                                      
                dir_pos->sname.ofs = i;                               
                dir_pos->lname.cln = FAT_FILE_SHORT_NAME;             
ffc1af8c:	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;                               
ffc1af90:	93 5b 00 04 	stw     r26,4(r27)                             <== NOT EXECUTED
                dir_pos->lname.cln = FAT_FILE_SHORT_NAME;             
ffc1af94:	90 1b 00 08 	stw     r0,8(r27)                              <== NOT EXECUTED
                dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;             
ffc1af98:	90 1b 00 0c 	stw     r0,12(r27)                             <== NOT EXECUTED
                                                                      
                memcpy(dir_entry, entry,                              
ffc1af9c:	7c bf 04 aa 	lswi    r5,r31,32                              <== NOT EXECUTED
ffc1afa0:	7c be 05 aa 	stswi   r5,r30,32                              <== NOT EXECUTED
                       MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);            
                return RC_OK;                                         
ffc1afa4:	48 00 00 3c 	b       ffc1afe0 <msdos_find_node_by_cluster_num_in_fat_file+0x16c><== 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)
ffc1afa8:	3b 5a 00 20 	addi    r26,r26,32                             <== NOT EXECUTED
ffc1afac:	7f 9a e0 40 	cmplw   cr7,r26,r28                            <== NOT EXECUTED
ffc1afb0:	3b ff 00 20 	addi    r31,r31,32                             <== NOT EXECUTED
ffc1afb4:	41 9c ff 70 	blt+    cr7,ffc1af24 <msdos_find_node_by_cluster_num_in_fat_file+0xb0><== NOT EXECUTED
ffc1afb8:	7f 39 e2 14 	add     r25,r25,r28                            <== 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, 
ffc1afbc:	80 f8 00 9c 	lwz     r7,156(r24)                            <== NOT EXECUTED
ffc1afc0:	7e e3 bb 78 	mr      r3,r23                                 <== NOT EXECUTED
ffc1afc4:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc1afc8:	7f 25 cb 78 	mr      r5,r25                                 <== NOT EXECUTED
ffc1afcc:	7f 86 e3 78 	mr      r6,r28                                 <== NOT EXECUTED
ffc1afd0:	4b ff 8e 45 	bl      ffc13e14 <fat_file_read>               <== NOT EXECUTED
ffc1afd4:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1afd8:	40 82 fe fc 	bne+    ffc1aed4 <msdos_find_node_by_cluster_num_in_fat_file+0x60><== 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;                      
ffc1afdc:	38 60 7d 01 	li      r3,32001                               <== NOT EXECUTED
            }                                                         
        }                                                             
        j++;                                                          
    }                                                                 
    return MSDOS_NAME_NOT_FOUND_ERR;                                  
}                                                                     
ffc1afe0:	39 61 00 30 	addi    r11,r1,48                              <== NOT EXECUTED
ffc1afe4:	4b fe 7a f0 	b       ffc02ad4 <_restgpr_22_x>               <== NOT EXECUTED
                                                                      

ffc0fd9c <msdos_format>: ) /*-------------------------------------------------------------------------*\ | Return Value: | | 0, if success, -1 and errno if failed | \*=========================================================================*/ {
ffc0fd9c:	94 21 fd 28 	stwu    r1,-728(r1)                            
ffc0fda0:	7d 80 00 26 	mfcr    r12                                    
ffc0fda4:	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");
ffc0fda8:	3c a0 ff c3 	lis     r5,-61                                 
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc0fdac:	bf 21 02 bc 	stmw    r25,700(r1)                            
  msdos_format_param_t fmt_params;                                    
                                                                      
  /*                                                                  
   * open device for writing                                          
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, "open device\n");
ffc0fdb0:	38 a5 dd 7b 	addi    r5,r5,-8837                            
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc0fdb4:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0fdb8:	7c 9f 23 78 	mr      r31,r4                                 
ffc0fdbc:	90 01 02 dc 	stw     r0,732(r1)                             
  msdos_format_param_t fmt_params;                                    
                                                                      
  /*                                                                  
   * open device for writing                                          
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, "open device\n");
ffc0fdc0:	7c 83 23 78 	mr      r3,r4                                  
ffc0fdc4:	38 80 00 02 	li      r4,2                                   
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc0fdc8:	91 81 02 b8 	stw     r12,696(r1)                            
  msdos_format_param_t fmt_params;                                    
                                                                      
  /*                                                                  
   * open device for writing                                          
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, "open device\n");
ffc0fdcc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0fdd0:	4b ff fd 81 	bl      ffc0fb50 <msdos_format_printf>         
  fd = open(devname, O_RDWR);                                         
ffc0fdd4:	38 80 00 02 	li      r4,2                                   
ffc0fdd8:	7f a3 eb 78 	mr      r3,r29                                 
ffc0fddc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0fde0:	4b ff 8b 29 	bl      ffc08908 <open>                        
  }                                                                   
                                                                      
  /*                                                                  
   * sanity check on device                                           
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
ffc0fde4:	3c a0 ff c3 	lis     r5,-61                                 
{                                                                     
  char                 tmp_sec[FAT_TOTAL_MBR_SIZE];                   
  int                  rc;                                            
  rtems_disk_device   *dd        = NULL;                              
  struct stat          stat_buf;                                      
  int                  ret_val   = 0;                                 
ffc0fde8:	3b 83 00 01 	addi    r28,r3,1                               
                                                                      
  /*                                                                  
   * open device for writing                                          
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, "open device\n");
  fd = open(devname, O_RDWR);                                         
ffc0fdec:	7c 7e 1b 78 	mr      r30,r3                                 
{                                                                     
  char                 tmp_sec[FAT_TOTAL_MBR_SIZE];                   
  int                  rc;                                            
  rtems_disk_device   *dd        = NULL;                              
  struct stat          stat_buf;                                      
  int                  ret_val   = 0;                                 
ffc0fdf0:	33 9c ff ff 	addic   r28,r28,-1                             
ffc0fdf4:	7f 9c e1 10 	subfe   r28,r28,r28                            
  }                                                                   
                                                                      
  /*                                                                  
   * sanity check on device                                           
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
ffc0fdf8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0fdfc:	38 80 00 02 	li      r4,2                                   
ffc0fe00:	38 a5 dd 88 	addi    r5,r5,-8824                            
ffc0fe04:	7f a6 eb 78 	mr      r6,r29                                 
ffc0fe08:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0fe0c:	4b ff fd 45 	bl      ffc0fb50 <msdos_format_printf>         
                       "stat check: %s\n", devname);                  
  if (ret_val == 0) {                                                 
ffc0fe10:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0fe14:	3b 20 ff ff 	li      r25,-1                                 
ffc0fe18:	40 be 00 14 	bne+    cr7,ffc0fe2c <msdos_format+0x90>       <== NEVER TAKEN
    rc = fstat(fd, &stat_buf);                                        
ffc0fe1c:	7f c3 f3 78 	mr      r3,r30                                 
ffc0fe20:	38 81 00 18 	addi    r4,r1,24                               
ffc0fe24:	48 00 6a 2d 	bl      ffc16850 <fstat>                       
ffc0fe28:	7c 79 1b 78 	mr      r25,r3                                 
    ret_val = rc;                                                     
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,             
ffc0fe2c:	3c a0 ff c3 	lis     r5,-61                                 
ffc0fe30:	7f e3 fb 78 	mr      r3,r31                                 
ffc0fe34:	38 80 00 01 	li      r4,1                                   
ffc0fe38:	38 a5 dd 98 	addi    r5,r5,-8808                            
ffc0fe3c:	7f a6 eb 78 	mr      r6,r29                                 
ffc0fe40:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0fe44:	4b ff fd 0d 	bl      ffc0fb50 <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))) {               
ffc0fe48:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc0fe4c:	40 9e 00 24 	bne-    cr7,ffc0fe70 <msdos_format+0xd4>       <== NEVER TAKEN
ffc0fe50:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0fe54:	54 00 04 26 	rlwinm  r0,r0,0,16,19                          
ffc0fe58:	2f 80 60 00 	cmpwi   cr7,r0,24576                           
ffc0fe5c:	41 9e 0a 4c 	beq-    cr7,ffc108a8 <msdos_format+0xb0c>      <== 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;                                                 
ffc0fe60:	48 00 d4 49 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc0fe64:	38 00 00 19 	li      r0,25                                  <== NOT EXECUTED
ffc0fe68:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
      ret_val = -1;                                                   
ffc0fe6c:	3b 20 ff ff 	li      r25,-1                                 <== NOT EXECUTED
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
      break;                                                          
                                                                      
    default:                                                          
      ret_val = -1;                                                   
ffc0fe70:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
ffc0fe74:	48 00 0a 00 	b       ffc10874 <msdos_format+0xad8>          <== NOT EXECUTED
  /*                                                                  
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
	(rqdata->fat_num == 0)) {                                            
ffc0fe78:	80 1f 00 0c 	lwz     r0,12(r31)                             
  }                                                                   
  /*                                                                  
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
ffc0fe7c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0fe80:	40 9e 00 0c 	bne-    cr7,ffc0fe8c <msdos_format+0xf0>       <== NEVER TAKEN
	(rqdata->fat_num == 0)) {                                            
      fmt_params->fat_num = 2;                                        
ffc0fe84:	38 00 00 02 	li      r0,2                                   
ffc0fe88:	48 00 00 10 	b       ffc0fe98 <msdos_format+0xfc>           
    }                                                                 
    else if (rqdata->fat_num <= 6) {                                  
ffc0fe8c:	2b 80 00 06 	cmplwi  cr7,r0,6                               <== NOT EXECUTED
      fmt_params->fat_num = rqdata->fat_num;                          
    }                                                                 
    else {                                                            
      ret_val = EINVAL;                                               
ffc0fe90:	3b 40 00 16 	li      r26,22                                 <== NOT EXECUTED
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
	(rqdata->fat_num == 0)) {                                            
      fmt_params->fat_num = 2;                                        
    }                                                                 
    else if (rqdata->fat_num <= 6) {                                  
ffc0fe94:	41 9d 03 60 	bgt-    cr7,ffc101f4 <msdos_format+0x458>      <== NOT EXECUTED
      fmt_params->fat_num = rqdata->fat_num;                          
ffc0fe98:	98 01 00 90 	stb     r0,144(r1)                             
      ret_val = EINVAL;                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc0fe9c:	3c a0 ff c3 	lis     r5,-61                                 
ffc0fea0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0fea4:	88 c1 00 90 	lbz     r6,144(r1)                             
ffc0fea8:	38 80 00 02 	li      r4,2                                   
ffc0feac:	38 a5 dd a7 	addi    r5,r5,-8793                            
ffc0feb0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0feb4:	4b ff fc 9d 	bl      ffc0fb50 <msdos_format_printf>         
   * determine FAT type and sectors per cluster                       
   * depends on                                                       
   */                                                                 
  if (ret_val == 0) {                                                 
    fmt_params->sectors_per_cluster = 1;                              
    if ((rqdata != NULL) &&                                           
ffc0feb8:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
  /*                                                                  
   * determine FAT type and sectors per cluster                       
   * depends on                                                       
   */                                                                 
  if (ret_val == 0) {                                                 
    fmt_params->sectors_per_cluster = 1;                              
ffc0febc:	38 00 00 01 	li      r0,1                                   
ffc0fec0:	90 01 00 6c 	stw     r0,108(r1)                             
    if ((rqdata != NULL) &&                                           
ffc0fec4:	41 9e 00 4c 	beq-    cr7,ffc0ff10 <msdos_format+0x174>      <== NEVER TAKEN
	(rqdata->fattype == MSDOS_FMT_FAT12)) {                              
ffc0fec8:	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) &&                                           
ffc0fecc:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0fed0:	41 9e 00 18 	beq-    cr7,ffc0fee8 <msdos_format+0x14c>      <== NEVER TAKEN
	(rqdata->fattype == MSDOS_FMT_FAT12)) {                              
      fmt_params->fattype = FAT_FAT12;                                
    }                                                                 
    else if ((rqdata != NULL) &&                                      
ffc0fed4:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0fed8:	41 9e 00 10 	beq-    cr7,ffc0fee8 <msdos_format+0x14c>      <== NEVER TAKEN
	     (rqdata->fattype == MSDOS_FMT_FAT16)) {                         
      fmt_params->fattype = FAT_FAT16;                                
    }                                                                 
    else if ((rqdata != NULL) &&                                      
ffc0fedc:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0fee0:	40 be 00 14 	bne+    cr7,ffc0fef4 <msdos_format+0x158>      <== ALWAYS TAKEN
	     (rqdata->fattype == MSDOS_FMT_FAT32)) {                         
      fmt_params->fattype = FAT_FAT32;                                
ffc0fee4:	38 00 00 04 	li      r0,4                                   <== NOT EXECUTED
ffc0fee8:	98 01 00 92 	stb     r0,146(r1)                             <== NOT EXECUTED
ffc0feec:	3b 40 00 00 	li      r26,0                                  <== NOT EXECUTED
ffc0fef0:	48 00 00 ac 	b       ffc0ff9c <msdos_format+0x200>          <== NOT EXECUTED
    }                                                                 
    else if ((rqdata != NULL) &&                                      
ffc0fef4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0fef8:	41 be 00 18 	beq+    cr7,ffc0ff10 <msdos_format+0x174>      <== ALWAYS TAKEN
	     (rqdata->fattype != MSDOS_FMT_FATANY)) {                        
      ret_val = -1;                                                   
      errno = EINVAL;                                                 
ffc0fefc:	48 00 d3 ad 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc0ff00:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc0ff04:	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;                                                   
ffc0ff08:	3b 40 ff ff 	li      r26,-1                                 <== NOT EXECUTED
ffc0ff0c:	48 00 00 90 	b       ffc0ff9c <msdos_format+0x200>          <== NOT EXECUTED
      /*                                                              
       * limiting values for disk size, fat type, sectors per cluster 
       * NOTE: maximum sect_per_clust is arbitrarily choosen with values that
       * are a compromise concerning capacity and efficency           
       */                                                             
      if (fmt_params->totl_sector_cnt                                 
ffc0ff10:	2b 9c 7f a7 	cmplwi  cr7,r28,32679                          
          < ((uint32_t)FAT_FAT12_MAX_CLN)*8) {                        
        fmt_params->fattype = FAT_FAT12;                              
ffc0ff14:	38 00 00 01 	li      r0,1                                   
      /*                                                              
       * 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                                 
ffc0ff18:	40 9d 00 18 	ble-    cr7,ffc0ff30 <msdos_format+0x194>      <== ALWAYS TAKEN
          < ((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                            
ffc0ff1c:	3c 00 00 1f 	lis     r0,31                                  <== NOT EXECUTED
ffc0ff20:	60 00 fe 9f 	ori     r0,r0,65183                            <== NOT EXECUTED
ffc0ff24:	7f 9c 00 40 	cmplw   cr7,r28,r0                             <== NOT EXECUTED
ffc0ff28:	41 9d 00 18 	bgt-    cr7,ffc0ff40 <msdos_format+0x1a4>      <== NOT EXECUTED
               < ((uint32_t)FAT_FAT16_MAX_CLN)*32) {                  
        fmt_params->fattype = FAT_FAT16;                              
ffc0ff2c:	38 00 00 02 	li      r0,2                                   <== NOT EXECUTED
ffc0ff30:	98 01 00 92 	stb     r0,146(r1)                             
        /* start trying with small clusters */                        
        fmt_params->sectors_per_cluster = 2;                          
ffc0ff34:	38 00 00 02 	li      r0,2                                   
ffc0ff38:	90 01 00 6c 	stw     r0,108(r1)                             
ffc0ff3c:	48 00 00 54 	b       ffc0ff90 <msdos_format+0x1f4>          
      }                                                               
      else {                                                          
        #define ONE_GB (1024L * 1024L * 1024L)                        
        uint32_t gigs = (total_size + ONE_GB) / ONE_GB;               
        int b;                                                        
        fmt_params->fattype = FAT_FAT32;                              
ffc0ff40:	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;               
ffc0ff44:	3c 1b 40 00 	addis   r0,r27,16384                           <== NOT EXECUTED
        int b;                                                        
        fmt_params->fattype = FAT_FAT32;                              
ffc0ff48:	99 21 00 92 	stb     r9,146(r1)                             <== NOT EXECUTED
        /* scale with the size of disk... */                          
        for (b = 31; b > 0; b--)                                      
ffc0ff4c:	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;               
ffc0ff50:	7f 7b 00 10 	subfc   r27,r27,r0                             <== NOT EXECUTED
ffc0ff54:	7f 7b d9 10 	subfe   r27,r27,r27                            <== 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)                                 
ffc0ff58:	7d 29 03 a6 	mtctr   r9                                     <== 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;               
ffc0ff5c:	7f 7b 00 d0 	neg     r27,r27                                <== NOT EXECUTED
ffc0ff60:	57 7b 10 3a 	rlwinm  r27,r27,2,0,29                         <== NOT EXECUTED
ffc0ff64:	54 00 17 be 	rlwinm  r0,r0,2,30,31                          <== NOT EXECUTED
ffc0ff68:	7f 7b 03 78 	or      r27,r27,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)                                 
ffc0ff6c:	39 60 00 01 	li      r11,1                                  <== NOT EXECUTED
ffc0ff70:	7d 60 48 30 	slw     r0,r11,r9                              <== NOT EXECUTED
ffc0ff74:	7c 05 d8 39 	and.    r5,r0,r27                              <== NOT EXECUTED
ffc0ff78:	40 82 00 0c 	bne-    ffc0ff84 <msdos_format+0x1e8>          <== 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--)                                      
ffc0ff7c:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc0ff80:	42 00 ff f0 	bdnz+   ffc0ff70 <msdos_format+0x1d4>          <== NOT EXECUTED
          if ((gigs & (1 << b)) != 0)                                 
            break;                                                    
        fmt_params->sectors_per_cluster = 1 << b;                     
ffc0ff84:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0ff88:	7c 09 48 30 	slw     r9,r0,r9                               <== NOT EXECUTED
ffc0ff8c:	91 21 00 6c 	stw     r9,108(r1)                             <== NOT EXECUTED
      }                                                               
    }                                                                 
    /*                                                                
     * try to use user requested cluster size                         
     */                                                               
    if ((rqdata != NULL) &&                                           
ffc0ff90:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0ff94:	3b 40 00 00 	li      r26,0                                  
ffc0ff98:	41 9e 00 14 	beq-    cr7,ffc0ffac <msdos_format+0x210>      <== NEVER TAKEN
	(rqdata->sectors_per_cluster > 0)) {                                 
ffc0ff9c:	80 1f 00 08 	lwz     r0,8(r31)                              
      }                                                               
    }                                                                 
    /*                                                                
     * try to use user requested cluster size                         
     */                                                               
    if ((rqdata != NULL) &&                                           
ffc0ffa0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ffa4:	41 9e 00 08 	beq-    cr7,ffc0ffac <msdos_format+0x210>      <== ALWAYS TAKEN
	(rqdata->sectors_per_cluster > 0)) {                                 
      fmt_params->sectors_per_cluster =                               
ffc0ffa8:	90 01 00 6c 	stw     r0,108(r1)                             <== NOT EXECUTED
     */                                                               
    for (onebit = 128;onebit >= 1;onebit = onebit>>1) {               
      if (fmt_params->sectors_per_cluster >= onebit) {                
	fmt_params->sectors_per_cluster = onebit;                            
	if (fmt_params->sectors_per_cluster                                  
	    <= 32768L/fmt_params->bytes_per_sector) {                        
ffc0ffac:	39 20 00 00 	li      r9,0                                   
ffc0ffb0:	81 61 00 60 	lwz     r11,96(r1)                             
ffc0ffb4:	80 c1 00 6c 	lwz     r6,108(r1)                             
ffc0ffb8:	38 00 00 80 	li      r0,128                                 
ffc0ffbc:	61 29 80 00 	ori     r9,r9,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) {                
ffc0ffc0:	7f 86 00 40 	cmplw   cr7,r6,r0                              
ffc0ffc4:	41 9c 00 18 	blt-    cr7,ffc0ffdc <msdos_format+0x240>      
	fmt_params->sectors_per_cluster = onebit;                            
	if (fmt_params->sectors_per_cluster                                  
	    <= 32768L/fmt_params->bytes_per_sector) {                        
ffc0ffc8:	7d 49 5b 96 	divwu   r10,r9,r11                             
     * 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                                  
ffc0ffcc:	7f 80 50 40 	cmplw   cr7,r0,r10                             
ffc0ffd0:	7c 06 03 78 	mr      r6,r0                                  
ffc0ffd4:	41 9d 00 08 	bgt-    cr7,ffc0ffdc <msdos_format+0x240>      <== NEVER TAKEN
	    <= 32768L/fmt_params->bytes_per_sector) {                        
	  /* value is small enough so this value is ok */                    
	  onebit = 1;                                                        
ffc0ffd8:	38 00 00 01 	li      r0,1                                   
     * 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) {               
ffc0ffdc:	54 00 f8 7f 	rlwinm. r0,r0,31,1,31                          
ffc0ffe0:	40 82 ff e0 	bne+    ffc0ffc0 <msdos_format+0x224>          
	}                                                                    
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0) {                                                 
ffc0ffe4:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
     * 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) {               
ffc0ffe8:	90 c1 00 6c 	stw     r6,108(r1)                             
	}                                                                    
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0) {                                                 
ffc0ffec:	40 9e 02 04 	bne-    cr7,ffc101f0 <msdos_format+0x454>      <== NEVER TAKEN
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc0fff0:	3c a0 ff c3 	lis     r5,-61                                 
ffc0fff4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0fff8:	38 80 00 02 	li      r4,2                                   
ffc0fffc:	38 a5 dd bb 	addi    r5,r5,-8773                            
ffc10000:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc10004:	4b ff fb 4d 	bl      ffc0fb50 <msdos_format_printf>         
                         "sectors per cluster: %d\n", fmt_params->sectors_per_cluster);
                                                                      
    if (fmt_params->fattype == FAT_FAT32) {                           
ffc10008:	88 01 00 92 	lbz     r0,146(r1)                             
ffc1000c:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc10010:	40 be 00 24 	bne+    cr7,ffc10034 <msdos_format+0x298>      <== ALWAYS TAKEN
      /* recommended: for FAT32, always set reserved sector count to 32 */
      fmt_params->rsvd_sector_cnt = 32;                               
ffc10014:	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;                             
ffc10018:	93 41 00 78 	stw     r26,120(r1)                            <== 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;                               
ffc1001c:	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;                                   
ffc10020:	38 00 00 06 	li      r0,6                                   <== NOT EXECUTED
ffc10024:	90 01 00 88 	stw     r0,136(r1)                             <== NOT EXECUTED
      /* location of fsinfo sector */                                 
      fmt_params->fsinfo_sec = 1;                                     
ffc10028:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc1002c:	90 01 00 8c 	stw     r0,140(r1)                             <== NOT EXECUTED
ffc10030:	48 00 00 60 	b       ffc10090 <msdos_format+0x2f4>          <== NOT EXECUTED
      /* recommended: for FAT12/FAT16, always set reserved sector count to 1 */
      fmt_params->rsvd_sector_cnt = 1;                                
      /* recommended: for FAT16, set files per root directory to 512 */
      /* for FAT12/FAT16, set files per root directory */             
      /* must fill up an even count of sectors         */             
      if ((rqdata != NULL) &&                                         
ffc10034:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
      fmt_params->fsinfo_sec = 1;                                     
                                                                      
    }                                                                 
    else {                                                            
      /* recommended: for FAT12/FAT16, always set reserved sector count to 1 */
      fmt_params->rsvd_sector_cnt = 1;                                
ffc10038:	39 20 00 01 	li      r9,1                                   
ffc1003c:	91 21 00 68 	stw     r9,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) &&                                         
ffc10040:	41 9e 00 18 	beq-    cr7,ffc10058 <msdos_format+0x2bc>      <== NEVER TAKEN
	  (rqdata->files_per_root_dir > 0)) {                                
ffc10044:	81 3f 00 10 	lwz     r9,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) &&                                         
ffc10048:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1004c:	41 9e 00 0c 	beq-    cr7,ffc10058 <msdos_format+0x2bc>      <== ALWAYS TAKEN
	  (rqdata->files_per_root_dir > 0)) {                                
	fmt_params->files_per_root_dir = rqdata->files_per_root_dir;         
ffc10050:	91 21 00 78 	stw     r9,120(r1)                             <== NOT EXECUTED
ffc10054:	48 00 00 1c 	b       ffc10070 <msdos_format+0x2d4>          <== NOT EXECUTED
      }                                                               
      else {                                                          
	if (fmt_params->fattype == FAT_FAT16) {                              
ffc10058:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc1005c:	40 be 00 0c 	bne+    cr7,ffc10068 <msdos_format+0x2cc>      <== ALWAYS TAKEN
	  fmt_params->files_per_root_dir = 512;                              
ffc10060:	38 00 02 00 	li      r0,512                                 <== NOT EXECUTED
ffc10064:	48 00 00 08 	b       ffc1006c <msdos_format+0x2d0>          <== NOT EXECUTED
	}                                                                    
	else {                                                               
	  fmt_params->files_per_root_dir = 64;                               
ffc10068:	38 00 00 40 	li      r0,64                                  
ffc1006c:	90 01 00 78 	stw     r0,120(r1)                             
	}                                                                    
      }                                                               
      fmt_params->files_per_root_dir = (fmt_params->files_per_root_dir +
ffc10070:	81 21 00 78 	lwz     r9,120(r1)                             
			    (2*fmt_params->bytes_per_sector/                               
ffc10074:	80 01 00 60 	lwz     r0,96(r1)                              
	}                                                                    
	else {                                                               
	  fmt_params->files_per_root_dir = 64;                               
	}                                                                    
      }                                                               
      fmt_params->files_per_root_dir = (fmt_params->files_per_root_dir +
ffc10078:	39 29 ff ff 	addi    r9,r9,-1                               
			    (2*fmt_params->bytes_per_sector/                               
ffc1007c:	54 00 e1 7e 	rlwinm  r0,r0,28,5,31                          
	}                                                                    
	else {                                                               
	  fmt_params->files_per_root_dir = 64;                               
	}                                                                    
      }                                                               
      fmt_params->files_per_root_dir = (fmt_params->files_per_root_dir +
ffc10080:	7d 29 02 14 	add     r9,r9,r0                               
			    (2*fmt_params->bytes_per_sector/                               
			     FAT_DIRENTRY_SIZE-1));                                        
      fmt_params->files_per_root_dir -= (fmt_params->files_per_root_dir %
ffc10084:	7d 29 03 96 	divwu   r9,r9,r0                               
ffc10088:	7c 09 01 d6 	mullw   r0,r9,r0                               
ffc1008c:	90 01 00 78 	stw     r0,120(r1)                             
			     (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)                                  
ffc10090:	81 61 00 60 	lwz     r11,96(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) {
ffc10094:	39 40 00 00 	li      r10,0                                  
      fmt_params->files_per_root_dir -= (fmt_params->files_per_root_dir %
			     (2*fmt_params->bytes_per_sector                               
			      /FAT_DIRENTRY_SIZE));                                        
    }                                                                 
    fmt_params->root_dir_sectors =                                    
      (((fmt_params->files_per_root_dir * FAT_DIRENTRY_SIZE)          
ffc10098:	80 01 00 78 	lwz     r0,120(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) {
ffc1009c:	61 4a 80 00 	ori     r10,r10,32768                          
			     (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)                                  
ffc100a0:	38 eb ff ff 	addi    r7,r11,-1                              
       / fmt_params->bytes_per_sector);                               
  }                                                                   
  if (ret_val == 0) {                                                 
    fatdata_sect_cnt = (fmt_params->totl_sector_cnt -                 
ffc100a4:	81 21 00 68 	lwz     r9,104(r1)                             
      fmt_params->files_per_root_dir -= (fmt_params->files_per_root_dir %
			     (2*fmt_params->bytes_per_sector                               
			      /FAT_DIRENTRY_SIZE));                                        
    }                                                                 
    fmt_params->root_dir_sectors =                                    
      (((fmt_params->files_per_root_dir * FAT_DIRENTRY_SIZE)          
ffc100a8:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
	+ fmt_params->bytes_per_sector - 1)                                  
       / fmt_params->bytes_per_sector);                               
  }                                                                   
  if (ret_val == 0) {                                                 
    fatdata_sect_cnt = (fmt_params->totl_sector_cnt -                 
ffc100ac:	80 a1 00 64 	lwz     r5,100(r1)                             
			     (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)                                  
ffc100b0:	7c 07 02 14 	add     r0,r7,r0                               
    /*                                                                
     * check values to get legal arrangement of FAT type and cluster count
     */                                                               
                                                                      
    ret_val = msdos_format_eval_sectors_per_cluster                   
      (fmt_params->fattype,                                           
ffc100b4:	88 81 00 90 	lbz     r4,144(r1)                             
			      /FAT_DIRENTRY_SIZE));                                        
    }                                                                 
    fmt_params->root_dir_sectors =                                    
      (((fmt_params->files_per_root_dir * FAT_DIRENTRY_SIZE)          
	+ fmt_params->bytes_per_sector - 1)                                  
       / fmt_params->bytes_per_sector);                               
ffc100b8:	7c 00 5b 96 	divwu   r0,r0,r11                              
  }                                                                   
  if (ret_val == 0) {                                                 
    fatdata_sect_cnt = (fmt_params->totl_sector_cnt -                 
ffc100bc:	7c a9 28 50 	subf    r5,r9,r5                               
			     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 =                                    
ffc100c0:	90 01 00 7c 	stw     r0,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 -                 
ffc100c4:	7c a0 28 50 	subf    r5,r0,r5                               
    /*                                                                
     * check values to get legal arrangement of FAT type and cluster count
     */                                                               
                                                                      
    ret_val = msdos_format_eval_sectors_per_cluster                   
      (fmt_params->fattype,                                           
ffc100c8:	81 21 00 6c 	lwz     r9,108(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) {
ffc100cc:	7d 4a 5b 96 	divwu   r10,r10,r11                            
    /*                                                                
     * check values to get legal arrangement of FAT type and cluster count
     */                                                               
                                                                      
    ret_val = msdos_format_eval_sectors_per_cluster                   
      (fmt_params->fattype,                                           
ffc100d0:	88 01 00 92 	lbz     r0,146(r1)                             
ffc100d4:	48 00 00 08 	b       ffc100dc <msdos_format+0x340>          
  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) {
    sectors_per_cluster /= 2;                                         
ffc100d8:	55 29 f8 7e 	rlwinm  r9,r9,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) {
ffc100dc:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc100e0:	41 9c ff f8 	blt+    cr7,ffc100d8 <msdos_format+0x33c>      <== NEVER TAKEN
     * - 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;        
    if (fattype == FAT_FAT12) {                                       
ffc100e4:	2f 00 00 01 	cmpwi   cr6,r0,1                               
      fat_capacity = fatdata_cluster_cnt * 3 / 2;                     
    }                                                                 
    else if (fattype == FAT_FAT16) {                                  
ffc100e8:	2f 80 00 02 	cmpwi   cr7,r0,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;        
ffc100ec:	7c 05 4b 96 	divwu   r0,r5,r9                               
    if (fattype == FAT_FAT12) {                                       
ffc100f0:	40 ba 00 10 	bne+    cr6,ffc10100 <msdos_format+0x364>      <== NEVER TAKEN
      fat_capacity = fatdata_cluster_cnt * 3 / 2;                     
ffc100f4:	1d 40 00 03 	mulli   r10,r0,3                               
ffc100f8:	55 4a f8 7e 	rlwinm  r10,r10,31,1,31                        
ffc100fc:	48 00 00 10 	b       ffc1010c <msdos_format+0x370>          
    }                                                                 
    else if (fattype == FAT_FAT16) {                                  
      fat_capacity = fatdata_cluster_cnt * 2;                         
    }                                                                 
    else { /* FAT32 */                                                
      fat_capacity = fatdata_cluster_cnt * 4;                         
ffc10100:	54 0a 10 3a 	rlwinm  r10,r0,2,0,29                          <== 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) {                                  
ffc10104:	40 be 00 08 	bne+    cr7,ffc1010c <msdos_format+0x370>      <== NOT EXECUTED
      fat_capacity = fatdata_cluster_cnt * 2;                         
ffc10108:	54 0a 08 3c 	rlwinm  r10,r0,1,0,30                          <== NOT EXECUTED
    else { /* FAT32 */                                                
      fat_capacity = fatdata_cluster_cnt * 4;                         
    }                                                                 
                                                                      
    sectors_per_fat = ((fat_capacity                                  
			+ (bytes_per_sector - 1))                                          
ffc1010c:	7d 4a 3a 14 	add     r10,r10,r7                             
    }                                                                 
    else { /* FAT32 */                                                
      fat_capacity = fatdata_cluster_cnt * 4;                         
    }                                                                 
                                                                      
    sectors_per_fat = ((fat_capacity                                  
ffc10110:	7d 0a 5b 96 	divwu   r8,r10,r11                             
			+ (bytes_per_sector - 1))                                          
		       / bytes_per_sector);                                         
                                                                      
    data_cluster_cnt = (fatdata_cluster_cnt -                         
			(((sectors_per_fat * fat_num)                                      
ffc10114:	7d 48 21 d6 	mullw   r10,r8,r4                              
			  + (sectors_per_cluster - 1))                                     
ffc10118:	38 c9 ff ff 	addi    r6,r9,-1                               
ffc1011c:	7c c6 52 14 	add     r6,r6,r10                              
			 / sectors_per_cluster));                                          
ffc10120:	7c c6 4b 96 	divwu   r6,r6,r9                               
                                                                      
    sectors_per_fat = ((fat_capacity                                  
			+ (bytes_per_sector - 1))                                          
		       / bytes_per_sector);                                         
                                                                      
    data_cluster_cnt = (fatdata_cluster_cnt -                         
ffc10124:	7c c6 00 50 	subf    r6,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)) ||
ffc10128:	40 ba 00 14 	bne+    cr6,ffc1013c <msdos_format+0x3a0>      <== NEVER TAKEN
ffc1012c:	28 86 0f f5 	cmplwi  cr1,r6,4085                            
        ((fattype == FAT_FAT16) && (data_cluster_cnt > FAT_FAT16_MAX_CLN))) {
      sectors_per_cluster *= 2;                                       
    }                                                                 
    else {                                                            
      finished = true;                                                
ffc10130:	39 40 00 01 	li      r10,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)) ||
ffc10134:	40 85 00 20 	ble-    cr1,ffc10154 <msdos_format+0x3b8>      <== ALWAYS TAKEN
ffc10138:	48 00 00 14 	b       ffc1014c <msdos_format+0x3b0>          <== NOT EXECUTED
        ((fattype == FAT_FAT16) && (data_cluster_cnt > FAT_FAT16_MAX_CLN))) {
      sectors_per_cluster *= 2;                                       
    }                                                                 
    else {                                                            
      finished = true;                                                
ffc1013c:	39 40 00 01 	li      r10,1                                  <== NOT EXECUTED
			  + (sectors_per_cluster - 1))                                     
			 / sectors_per_cluster));                                          
    /*                                                                
     * data cluster count too big? then make sectors bigger           
     */                                                               
    if (((fattype == FAT_FAT12) && (data_cluster_cnt > FAT_FAT12_MAX_CLN)) ||
ffc10140:	40 be 00 14 	bne+    cr7,ffc10154 <msdos_format+0x3b8>      <== NOT EXECUTED
        ((fattype == FAT_FAT16) && (data_cluster_cnt > FAT_FAT16_MAX_CLN))) {
ffc10144:	28 86 ff f5 	cmplwi  cr1,r6,65525                           <== NOT EXECUTED
ffc10148:	40 85 00 0c 	ble-    cr1,ffc10154 <msdos_format+0x3b8>      <== NOT EXECUTED
      sectors_per_cluster *= 2;                                       
ffc1014c:	55 29 08 3c 	rlwinm  r9,r9,1,0,30                           <== NOT EXECUTED
ffc10150:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
      finished = true;                                                
    }                                                                 
    /*                                                                
     * when maximum cluster size is exceeded, we have invalid data, abort...
     */                                                               
    if ((sectors_per_cluster * bytes_per_sector)                      
ffc10154:	7c 09 59 d6 	mullw   r0,r9,r11                              
ffc10158:	28 80 80 00 	cmplwi  cr1,r0,32768                           
ffc1015c:	41 85 00 14 	bgt-    cr1,ffc10170 <msdos_format+0x3d4>      <== NEVER TAKEN
	> MS_BYTES_PER_CLUSTER_LIMIT) {                                      
      ret_val = EINVAL;                                               
      finished = true;                                                
    }                                                                 
  } while (!finished);                                                
ffc10160:	2c 8a 00 00 	cmpwi   cr1,r10,0                              
ffc10164:	41 86 ff 88 	beq+    cr1,ffc100ec <msdos_format+0x350>      <== 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;                       
ffc10168:	91 01 00 70 	stw     r8,112(r1)                             
ffc1016c:	48 00 00 18 	b       ffc10184 <msdos_format+0x3e8>          
      finished = true;                                                
    }                                                                 
  } while (!finished);                                                
                                                                      
  if (ret_val != 0) {                                                 
    rtems_set_errno_and_return_minus_one(ret_val);                    
ffc10170:	48 00 d1 39 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc10174:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc10178:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
\*=========================================================================*/
{                                                                     
  int ret_val = 0;                                                    
  uint32_t fatdata_sect_cnt;                                          
  uint32_t onebit;                                                    
  uint32_t sectors_per_cluster_adj = 0;                               
ffc1017c:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
      finished = true;                                                
    }                                                                 
  } while (!finished);                                                
                                                                      
  if (ret_val != 0) {                                                 
    rtems_set_errno_and_return_minus_one(ret_val);                    
ffc10180:	3b 40 ff ff 	li      r26,-1                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * determine media code                                             
   */                                                                 
  if (ret_val == 0) {                                                 
ffc10184:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
       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;        
ffc10188:	91 21 00 6c 	stw     r9,108(r1)                             
  }                                                                   
                                                                      
  /*                                                                  
   * determine media code                                             
   */                                                                 
  if (ret_val == 0) {                                                 
ffc1018c:	40 9e 00 64 	bne-    cr7,ffc101f0 <msdos_format+0x454>      <== NEVER TAKEN
    if ((rqdata != NULL) &&                                           
ffc10190:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc10194:	41 9e 00 50 	beq-    cr7,ffc101e4 <msdos_format+0x448>      <== NEVER TAKEN
	(rqdata->media != 0)) {                                              
ffc10198:	8b 9f 00 15 	lbz     r28,21(r31)                            
                                                                      
  /*                                                                  
   * determine media code                                             
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata != NULL) &&                                           
ffc1019c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc101a0:	41 9e 00 44 	beq-    cr7,ffc101e4 <msdos_format+0x448>      <== ALWAYS TAKEN
	(rqdata->media != 0)) {                                              
      const char valid_media_codes[] =                                
ffc101a4:	3d 20 ff c3 	lis     r9,-61                                 <== NOT EXECUTED
ffc101a8:	38 61 00 08 	addi    r3,r1,8                                <== NOT EXECUTED
ffc101ac:	39 29 dd 38 	addi    r9,r9,-8904                            <== NOT EXECUTED
ffc101b0:	7c a9 4c aa 	lswi    r5,r9,9                                <== NOT EXECUTED
ffc101b4:	7c a3 4d aa 	stswi   r5,r3,9                                <== NOT EXECUTED
	{0xF0,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF};                      
      if (NULL==memchr(valid_media_codes,                             
ffc101b8:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc101bc:	38 a0 00 09 	li      r5,9                                   <== NOT EXECUTED
ffc101c0:	48 00 dd 81 	bl      ffc1df40 <memchr>                      <== NOT EXECUTED
ffc101c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc101c8:	40 be 00 14 	bne+    cr7,ffc101dc <msdos_format+0x440>      <== NOT EXECUTED
		       rqdata->media,                                               
		       sizeof(valid_media_codes))) {                                
	ret_val = -1;                                                        
	errno = EINVAL;                                                      
ffc101cc:	48 00 d0 dd 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc101d0:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc101d4:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc101d8:	48 00 00 18 	b       ffc101f0 <msdos_format+0x454>          <== NOT EXECUTED
      }                                                               
      else {                                                          
	fmt_params->media_code = rqdata->media;                              
ffc101dc:	9b 81 00 91 	stb     r28,145(r1)                            <== NOT EXECUTED
ffc101e0:	48 00 00 14 	b       ffc101f4 <msdos_format+0x458>          <== NOT EXECUTED
      }                                                               
    }                                                                 
    else {                                                            
      fmt_params->media_code = FAT_BR_MEDIA_FIXED;                    
ffc101e4:	38 00 ff f8 	li      r0,-8                                  
ffc101e8:	98 01 00 91 	stb     r0,145(r1)                             
ffc101ec:	48 00 00 08 	b       ffc101f4 <msdos_format+0x458>          
  }                                                                   
                                                                      
  /*                                                                  
   * determine media code                                             
   */                                                                 
  if (ret_val == 0) {                                                 
ffc101f0:	3b 40 ff ff 	li      r26,-1                                 <== NOT EXECUTED
  }                                                                   
  /*                                                                  
   * determine location and size of root directory                    
   * for formatting                                                   
   */                                                                 
  if (fmt_params->root_dir_sectors > 0) {                             
ffc101f4:	81 41 00 7c 	lwz     r10,124(r1)                            
ffc101f8:	89 61 00 90 	lbz     r11,144(r1)                            
ffc101fc:	81 21 00 70 	lwz     r9,112(r1)                             
ffc10200:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
    fmt_params->root_dir_start_sec =                                  
      fmt_params->rsvd_sector_cnt                                     
      + (fmt_params-> fat_num*fmt_params->sectors_per_fat);           
ffc10204:	55 6b 06 3e 	clrlwi  r11,r11,24                             
ffc10208:	80 01 00 68 	lwz     r0,104(r1)                             
ffc1020c:	7d 2b 49 d6 	mullw   r9,r11,r9                              
ffc10210:	7c 09 02 14 	add     r0,r9,r0                               
  /*                                                                  
   * determine location and size of root directory                    
   * for formatting                                                   
   */                                                                 
  if (fmt_params->root_dir_sectors > 0) {                             
    fmt_params->root_dir_start_sec =                                  
ffc10214:	90 01 00 80 	stw     r0,128(r1)                             
  }                                                                   
  /*                                                                  
   * determine location and size of root directory                    
   * for formatting                                                   
   */                                                                 
  if (fmt_params->root_dir_sectors > 0) {                             
ffc10218:	41 9e 00 0c 	beq-    cr7,ffc10224 <msdos_format+0x488>      <== NEVER TAKEN
    fmt_params->root_dir_start_sec =                                  
      fmt_params->rsvd_sector_cnt                                     
      + (fmt_params-> fat_num*fmt_params->sectors_per_fat);           
    fmt_params->root_dir_fmt_sec_cnt = fmt_params->root_dir_sectors;  
ffc1021c:	91 41 00 84 	stw     r10,132(r1)                            
ffc10220:	48 00 00 0c 	b       ffc1022c <msdos_format+0x490>          
     * 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;
ffc10224:	80 01 00 6c 	lwz     r0,108(r1)                             <== NOT EXECUTED
ffc10228:	90 01 00 84 	stw     r0,132(r1)                             <== NOT EXECUTED
  }                                                                   
  /*                                                                  
   * determine usable OEMName                                         
   */                                                                 
  if (ret_val == 0) {                                                 
ffc1022c:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc10230:	40 9e 01 24 	bne-    cr7,ffc10354 <msdos_format+0x5b8>      <== NEVER TAKEN
      const char *from;                                               
      char        *to = fmt_params->OEMName;                          
      int          cnt;                                               
      from = "RTEMS"; /* default: make "from" point to OS Name */     
    if ((rqdata != NULL) &&                                           
ffc10234:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc10238:	41 9e 00 10 	beq-    cr7,ffc10248 <msdos_format+0x4ac>      <== NEVER TAKEN
	(rqdata->OEMName != NULL)) {                                         
ffc1023c:	81 3f 00 00 	lwz     r9,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) &&                                           
ffc10240:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10244:	40 be 00 0c 	bne+    cr7,ffc10250 <msdos_format+0x4b4>      <== ALWAYS TAKEN
   */                                                                 
  if (ret_val == 0) {                                                 
      const char *from;                                               
      char        *to = fmt_params->OEMName;                          
      int          cnt;                                               
      from = "RTEMS"; /* default: make "from" point to OS Name */     
ffc10248:	3d 20 ff c3 	lis     r9,-61                                 <== NOT EXECUTED
ffc1024c:	39 29 d1 0a 	addi    r9,r9,-12022                           <== NOT EXECUTED
      from = rqdata->OEMName;                                         
    }                                                                 
    for (cnt = 0;                                                     
	 cnt < (sizeof(fmt_params->OEMName)-1);                              
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
ffc10250:	3d 60 00 00 	lis     r11,0                                  
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
      }                                                               
      *to = '\0';                                                     
ffc10254:	39 40 00 09 	li      r10,9                                  
      from = rqdata->OEMName;                                         
    }                                                                 
    for (cnt = 0;                                                     
	 cnt < (sizeof(fmt_params->OEMName)-1);                              
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
ffc10258:	80 cb 27 ac 	lwz     r6,10156(r11)                          
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
ffc1025c:	38 e0 00 20 	li      r7,32                                  
      }                                                               
      *to = '\0';                                                     
ffc10260:	7d 49 03 a6 	mtctr   r10                                    
  /*                                                                  
   * determine usable OEMName                                         
   */                                                                 
  if (ret_val == 0) {                                                 
      const char *from;                                               
      char        *to = fmt_params->OEMName;                          
ffc10264:	39 61 00 93 	addi    r11,r1,147                             
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
      }                                                               
      *to = '\0';                                                     
ffc10268:	39 00 00 00 	li      r8,0                                   
ffc1026c:	48 00 00 38 	b       ffc102a4 <msdos_format+0x508>          
      from = rqdata->OEMName;                                         
    }                                                                 
    for (cnt = 0;                                                     
	 cnt < (sizeof(fmt_params->OEMName)-1);                              
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
ffc10270:	88 09 00 00 	lbz     r0,0(r9)                               
ffc10274:	7d 46 02 14 	add     r10,r6,r0                              
ffc10278:	89 4a 00 01 	lbz     r10,1(r10)                             
ffc1027c:	71 45 00 97 	andi.   r5,r10,151                             
ffc10280:	39 4b 00 01 	addi    r10,r11,1                              
ffc10284:	41 82 00 14 	beq-    ffc10298 <msdos_format+0x4fc>          
	*to++ = *from++;                                                     
ffc10288:	98 0b 00 00 	stb     r0,0(r11)                              
ffc1028c:	39 29 00 01 	addi    r9,r9,1                                
ffc10290:	7d 4b 53 78 	mr      r11,r10                                
ffc10294:	48 00 00 0c 	b       ffc102a0 <msdos_format+0x504>          
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
ffc10298:	98 eb 00 00 	stb     r7,0(r11)                              
ffc1029c:	7d 4b 53 78 	mr      r11,r10                                
      }                                                               
      *to = '\0';                                                     
ffc102a0:	99 0a 00 00 	stb     r8,0(r10)                              
      from = "RTEMS"; /* default: make "from" point to OS Name */     
    if ((rqdata != NULL) &&                                           
	(rqdata->OEMName != NULL)) {                                         
      from = rqdata->OEMName;                                         
    }                                                                 
    for (cnt = 0;                                                     
ffc102a4:	42 00 ff cc 	bdnz+   ffc10270 <msdos_format+0x4d4>          
  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) &&                                           
ffc102a8:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc102ac:	41 9e 00 1c 	beq-    cr7,ffc102c8 <msdos_format+0x52c>      <== NEVER TAKEN
	(rqdata->VolLabel != NULL)) {                                        
ffc102b0:	81 3f 00 04 	lwz     r9,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) &&                                           
ffc102b4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc102b8:	41 9e 00 10 	beq-    cr7,ffc102c8 <msdos_format+0x52c>      <== NEVER TAKEN
	(rqdata->VolLabel != NULL)) {                                        
      from = rqdata->VolLabel;                                        
      fmt_params->VolLabel_present = true;                            
ffc102bc:	38 00 00 01 	li      r0,1                                   
ffc102c0:	98 01 00 a8 	stb     r0,168(r1)                             
ffc102c4:	48 00 00 0c 	b       ffc102d0 <msdos_format+0x534>          
   */                                                                 
  if (ret_val == 0) {                                                 
      const char *from;                                               
      char        *to = fmt_params->VolLabel;                         
      int          cnt;                                               
      from = ""; /* default: make "from" point to empty string */     
ffc102c8:	3d 20 ff c3 	lis     r9,-61                                 <== NOT EXECUTED
ffc102cc:	39 29 dc 97 	addi    r9,r9,-9065                            <== NOT EXECUTED
      fmt_params->VolLabel_present = true;                            
    }                                                                 
    for (cnt = 0;                                                     
	 cnt < (sizeof(fmt_params->VolLabel)-1);                             
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
ffc102d0:	3d 60 00 00 	lis     r11,0                                  
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
      }                                                               
      *to = '\0';                                                     
ffc102d4:	39 40 00 0c 	li      r10,12                                 
      fmt_params->VolLabel_present = true;                            
    }                                                                 
    for (cnt = 0;                                                     
	 cnt < (sizeof(fmt_params->VolLabel)-1);                             
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
ffc102d8:	80 cb 27 ac 	lwz     r6,10156(r11)                          
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
ffc102dc:	38 e0 00 20 	li      r7,32                                  
      }                                                               
      *to = '\0';                                                     
ffc102e0:	7d 49 03 a6 	mtctr   r10                                    
  /*                                                                  
   * determine usable Volume Label                                    
   */                                                                 
  if (ret_val == 0) {                                                 
      const char *from;                                               
      char        *to = fmt_params->VolLabel;                         
ffc102e4:	39 61 00 9c 	addi    r11,r1,156                             
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
      }                                                               
      *to = '\0';                                                     
ffc102e8:	39 00 00 00 	li      r8,0                                   
ffc102ec:	48 00 00 38 	b       ffc10324 <msdos_format+0x588>          
      fmt_params->VolLabel_present = true;                            
    }                                                                 
    for (cnt = 0;                                                     
	 cnt < (sizeof(fmt_params->VolLabel)-1);                             
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
ffc102f0:	88 09 00 00 	lbz     r0,0(r9)                               
ffc102f4:	7d 46 02 14 	add     r10,r6,r0                              
ffc102f8:	89 4a 00 01 	lbz     r10,1(r10)                             
ffc102fc:	71 45 00 97 	andi.   r5,r10,151                             
ffc10300:	39 4b 00 01 	addi    r10,r11,1                              
ffc10304:	41 82 00 14 	beq-    ffc10318 <msdos_format+0x57c>          
	*to++ = *from++;                                                     
ffc10308:	98 0b 00 00 	stb     r0,0(r11)                              
ffc1030c:	39 29 00 01 	addi    r9,r9,1                                
ffc10310:	7d 4b 53 78 	mr      r11,r10                                
ffc10314:	48 00 00 0c 	b       ffc10320 <msdos_format+0x584>          
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
ffc10318:	98 eb 00 00 	stb     r7,0(r11)                              
ffc1031c:	7d 4b 53 78 	mr      r11,r10                                
      }                                                               
      *to = '\0';                                                     
ffc10320:	99 0a 00 00 	stb     r8,0(r10)                              
    if ((rqdata != NULL) &&                                           
	(rqdata->VolLabel != NULL)) {                                        
      from = rqdata->VolLabel;                                        
      fmt_params->VolLabel_present = true;                            
    }                                                                 
    for (cnt = 0;                                                     
ffc10324:	42 00 ff cc 	bdnz+   ffc102f0 <msdos_format+0x554>          
{                                                                     
  int ret_val = 0;                                                    
  int rc;                                                             
  struct timeval time_value;                                          
                                                                      
  rc = rtems_clock_get_tod_timeval(&time_value);                      
ffc10328:	38 61 00 08 	addi    r3,r1,8                                
ffc1032c:	48 00 6a 9d 	bl      ffc16dc8 <rtems_clock_get_tod_timeval> 
  if (rc == RTEMS_SUCCESSFUL) {                                       
ffc10330:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10334:	40 9e 00 14 	bne-    cr7,ffc10348 <msdos_format+0x5ac>      <== ALWAYS TAKEN
    *volid_ptr = time_value.tv_sec + time_value.tv_sec;               
ffc10338:	80 01 00 08 	lwz     r0,8(r1)                               <== NOT EXECUTED
ffc1033c:	54 00 08 3c 	rlwinm  r0,r0,1,0,30                           <== NOT EXECUTED
ffc10340:	90 01 00 ac 	stw     r0,172(r1)                             <== NOT EXECUTED
ffc10344:	48 00 05 cc 	b       ffc10910 <msdos_format+0xb74>          <== NOT EXECUTED
  }                                                                   
  else {                                                              
    *volid_ptr = rand();                                              
ffc10348:	48 00 df 99 	bl      ffc1e2e0 <rand>                        
ffc1034c:	90 61 00 ac 	stw     r3,172(r1)                             
ffc10350:	48 00 05 c0 	b       ffc10910 <msdos_format+0xb74>          
  }                                                                   
  /*                                                                  
   * Phuuu.... That's it.                                             
   */                                                                 
  if (ret_val != 0) {                                                 
    rtems_set_errno_and_return_minus_one(ret_val);                    
ffc10354:	48 00 cf 55 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc10358:	93 43 00 00 	stw     r26,0(r3)                              <== NOT EXECUTED
ffc1035c:	48 00 00 84 	b       ffc103e0 <msdos_format+0x644>          <== NOT EXECUTED
  }                                                                   
  /*                                                                  
   * if requested, write whole disk/partition with 0xe5               
   */                                                                 
  if ((ret_val == 0) &&                                               
      (rqdata != NULL) &&                                             
ffc10360:	88 1f 00 16 	lbz     r0,22(r31)                             
ffc10364:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc10368:	40 be 00 28 	bne+    cr7,ffc10390 <msdos_format+0x5f4>      <== NEVER TAKEN
      !(rqdata->quick_format)) {                                      
    ret_val = msdos_format_fill_sectors                               
ffc1036c:	80 c1 00 64 	lwz     r6,100(r1)                             
ffc10370:	7f e3 fb 78 	mr      r3,r31                                 
ffc10374:	80 e1 00 60 	lwz     r7,96(r1)                              
ffc10378:	7f c4 f3 78 	mr      r4,r30                                 
ffc1037c:	38 a0 00 00 	li      r5,0                                   
ffc10380:	39 00 00 e5 	li      r8,229                                 
ffc10384:	4b ff f8 d5 	bl      ffc0fc58 <msdos_format_fill_sectors>   
  }                                                                   
                                                                      
  /*                                                                  
   * create master boot record                                        
   */                                                                 
  if (ret_val == 0) {                                                 
ffc10388:	7c 79 1b 79 	mr.     r25,r3                                 
ffc1038c:	40 a2 04 e8 	bne+    ffc10874 <msdos_format+0xad8>          <== NEVER TAKEN
    /*                                                                
     * Read the current MBR to obtain the partition table.            
     */                                                               
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc10390:	3c a0 ff c3 	lis     r5,-61                                 
ffc10394:	7f e3 fb 78 	mr      r3,r31                                 
ffc10398:	38 80 00 02 	li      r4,2                                   
ffc1039c:	38 a5 dd d4 	addi    r5,r5,-8748                            
ffc103a0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc103a4:	4b ff f7 ad 	bl      ffc0fb50 <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)) {     
ffc103a8:	7f c3 f3 78 	mr      r3,r30                                 
ffc103ac:	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,                               
ffc103b0:	83 81 00 60 	lwz     r28,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)) {     
ffc103b4:	38 c0 00 00 	li      r6,0                                   
ffc103b8:	38 e0 00 00 	li      r7,0                                   
ffc103bc:	4b ff 79 f1 	bl      ffc07dac <lseek>                       
ffc103c0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc103c4:	41 9c 00 1c 	blt-    cr7,ffc103e0 <msdos_format+0x644>      <== NEVER TAKEN
    ret_val = -1;                                                     
  }                                                                   
  if (ret_val == 0) {                                                 
    if (0 > read(fd,buffer,sector_size)) {                            
ffc103c8:	7f c3 f3 78 	mr      r3,r30                                 
ffc103cc:	38 81 00 b0 	addi    r4,r1,176                              
ffc103d0:	7f 85 e3 78 	mr      r5,r28                                 
ffc103d4:	4b ff 89 e1 	bl      ffc08db4 <read>                        
ffc103d8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc103dc:	40 bc 05 40 	bge+    cr7,ffc1091c <msdos_format+0xb80>      <== ALWAYS TAKEN
  }                                                                   
  /*                                                                  
   * Phuuu.... That's it.                                             
   */                                                                 
  if (ret_val != 0) {                                                 
    rtems_set_errno_and_return_minus_one(ret_val);                    
ffc103e0:	3b 20 ff ff 	li      r25,-1                                 <== NOT EXECUTED
ffc103e4:	48 00 04 90 	b       ffc10874 <msdos_format+0xad8>          <== 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) {                        
ffc103e8:	7f 7a db 78 	mr      r26,r27                                <== NOT EXECUTED
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
  uint32_t  total_sectors_num16 = 0;                                  
ffc103ec:	3b 60 00 00 	li      r27,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);                     
ffc103f0:	38 61 00 b0 	addi    r3,r1,176                              
ffc103f4:	38 80 00 00 	li      r4,0                                   
ffc103f8:	38 a0 01 be 	li      r5,446                                 
ffc103fc:	48 00 dd c5 	bl      ffc1e1c0 <memset>                      
   * 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); 
ffc10400:	57 80 c2 3e 	rlwinm  r0,r28,24,8,31                         
ffc10404:	98 01 00 bc 	stb     r0,188(r1)                             
   */                                                                 
  /*                                                                  
   * fill OEMName                                                     
   */                                                                 
  memcpy(FAT_GET_ADDR_BR_OEMNAME(mbr),                                
	 fmt_params->OEMName,                                                
ffc10408:	39 41 00 93 	addi    r10,r1,147                             
   * with 0xEB,....                                                   
   */                                                                 
  /*                                                                  
   * fill OEMName                                                     
   */                                                                 
  memcpy(FAT_GET_ADDR_BR_OEMNAME(mbr),                                
ffc1040c:	39 21 00 b3 	addi    r9,r1,179                              
	 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);
ffc10410:	80 01 00 6c 	lwz     r0,108(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,
ffc10414:	39 60 00 00 	li      r11,0                                  
   * with 0xEB,....                                                   
   */                                                                 
  /*                                                                  
   * fill OEMName                                                     
   */                                                                 
  memcpy(FAT_GET_ADDR_BR_OEMNAME(mbr),                                
ffc10418:	7c ea 44 aa 	lswi    r7,r10,8                               
ffc1041c:	7c e9 45 aa 	stswi   r7,r9,8                                
  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 */
ffc10420:	39 00 00 02 	li      r8,2                                   
  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... */
ffc10424:	39 40 00 01 	li      r10,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);
ffc10428:	98 01 00 bd 	stb     r0,189(r1)                             
  FAT_SET_BR_RESERVED_SECTORS_NUM(mbr, fmt_params->rsvd_sector_cnt);  
ffc1042c:	80 01 00 68 	lwz     r0,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);
  FAT_SET_BR_TOTAL_SECTORS_NUM16(mbr , total_sectors_num16);          
ffc10430:	9b 61 00 c3 	stb     r27,195(r1)                            
ffc10434:	57 7b c2 3e 	rlwinm  r27,r27,24,8,31                        
  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);  
ffc10438:	98 01 00 be 	stb     r0,190(r1)                             
ffc1043c:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc10440:	98 01 00 bf 	stb     r0,191(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);
ffc10444:	80 01 00 78 	lwz     r0,120(r1)                             
                                                                      
  FAT_SET_BR_SECTORS_PER_TRACK(mbr   , 255); /* only needed for INT13... */
  FAT_SET_BR_NUMBER_OF_HEADS(mbr     , 6);   /* only needed for INT13... */
  FAT_SET_BR_HIDDEN_SECTORS(mbr      , 1);   /* only needed for INT13... */
                                                                      
  FAT_SET_BR_TOTAL_SECTORS_NUM32(mbr , total_sectors_num32);          
ffc10448:	9b 41 00 d0 	stb     r26,208(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);
ffc1044c:	98 01 00 c1 	stb     r0,193(r1)                             
ffc10450:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc10454:	98 01 00 c2 	stb     r0,194(r1)                             
  FAT_SET_BR_TOTAL_SECTORS_NUM16(mbr , total_sectors_num16);          
  FAT_SET_BR_MEDIA(mbr               , fmt_params->media_code);       
ffc10458:	88 01 00 91 	lbz     r0,145(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,
ffc1045c:	b1 61 02 ae 	sth     r11,686(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);       
ffc10460:	98 01 00 c5 	stb     r0,197(r1)                             
                                                                      
  FAT_SET_BR_SECTORS_PER_TRACK(mbr   , 255); /* only needed for INT13... */
ffc10464:	38 00 ff ff 	li      r0,-1                                  
ffc10468:	98 01 00 c8 	stb     r0,200(r1)                             
  FAT_SET_BR_NUMBER_OF_HEADS(mbr     , 6);   /* only needed for INT13... */
ffc1046c:	38 00 00 06 	li      r0,6                                   
ffc10470:	98 01 00 ca 	stb     r0,202(r1)                             
  FAT_SET_BR_HIDDEN_SECTORS(mbr      , 1);   /* only needed for INT13... */
                                                                      
  FAT_SET_BR_TOTAL_SECTORS_NUM32(mbr , total_sectors_num32);          
ffc10474:	57 40 c6 3e 	rlwinm  r0,r26,24,24,31                        
ffc10478:	98 01 00 d1 	stb     r0,209(r1)                             
ffc1047c:	57 40 84 3e 	rlwinm  r0,r26,16,16,31                        
ffc10480:	57 5a 46 3e 	rlwinm  r26,r26,8,24,31                        
ffc10484:	98 01 00 d2 	stb     r0,210(r1)                             
  if (fmt_params->fattype != FAT_FAT32) {                             
ffc10488:	88 01 00 92 	lbz     r0,146(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); 
ffc1048c:	9b 81 00 bb 	stb     r28,187(r1)                            
  FAT_SET_BR_SECTORS_PER_TRACK(mbr   , 255); /* only needed for INT13... */
  FAT_SET_BR_NUMBER_OF_HEADS(mbr     , 6);   /* only needed for INT13... */
  FAT_SET_BR_HIDDEN_SECTORS(mbr      , 1);   /* only needed for INT13... */
                                                                      
  FAT_SET_BR_TOTAL_SECTORS_NUM32(mbr , total_sectors_num32);          
  if (fmt_params->fattype != FAT_FAT32) {                             
ffc10490:	2f 80 00 04 	cmpwi   cr7,r0,4                               
  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 */
ffc10494:	99 01 00 c0 	stb     r8,192(r1)                             
  FAT_SET_BR_FILES_PER_ROOT_DIR(mbr  , fmt_params->files_per_root_dir);
  FAT_SET_BR_TOTAL_SECTORS_NUM16(mbr , total_sectors_num16);          
ffc10498:	9b 61 00 c4 	stb     r27,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... */
  FAT_SET_BR_HIDDEN_SECTORS(mbr      , 1);   /* only needed for INT13... */
ffc1049c:	99 41 00 cc 	stb     r10,204(r1)                            
                                                                      
  FAT_SET_BR_TOTAL_SECTORS_NUM32(mbr , total_sectors_num32);          
ffc104a0:	9b 41 00 d3 	stb     r26,211(r1)                            
ffc104a4:	81 21 00 70 	lwz     r9,112(r1)                             
  if (fmt_params->fattype != FAT_FAT32) {                             
ffc104a8:	41 9e 00 74 	beq-    cr7,ffc1051c <msdos_format+0x780>      <== NEVER TAKEN
    FAT_SET_BR_SECTORS_PER_FAT(mbr   ,fmt_params->sectors_per_fat);   
ffc104ac:	99 21 00 c6 	stb     r9,198(r1)                             
ffc104b0:	55 29 c2 3e 	rlwinm  r9,r9,24,8,31                          
    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),                           
ffc104b4:	2f 80 00 01 	cmpwi   cr7,r0,1                               
  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);   
ffc104b8:	99 21 00 c7 	stb     r9,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);           
ffc104bc:	39 20 00 29 	li      r9,41                                  
ffc104c0:	99 21 00 d6 	stb     r9,214(r1)                             
    FAT_SET_BR_VOLID(mbr             , fmt_params->vol_id); /* volume id */
ffc104c4:	81 21 00 ac 	lwz     r9,172(r1)                             
ffc104c8:	55 2b c6 3e 	rlwinm  r11,r9,24,24,31                        
ffc104cc:	99 21 00 d7 	stb     r9,215(r1)                             
ffc104d0:	99 61 00 d8 	stb     r11,216(r1)                            
ffc104d4:	55 2b 84 3e 	rlwinm  r11,r9,16,16,31                        
ffc104d8:	55 29 46 3e 	rlwinm  r9,r9,8,24,31                          
ffc104dc:	99 61 00 d9 	stb     r11,217(r1)                            
  memcpy(FAT_GET_ADDR_BR_VOLLAB(mbr),                                 
	 fmt_params->VolLabel,                                               
ffc104e0:	39 61 00 9c 	addi    r11,r1,156                             
  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 */
ffc104e4:	99 21 00 da 	stb     r9,218(r1)                             
  memcpy(FAT_GET_ADDR_BR_VOLLAB(mbr),                                 
ffc104e8:	39 21 00 db 	addi    r9,r1,219                              
ffc104ec:	7c ab 5c aa 	lswi    r5,r11,11                              
ffc104f0:	7c a9 5d aa 	stswi   r5,r9,11                               
	 fmt_params->VolLabel,                                               
	 FAT_BR_VOLLAB_SIZE);                                                
    memcpy(FAT_GET_ADDR_BR_FILSYSTYPE(mbr),                           
ffc104f4:	40 be 00 10 	bne+    cr7,ffc10504 <msdos_format+0x768>      <== NEVER TAKEN
ffc104f8:	3d 20 ff c3 	lis     r9,-61                                 
ffc104fc:	39 29 dd 69 	addi    r9,r9,-8855                            
ffc10500:	48 00 00 0c 	b       ffc1050c <msdos_format+0x770>          
ffc10504:	3d 20 ff c3 	lis     r9,-61                                 <== NOT EXECUTED
ffc10508:	39 29 dd 72 	addi    r9,r9,-8846                            <== NOT EXECUTED
ffc1050c:	39 61 00 e6 	addi    r11,r1,230                             
ffc10510:	7c e9 44 aa 	lswi    r7,r9,8                                
ffc10514:	7c eb 45 aa 	stswi   r7,r11,8                               
ffc10518:	48 00 00 74 	b       ffc1058c <msdos_format+0x7f0>          
	   ? "FAT12   "                                                      
	   : "FAT16   ",                                                     
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
ffc1051c:	55 20 c6 3e 	rlwinm  r0,r9,24,24,31                         <== NOT EXECUTED
ffc10520:	99 21 00 d4 	stb     r9,212(r1)                             <== NOT EXECUTED
ffc10524:	98 01 00 d5 	stb     r0,213(r1)                             <== NOT EXECUTED
ffc10528:	55 20 84 3e 	rlwinm  r0,r9,16,16,31                         <== NOT EXECUTED
ffc1052c:	55 29 46 3e 	rlwinm  r9,r9,8,24,31                          <== NOT EXECUTED
ffc10530:	98 01 00 d6 	stb     r0,214(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 */
ffc10534:	80 01 00 88 	lwz     r0,136(r1)                             <== NOT EXECUTED
	   ? "FAT12   "                                                      
	   : "FAT16   ",                                                     
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
ffc10538:	99 21 00 d7 	stb     r9,215(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);      
ffc1053c:	39 20 00 29 	li      r9,41                                  <== NOT EXECUTED
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
    FAT_SET_BR_EXT_FLAGS(mbr           , 0);                          
    FAT_SET_BR_FSVER(mbr               , 0); /* FAT32 Version:0.0 */  
    FAT_SET_BR_FAT32_ROOT_CLUSTER(mbr  , 2); /* put root dir to cluster 2 */
    FAT_SET_BR_FAT32_FS_INFO_SECTOR(mbr, 1); /* Put fsinfo  to rsrvd sec 1*/
    FAT_SET_BR_FAT32_BK_BOOT_SECTOR(mbr, fmt_params->mbr_copy_sec ); /* Put MBR copy to rsrvd sec */
ffc10540:	98 01 00 e2 	stb     r0,226(r1)                             <== NOT EXECUTED
ffc10544:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          <== NOT EXECUTED
ffc10548:	98 01 00 e3 	stb     r0,227(r1)                             <== NOT EXECUTED
    memset(FAT_GET_ADDR_BR_FAT32_RESERVED(mbr),0,FAT_BR_FAT32_RESERVED_SIZE);
ffc1054c:	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);      
ffc10550:	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);
    memcpy(FAT_GET_ADDR_BR_FAT32_FILSYSTYPE(mbr),                     
ffc10554:	39 21 01 02 	addi    r9,r1,258                              <== 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);
ffc10558:	99 61 01 01 	stb     r11,257(r1)                            <== NOT EXECUTED
    memcpy(FAT_GET_ADDR_BR_FAT32_FILSYSTYPE(mbr),                     
ffc1055c:	3d 60 ff c3 	lis     r11,-61                                <== NOT EXECUTED
ffc10560:	39 6b dd e5 	addi    r11,r11,-8731                          <== NOT EXECUTED
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
    FAT_SET_BR_EXT_FLAGS(mbr           , 0);                          
    FAT_SET_BR_FSVER(mbr               , 0); /* FAT32 Version:0.0 */  
    FAT_SET_BR_FAT32_ROOT_CLUSTER(mbr  , 2); /* put root dir to cluster 2 */
ffc10564:	99 01 00 dc 	stb     r8,220(r1)                             <== NOT EXECUTED
    FAT_SET_BR_FAT32_FS_INFO_SECTOR(mbr, 1); /* Put fsinfo  to rsrvd sec 1*/
ffc10568:	99 41 00 e0 	stb     r10,224(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);
ffc1056c:	90 01 00 e4 	stw     r0,228(r1)                             <== NOT EXECUTED
ffc10570:	90 01 00 e8 	stw     r0,232(r1)                             <== NOT EXECUTED
ffc10574:	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);      
    FAT_SET_BR_FAT32_VOLID(mbr       , 0); /* not set */              
    memset(FAT_GET_ADDR_BR_FAT32_VOLLAB(mbr)   ,0,FAT_BR_VOLLAB_SIZE);
ffc10578:	90 01 00 f7 	stw     r0,247(r1)                             <== NOT EXECUTED
ffc1057c:	90 01 00 fb 	stw     r0,251(r1)                             <== NOT EXECUTED
ffc10580:	b0 01 00 ff 	sth     r0,255(r1)                             <== NOT EXECUTED
    memcpy(FAT_GET_ADDR_BR_FAT32_FILSYSTYPE(mbr),                     
ffc10584:	7c eb 44 aa 	lswi    r7,r11,8                               <== NOT EXECUTED
ffc10588:	7c e9 45 aa 	stswi   r7,r9,8                                <== NOT EXECUTED
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  /*                                                                  
   * add boot record signature                                        
   */                                                                 
  FAT_SET_BR_SIGNATURE(mbr,      FAT_BR_SIGNATURE_VAL);               
ffc1058c:	38 00 00 55 	li      r0,85                                  
ffc10590:	98 01 02 ae 	stb     r0,686(r1)                             
ffc10594:	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,       
ffc10598:	3c a0 ff c3 	lis     r5,-61                                 
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  /*                                                                  
   * add boot record signature                                        
   */                                                                 
  FAT_SET_BR_SIGNATURE(mbr,      FAT_BR_SIGNATURE_VAL);               
ffc1059c:	98 01 02 af 	stb     r0,687(r1)                             
                                                                      
  /*                                                                  
   * add jump to boot loader at start of sector                       
   */                                                                 
  FAT_SET_VAL8(mbr,0,0xeb);                                           
ffc105a0:	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,       
ffc105a4:	7f e3 fb 78 	mr      r3,r31                                 
  FAT_SET_BR_SIGNATURE(mbr,      FAT_BR_SIGNATURE_VAL);               
                                                                      
  /*                                                                  
   * add jump to boot loader at start of sector                       
   */                                                                 
  FAT_SET_VAL8(mbr,0,0xeb);                                           
ffc105a8:	98 01 00 b0 	stb     r0,176(r1)                             
  FAT_SET_VAL8(mbr,1,0x3c);                                           
ffc105ac:	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,       
ffc105b0:	38 80 00 02 	li      r4,2                                   
                                                                      
  /*                                                                  
   * add jump to boot loader at start of sector                       
   */                                                                 
  FAT_SET_VAL8(mbr,0,0xeb);                                           
  FAT_SET_VAL8(mbr,1,0x3c);                                           
ffc105b4:	98 01 00 b1 	stb     r0,177(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,       
ffc105b8:	38 a5 dd ee 	addi    r5,r5,-8722                            
  /*                                                                  
   * add jump to boot loader at start of sector                       
   */                                                                 
  FAT_SET_VAL8(mbr,0,0xeb);                                           
  FAT_SET_VAL8(mbr,1,0x3c);                                           
  FAT_SET_VAL8(mbr,2,0x90);                                           
ffc105bc:	38 00 ff 90 	li      r0,-112                                
ffc105c0:	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,       
ffc105c4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc105c8:	4b ff f5 89 	bl      ffc0fb50 <msdos_format_printf>         
                           "write MRB sector\n");                     
      ret_val = msdos_format_write_sec(fd,                            
ffc105cc:	7f c3 f3 78 	mr      r3,r30                                 
ffc105d0:	38 80 00 00 	li      r4,0                                   
ffc105d4:	7f 85 e3 78 	mr      r5,r28                                 
ffc105d8:	38 c1 00 b0 	addi    r6,r1,176                              
ffc105dc:	4b ff f6 25 	bl      ffc0fc00 <msdos_format_write_sec>      
                                       0,                             
                                       fmt_params.bytes_per_sector,   
                                       tmp_sec);                      
    }                                                                 
    if ((ret_val == 0) &&                                             
ffc105e0:	7c 79 1b 79 	mr.     r25,r3                                 
ffc105e4:	40 82 02 90 	bne-    ffc10874 <msdos_format+0xad8>          <== NEVER TAKEN
        (fmt_params.mbr_copy_sec != 0)) {                             
ffc105e8:	83 61 00 88 	lwz     r27,136(r1)                            
      ret_val = msdos_format_write_sec(fd,                            
                                       0,                             
                                       fmt_params.bytes_per_sector,   
                                       tmp_sec);                      
    }                                                                 
    if ((ret_val == 0) &&                                             
ffc105ec:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc105f0:	41 be 00 38 	beq+    cr7,ffc10628 <msdos_format+0x88c>      <== ALWAYS TAKEN
        (fmt_params.mbr_copy_sec != 0)) {                             
      /*                                                              
       * write copy of MBR                                            
       */                                                             
      msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,       
ffc105f4:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc105f8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc105fc:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
ffc10600:	38 a5 de 00 	addi    r5,r5,-8704                            <== NOT EXECUTED
ffc10604:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10608:	4b ff f5 49 	bl      ffc0fb50 <msdos_format_printf>         <== NOT EXECUTED
                           "write back up MRB sector\n");             
      ret_val = msdos_format_write_sec(fd,                            
ffc1060c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc10610:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc10614:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc10618:	38 c1 00 b0 	addi    r6,r1,176                              <== NOT EXECUTED
ffc1061c:	4b ff f5 e5 	bl      ffc0fc00 <msdos_format_write_sec>      <== NOT EXECUTED
    }                                                                 
  }                                                                   
  /*                                                                  
   * for FAT32: initialize info sector on disk                        
   */                                                                 
  if ((ret_val == 0) &&                                               
ffc10620:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc10624:	40 82 02 50 	bne-    ffc10874 <msdos_format+0xad8>          <== NOT EXECUTED
      (fmt_params.fsinfo_sec != 0)) {                                 
ffc10628:	83 61 00 8c 	lwz     r27,140(r1)                            
    }                                                                 
  }                                                                   
  /*                                                                  
   * for FAT32: initialize info sector on disk                        
   */                                                                 
  if ((ret_val == 0) &&                                               
ffc1062c:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc10630:	41 be 00 94 	beq+    cr7,ffc106c4 <msdos_format+0x928>      <== ALWAYS TAKEN
\*=========================================================================*/
{                                                                     
  /*                                                                  
   * clear fsinfo sector data                                         
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
ffc10634:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc10638:	38 a0 02 00 	li      r5,512                                 <== NOT EXECUTED
ffc1063c:	38 61 00 b0 	addi    r3,r1,176                              <== NOT EXECUTED
ffc10640:	48 00 db 81 	bl      ffc1e1c0 <memset>                      <== NOT EXECUTED
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
ffc10644:	38 00 00 52 	li      r0,82                                  <== NOT EXECUTED
ffc10648:	98 01 00 b0 	stb     r0,176(r1)                             <== NOT EXECUTED
ffc1064c:	39 20 00 41 	li      r9,65                                  <== NOT EXECUTED
  FAT_SET_FSINFO_STRUC_SIGNATURE(fsinfo,FAT_FSINFO_STRUC_SIGNATURE_VALUE);
ffc10650:	39 60 00 72 	li      r11,114                                <== NOT EXECUTED
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
ffc10654:	98 01 00 b1 	stb     r0,177(r1)                             <== NOT EXECUTED
ffc10658:	38 00 00 61 	li      r0,97                                  <== NOT EXECUTED
  /*                                                                  
   * write fsinfo sector                                              
   */                                                                 
  if ((ret_val == 0) &&                                               
      (fmt_params.fsinfo_sec != 0)) {                                 
    ret_val = msdos_format_write_sec(fd,                              
ffc1065c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
ffc10660:	98 01 00 b2 	stb     r0,178(r1)                             <== NOT EXECUTED
  /*                                                                  
   * write fsinfo sector                                              
   */                                                                 
  if ((ret_val == 0) &&                                               
      (fmt_params.fsinfo_sec != 0)) {                                 
    ret_val = msdos_format_write_sec(fd,                              
ffc10664:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc10668:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
  FAT_SET_FSINFO_STRUC_SIGNATURE(fsinfo,FAT_FSINFO_STRUC_SIGNATURE_VALUE);
ffc1066c:	98 01 02 97 	stb     r0,663(r1)                             <== NOT EXECUTED
  FAT_SET_FSINFO_TRAIL_SIGNATURE(fsinfo,FAT_FSINFO_TRAIL_SIGNATURE_VALUE);
ffc10670:	38 00 00 55 	li      r0,85                                  <== NOT EXECUTED
  /*                                                                  
   * write fsinfo sector                                              
   */                                                                 
  if ((ret_val == 0) &&                                               
      (fmt_params.fsinfo_sec != 0)) {                                 
    ret_val = msdos_format_write_sec(fd,                              
ffc10674:	38 c1 00 b0 	addi    r6,r1,176                              <== 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);
ffc10678:	98 01 02 ae 	stb     r0,686(r1)                             <== NOT EXECUTED
ffc1067c:	38 00 ff aa 	li      r0,-86                                 <== NOT EXECUTED
ffc10680:	98 01 02 af 	stb     r0,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,              
ffc10684:	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 );
ffc10688:	99 21 00 b3 	stb     r9,179(r1)                             <== NOT EXECUTED
  FAT_SET_FSINFO_STRUC_SIGNATURE(fsinfo,FAT_FSINFO_STRUC_SIGNATURE_VALUE);
ffc1068c:	99 61 02 94 	stb     r11,660(r1)                            <== NOT EXECUTED
ffc10690:	99 61 02 95 	stb     r11,661(r1)                            <== NOT EXECUTED
ffc10694:	99 21 02 96 	stb     r9,662(r1)                             <== NOT EXECUTED
  FAT_SET_FSINFO_TRAIL_SIGNATURE(fsinfo,FAT_FSINFO_TRAIL_SIGNATURE_VALUE);
  /*                                                                  
   * write "empty" values for free cluster count and next cluster number
   */                                                                 
  FAT_SET_FSINFO_FREE_CLUSTER_COUNT(fsinfo+FAT_FSI_INFO,              
ffc10698:	98 01 02 98 	stb     r0,664(r1)                             <== NOT EXECUTED
ffc1069c:	98 01 02 99 	stb     r0,665(r1)                             <== NOT EXECUTED
ffc106a0:	98 01 02 9a 	stb     r0,666(r1)                             <== NOT EXECUTED
ffc106a4:	98 01 02 9b 	stb     r0,667(r1)                             <== NOT EXECUTED
				    0xffffffff);                                                  
  FAT_SET_FSINFO_NEXT_FREE_CLUSTER (fsinfo+FAT_FSI_INFO,              
ffc106a8:	98 01 02 9c 	stb     r0,668(r1)                             <== NOT EXECUTED
ffc106ac:	98 01 02 9d 	stb     r0,669(r1)                             <== NOT EXECUTED
ffc106b0:	98 01 02 9e 	stb     r0,670(r1)                             <== NOT EXECUTED
ffc106b4:	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,                              
ffc106b8:	4b ff f5 49 	bl      ffc0fc00 <msdos_format_write_sec>      <== NOT EXECUTED
  }                                                                   
  /*                                                                  
   * write FAT as all empty                                           
   * -> write all FAT sectors as zero                                 
   */                                                                 
  if (ret_val == 0) {                                                 
ffc106bc:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc106c0:	40 a2 01 b4 	bne+    ffc10874 <msdos_format+0xad8>          <== NOT EXECUTED
    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 */
ffc106c4:	8b 61 00 90 	lbz     r27,144(r1)                            
  /*                                                                  
   * write FAT as all empty                                           
   * -> write all FAT sectors as zero                                 
   */                                                                 
  if (ret_val == 0) {                                                 
    ret_val = msdos_format_fill_sectors                               
ffc106c8:	7f e3 fb 78 	mr      r3,r31                                 
ffc106cc:	80 c1 00 70 	lwz     r6,112(r1)                             
ffc106d0:	7f c4 f3 78 	mr      r4,r30                                 
ffc106d4:	80 a1 00 68 	lwz     r5,104(r1)                             
ffc106d8:	7f 87 e3 78 	mr      r7,r28                                 
ffc106dc:	7c db 31 d6 	mullw   r6,r27,r6                              
ffc106e0:	39 00 00 00 	li      r8,0                                   
ffc106e4:	4b ff f5 75 	bl      ffc0fc58 <msdos_format_fill_sectors>   
  }                                                                   
  /*                                                                  
   * clear/init root directory                                        
   * -> write all directory sectors as 0x00                           
   */                                                                 
  if (ret_val == 0) {                                                 
ffc106e8:	7c 79 1b 79 	mr.     r25,r3                                 
ffc106ec:	40 82 01 88 	bne-    ffc10874 <msdos_format+0xad8>          <== NEVER TAKEN
    ret_val = msdos_format_fill_sectors                               
      (rqdata,                                                        
ffc106f0:	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                               
ffc106f4:	7f e3 fb 78 	mr      r3,r31                                 
ffc106f8:	80 c1 00 84 	lwz     r6,132(r1)                             
ffc106fc:	7f c4 f3 78 	mr      r4,r30                                 
ffc10700:	7f 45 d3 78 	mr      r5,r26                                 
ffc10704:	7f 87 e3 78 	mr      r7,r28                                 
ffc10708:	39 00 00 00 	li      r8,0                                   
ffc1070c:	4b ff f5 4d 	bl      ffc0fc58 <msdos_format_fill_sectors>   
       0x00);                                                         
  }                                                                   
  /*                                                                  
   * write volume label to first entry of directory                   
   */                                                                 
  if ((ret_val == 0) && fmt_params.VolLabel_present) {                
ffc10710:	7c 79 1b 79 	mr.     r25,r3                                 
ffc10714:	40 82 01 60 	bne-    ffc10874 <msdos_format+0xad8>          <== NEVER TAKEN
ffc10718:	88 01 00 a8 	lbz     r0,168(r1)                             
ffc1071c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc10720:	41 be 01 54 	beq+    cr7,ffc10874 <msdos_format+0xad8>      <== NEVER TAKEN
    memset(tmp_sec,0,sizeof(tmp_sec));                                
ffc10724:	3b e1 00 b0 	addi    r31,r1,176                             
ffc10728:	38 a0 02 00 	li      r5,512                                 
ffc1072c:	38 80 00 00 	li      r4,0                                   
ffc10730:	7f e3 fb 78 	mr      r3,r31                                 
ffc10734:	48 00 da 8d 	bl      ffc1e1c0 <memset>                      
    memcpy(MSDOS_DIR_NAME(tmp_sec),fmt_params.VolLabel,MSDOS_SHORT_NAME_LEN);
ffc10738:	39 21 00 9c 	addi    r9,r1,156                              
ffc1073c:	7c a9 5c aa 	lswi    r5,r9,11                               
ffc10740:	7c bf 5d aa 	stswi   r5,r31,11                              
    *MSDOS_DIR_ATTR(tmp_sec) = MSDOS_ATTR_VOLUME_ID;                  
ffc10744:	38 00 00 08 	li      r0,8                                   
    ret_val = msdos_format_write_sec                                  
ffc10748:	7f c3 f3 78 	mr      r3,r30                                 
ffc1074c:	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);
    *MSDOS_DIR_ATTR(tmp_sec) = MSDOS_ATTR_VOLUME_ID;                  
ffc10750:	98 01 00 bb 	stb     r0,187(r1)                             
    ret_val = msdos_format_write_sec                                  
ffc10754:	7f 85 e3 78 	mr      r5,r28                                 
ffc10758:	7f e6 fb 78 	mr      r6,r31                                 
ffc1075c:	4b ff f4 a5 	bl      ffc0fc00 <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){                 
ffc10760:	7c 79 1b 79 	mr.     r25,r3                                 
ffc10764:	40 82 01 10 	bne-    ffc10874 <msdos_format+0xad8>          <== NEVER TAKEN
    /*                                                                
     * empty sector: all clusters are free/do not link further on     
     */                                                               
    memset(tmp_sec,0,sizeof(tmp_sec));                                
ffc10768:	7f e3 fb 78 	mr      r3,r31                                 
ffc1076c:	38 80 00 00 	li      r4,0                                   
ffc10770:	38 a0 02 00 	li      r5,512                                 
ffc10774:	48 00 da 4d 	bl      ffc1e1c0 <memset>                      
                                                                      
    switch(fmt_params.fattype) {                                      
ffc10778:	88 01 00 92 	lbz     r0,146(r1)                             
ffc1077c:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc10780:	41 9e 00 30 	beq-    cr7,ffc107b0 <msdos_format+0xa14>      <== NEVER TAKEN
ffc10784:	2e 00 00 04 	cmpwi   cr4,r0,4                               
ffc10788:	41 92 00 48 	beq-    cr4,ffc107d0 <msdos_format+0xa34>      <== NEVER TAKEN
ffc1078c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc10790:	40 be 00 74 	bne+    cr7,ffc10804 <msdos_format+0xa68>      <== NEVER TAKEN
    case FAT_FAT12:                                                   
      /* LSBits of FAT entry 0: media_type */                         
      FAT_SET_VAL8(tmp_sec,0,(fmt_params.media_code));                
ffc10794:	88 01 00 91 	lbz     r0,145(r1)                             
ffc10798:	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)));          
ffc1079c:	38 00 ff 8f 	li      r0,-113                                
ffc107a0:	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));                   
ffc107a4:	38 00 ff ff 	li      r0,-1                                  
ffc107a8:	98 01 00 b2 	stb     r0,178(r1)                             
      break;                                                          
ffc107ac:	48 00 00 88 	b       ffc10834 <msdos_format+0xa98>          
                                                                      
    case FAT_FAT16:                                                   
      /* FAT entry 0: 0xff00|media_type */                            
      FAT_SET_VAL8(tmp_sec,0,fmt_params.media_code);                  
ffc107b0:	88 01 00 91 	lbz     r0,145(r1)                             <== NOT EXECUTED
      FAT_SET_VAL8(tmp_sec,1,0xff);                                   
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL16(tmp_sec,2,FAT_FAT16_EOC);                         
ffc107b4:	39 20 ff f8 	li      r9,-8                                  <== NOT EXECUTED
ffc107b8:	99 21 00 b2 	stb     r9,178(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);                  
ffc107bc:	98 01 00 b0 	stb     r0,176(r1)                             <== NOT EXECUTED
      FAT_SET_VAL8(tmp_sec,1,0xff);                                   
ffc107c0:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc107c4:	98 01 00 b1 	stb     r0,177(r1)                             <== NOT EXECUTED
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL16(tmp_sec,2,FAT_FAT16_EOC);                         
ffc107c8:	98 01 00 b3 	stb     r0,179(r1)                             <== NOT EXECUTED
      break;                                                          
ffc107cc:	48 00 00 68 	b       ffc10834 <msdos_format+0xa98>          <== NOT EXECUTED
                                                                      
    case FAT_FAT32:                                                   
      /* FAT entry 0: 0xffffff00|media_type */                        
      FAT_SET_VAL32(tmp_sec,0,0xffffff00|fmt_params.media_code);      
ffc107d0:	88 01 00 91 	lbz     r0,145(r1)                             <== NOT EXECUTED
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
ffc107d4:	39 20 ff f8 	li      r9,-8                                  <== NOT EXECUTED
ffc107d8:	99 21 00 b4 	stb     r9,180(r1)                             <== 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);      
ffc107dc:	98 01 00 b0 	stb     r0,176(r1)                             <== NOT EXECUTED
ffc107e0:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc107e4:	98 01 00 b1 	stb     r0,177(r1)                             <== NOT EXECUTED
ffc107e8:	98 01 00 b2 	stb     r0,178(r1)                             <== NOT EXECUTED
ffc107ec:	98 01 00 b3 	stb     r0,179(r1)                             <== NOT EXECUTED
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
ffc107f0:	98 01 00 b5 	stb     r0,181(r1)                             <== NOT EXECUTED
ffc107f4:	98 01 00 b6 	stb     r0,182(r1)                             <== NOT EXECUTED
ffc107f8:	38 00 00 0f 	li      r0,15                                  <== NOT EXECUTED
ffc107fc:	98 01 00 b7 	stb     r0,183(r1)                             <== NOT EXECUTED
ffc10800:	48 00 00 18 	b       ffc10818 <msdos_format+0xa7c>          <== NOT EXECUTED
      break;                                                          
                                                                      
    default:                                                          
      ret_val = -1;                                                   
      errno = EINVAL;                                                 
ffc10804:	48 00 ca a5 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc10808:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc1080c:	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;                                                   
ffc10810:	3b 20 ff ff 	li      r25,-1                                 <== NOT EXECUTED
      errno = EINVAL;                                                 
    }                                                                 
    if (fmt_params.fattype == FAT_FAT32) {                            
ffc10814:	40 b2 00 20 	bne+    cr4,ffc10834 <msdos_format+0xa98>      <== 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);                         
ffc10818:	38 00 ff f8 	li      r0,-8                                  <== NOT EXECUTED
ffc1081c:	98 01 00 b8 	stb     r0,184(r1)                             <== NOT EXECUTED
ffc10820:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc10824:	98 01 00 b9 	stb     r0,185(r1)                             <== NOT EXECUTED
ffc10828:	98 01 00 ba 	stb     r0,186(r1)                             <== NOT EXECUTED
ffc1082c:	38 00 00 0f 	li      r0,15                                  <== NOT EXECUTED
ffc10830:	98 01 00 bb 	stb     r0,187(r1)                             <== NOT EXECUTED
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
      break;                                                          
                                                                      
    default:                                                          
      ret_val = -1;                                                   
ffc10834:	3b e0 00 00 	li      r31,0                                  
ffc10838:	48 00 00 2c 	b       ffc10864 <msdos_format+0xac8>          
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
	 i++) {                                                              
      ret_val = msdos_format_write_sec                                
	(fd,                                                                 
	 fmt_params.rsvd_sector_cnt                                          
	 + (i * fmt_params.sectors_per_fat),                                 
ffc1083c:	80 81 00 70 	lwz     r4,112(r1)                             
      FAT_SET_VAL32(tmp_sec,8,FAT_FAT32_EOC);                         
    }                                                                 
    for (i = 0;                                                       
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
	 i++) {                                                              
      ret_val = msdos_format_write_sec                                
ffc10840:	7f c3 f3 78 	mr      r3,r30                                 
ffc10844:	80 01 00 68 	lwz     r0,104(r1)                             
ffc10848:	38 c1 00 b0 	addi    r6,r1,176                              
	(fd,                                                                 
	 fmt_params.rsvd_sector_cnt                                          
	 + (i * fmt_params.sectors_per_fat),                                 
ffc1084c:	7c 9f 21 d6 	mullw   r4,r31,r4                              
      FAT_SET_VAL32(tmp_sec,8,FAT_FAT32_EOC);                         
    }                                                                 
    for (i = 0;                                                       
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
	 i++) {                                                              
      ret_val = msdos_format_write_sec                                
ffc10850:	80 a1 00 60 	lwz     r5,96(r1)                              
       */                                                             
      FAT_SET_VAL32(tmp_sec,8,FAT_FAT32_EOC);                         
    }                                                                 
    for (i = 0;                                                       
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
	 i++) {                                                              
ffc10854:	3b ff 00 01 	addi    r31,r31,1                              
      ret_val = msdos_format_write_sec                                
ffc10858:	7c 84 02 14 	add     r4,r4,r0                               
ffc1085c:	4b ff f3 a5 	bl      ffc0fc00 <msdos_format_write_sec>      
ffc10860:	7c 79 1b 78 	mr      r25,r3                                 
       * 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;                                                       
ffc10864:	7f 9f d8 00 	cmpw    cr7,r31,r27                            
ffc10868:	40 9c 00 0c 	bge-    cr7,ffc10874 <msdos_format+0xad8>      
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
ffc1086c:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc10870:	41 9e ff cc 	beq+    cr7,ffc1083c <msdos_format+0xaa0>      <== ALWAYS TAKEN
  /*                                                                  
   * cleanup:                                                         
   * sync and unlock disk                                             
   * free any data structures (not needed now)                        
   */                                                                 
  if (fd != -1) {                                                     
ffc10874:	2f 9e ff ff 	cmpwi   cr7,r30,-1                             
ffc10878:	41 9e 00 0c 	beq-    cr7,ffc10884 <msdos_format+0xae8>      <== NEVER TAKEN
    close(fd);                                                        
ffc1087c:	7f c3 f3 78 	mr      r3,r30                                 
ffc10880:	4b ff 6d 3d 	bl      ffc075bc <close>                       
  }                                                                   
  if (dd != NULL) {                                                   
ffc10884:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc10888:	41 9e 00 0c 	beq-    cr7,ffc10894 <msdos_format+0xaf8>      <== NEVER TAKEN
    rtems_disk_release(dd);                                           
ffc1088c:	7f a3 eb 78 	mr      r3,r29                                 
ffc10890:	4b ff 60 61 	bl      ffc068f0 <rtems_disk_release>          
  }                                                                   
  return ret_val;                                                     
}                                                                     
ffc10894:	81 81 02 b8 	lwz     r12,696(r1)                            
ffc10898:	39 61 02 d8 	addi    r11,r1,728                             
ffc1089c:	7f 23 cb 78 	mr      r3,r25                                 
ffc108a0:	7d 80 81 20 	mtcrf   8,r12                                  
ffc108a4:	4b ff 22 3c 	b       ffc02ae0 <_restgpr_25_x>               
    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);                         
ffc108a8:	80 61 00 30 	lwz     r3,48(r1)                              
ffc108ac:	80 81 00 34 	lwz     r4,52(r1)                              
ffc108b0:	4b ff 5f bd 	bl      ffc0686c <rtems_disk_obtain>           
    if (dd == NULL) {                                                 
ffc108b4:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc108b8:	41 a2 f5 a8 	beq-    ffc0fe60 <msdos_format+0xc4>           <== 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));                           
ffc108bc:	38 80 00 00 	li      r4,0                                   
ffc108c0:	38 a0 00 50 	li      r5,80                                  
ffc108c4:	38 61 00 60 	addi    r3,r1,96                               
ffc108c8:	48 00 d8 f9 	bl      ffc1e1c0 <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;                          
ffc108cc:	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;                    
ffc108d0:	80 dd 00 20 	lwz     r6,32(r29)                             
    fmt_params->totl_sector_cnt  = dd->size;                          
    total_size = dd->block_size * dd->size;                           
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc108d4:	3c a0 ff c3 	lis     r5,-61                                 
ffc108d8:	7f e3 fb 78 	mr      r3,r31                                 
   * 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;                          
ffc108dc:	93 81 00 64 	stw     r28,100(r1)                            
    total_size = dd->block_size * dd->size;                           
ffc108e0:	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;                    
ffc108e4:	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,         
ffc108e8:	38 80 00 02 	li      r4,2                                   
ffc108ec:	38 a5 de 1a 	addi    r5,r5,-8678                            
ffc108f0:	7f 87 e3 78 	mr      r7,r28                                 
ffc108f4:	39 20 00 00 	li      r9,0                                   
ffc108f8:	7f 6a db 78 	mr      r10,r27                                
ffc108fc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc10900:	4b ff f2 51 	bl      ffc0fb50 <msdos_format_printf>         
  }                                                                   
  /*                                                                  
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
ffc10904:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc10908:	40 9e f5 70 	bne+    cr7,ffc0fe78 <msdos_format+0xdc>       <== ALWAYS TAKEN
ffc1090c:	4b ff f5 78 	b       ffc0fe84 <msdos_format+0xe8>           <== 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) &&                                               
ffc10910:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc10914:	40 9e fa 4c 	bne+    cr7,ffc10360 <msdos_format+0x5c4>      <== ALWAYS TAKEN
ffc10918:	4b ff fa 78 	b       ffc10390 <msdos_format+0x5f4>          <== NOT EXECUTED
    ret_val = msdos_format_read_sec(fd,                               
                                    0,                                
                                    fmt_params.bytes_per_sector,      
                                    tmp_sec);                         
    if (ret_val == 0) {                                               
      msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,       
ffc1091c:	3c a0 ff c3 	lis     r5,-61                                 
ffc10920:	7f e3 fb 78 	mr      r3,r31                                 
ffc10924:	38 80 00 02 	li      r4,2                                   
ffc10928:	38 a5 de 52 	addi    r5,r5,-8622                            
ffc1092c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc10930:	4b ff f2 21 	bl      ffc0fb50 <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) {                        
ffc10934:	83 61 00 64 	lwz     r27,100(r1)                            
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
  uint32_t  total_sectors_num16 = 0;                                  
  uint32_t  total_sectors_num32 = 0;                                  
ffc10938:	3b 40 00 00 	li      r26,0                                  
                                                                      
  /* store total sector count in either 16 or 32 bit field in mbr */  
  if (fmt_params->totl_sector_cnt < 0x10000) {                        
ffc1093c:	2b 9b ff ff 	cmplwi  cr7,r27,65535                          
ffc10940:	40 bd fa b0 	ble-    cr7,ffc103f0 <msdos_format+0x654>      <== ALWAYS TAKEN
ffc10944:	4b ff fa a4 	b       ffc103e8 <msdos_format+0x64c>          <== NOT EXECUTED
                                                                      

ffc0fc58 <msdos_format_fill_sectors>: ) /*-------------------------------------------------------------------------*\ | Return Value: | | 0, if success, -1 and errno if failed | \*=========================================================================*/ {
ffc0fc58:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0fc5c:	7c 08 02 a6 	mflr    r0                                     
ffc0fc60:	be a1 00 0c 	stmw    r21,12(r1)                             
ffc0fc64:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  /*                                                                  
   * allocate and fill buffer                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    fill_buffer = malloc(sector_size);                                
ffc0fc68:	7c e3 3b 78 	mr      r3,r7                                  
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc0fc6c:	90 01 00 3c 	stw     r0,60(r1)                              
ffc0fc70:	7c 9c 23 78 	mr      r28,r4                                 
ffc0fc74:	7c bf 2b 78 	mr      r31,r5                                 
ffc0fc78:	7c dd 33 78 	mr      r29,r6                                 
ffc0fc7c:	7c fb 3b 78 	mr      r27,r7                                 
ffc0fc80:	7d 1a 43 78 	mr      r26,r8                                 
                                                                      
  /*                                                                  
   * allocate and fill buffer                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    fill_buffer = malloc(sector_size);                                
ffc0fc84:	4b ff 83 d1 	bl      ffc08054 <malloc>                      
    if (fill_buffer == NULL) {                                        
ffc0fc88:	7c 79 1b 79 	mr.     r25,r3                                 
ffc0fc8c:	40 a2 00 18 	bne+    ffc0fca4 <msdos_format_fill_sectors+0x4c><== ALWAYS TAKEN
      errno = ENOMEM;                                                 
ffc0fc90:	48 00 d6 19 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc0fc94:	38 00 00 0c 	li      r0,12                                  <== NOT EXECUTED
ffc0fc98:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
      ret_val = -1;                                                   
ffc0fc9c:	3b 40 ff ff 	li      r26,-1                                 <== NOT EXECUTED
ffc0fca0:	48 00 00 14 	b       ffc0fcb4 <msdos_format_fill_sectors+0x5c><== NOT EXECUTED
    }                                                                 
    else {                                                            
      memset(fill_buffer,fill_byte,sector_size);                      
ffc0fca4:	7f 44 d3 78 	mr      r4,r26                                 
ffc0fca8:	7f 65 db 78 	mr      r5,r27                                 
ffc0fcac:	48 00 e5 15 	bl      ffc1e1c0 <memset>                      
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
  int ret_val = 0;                                                    
ffc0fcb0:	3b 40 00 00 	li      r26,0                                  
    else {                                                            
      memset(fill_buffer,fill_byte,sector_size);                      
    }                                                                 
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
ffc0fcb4:	3c a0 ff c3 	lis     r5,-61                                 
ffc0fcb8:	7f c3 f3 78 	mr      r3,r30                                 
ffc0fcbc:	38 80 00 02 	li      r4,2                                   
ffc0fcc0:	38 a5 dd 41 	addi    r5,r5,-8895                            
  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, ".");
ffc0fcc4:	3e a0 ff c3 	lis     r21,-61                                
    else {                                                            
      memset(fill_buffer,fill_byte,sector_size);                      
    }                                                                 
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
ffc0fcc8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0fccc:	4b ff fe 85 	bl      ffc0fb50 <msdos_format_printf>         
ffc0fcd0:	1e dd 00 64 	mulli   r22,r29,100                            
                       "Filling : ");                                 
  /*                                                                  
   * write to consecutive sectors                                     
   */                                                                 
  while ((ret_val == 0) &&                                            
ffc0fcd4:	7f b7 eb 78 	mr      r23,r29                                
\*=========================================================================*/
{                                                                     
  int ret_val = 0;                                                    
  char *fill_buffer = NULL;                                           
  uint32_t total_sectors = sector_cnt;                                
  int last_percent = -1;                                              
ffc0fcd8:	3b 00 ff ff 	li      r24,-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, ".");
ffc0fcdc:	3a b5 cb c2 	addi    r21,r21,-13374                         
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
                       "Filling : ");                                 
  /*                                                                  
   * write to consecutive sectors                                     
   */                                                                 
  while ((ret_val == 0) &&                                            
ffc0fce0:	48 00 00 54 	b       ffc0fd34 <msdos_format_fill_sectors+0xdc>
	 (sector_cnt > 0)) {                                                 
    int percent = (sector_cnt * 100) / total_sectors;                 
ffc0fce4:	7c 16 eb 96 	divwu   r0,r22,r29                             
    if (percent != last_percent) {                                    
ffc0fce8:	7f 80 c0 00 	cmpw    cr7,r0,r24                             
ffc0fcec:	41 9e 00 24 	beq-    cr7,ffc0fd10 <msdos_format_fill_sectors+0xb8>
      if ((percent & 1) == 0)                                         
ffc0fcf0:	7c 18 03 78 	mr      r24,r0                                 
ffc0fcf4:	73 00 00 01 	andi.   r0,r24,1                               
ffc0fcf8:	40 a2 00 18 	bne+    ffc0fd10 <msdos_format_fill_sectors+0xb8>
        msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, ".");
ffc0fcfc:	7f c3 f3 78 	mr      r3,r30                                 
ffc0fd00:	38 80 00 02 	li      r4,2                                   
ffc0fd04:	7e a5 ab 78 	mr      r5,r21                                 
ffc0fd08:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0fd0c:	4b ff fe 45 	bl      ffc0fb50 <msdos_format_printf>         
      last_percent = percent;                                         
    }                                                                 
    ret_val = msdos_format_write_sec(fd,start_sector,sector_size,fill_buffer);
ffc0fd10:	7f e4 fb 78 	mr      r4,r31                                 
ffc0fd14:	7f 83 e3 78 	mr      r3,r28                                 
ffc0fd18:	7f 65 db 78 	mr      r5,r27                                 
ffc0fd1c:	7f 26 cb 78 	mr      r6,r25                                 
ffc0fd20:	4b ff fe e1 	bl      ffc0fc00 <msdos_format_write_sec>      
    start_sector++;                                                   
ffc0fd24:	3b ff 00 01 	addi    r31,r31,1                              
    if (percent != last_percent) {                                    
      if ((percent & 1) == 0)                                         
        msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, ".");
      last_percent = percent;                                         
    }                                                                 
    ret_val = msdos_format_write_sec(fd,start_sector,sector_size,fill_buffer);
ffc0fd28:	7c 7a 1b 78 	mr      r26,r3                                 
    start_sector++;                                                   
    sector_cnt--;                                                     
ffc0fd2c:	3a f7 ff ff 	addi    r23,r23,-1                             
ffc0fd30:	3a d6 ff 9c 	addi    r22,r22,-100                           
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
                       "Filling : ");                                 
  /*                                                                  
   * write to consecutive sectors                                     
   */                                                                 
  while ((ret_val == 0) &&                                            
ffc0fd34:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0fd38:	40 9e 00 0c 	bne-    cr7,ffc0fd44 <msdos_format_fill_sectors+0xec><== NEVER TAKEN
ffc0fd3c:	2f 97 00 00 	cmpwi   cr7,r23,0                              
ffc0fd40:	40 9e ff a4 	bne+    cr7,ffc0fce4 <msdos_format_fill_sectors+0x8c>
    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");    
ffc0fd44:	3c a0 ff c3 	lis     r5,-61                                 
ffc0fd48:	7f c3 f3 78 	mr      r3,r30                                 
ffc0fd4c:	38 80 00 02 	li      r4,2                                   
ffc0fd50:	38 a5 ca f5 	addi    r5,r5,-13579                           
ffc0fd54:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0fd58:	4b ff fd f9 	bl      ffc0fb50 <msdos_format_printf>         
                                                                      
  if (ret_val)                                                        
ffc0fd5c:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0fd60:	41 be 00 20 	beq+    cr7,ffc0fd80 <msdos_format_fill_sectors+0x128><== ALWAYS TAKEN
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,           
ffc0fd64:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc0fd68:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc0fd6c:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc0fd70:	38 a5 dd 4c 	addi    r5,r5,-8884                            <== NOT EXECUTED
ffc0fd74:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc0fd78:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc0fd7c:	4b ff fd d5 	bl      ffc0fb50 <msdos_format_printf>         <== NOT EXECUTED
                         "filling error on sector: %d\n", start_sector);
                                                                      
  /*                                                                  
   * cleanup                                                          
   */                                                                 
  if (fill_buffer != NULL) {                                          
ffc0fd80:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc0fd84:	41 9e 00 0c 	beq-    cr7,ffc0fd90 <msdos_format_fill_sectors+0x138><== NEVER TAKEN
    free(fill_buffer);                                                
ffc0fd88:	7f 23 cb 78 	mr      r3,r25                                 
ffc0fd8c:	4b ff 7b 5d 	bl      ffc078e8 <free>                        
    fill_buffer = NULL;                                               
  }                                                                   
  return ret_val;                                                     
}                                                                     
ffc0fd90:	39 61 00 38 	addi    r11,r1,56                              
ffc0fd94:	7f 43 d3 78 	mr      r3,r26                                 
ffc0fd98:	4b ff 2d 38 	b       ffc02ad0 <_restgpr_21_x>               
                                                                      

ffc0fb50 <msdos_format_printf>: */ static void msdos_format_printf (const msdos_format_request_param_t *rqdata, int info_level, const char *format, ...) {
ffc0fb50:	7c 08 02 a6 	mflr    r0                                     
ffc0fb54:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0fb58:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc0fb5c:	90 01 00 7c 	stw     r0,124(r1)                             
ffc0fb60:	4b ff 2f 4d 	bl      ffc02aac <_savegpr_31>                 
ffc0fb64:	7c 80 23 78 	mr      r0,r4                                  
ffc0fb68:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc0fb6c:	90 e1 00 20 	stw     r7,32(r1)                              
ffc0fb70:	91 01 00 24 	stw     r8,36(r1)                              
ffc0fb74:	91 21 00 28 	stw     r9,40(r1)                              
ffc0fb78:	91 41 00 2c 	stw     r10,44(r1)                             
ffc0fb7c:	40 86 00 24 	bne-    cr1,ffc0fba0 <msdos_format_printf+0x50><== ALWAYS TAKEN
ffc0fb80:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc0fb84:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc0fb88:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc0fb8c:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc0fb90:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc0fb94:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc0fb98:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc0fb9c:	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)             
ffc0fba0:	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);                                            
ffc0fba4:	39 20 00 03 	li      r9,3                                   
ffc0fba8:	99 21 00 08 	stb     r9,8(r1)                               
ffc0fbac:	39 20 00 00 	li      r9,0                                   
ffc0fbb0:	99 21 00 09 	stb     r9,9(r1)                               
ffc0fbb4:	39 21 00 80 	addi    r9,r1,128                              
ffc0fbb8:	91 21 00 0c 	stw     r9,12(r1)                              
ffc0fbbc:	39 21 00 10 	addi    r9,r1,16                               
ffc0fbc0:	91 21 00 10 	stw     r9,16(r1)                              
  if (rqdata != NULL && rqdata->info_level >= info_level)             
ffc0fbc4:	41 9e 00 34 	beq-    cr7,ffc0fbf8 <msdos_format_printf+0xa8><== NEVER TAKEN
ffc0fbc8:	81 23 00 1c 	lwz     r9,28(r3)                              
ffc0fbcc:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0fbd0:	41 bc 00 28 	blt+    cr7,ffc0fbf8 <msdos_format_printf+0xa8><== ALWAYS TAKEN
  {                                                                   
    vfprintf (stdout, format, args);                                  
ffc0fbd4:	3f e0 00 00 	lis     r31,0                                  <== NOT EXECUTED
ffc0fbd8:	81 3f 27 b4 	lwz     r9,10164(r31)                          <== NOT EXECUTED
ffc0fbdc:	7c a4 2b 78 	mr      r4,r5                                  <== NOT EXECUTED
ffc0fbe0:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc0fbe4:	80 69 00 08 	lwz     r3,8(r9)                               <== NOT EXECUTED
ffc0fbe8:	48 01 5f b5 	bl      ffc25b9c <vfprintf>                    <== NOT EXECUTED
    fflush (stdout);                                                  
ffc0fbec:	81 3f 27 b4 	lwz     r9,10164(r31)                          <== NOT EXECUTED
ffc0fbf0:	80 69 00 08 	lwz     r3,8(r9)                               <== NOT EXECUTED
ffc0fbf4:	48 00 db 89 	bl      ffc1d77c <fflush>                      <== NOT EXECUTED
  }                                                                   
  va_end (args);                                                      
}                                                                     
ffc0fbf8:	39 61 00 78 	addi    r11,r1,120                             
ffc0fbfc:	4b ff 2e fc 	b       ffc02af8 <_restgpr_31_x>               
                                                                      

ffc0fc00 <msdos_format_write_sec>: ) /*-------------------------------------------------------------------------*\ | Return Value: | | 0, if success, -1 and errno if failed | \*=========================================================================*/ {
ffc0fc00:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0fc04:	7c 08 02 a6 	mflr    r0                                     
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
ffc0fc08:	38 e0 00 00 	li      r7,0                                   
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc0fc0c:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc0fc10:	7c bf 2b 78 	mr      r31,r5                                 
ffc0fc14:	7c de 33 78 	mr      r30,r6                                 
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
ffc0fc18:	7c a4 28 16 	mulhwu  r5,r4,r5                               
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc0fc1c:	90 01 00 1c 	stw     r0,28(r1)                              
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
ffc0fc20:	7c c4 f9 d6 	mullw   r6,r4,r31                              
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc0fc24:	7c 7d 1b 78 	mr      r29,r3                                 
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
ffc0fc28:	4b ff 81 85 	bl      ffc07dac <lseek>                       
ffc0fc2c:	38 00 ff ff 	li      r0,-1                                  
ffc0fc30:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0fc34:	41 9c 00 18 	blt-    cr7,ffc0fc4c <msdos_format_write_sec+0x4c><== NEVER TAKEN
    ret_val = -1;                                                     
  }                                                                   
  if (ret_val == 0) {                                                 
    if (0 > write(fd,buffer,sector_size)) {                           
ffc0fc38:	7f a3 eb 78 	mr      r3,r29                                 
ffc0fc3c:	7f c4 f3 78 	mr      r4,r30                                 
ffc0fc40:	7f e5 fb 78 	mr      r5,r31                                 
ffc0fc44:	4b ff b8 f5 	bl      ffc0b538 <write>                       
ffc0fc48:	7c 60 fe 70 	srawi   r0,r3,31                               
      ret_val = -1;                                                   
    }                                                                 
  }                                                                   
                                                                      
  return ret_val;                                                     
}                                                                     
ffc0fc4c:	39 61 00 18 	addi    r11,r1,24                              
ffc0fc50:	7c 03 03 78 	mr      r3,r0                                  
ffc0fc54:	4b ff 2e 9c 	b       ffc02af0 <_restgpr_29_x>               
                                                                      

ffc19d58 <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) {
ffc19d58:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc19d5c:	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,        
ffc19d60:	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)       
{                                                                     
ffc19d64:	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,        
ffc19d68:	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;          
ffc19d6c:	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)       
{                                                                     
ffc19d70:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc19d74:	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;          
ffc19d78:	83 c9 00 34 	lwz     r30,52(r9)                             
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc19d7c:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc19d80:	4b ff 1f 71 	bl      ffc0bcf0 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc19d84:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc19d88:	41 be 00 18 	beq+    cr7,ffc19da0 <msdos_free_node_info+0x48><== ALWAYS TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc19d8c:	48 00 35 1d 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc19d90:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc19d94:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc19d98:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc19d9c:	48 00 00 1c 	b       ffc19db8 <msdos_free_node_info+0x60>   <== NOT EXECUTED
                                                                      
    rc = fat_file_close(pathloc->mt_entry, pathloc->node_access);     
ffc19da0:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc19da4:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc19da8:	4b ff a3 3d 	bl      ffc140e4 <fat_file_close>              
ffc19dac:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc19db0:	80 7e 00 98 	lwz     r3,152(r30)                            
ffc19db4:	4b ff 20 69 	bl      ffc0be1c <rtems_semaphore_release>     
    return rc;                                                        
}                                                                     
ffc19db8:	39 61 00 10 	addi    r11,r1,16                              
ffc19dbc:	7f e3 fb 78 	mr      r3,r31                                 
ffc19dc0:	4b fe 8d 34 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

ffc1afe8 <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 ) {
ffc1afe8:	94 21 ff 88 	stwu    r1,-120(r1)                            <== NOT EXECUTED
ffc1afec:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1aff0:	bf 01 00 58 	stmw    r24,88(r1)                             <== NOT EXECUTED
ffc1aff4:	7c be 2b 78 	mr      r30,r5                                 <== NOT EXECUTED
    int              rc = RC_OK;                                      
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    fat_file_fd_t   *fat_fd = NULL;                                   
ffc1aff8:	7c 25 0b 78 	mr      r5,r1                                  <== NOT EXECUTED
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              cln,                        
    fat_dir_pos_t                        *dir_pos,                    
    char                                 *dir_entry                   
    )                                                                 
{                                                                     
ffc1affc:	90 01 00 7c 	stw     r0,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;                                   
ffc1b000:	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                   
    )                                                                 
{                                                                     
ffc1b004:	7c 9a 23 78 	mr      r26,r4                                 <== NOT EXECUTED
    int              rc = RC_OK;                                      
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    fat_file_fd_t   *fat_fd = NULL;                                   
ffc1b008:	94 05 00 08 	stwu    r0,8(r5)                               <== NOT EXECUTED
    uint32_t         cl4find = 0;                                     
                                                                      
    /*                                                                
     * open fat-file corresponded to ".."                             
     */                                                               
    rc = fat_file_open(mt_entry, dir_pos, &fat_fd);                   
ffc1b00c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              cln,                        
    fat_dir_pos_t                        *dir_pos,                    
    char                                 *dir_entry                   
    )                                                                 
{                                                                     
ffc1b010:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
ffc1b014:	7c dc 33 78 	mr      r28,r6                                 <== NOT EXECUTED
    int              rc = RC_OK;                                      
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1b018:	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);                   
ffc1b01c:	4b ff 8c a1 	bl      ffc13cbc <fat_file_open>               <== NOT EXECUTED
    if (rc != RC_OK)                                                  
ffc1b020:	7c 78 1b 79 	mr.     r24,r3                                 <== NOT EXECUTED
ffc1b024:	40 a2 02 28 	bne+    ffc1b24c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x264><== NOT EXECUTED
        return rc;                                                    
                                                                      
    fat_fd->cln = cln;                                                
ffc1b028:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
ffc1b02c:	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;                            
ffc1b030:	3b a0 00 01 	li      r29,1                                  <== NOT EXECUTED
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
                                                                      
    fat_fd->map.file_cln = 0;                                         
ffc1b034:	93 04 00 34 	stw     r24,52(r4)                             <== NOT EXECUTED
    fat_fd->map.disk_cln = fat_fd->cln;                               
                                                                      
    rc = fat_file_size(mt_entry, fat_fd);                             
ffc1b038:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
     */                                                               
    rc = fat_file_open(mt_entry, dir_pos, &fat_fd);                   
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    fat_fd->cln = cln;                                                
ffc1b03c:	93 44 00 1c 	stw     r26,28(r4)                             <== NOT EXECUTED
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
ffc1b040:	93 a4 00 10 	stw     r29,16(r4)                             <== NOT EXECUTED
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
ffc1b044:	90 04 00 14 	stw     r0,20(r4)                              <== NOT EXECUTED
                                                                      
    fat_fd->map.file_cln = 0;                                         
    fat_fd->map.disk_cln = fat_fd->cln;                               
ffc1b048:	93 44 00 38 	stw     r26,56(r4)                             <== NOT EXECUTED
                                                                      
    rc = fat_file_size(mt_entry, fat_fd);                             
ffc1b04c:	4b ff 97 69 	bl      ffc147b4 <fat_file_size>               <== NOT EXECUTED
    if (rc != RC_OK)                                                  
ffc1b050:	7c 78 1b 79 	mr.     r24,r3                                 <== NOT EXECUTED
ffc1b054:	40 82 00 5c 	bne-    ffc1b0b0 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0xc8><== 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);      
ffc1b058:	3f 40 ff c3 	lis     r26,-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);           
ffc1b05c:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1b060:	38 a0 00 20 	li      r5,32                                  <== NOT EXECUTED
    msdos_long_to_short(".", 1, dot_node, MSDOS_SHORT_NAME_LEN);      
ffc1b064:	3b 5a cb c2 	addi    r26,r26,-13374                         <== 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);           
ffc1b068:	38 61 00 2c 	addi    r3,r1,44                               <== NOT EXECUTED
ffc1b06c:	48 00 31 55 	bl      ffc1e1c0 <memset>                      <== NOT EXECUTED
    msdos_long_to_short(".", 1, dot_node, MSDOS_SHORT_NAME_LEN);      
ffc1b070:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc1b074:	38 a1 00 2c 	addi    r5,r1,44                               <== NOT EXECUTED
ffc1b078:	38 c0 00 0b 	li      r6,11                                  <== NOT EXECUTED
ffc1b07c:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc1b080:	4b ff ee 61 	bl      ffc19ee0 <msdos_long_to_short>         <== NOT EXECUTED
    rc = msdos_find_name_in_fat_file(mt_entry, fat_fd, false, ".", 1, 
ffc1b084:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc1b088:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1b08c:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc1b090:	7f 46 d3 78 	mr      r6,r26                                 <== NOT EXECUTED
ffc1b094:	38 e0 00 01 	li      r7,1                                   <== NOT EXECUTED
ffc1b098:	39 00 00 01 	li      r8,1                                   <== NOT EXECUTED
ffc1b09c:	7f c9 f3 78 	mr      r9,r30                                 <== NOT EXECUTED
ffc1b0a0:	39 41 00 2c 	addi    r10,r1,44                              <== NOT EXECUTED
ffc1b0a4:	4b ff f5 91 	bl      ffc1a634 <msdos_find_name_in_fat_file> <== NOT EXECUTED
                                     MSDOS_NAME_SHORT, dir_pos, dot_node);
                                                                      
    if (rc != RC_OK)                                                  
ffc1b0a8:	7c 78 1b 79 	mr.     r24,r3                                 <== NOT EXECUTED
ffc1b0ac:	41 a2 00 10 	beq+    ffc1b0bc <msdos_get_dotdot_dir_info_cluster_num_and_offset+0xd4><== NOT EXECUTED
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
ffc1b0b0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1b0b4:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc1b0b8:	48 00 01 84 	b       ffc1b23c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x254><== 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);  
ffc1b0bc:	3f 40 ff c3 	lis     r26,-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);        
ffc1b0c0:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1b0c4:	38 a0 00 20 	li      r5,32                                  <== NOT EXECUTED
    msdos_long_to_short("..", 2, dotdot_node, MSDOS_SHORT_NAME_LEN);  
ffc1b0c8:	3b 5a cb c1 	addi    r26,r26,-13375                         <== 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);        
ffc1b0cc:	38 61 00 0c 	addi    r3,r1,12                               <== NOT EXECUTED
ffc1b0d0:	48 00 30 f1 	bl      ffc1e1c0 <memset>                      <== NOT EXECUTED
    msdos_long_to_short("..", 2, dotdot_node, MSDOS_SHORT_NAME_LEN);  
ffc1b0d4:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
ffc1b0d8:	38 a1 00 0c 	addi    r5,r1,12                               <== NOT EXECUTED
ffc1b0dc:	38 c0 00 0b 	li      r6,11                                  <== NOT EXECUTED
ffc1b0e0:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc1b0e4:	4b ff ed fd 	bl      ffc19ee0 <msdos_long_to_short>         <== NOT EXECUTED
    rc = msdos_find_name_in_fat_file(mt_entry, fat_fd, false, "..", 2,
ffc1b0e8:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc1b0ec:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1b0f0:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc1b0f4:	7f 46 d3 78 	mr      r6,r26                                 <== NOT EXECUTED
ffc1b0f8:	38 e0 00 02 	li      r7,2                                   <== NOT EXECUTED
ffc1b0fc:	39 00 00 01 	li      r8,1                                   <== NOT EXECUTED
ffc1b100:	7f c9 f3 78 	mr      r9,r30                                 <== NOT EXECUTED
ffc1b104:	39 41 00 0c 	addi    r10,r1,12                              <== NOT EXECUTED
ffc1b108:	4b ff f5 2d 	bl      ffc1a634 <msdos_find_name_in_fat_file> <== NOT EXECUTED
ffc1b10c:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
                                     MSDOS_NAME_SHORT, dir_pos,       
                                     dotdot_node);                    
                                                                      
    if (rc != RC_OK)                                                  
ffc1b110:	7c 78 1b 79 	mr.     r24,r3                                 <== NOT EXECUTED
ffc1b114:	40 82 00 e0 	bne-    ffc1b1f4 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x20c><== NOT EXECUTED
    }                                                                 
                                                                      
    cl4find = MSDOS_EXTRACT_CLUSTER_NUM(dot_node);                    
                                                                      
    /* close fat-file corresponded to ".." directory */               
    rc = fat_file_close(mt_entry, fat_fd);                            
ffc1b118:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
                                                                      
    cl4find = MSDOS_EXTRACT_CLUSTER_NUM(dot_node);                    
ffc1b11c:	a3 41 00 46 	lhz     r26,70(r1)                             <== NOT EXECUTED
ffc1b120:	a3 21 00 40 	lhz     r25,64(r1)                             <== NOT EXECUTED
                                                                      
    /* close fat-file corresponded to ".." directory */               
    rc = fat_file_close(mt_entry, fat_fd);                            
ffc1b124:	4b ff 8f c1 	bl      ffc140e4 <fat_file_close>              <== NOT EXECUTED
    if ( rc != RC_OK )                                                
ffc1b128:	7c 78 1b 79 	mr.     r24,r3                                 <== NOT EXECUTED
ffc1b12c:	40 82 01 20 	bne-    ffc1b24c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x264><== NOT EXECUTED
        return rc;                                                    
                                                                      
    if ( (MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node)) == 0)               
ffc1b130:	a1 41 00 20 	lhz     r10,32(r1)                             <== NOT EXECUTED
ffc1b134:	a1 61 00 26 	lhz     r11,38(r1)                             <== NOT EXECUTED
ffc1b138:	55 49 c2 3e 	rlwinm  r9,r10,24,8,31                         <== NOT EXECUTED
ffc1b13c:	55 4a 44 2e 	rlwinm  r10,r10,8,16,23                        <== NOT EXECUTED
ffc1b140:	55 60 c2 3e 	rlwinm  r0,r11,24,8,31                         <== NOT EXECUTED
ffc1b144:	7d 29 53 78 	or      r9,r9,r10                              <== NOT EXECUTED
ffc1b148:	55 6b 44 2e 	rlwinm  r11,r11,8,16,23                        <== NOT EXECUTED
ffc1b14c:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          <== NOT EXECUTED
ffc1b150:	7c 00 5b 78 	or      r0,r0,r11                              <== NOT EXECUTED
ffc1b154:	7d 20 03 79 	or.     r0,r9,r0                               <== NOT EXECUTED
ffc1b158:	40 82 00 18 	bne-    ffc1b170 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x188><== NOT EXECUTED
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
ffc1b15c:	90 1e 00 04 	stw     r0,4(r30)                              <== NOT EXECUTED
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
ffc1b160:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc1b164:	90 1e 00 08 	stw     r0,8(r30)                              <== NOT EXECUTED
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
ffc1b168:	90 1e 00 0c 	stw     r0,12(r30)                             <== 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;                 
ffc1b16c:	93 be 00 00 	stw     r29,0(r30)                             <== NOT EXECUTED
    }                                                                 
                                                                      
    /* open fat-file corresponded to second ".." */                   
    rc = fat_file_open(mt_entry, dir_pos, &fat_fd);                   
ffc1b170:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1b174:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1b178:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc1b17c:	4b ff 8b 41 	bl      ffc13cbc <fat_file_open>               <== NOT EXECUTED
    if (rc != RC_OK)                                                  
ffc1b180:	7c 78 1b 79 	mr.     r24,r3                                 <== NOT EXECUTED
ffc1b184:	40 82 00 c8 	bne-    ffc1b24c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x264><== NOT EXECUTED
        return rc;                                                    
                                                                      
    if ((MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node)) == 0)                
ffc1b188:	a1 41 00 20 	lhz     r10,32(r1)                             <== NOT EXECUTED
ffc1b18c:	a1 61 00 26 	lhz     r11,38(r1)                             <== NOT EXECUTED
ffc1b190:	55 49 c2 3e 	rlwinm  r9,r10,24,8,31                         <== NOT EXECUTED
ffc1b194:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc1b198:	55 4a 44 2e 	rlwinm  r10,r10,8,16,23                        <== NOT EXECUTED
ffc1b19c:	55 60 c2 3e 	rlwinm  r0,r11,24,8,31                         <== NOT EXECUTED
ffc1b1a0:	7d 29 53 78 	or      r9,r9,r10                              <== NOT EXECUTED
ffc1b1a4:	55 6b 44 2e 	rlwinm  r11,r11,8,16,23                        <== NOT EXECUTED
ffc1b1a8:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          <== NOT EXECUTED
ffc1b1ac:	7c 00 5b 78 	or      r0,r0,r11                              <== NOT EXECUTED
ffc1b1b0:	7d 20 03 79 	or.     r0,r9,r0                               <== NOT EXECUTED
ffc1b1b4:	40 82 00 08 	bne-    ffc1b1bc <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x1d4><== NOT EXECUTED
        fat_fd->cln = fs_info->fat.vol.rdir_cl;                       
ffc1b1b8:	80 1b 00 38 	lwz     r0,56(r27)                             <== NOT EXECUTED
    else                                                              
        fat_fd->cln = MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node);         
ffc1b1bc:	90 04 00 1c 	stw     r0,28(r4)                              <== NOT EXECUTED
                                                                      
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
ffc1b1c0:	38 00 00 01 	li      r0,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;                               
                                                                      
    rc = fat_file_size(mt_entry, fat_fd);                             
ffc1b1c4:	7f e3 fb 78 	mr      r3,r31                                 <== 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;                            
ffc1b1c8:	90 04 00 10 	stw     r0,16(r4)                              <== NOT EXECUTED
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
ffc1b1cc:	3c 00 00 20 	lis     r0,32                                  <== NOT EXECUTED
ffc1b1d0:	90 04 00 14 	stw     r0,20(r4)                              <== NOT EXECUTED
                                                                      
    fat_fd->map.file_cln = 0;                                         
ffc1b1d4:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1b1d8:	90 04 00 34 	stw     r0,52(r4)                              <== NOT EXECUTED
    fat_fd->map.disk_cln = fat_fd->cln;                               
ffc1b1dc:	80 04 00 1c 	lwz     r0,28(r4)                              <== NOT EXECUTED
ffc1b1e0:	90 04 00 38 	stw     r0,56(r4)                              <== NOT EXECUTED
                                                                      
    rc = fat_file_size(mt_entry, fat_fd);                             
ffc1b1e4:	4b ff 95 d1 	bl      ffc147b4 <fat_file_size>               <== NOT EXECUTED
ffc1b1e8:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
    if (rc != RC_OK)                                                  
ffc1b1ec:	7c 78 1b 79 	mr.     r24,r3                                 <== NOT EXECUTED
ffc1b1f0:	41 a2 00 0c 	beq+    ffc1b1fc <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x214><== NOT EXECUTED
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
ffc1b1f4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1b1f8:	48 00 00 44 	b       ffc1b23c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x254><== NOT EXECUTED
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
        return rc;                                                    
    }                                                                 
                                                                      
    cl4find = MSDOS_EXTRACT_CLUSTER_NUM(dot_node);                    
ffc1b1fc:	57 25 c2 3e 	rlwinm  r5,r25,24,8,31                         <== NOT EXECUTED
ffc1b200:	57 39 44 2e 	rlwinm  r25,r25,8,16,23                        <== NOT EXECUTED
ffc1b204:	57 40 c2 3e 	rlwinm  r0,r26,24,8,31                         <== NOT EXECUTED
ffc1b208:	7c a5 cb 78 	or      r5,r5,r25                              <== NOT EXECUTED
ffc1b20c:	57 5a 44 2e 	rlwinm  r26,r26,8,16,23                        <== NOT EXECUTED
ffc1b210:	7c 1a d3 78 	or      r26,r0,r26                             <== NOT EXECUTED
ffc1b214:	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,
ffc1b218:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1b21c:	7c a5 d3 78 	or      r5,r5,r26                              <== NOT EXECUTED
ffc1b220:	7f c6 f3 78 	mr      r6,r30                                 <== NOT EXECUTED
ffc1b224:	7f 87 e3 78 	mr      r7,r28                                 <== NOT EXECUTED
ffc1b228:	4b ff fc 4d 	bl      ffc1ae74 <msdos_find_node_by_cluster_num_in_fat_file><== NOT EXECUTED
ffc1b22c:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
                                                    dir_pos, dir_entry);
    if (rc != RC_OK)                                                  
ffc1b230:	7c 78 1b 79 	mr.     r24,r3                                 <== NOT EXECUTED
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
ffc1b234:	7f e3 fb 78 	mr      r3,r31                                 <== 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)                                                  
ffc1b238:	41 a2 00 0c 	beq+    ffc1b244 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x25c><== NOT EXECUTED
    {                                                                 
        fat_file_close(mt_entry, fat_fd);                             
ffc1b23c:	4b ff 8e a9 	bl      ffc140e4 <fat_file_close>              <== NOT EXECUTED
        return rc;                                                    
ffc1b240:	48 00 00 0c 	b       ffc1b24c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x264><== NOT EXECUTED
    }                                                                 
    rc = fat_file_close(mt_entry, fat_fd);                            
ffc1b244:	4b ff 8e a1 	bl      ffc140e4 <fat_file_close>              <== NOT EXECUTED
ffc1b248:	7c 78 1b 78 	mr      r24,r3                                 <== NOT EXECUTED
    return rc;                                                        
}                                                                     
ffc1b24c:	39 61 00 78 	addi    r11,r1,120                             <== NOT EXECUTED
ffc1b250:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc1b254:	4b fe 78 88 	b       ffc02adc <_restgpr_24_x>               <== NOT EXECUTED
                                                                      

ffc1b258 <msdos_get_name_node>: int name_len, msdos_name_type_t name_type, fat_dir_pos_t *dir_pos, char *name_dir_entry ) {
ffc1b258:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1b25c:	7c 08 02 a6 	mflr    r0                                     
ffc1b260:	7c cb 33 78 	mr      r11,r6                                 
ffc1b264:	90 01 00 24 	stw     r0,36(r1)                              
ffc1b268:	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,    
ffc1b26c:	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                  
    )                                                                 
{                                                                     
ffc1b270:	bf 41 00 08 	stmw    r26,8(r1)                              
ffc1b274:	7c 7d 1b 78 	mr      r29,r3                                 
ffc1b278:	7c 9b 23 78 	mr      r27,r4                                 
ffc1b27c:	7c bc 2b 78 	mr      r28,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,    
ffc1b280:	80 63 00 10 	lwz     r3,16(r3)                              
    int                               name_len,                       
    msdos_name_type_t                 name_type,                      
    fat_dir_pos_t                    *dir_pos,                        
    char                             *name_dir_entry                  
    )                                                                 
{                                                                     
ffc1b284:	7d 1f 43 78 	mr      r31,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,    
ffc1b288:	80 9d 00 00 	lwz     r4,0(r29)                              
    int                               name_len,                       
    msdos_name_type_t                 name_type,                      
    fat_dir_pos_t                    *dir_pos,                        
    char                             *name_dir_entry                  
    )                                                                 
{                                                                     
ffc1b28c:	7d 3e 4b 78 	mr      r30,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,    
ffc1b290:	7f 65 db 78 	mr      r5,r27                                 
ffc1b294:	7f 86 e3 78 	mr      r6,r28                                 
ffc1b298:	7c 08 03 78 	mr      r8,r0                                  
ffc1b29c:	7f e9 fb 78 	mr      r9,r31                                 
ffc1b2a0:	7f ca f3 78 	mr      r10,r30                                
ffc1b2a4:	4b ff f3 91 	bl      ffc1a634 <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))            
ffc1b2a8:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc1b2ac:	41 82 00 0c 	beq-    ffc1b2b8 <msdos_get_name_node+0x60>    
ffc1b2b0:	2f 9a 7d 01 	cmpwi   cr7,r26,32001                          
ffc1b2b4:	40 be 00 a0 	bne+    cr7,ffc1b354 <msdos_get_name_node+0xfc><== NEVER TAKEN
        return rc;                                                    
                                                                      
    if (!create_node)                                                 
ffc1b2b8:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc1b2bc:	40 9e 00 98 	bne-    cr7,ffc1b354 <msdos_get_name_node+0xfc>
    {                                                                 
        /* if we search for valid name and name not found -> return */
        if (rc == MSDOS_NAME_NOT_FOUND_ERR)                           
ffc1b2c0:	2f 9a 7d 01 	cmpwi   cr7,r26,32001                          
ffc1b2c4:	41 9e 00 90 	beq-    cr7,ffc1b354 <msdos_get_name_node+0xfc>
         * 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)                                              
ffc1b2c8:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc1b2cc:	40 9e 00 88 	bne-    cr7,ffc1b354 <msdos_get_name_node+0xfc><== NEVER TAKEN
        {                                                             
            if (strncmp(name, "..", 2) == 0)                          
ffc1b2d0:	3c 80 ff c3 	lis     r4,-61                                 
ffc1b2d4:	7f 83 e3 78 	mr      r3,r28                                 
ffc1b2d8:	38 84 cb c1 	addi    r4,r4,-13375                           
ffc1b2dc:	38 a0 00 02 	li      r5,2                                   
ffc1b2e0:	48 00 3c 01 	bl      ffc1eee0 <strncmp>                     
ffc1b2e4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1b2e8:	40 9e 00 6c 	bne-    cr7,ffc1b354 <msdos_get_name_node+0xfc>
            {                                                         
                dotdot_cln = MSDOS_EXTRACT_CLUSTER_NUM((name_dir_entry));
ffc1b2ec:	a1 7e 00 14 	lhz     r11,20(r30)                            
ffc1b2f0:	a1 3e 00 1a 	lhz     r9,26(r30)                             
ffc1b2f4:	55 60 c2 3e 	rlwinm  r0,r11,24,8,31                         
ffc1b2f8:	55 6b 44 2e 	rlwinm  r11,r11,8,16,23                        
ffc1b2fc:	55 24 c2 3e 	rlwinm  r4,r9,24,8,31                          
ffc1b300:	7c 00 5b 78 	or      r0,r0,r11                              
ffc1b304:	55 29 44 2e 	rlwinm  r9,r9,8,16,23                          
ffc1b308:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc1b30c:	7c 84 4b 78 	or      r4,r4,r9                               
                                                                      
                /* are we right under root dir ? */                   
                if (dotdot_cln == 0)                                  
ffc1b310:	7c 04 23 79 	or.     r4,r0,r4                               
ffc1b314:	40 82 00 20 	bne-    ffc1b334 <msdos_get_name_node+0xdc>    <== 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;                           
ffc1b318:	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;                                             
ffc1b31c:	93 5f 00 04 	stw     r26,4(r31)                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
ffc1b320:	90 1f 00 08 	stw     r0,8(r31)                              
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
ffc1b324:	90 1f 00 0c 	stw     r0,12(r31)                             
                    /*                                                
                     * 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;     
ffc1b328:	38 00 00 01 	li      r0,1                                   
ffc1b32c:	90 1f 00 00 	stw     r0,0(r31)                              
ffc1b330:	48 00 00 24 	b       ffc1b354 <msdos_get_name_node+0xfc>    
                }                                                     
            }                                                         
        }                                                             
    }                                                                 
    return rc;                                                        
}                                                                     
ffc1b334:	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 =                                              
ffc1b338:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc1b33c:	80 7d 00 10 	lwz     r3,16(r29)                             <== NOT EXECUTED
ffc1b340:	7f c6 f3 78 	mr      r6,r30                                 <== NOT EXECUTED
                }                                                     
            }                                                         
        }                                                             
    }                                                                 
    return rc;                                                        
}                                                                     
ffc1b344:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1b348:	bb 41 00 08 	lmw     r26,8(r1)                              <== NOT EXECUTED
ffc1b34c:	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 =                                              
ffc1b350:	4b ff fc 98 	b       ffc1afe8 <msdos_get_dotdot_dir_info_cluster_num_and_offset><== NOT EXECUTED
                }                                                     
            }                                                         
        }                                                             
    }                                                                 
    return rc;                                                        
}                                                                     
ffc1b354:	39 61 00 20 	addi    r11,r1,32                              
ffc1b358:	7f 43 d3 78 	mr      r3,r26                                 
ffc1b35c:	4b fe 77 88 	b       ffc02ae4 <_restgpr_26_x>               
                                                                      

ffc1a09c <msdos_get_token>: msdos_token_types_t msdos_get_token(const char *path, int pathlen, const char **ret_token, int *ret_token_len) {
ffc1a09c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1a0a0:	7c 08 02 a6 	mflr    r0                                     
ffc1a0a4:	bf 61 00 0c 	stmw    r27,12(r1)                             
    int                 i = 0;                                        
                                                                      
    *ret_token = NULL;                                                
    *ret_token_len = 0;                                               
                                                                      
    if (pathlen == 0)                                                 
ffc1a0a8:	7c 9b 23 79 	mr.     r27,r4                                 
msdos_token_types_t                                                   
msdos_get_token(const char  *path,                                    
                int          pathlen,                                 
                const char **ret_token,                               
                int         *ret_token_len)                           
{                                                                     
ffc1a0ac:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1a0b0:	90 01 00 24 	stw     r0,36(r1)                              
    msdos_token_types_t type = MSDOS_NAME;                            
    int                 i = 0;                                        
                                                                      
    *ret_token = NULL;                                                
ffc1a0b4:	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)                           
{                                                                     
ffc1a0b8:	7c be 2b 78 	mr      r30,r5                                 
    msdos_token_types_t type = MSDOS_NAME;                            
    int                 i = 0;                                        
                                                                      
    *ret_token = NULL;                                                
ffc1a0bc:	90 05 00 00 	stw     r0,0(r5)                               
msdos_token_types_t                                                   
msdos_get_token(const char  *path,                                    
                int          pathlen,                                 
                const char **ret_token,                               
                int         *ret_token_len)                           
{                                                                     
ffc1a0c0:	7c dd 33 78 	mr      r29,r6                                 
                                                                      
    *ret_token = NULL;                                                
    *ret_token_len = 0;                                               
                                                                      
    if (pathlen == 0)                                                 
        return MSDOS_NO_MORE_PATH;                                    
ffc1a0c4:	38 60 00 00 	li      r3,0                                   
{                                                                     
    msdos_token_types_t type = MSDOS_NAME;                            
    int                 i = 0;                                        
                                                                      
    *ret_token = NULL;                                                
    *ret_token_len = 0;                                               
ffc1a0c8:	90 06 00 00 	stw     r0,0(r6)                               
                                                                      
    if (pathlen == 0)                                                 
ffc1a0cc:	3b 80 00 00 	li      r28,0                                  
ffc1a0d0:	40 a2 00 24 	bne+    ffc1a0f4 <msdos_get_token+0x58>        
ffc1a0d4:	48 00 00 c0 	b       ffc1a194 <msdos_get_token+0xf8>        
    /*                                                                
     *  Check for a separator.                                        
     */                                                               
    while (!msdos_is_separator(path[i]) && (i < pathlen))             
    {                                                                 
        if ( !msdos_is_valid_name_char(path[i]) )                     
ffc1a0d8:	7c 7f e0 ae 	lbzx    r3,r31,r28                             
ffc1a0dc:	4b ff fd 85 	bl      ffc19e60 <msdos_is_valid_name_char>    
ffc1a0e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1a0e4:	41 9e 00 9c 	beq-    cr7,ffc1a180 <msdos_get_token+0xe4>    <== NEVER TAKEN
            return MSDOS_INVALID_TOKEN;                               
        ++i;                                                          
        if ( i == MSDOS_NAME_MAX_LFN_WITH_DOT )                       
ffc1a0e8:	2f 9c 01 03 	cmpwi   cr7,r28,259                            
ffc1a0ec:	3b 9c 00 01 	addi    r28,r28,1                              
ffc1a0f0:	41 9e 00 90 	beq-    cr7,ffc1a180 <msdos_get_token+0xe4>    <== NEVER TAKEN
        return MSDOS_NO_MORE_PATH;                                    
                                                                      
    /*                                                                
     *  Check for a separator.                                        
     */                                                               
    while (!msdos_is_separator(path[i]) && (i < pathlen))             
ffc1a0f4:	7c 7f e0 ae 	lbzx    r3,r31,r28                             
ffc1a0f8:	4b fe f0 fd 	bl      ffc091f4 <rtems_filesystem_is_separator>
ffc1a0fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1a100:	40 9e 00 0c 	bne-    cr7,ffc1a10c <msdos_get_token+0x70>    
ffc1a104:	7f 9c d8 00 	cmpw    cr7,r28,r27                            
ffc1a108:	41 9c ff d0 	blt+    cr7,ffc1a0d8 <msdos_get_token+0x3c>    
    *ret_token = path;                                                
                                                                      
    /*                                                                
     *  If it is just a separator then it is the current dir.         
     */                                                               
    if ( i == 0 )                                                     
ffc1a10c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
        ++i;                                                          
        if ( i == MSDOS_NAME_MAX_LFN_WITH_DOT )                       
            return MSDOS_INVALID_TOKEN;                               
    }                                                                 
                                                                      
    *ret_token = path;                                                
ffc1a110:	93 fe 00 00 	stw     r31,0(r30)                             
msdos_get_token(const char  *path,                                    
                int          pathlen,                                 
                const char **ret_token,                               
                int         *ret_token_len)                           
{                                                                     
    msdos_token_types_t type = MSDOS_NAME;                            
ffc1a114:	38 60 00 03 	li      r3,3                                   
    *ret_token = path;                                                
                                                                      
    /*                                                                
     *  If it is just a separator then it is the current dir.         
     */                                                               
    if ( i == 0 )                                                     
ffc1a118:	40 9e 00 20 	bne-    cr7,ffc1a138 <msdos_get_token+0x9c>    
    {                                                                 
      if ( (*path != '\0') && pathlen )                               
ffc1a11c:	88 1f 00 00 	lbz     r0,0(r31)                              
        {                                                             
            i++;                                                      
ffc1a120:	3b 80 00 01 	li      r28,1                                  
            type = MSDOS_CURRENT_DIR;                                 
ffc1a124:	38 60 00 01 	li      r3,1                                   
    /*                                                                
     *  If it is just a separator then it is the current dir.         
     */                                                               
    if ( i == 0 )                                                     
    {                                                                 
      if ( (*path != '\0') && pathlen )                               
ffc1a128:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1a12c:	40 9e 00 0c 	bne-    cr7,ffc1a138 <msdos_get_token+0x9c>    
ffc1a130:	3b 80 00 00 	li      r28,0                                  
        {                                                             
            i++;                                                      
            type = MSDOS_CURRENT_DIR;                                 
        }                                                             
        else                                                          
            type = MSDOS_NO_MORE_PATH;                                
ffc1a134:	38 60 00 00 	li      r3,0                                   
                                                                      
    /*                                                                
     *  If we copied something that was not a seperator see if        
     *  it was a special name.                                        
     */                                                               
    if ( type == MSDOS_NAME )                                         
ffc1a138:	2f 83 00 03 	cmpwi   cr7,r3,3                               
    }                                                                 
                                                                      
    /*                                                                
     *  Set the token and token_len to the token start and length.    
     */                                                               
    *ret_token_len = i;                                               
ffc1a13c:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
    /*                                                                
     *  If we copied something that was not a seperator see if        
     *  it was a special name.                                        
     */                                                               
    if ( type == MSDOS_NAME )                                         
ffc1a140:	40 be 00 54 	bne+    cr7,ffc1a194 <msdos_get_token+0xf8>    
    {                                                                 
        if ((i == 2) && ((*ret_token)[0] == '.') && ((*ret_token)[1] == '.'))
ffc1a144:	2f 9c 00 02 	cmpwi   cr7,r28,2                              
ffc1a148:	40 be 00 20 	bne+    cr7,ffc1a168 <msdos_get_token+0xcc>    
ffc1a14c:	88 1f 00 00 	lbz     r0,0(r31)                              
ffc1a150:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc1a154:	40 be 00 40 	bne+    cr7,ffc1a194 <msdos_get_token+0xf8>    <== NEVER TAKEN
ffc1a158:	88 1f 00 01 	lbz     r0,1(r31)                              
ffc1a15c:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc1a160:	40 be 00 34 	bne+    cr7,ffc1a194 <msdos_get_token+0xf8>    <== NEVER TAKEN
ffc1a164:	48 00 00 24 	b       ffc1a188 <msdos_get_token+0xec>        
        {                                                             
            type = MSDOS_UP_DIR;                                      
            return type;                                              
        }                                                             
                                                                      
        if ((i == 1) && ((*ret_token)[0] == '.'))                     
ffc1a168:	2f 9c 00 01 	cmpwi   cr7,r28,1                              
ffc1a16c:	40 be 00 28 	bne+    cr7,ffc1a194 <msdos_get_token+0xf8>    
ffc1a170:	88 1f 00 00 	lbz     r0,0(r31)                              
ffc1a174:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc1a178:	40 be 00 1c 	bne+    cr7,ffc1a194 <msdos_get_token+0xf8>    <== NEVER TAKEN
ffc1a17c:	48 00 00 14 	b       ffc1a190 <msdos_get_token+0xf4>        
    {                                                                 
        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;                               
ffc1a180:	38 60 00 04 	li      r3,4                                   <== NOT EXECUTED
ffc1a184:	48 00 00 10 	b       ffc1a194 <msdos_get_token+0xf8>        <== NOT EXECUTED
    if ( type == MSDOS_NAME )                                         
    {                                                                 
        if ((i == 2) && ((*ret_token)[0] == '.') && ((*ret_token)[1] == '.'))
        {                                                             
            type = MSDOS_UP_DIR;                                      
            return type;                                              
ffc1a188:	38 60 00 02 	li      r3,2                                   
ffc1a18c:	48 00 00 08 	b       ffc1a194 <msdos_get_token+0xf8>        
        }                                                             
                                                                      
        if ((i == 1) && ((*ret_token)[0] == '.'))                     
        {                                                             
            type = MSDOS_CURRENT_DIR;                                 
            return type;                                              
ffc1a190:	38 60 00 01 	li      r3,1                                   
        }                                                             
    }                                                                 
                                                                      
    return type;                                                      
}                                                                     
ffc1a194:	39 61 00 20 	addi    r11,r1,32                              
ffc1a198:	4b fe 89 50 	b       ffc02ae8 <_restgpr_27_x>               
                                                                      

ffc10980 <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 ) {
ffc10980:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc10984:	7c 08 02 a6 	mflr    r0                                     
ffc10988:	bf 41 00 28 	stmw    r26,40(r1)                             
ffc1098c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc10990:	7c 9b 23 78 	mr      r27,r4                                 
ffc10994:	90 01 00 44 	stw     r0,68(r1)                              
    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));  
ffc10998:	38 60 00 01 	li      r3,1                                   
    )                                                                 
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = NULL;                                
    fat_file_fd_t     *fat_fd = NULL;                                 
ffc1099c:	38 00 00 00 	li      r0,0                                   
    fat_dir_pos_t      root_pos;                                      
    uint32_t           cl_buf_size;                                   
                                                                      
    fs_info = (msdos_fs_info_t *)calloc(1, sizeof(msdos_fs_info_t));  
ffc109a0:	38 80 00 a0 	li      r4,160                                 
    )                                                                 
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = NULL;                                
    fat_file_fd_t     *fat_fd = NULL;                                 
ffc109a4:	90 01 00 08 	stw     r0,8(r1)                               
    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       
    )                                                                 
{                                                                     
ffc109a8:	7c ba 2b 78 	mr      r26,r5                                 
ffc109ac:	7c dc 33 78 	mr      r28,r6                                 
    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));  
ffc109b0:	4b ff 6a 29 	bl      ffc073d8 <calloc>                      
    if (!fs_info)                                                     
ffc109b4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc109b8:	41 82 01 10 	beq-    ffc10ac8 <msdos_initialize_support+0x148><== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(ENOMEM);                 
                                                                      
    temp_mt_entry->fs_info = fs_info;                                 
ffc109bc:	93 fe 00 34 	stw     r31,52(r30)                            
                                                                      
    rc = fat_init_volume_info(temp_mt_entry);                         
ffc109c0:	7f c3 f3 78 	mr      r3,r30                                 
ffc109c4:	48 00 47 95 	bl      ffc15158 <fat_init_volume_info>        
    if (rc != RC_OK)                                                  
ffc109c8:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc109cc:	40 82 00 44 	bne-    ffc10a10 <msdos_initialize_support+0x90><== NEVER TAKEN
    {                                                                 
        free(fs_info);                                                
        return rc;                                                    
    }                                                                 
                                                                      
    fs_info->file_handlers      = file_handlers;                      
ffc109d0:	93 5f 00 94 	stw     r26,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;                     
ffc109d4:	7c 24 0b 78 	mr      r4,r1                                  
ffc109d8:	3b 40 00 01 	li      r26,1                                  
        free(fs_info);                                                
        return rc;                                                    
    }                                                                 
                                                                      
    fs_info->file_handlers      = file_handlers;                      
    fs_info->directory_handlers = directory_handlers;                 
ffc109dc:	93 9f 00 90 	stw     r28,144(r31)                           
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
ffc109e0:	38 00 ff ff 	li      r0,-1                                  
     * 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);            
ffc109e4:	7f c3 f3 78 	mr      r3,r30                                 
    /*                                                                
     * 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;                     
ffc109e8:	97 44 00 0c 	stwu    r26,12(r4)                             
    rc = fat_file_open(temp_mt_entry, &root_pos, &fat_fd);            
ffc109ec:	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;                                             
ffc109f0:	93 a1 00 10 	stw     r29,16(r1)                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
ffc109f4:	90 01 00 14 	stw     r0,20(r1)                              
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
ffc109f8:	90 01 00 18 	stw     r0,24(r1)                              
ffc109fc:	48 00 32 c1 	bl      ffc13cbc <fat_file_open>               
    if (rc != RC_OK)                                                  
ffc10a00:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc10a04:	41 a2 00 18 	beq+    ffc10a1c <msdos_initialize_support+0x9c><== ALWAYS TAKEN
    {                                                                 
        fat_shutdown_drive(temp_mt_entry);                            
ffc10a08:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc10a0c:	48 00 46 49 	bl      ffc15054 <fat_shutdown_drive>          <== NOT EXECUTED
        free(fs_info);                                                
ffc10a10:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc10a14:	4b ff 6e d5 	bl      ffc078e8 <free>                        <== NOT EXECUTED
        return rc;                                                    
ffc10a18:	48 00 01 20 	b       ffc10b38 <msdos_initialize_support+0x1b8><== NOT EXECUTED
    }                                                                 
                                                                      
    /* again: unfortunately "fat-file" is just almost fat file :( */  
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
ffc10a1c:	80 81 00 08 	lwz     r4,8(r1)                               
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
ffc10a20:	3c 00 00 20 	lis     r0,32                                  
ffc10a24:	90 04 00 14 	stw     r0,20(r4)                              
    fat_fd->cln = fs_info->fat.vol.rdir_cl;                           
ffc10a28:	80 1f 00 38 	lwz     r0,56(r31)                             
        free(fs_info);                                                
        return rc;                                                    
    }                                                                 
                                                                      
    /* again: unfortunately "fat-file" is just almost fat file :( */  
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
ffc10a2c:	93 44 00 10 	stw     r26,16(r4)                             
                                                                      
    fat_fd->map.file_cln = 0;                                         
    fat_fd->map.disk_cln = fat_fd->cln;                               
                                                                      
    /* if we have FAT12/16 */                                         
    if ( fat_fd->cln == 0 )                                           
ffc10a30:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    }                                                                 
                                                                      
    /* 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;                           
ffc10a34:	90 04 00 1c 	stw     r0,28(r4)                              
                                                                      
    fat_fd->map.file_cln = 0;                                         
ffc10a38:	93 a4 00 34 	stw     r29,52(r4)                             
    fat_fd->map.disk_cln = fat_fd->cln;                               
ffc10a3c:	90 04 00 38 	stw     r0,56(r4)                              
                                                                      
    /* if we have FAT12/16 */                                         
    if ( fat_fd->cln == 0 )                                           
ffc10a40:	40 9e 00 20 	bne-    cr7,ffc10a60 <msdos_initialize_support+0xe0><== NEVER TAKEN
    {                                                                 
        fat_fd->fat_file_size = fs_info->fat.vol.rdir_size;           
ffc10a44:	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                                :
ffc10a48:	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;           
ffc10a4c:	90 04 00 18 	stw     r0,24(r4)                              
        cl_buf_size = (fs_info->fat.vol.bpc > fs_info->fat.vol.rdir_size) ?
ffc10a50:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc10a54:	40 9c 00 44 	bge-    cr7,ffc10a98 <msdos_initialize_support+0x118><== NEVER TAKEN
ffc10a58:	7c 03 03 78 	mr      r3,r0                                  
ffc10a5c:	48 00 00 3c 	b       ffc10a98 <msdos_initialize_support+0x118>
                      fs_info->fat.vol.bpc                                :
                      fs_info->fat.vol.rdir_size;                     
    }                                                                 
    else                                                              
    {                                                                 
        rc = fat_file_size(temp_mt_entry, fat_fd);                    
ffc10a60:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc10a64:	48 00 3d 51 	bl      ffc147b4 <fat_file_size>               <== NOT EXECUTED
        if ( rc != RC_OK )                                            
ffc10a68:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
ffc10a6c:	41 a2 00 28 	beq+    ffc10a94 <msdos_initialize_support+0x114><== NOT EXECUTED
        {                                                             
            fat_file_close(temp_mt_entry, fat_fd);                    
ffc10a70:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc10a74:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
            fat_shutdown_drive(temp_mt_entry);                        
            free(fs_info);                                            
            return rc;                                                
ffc10a78:	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);                    
ffc10a7c:	48 00 36 69 	bl      ffc140e4 <fat_file_close>              <== NOT EXECUTED
            fat_shutdown_drive(temp_mt_entry);                        
ffc10a80:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc10a84:	48 00 45 d1 	bl      ffc15054 <fat_shutdown_drive>          <== NOT EXECUTED
            free(fs_info);                                            
ffc10a88:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc10a8c:	4b ff 6e 5d 	bl      ffc078e8 <free>                        <== NOT EXECUTED
            return rc;                                                
ffc10a90:	48 00 00 a8 	b       ffc10b38 <msdos_initialize_support+0x1b8><== NOT EXECUTED
        }                                                             
        cl_buf_size = fs_info->fat.vol.bpc;                           
ffc10a94:	a0 7f 00 06 	lhz     r3,6(r31)                              <== NOT EXECUTED
    }                                                                 
                                                                      
    fs_info->cl_buf = (uint8_t *)calloc(cl_buf_size, sizeof(char));   
ffc10a98:	38 80 00 01 	li      r4,1                                   
ffc10a9c:	4b ff 69 3d 	bl      ffc073d8 <calloc>                      
    if (fs_info->cl_buf == NULL)                                      
ffc10aa0:	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));   
ffc10aa4:	90 7f 00 9c 	stw     r3,156(r31)                            
    if (fs_info->cl_buf == NULL)                                      
ffc10aa8:	40 be 00 34 	bne+    cr7,ffc10adc <msdos_initialize_support+0x15c><== ALWAYS TAKEN
    {                                                                 
        fat_file_close(temp_mt_entry, fat_fd);                        
ffc10aac:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc10ab0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc10ab4:	48 00 36 31 	bl      ffc140e4 <fat_file_close>              <== NOT EXECUTED
        fat_shutdown_drive(temp_mt_entry);                            
ffc10ab8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc10abc:	48 00 45 99 	bl      ffc15054 <fat_shutdown_drive>          <== NOT EXECUTED
        free(fs_info);                                                
ffc10ac0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc10ac4:	4b ff 6e 25 	bl      ffc078e8 <free>                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(ENOMEM);                 
ffc10ac8:	48 00 c7 e1 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc10acc:	38 00 00 0c 	li      r0,12                                  <== NOT EXECUTED
ffc10ad0:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc10ad4:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc10ad8:	48 00 00 60 	b       ffc10b38 <msdos_initialize_support+0x1b8><== NOT EXECUTED
    }                                                                 
                                                                      
    sc = rtems_semaphore_create(3,                                    
ffc10adc:	38 80 00 01 	li      r4,1                                   
ffc10ae0:	38 60 00 03 	li      r3,3                                   
ffc10ae4:	38 a0 00 10 	li      r5,16                                  
ffc10ae8:	38 c0 00 00 	li      r6,0                                   
ffc10aec:	38 ff 00 98 	addi    r7,r31,152                             
ffc10af0:	4b ff af 8d 	bl      ffc0ba7c <rtems_semaphore_create>      
ffc10af4:	80 81 00 08 	lwz     r4,8(r1)                               
                                1,                                    
                                RTEMS_BINARY_SEMAPHORE | RTEMS_FIFO,  
                                0,                                    
                                &fs_info->vol_sema);                  
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc10af8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10afc:	41 be 00 30 	beq+    cr7,ffc10b2c <msdos_initialize_support+0x1ac><== ALWAYS TAKEN
    {                                                                 
        fat_file_close(temp_mt_entry, fat_fd);                        
ffc10b00:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc10b04:	48 00 35 e1 	bl      ffc140e4 <fat_file_close>              <== NOT EXECUTED
        fat_shutdown_drive(temp_mt_entry);                            
ffc10b08:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc10b0c:	48 00 45 49 	bl      ffc15054 <fat_shutdown_drive>          <== NOT EXECUTED
        free(fs_info->cl_buf);                                        
ffc10b10:	80 7f 00 9c 	lwz     r3,156(r31)                            <== NOT EXECUTED
ffc10b14:	4b ff 6d d5 	bl      ffc078e8 <free>                        <== NOT EXECUTED
        free(fs_info);                                                
ffc10b18:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc10b1c:	4b ff 6d cd 	bl      ffc078e8 <free>                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( EIO );                  
ffc10b20:	48 00 c7 89 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc10b24:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc10b28:	4b ff ff a8 	b       ffc10ad0 <msdos_initialize_support+0x150><== NOT EXECUTED
    }                                                                 
                                                                      
    temp_mt_entry->mt_fs_root.node_access = fat_fd;                   
ffc10b2c:	90 9e 00 1c 	stw     r4,28(r30)                             
    temp_mt_entry->mt_fs_root.handlers = directory_handlers;          
ffc10b30:	93 9e 00 24 	stw     r28,36(r30)                            
    temp_mt_entry->mt_fs_root.ops = op_table;                         
ffc10b34:	93 7e 00 28 	stw     r27,40(r30)                            
                                                                      
    return rc;                                                        
}                                                                     
ffc10b38:	39 61 00 40 	addi    r11,r1,64                              
ffc10b3c:	7f a3 eb 78 	mr      r3,r29                                 
ffc10b40:	4b ff 1f a4 	b       ffc02ae4 <_restgpr_26_x>               
                                                                      

ffc19e60 <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) {
ffc19e60:	7c 2b 0b 78 	mr      r11,r1                                 
ffc19e64:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc19e68:	7c 08 02 a6 	mflr    r0                                     
ffc19e6c:	4b fe 8c 41 	bl      ffc02aac <_savegpr_31>                 
ffc19e70:	7c 7f 1b 78 	mr      r31,r3                                 
    if (strchr(" +,;=[]", ch) != NULL)                                
ffc19e74:	3c 60 ff c3 	lis     r3,-61                                 
 *     MSDOS_NAME_LONG    - Valid in a long name only.                
 *                                                                    
 */                                                                   
static msdos_name_type_t                                              
msdos_is_valid_name_char(const char ch)                               
{                                                                     
ffc19e78:	90 01 00 14 	stw     r0,20(r1)                              
    if (strchr(" +,;=[]", ch) != NULL)                                
ffc19e7c:	38 63 e2 17 	addi    r3,r3,-7657                            
ffc19e80:	7f e4 fb 78 	mr      r4,r31                                 
ffc19e84:	48 00 47 f5 	bl      ffc1e678 <strchr>                      
        return MSDOS_NAME_LONG;                                       
ffc19e88:	38 00 00 02 	li      r0,2                                   
 *                                                                    
 */                                                                   
static msdos_name_type_t                                              
msdos_is_valid_name_char(const char ch)                               
{                                                                     
    if (strchr(" +,;=[]", ch) != NULL)                                
ffc19e8c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc19e90:	40 be 00 44 	bne+    cr7,ffc19ed4 <msdos_is_valid_name_char+0x74><== NEVER TAKEN
        return MSDOS_NAME_LONG;                                       
                                                                      
    if ((ch == '.') || isalnum((unsigned char)ch) ||                  
ffc19e94:	2f 9f 00 2e 	cmpwi   cr7,r31,46                             
        (strchr("$%'-_@~`!(){}^#&", ch) != NULL))                     
        return MSDOS_NAME_SHORT;                                      
ffc19e98:	38 00 00 01 	li      r0,1                                   
msdos_is_valid_name_char(const char ch)                               
{                                                                     
    if (strchr(" +,;=[]", ch) != NULL)                                
        return MSDOS_NAME_LONG;                                       
                                                                      
    if ((ch == '.') || isalnum((unsigned char)ch) ||                  
ffc19e9c:	41 9e 00 38 	beq-    cr7,ffc19ed4 <msdos_is_valid_name_char+0x74>
ffc19ea0:	3d 20 00 00 	lis     r9,0                                   
ffc19ea4:	81 29 27 ac 	lwz     r9,10156(r9)                           
ffc19ea8:	7d 29 fa 14 	add     r9,r9,r31                              
ffc19eac:	89 29 00 01 	lbz     r9,1(r9)                               
ffc19eb0:	71 2b 00 07 	andi.   r11,r9,7                               
ffc19eb4:	40 82 00 20 	bne-    ffc19ed4 <msdos_is_valid_name_char+0x74>
        (strchr("$%'-_@~`!(){}^#&", ch) != NULL))                     
ffc19eb8:	3c 60 ff c3 	lis     r3,-61                                 
ffc19ebc:	38 63 e2 1f 	addi    r3,r3,-7649                            
ffc19ec0:	7f e4 fb 78 	mr      r4,r31                                 
ffc19ec4:	48 00 47 b5 	bl      ffc1e678 <strchr>                      
        return MSDOS_NAME_SHORT;                                      
ffc19ec8:	7c 60 00 34 	cntlzw  r0,r3                                  
ffc19ecc:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc19ed0:	68 00 00 01 	xori    r0,r0,1                                
                                                                      
    return MSDOS_NAME_INVALID;                                        
}                                                                     
ffc19ed4:	39 61 00 10 	addi    r11,r1,16                              
ffc19ed8:	7c 03 03 78 	mr      r3,r0                                  
ffc19edc:	4b fe 8c 1c 	b       ffc02af8 <_restgpr_31_x>               
                                                                      

ffc19ee0 <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) {
ffc19ee0:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc19ee4:	7c 08 02 a6 	mflr    r0                                     
ffc19ee8:	be e1 00 0c 	stmw    r23,12(r1)                             
ffc19eec:	7c 7d 1b 78 	mr      r29,r3                                 
ffc19ef0:	7c 9f 23 78 	mr      r31,r4                                 
    int               i;                                              
                                                                      
    /*                                                                
     * Fill with spaces. This is how a short directory entry is padded.
     */                                                               
    memset (sfn, ' ', sfn_len);                                       
ffc19ef4:	7c a3 2b 78 	mr      r3,r5                                  
 *                                                                    
 */                                                                   
#define MSDOS_L2S_PRINT 0                                             
msdos_name_type_t                                                     
msdos_long_to_short(const char *lfn, int lfn_len, char* sfn, int sfn_len)
{                                                                     
ffc19ef8:	90 01 00 34 	stw     r0,52(r1)                              
ffc19efc:	7c be 2b 78 	mr      r30,r5                                 
    int               i;                                              
                                                                      
    /*                                                                
     * Fill with spaces. This is how a short directory entry is padded.
     */                                                               
    memset (sfn, ' ', sfn_len);                                       
ffc19f00:	38 80 00 20 	li      r4,32                                  
ffc19f04:	7c c5 33 78 	mr      r5,r6                                  
ffc19f08:	48 00 42 b9 	bl      ffc1e1c0 <memset>                      
                                                                      
    /*                                                                
     * Handle '.' and '..' specially.                                 
     */                                                               
    if ((lfn[0] == '.') && (lfn_len == 1))                            
ffc19f0c:	88 1d 00 00 	lbz     r0,0(r29)                              
ffc19f10:	39 20 00 00 	li      r9,0                                   
ffc19f14:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc19f18:	40 be 00 4c 	bne+    cr7,ffc19f64 <msdos_long_to_short+0x84>
ffc19f1c:	2f 9f 00 01 	cmpwi   cr7,r31,1                              
ffc19f20:	41 9e 00 1c 	beq-    cr7,ffc19f3c <msdos_long_to_short+0x5c><== 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))         
ffc19f24:	88 1d 00 01 	lbz     r0,1(r29)                              
ffc19f28:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc19f2c:	40 be 00 38 	bne+    cr7,ffc19f64 <msdos_long_to_short+0x84><== NEVER TAKEN
ffc19f30:	2f 9f 00 02 	cmpwi   cr7,r31,2                              
ffc19f34:	40 be 00 30 	bne+    cr7,ffc19f64 <msdos_long_to_short+0x84><== NEVER TAKEN
    {                                                                 
        sfn[0] = sfn[1] = '.';                                        
ffc19f38:	98 1e 00 01 	stb     r0,1(r30)                              
ffc19f3c:	98 1e 00 00 	stb     r0,0(r30)                              
#if MSDOS_L2S_PRINT                                                   
        printf ("MSDOS_L2S: SHORT[2]: lfn:'%s' SFN:'%s'\n", lfn, sfn);
#endif                                                                
        return MSDOS_NAME_SHORT;                                      
ffc19f40:	3b 80 00 01 	li      r28,1                                  
ffc19f44:	48 00 01 34 	b       ffc1a078 <msdos_long_to_short+0x198>   
                                                                      
    /*                                                                
     * Filenames with only blanks and dots are not allowed!           
     */                                                               
    for (i = 0; i < lfn_len; i++)                                     
        if ((lfn[i] != ' ') && (lfn[i] != '.'))                       
ffc19f48:	7d 7d 48 ae 	lbzx    r11,r29,r9                             
ffc19f4c:	2f 8b 00 20 	cmpwi   cr7,r11,32                             
ffc19f50:	41 9e 00 0c 	beq-    cr7,ffc19f5c <msdos_long_to_short+0x7c><== NEVER TAKEN
ffc19f54:	2f 8b 00 2e 	cmpwi   cr7,r11,46                             
ffc19f58:	40 9e 00 d8 	bne-    cr7,ffc1a030 <msdos_long_to_short+0x150><== ALWAYS TAKEN
    }                                                                 
                                                                      
    /*                                                                
     * Filenames with only blanks and dots are not allowed!           
     */                                                               
    for (i = 0; i < lfn_len; i++)                                     
ffc19f5c:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
ffc19f60:	48 00 00 20 	b       ffc19f80 <msdos_long_to_short+0xa0>    <== NOT EXECUTED
ffc19f64:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc19f68:	38 1f 00 01 	addi    r0,r31,1                               
ffc19f6c:	41 9d 00 10 	bgt-    cr7,ffc19f7c <msdos_long_to_short+0x9c><== NEVER TAKEN
ffc19f70:	3d 60 80 00 	lis     r11,-32768                             
ffc19f74:	7f 9f 58 00 	cmpw    cr7,r31,r11                            
ffc19f78:	40 be 00 08 	bne+    cr7,ffc19f80 <msdos_long_to_short+0xa0><== ALWAYS TAKEN
ffc19f7c:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc19f80:	34 00 ff ff 	addic.  r0,r0,-1                               
ffc19f84:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc19f88:	40 82 ff c0 	bne+    ffc19f48 <msdos_long_to_short+0x68>    <== ALWAYS TAKEN
        if ((lfn[i] != ' ') && (lfn[i] != '.'))                       
            break;                                                    
                                                                      
    if (i == lfn_len)                                                 
ffc19f8c:	40 be 00 a4 	bne+    cr7,ffc1a030 <msdos_long_to_short+0x150><== NOT EXECUTED
ffc19f90:	48 00 00 e4 	b       ffc1a074 <msdos_long_to_short+0x194>   <== NOT EXECUTED
    int  count = 0;                                                   
                                                                      
    while (*name && (count < name_len))                               
    {                                                                 
        bool is_dot = *name == '.';                                   
        msdos_name_type_t type = msdos_is_valid_name_char(*name);     
ffc19f94:	7f 23 cb 78 	mr      r3,r25                                 
ffc19f98:	4b ff fe c9 	bl      ffc19e60 <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))
ffc19f9c:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc19fa0:	41 82 00 d8 	beq-    ffc1a078 <msdos_long_to_short+0x198>   
ffc19fa4:	2f 9c 00 02 	cmpwi   cr7,r28,2                              
ffc19fa8:	41 9e 00 e0 	beq-    cr7,ffc1a088 <msdos_long_to_short+0x1a8><== NEVER TAKEN
            return type;                                              
                                                                      
        if (dot_at >= 0)                                              
ffc19fac:	2f 1a ff ff 	cmpwi   cr6,r26,-1                             
    int  dot_at = -1;                                                 
    int  count = 0;                                                   
                                                                      
    while (*name && (count < name_len))                               
    {                                                                 
        bool is_dot = *name == '.';                                   
ffc19fb0:	6b 20 00 2e 	xori    r0,r25,46                              
ffc19fb4:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc19fb8:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc19fbc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
#endif                                                                
                                                                      
        if ((type == MSDOS_NAME_INVALID) || (type == MSDOS_NAME_LONG))
            return type;                                              
                                                                      
        if (dot_at >= 0)                                              
ffc19fc0:	41 9a 00 18 	beq-    cr6,ffc19fd8 <msdos_long_to_short+0xf8><== ALWAYS TAKEN
        {                                                             
            if (is_dot || ((count - dot_at) > 3))                     
ffc19fc4:	40 9e 00 c0 	bne-    cr7,ffc1a084 <msdos_long_to_short+0x1a4><== NOT EXECUTED
ffc19fc8:	7c 1a d8 50 	subf    r0,r26,r27                             <== NOT EXECUTED
ffc19fcc:	2f 80 00 03 	cmpwi   cr7,r0,3                               <== NOT EXECUTED
ffc19fd0:	40 bd 00 20 	ble+    cr7,ffc19ff0 <msdos_long_to_short+0x110><== NOT EXECUTED
ffc19fd4:	48 00 00 b0 	b       ffc1a084 <msdos_long_to_short+0x1a4>   <== NOT EXECUTED
                return MSDOS_NAME_LONG;                               
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            if (count == 8 && !is_dot)                                
ffc19fd8:	2f 1b 00 08 	cmpwi   cr6,r27,8                              
ffc19fdc:	40 ba 00 10 	bne+    cr6,ffc19fec <msdos_long_to_short+0x10c>
ffc19fe0:	41 9e 00 a4 	beq-    cr7,ffc1a084 <msdos_long_to_short+0x1a4><== ALWAYS TAKEN
ffc19fe4:	3b 40 00 08 	li      r26,8                                  <== NOT EXECUTED
ffc19fe8:	48 00 00 40 	b       ffc1a028 <msdos_long_to_short+0x148>   <== NOT EXECUTED
#endif                                                                
                return MSDOS_NAME_LONG;                               
            }                                                         
        }                                                             
                                                                      
        if (is_dot)                                                   
ffc19fec:	40 be 00 28 	bne+    cr7,ffc1a014 <msdos_long_to_short+0x134><== NEVER TAKEN
            dot_at = count;                                           
        else if ((*name >= 'A') && (*name <= 'Z'))                    
ffc19ff0:	38 19 ff bf 	addi    r0,r25,-65                             
ffc19ff4:	54 00 06 3e 	clrlwi  r0,r0,24                               
ffc19ff8:	2b 80 00 19 	cmplwi  cr7,r0,25                              
ffc19ffc:	40 9d 00 20 	ble-    cr7,ffc1a01c <msdos_long_to_short+0x13c><== NEVER TAKEN
            uppercase = true;                                         
        else if ((*name >= 'a') && (*name <= 'z'))                    
ffc1a000:	3b 39 ff 9f 	addi    r25,r25,-97                            
ffc1a004:	57 39 06 3e 	clrlwi  r25,r25,24                             
ffc1a008:	2b 99 00 19 	cmplwi  cr7,r25,25                             
ffc1a00c:	40 9d 00 18 	ble-    cr7,ffc1a024 <msdos_long_to_short+0x144>
ffc1a010:	48 00 00 18 	b       ffc1a028 <msdos_long_to_short+0x148>   
#endif                                                                
                return MSDOS_NAME_LONG;                               
            }                                                         
        }                                                             
                                                                      
        if (is_dot)                                                   
ffc1a014:	7f 7a db 78 	mr      r26,r27                                <== NOT EXECUTED
ffc1a018:	48 00 00 10 	b       ffc1a028 <msdos_long_to_short+0x148>   <== NOT EXECUTED
            dot_at = count;                                           
        else if ((*name >= 'A') && (*name <= 'Z'))                    
            uppercase = true;                                         
ffc1a01c:	3b 00 00 01 	li      r24,1                                  <== NOT EXECUTED
ffc1a020:	48 00 00 08 	b       ffc1a028 <msdos_long_to_short+0x148>   <== NOT EXECUTED
        else if ((*name >= 'a') && (*name <= 'z'))                    
            lowercase = true;                                         
ffc1a024:	3a e0 00 01 	li      r23,1                                  
                                                                      
        count++;                                                      
ffc1a028:	3b 7b 00 01 	addi    r27,r27,1                              
ffc1a02c:	48 00 00 14 	b       ffc1a040 <msdos_long_to_short+0x160>   
                                                                      
    /*                                                                
     * Filenames with only blanks and dots are not allowed!           
     */                                                               
    for (i = 0; i < lfn_len; i++)                                     
        if ((lfn[i] != ' ') && (lfn[i] != '.'))                       
ffc1a030:	3b 60 00 00 	li      r27,0                                  
ffc1a034:	3b 40 ff ff 	li      r26,-1                                 
ffc1a038:	3b 00 00 00 	li      r24,0                                  
ffc1a03c:	3a e0 00 00 	li      r23,0                                  
    bool lowercase = false;                                           
    bool uppercase = false;                                           
    int  dot_at = -1;                                                 
    int  count = 0;                                                   
                                                                      
    while (*name && (count < name_len))                               
ffc1a040:	7f 3d d8 ae 	lbzx    r25,r29,r27                            
ffc1a044:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc1a048:	41 9e 00 0c 	beq-    cr7,ffc1a054 <msdos_long_to_short+0x174>
ffc1a04c:	7f 9b f8 00 	cmpw    cr7,r27,r31                            
ffc1a050:	41 9c ff 44 	blt+    cr7,ffc19f94 <msdos_long_to_short+0xb4>
                                                                      
        count++;                                                      
        name++;                                                       
    }                                                                 
                                                                      
    if (lowercase && uppercase)                                       
ffc1a054:	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;                                          
ffc1a058:	3b 80 00 01 	li      r28,1                                  
                                                                      
        count++;                                                      
        name++;                                                       
    }                                                                 
                                                                      
    if (lowercase && uppercase)                                       
ffc1a05c:	41 9e 00 2c 	beq-    cr7,ffc1a088 <msdos_long_to_short+0x1a8><== NEVER TAKEN
ffc1a060:	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;                                       
ffc1a064:	3b 80 00 02 	li      r28,2                                  
                                                                      
        count++;                                                      
        name++;                                                       
    }                                                                 
                                                                      
    if (lowercase && uppercase)                                       
ffc1a068:	40 be 00 20 	bne+    cr7,ffc1a088 <msdos_long_to_short+0x1a8><== NEVER TAKEN
    }                                                                 
                                                                      
#if MSDOS_NAME_TYPE_PRINT                                             
    printf ("MSDOS_NAME_TYPE: SHORT[1]\n");                           
#endif                                                                
    return MSDOS_NAME_SHORT;                                          
ffc1a06c:	3b 80 00 01 	li      r28,1                                  
ffc1a070:	48 00 00 18 	b       ffc1a088 <msdos_long_to_short+0x1a8>   
    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;                                    
ffc1a074:	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;                                                      
}                                                                     
ffc1a078:	39 61 00 30 	addi    r11,r1,48                              
ffc1a07c:	7f 83 e3 78 	mr      r3,r28                                 
ffc1a080:	4b fe 8a 58 	b       ffc02ad8 <_restgpr_23_x>               
            {                                                         
#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;                               
ffc1a084:	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);                      
ffc1a088:	7f a3 eb 78 	mr      r3,r29                                 
ffc1a08c:	7f e4 fb 78 	mr      r4,r31                                 
ffc1a090:	7f c5 f3 78 	mr      r5,r30                                 
ffc1a094:	48 00 27 fd 	bl      ffc1c890 <msdos_filename_unix2dos>     
                                                                      
#if MSDOS_L2S_PRINT                                                   
    printf ("MSDOS_L2S: TYPE:%d lfn:'%s' SFN:'%s'\n", type, lfn, sfn);
#endif                                                                
    return type;                                                      
ffc1a098:	4b ff ff e0 	b       ffc1a078 <msdos_long_to_short+0x198>   
                                                                      

ffc10b44 <msdos_mknod>: const char *name, mode_t mode, dev_t dev, rtems_filesystem_location_info_t *pathloc ) {
ffc10b44:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc10b48:	7c 08 02 a6 	mflr    r0                                     
ffc10b4c:	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))                                                
ffc10b50:	54 80 04 26 	rlwinm  r0,r4,0,16,19                          
ffc10b54:	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;        
ffc10b58:	81 27 00 10 	lwz     r9,16(r7)                              
    const char                        *name,                          
    mode_t                             mode,                          
    dev_t                              dev,                           
    rtems_filesystem_location_info_t  *pathloc                        
)                                                                     
{                                                                     
ffc10b5c:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc10b60:	7c 7d 1b 78 	mr      r29,r3                                 
ffc10b64:	7c 9e 23 78 	mr      r30,r4                                 
ffc10b68:	7c fb 3b 78 	mr      r27,r7                                 
    int                  rc = RC_OK;                                  
    rtems_status_code    sc = RTEMS_SUCCESSFUL;                       
    msdos_fs_info_t     *fs_info = pathloc->mt_entry->fs_info;        
ffc10b6c:	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))                                                
ffc10b70:	41 9e 00 20 	beq-    cr7,ffc10b90 <msdos_mknod+0x4c>        
    {                                                                 
       type = MSDOS_DIRECTORY;                                        
    }                                                                 
    else if (S_ISREG(mode))                                           
ffc10b74:	6c 09 ff ff 	xoris   r9,r0,65535                            
ffc10b78:	2f 89 80 00 	cmpwi   cr7,r9,-32768                          
    {                                                                 
        type = MSDOS_REGULAR_FILE;                                    
ffc10b7c:	3b 80 00 05 	li      r28,5                                  
     */                                                               
    if (S_ISDIR(mode))                                                
    {                                                                 
       type = MSDOS_DIRECTORY;                                        
    }                                                                 
    else if (S_ISREG(mode))                                           
ffc10b80:	41 9e 00 14 	beq-    cr7,ffc10b94 <msdos_mknod+0x50>        <== ALWAYS TAKEN
    {                                                                 
        type = MSDOS_REGULAR_FILE;                                    
    }                                                                 
    else                                                              
        rtems_set_errno_and_return_minus_one(EINVAL);                 
ffc10b84:	48 00 c7 25 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc10b88:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc10b8c:	48 00 00 28 	b       ffc10bb4 <msdos_mknod+0x70>            <== NOT EXECUTED
    /*                                                                
     *  Figure out what type of msdos node this is.                   
     */                                                               
    if (S_ISDIR(mode))                                                
    {                                                                 
       type = MSDOS_DIRECTORY;                                        
ffc10b90:	3b 80 00 01 	li      r28,1                                  
        type = MSDOS_REGULAR_FILE;                                    
    }                                                                 
    else                                                              
        rtems_set_errno_and_return_minus_one(EINVAL);                 
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc10b94:	80 7f 00 98 	lwz     r3,152(r31)                            
ffc10b98:	38 80 00 00 	li      r4,0                                   
ffc10b9c:	38 a0 00 00 	li      r5,0                                   
ffc10ba0:	4b ff b1 51 	bl      ffc0bcf0 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc10ba4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10ba8:	41 be 00 18 	beq+    cr7,ffc10bc0 <msdos_mknod+0x7c>        <== ALWAYS TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
ffc10bac:	48 00 c6 fd 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc10bb0:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc10bb4:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc10bb8:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc10bbc:	48 00 00 34 	b       ffc10bf0 <msdos_mknod+0xac>            <== NOT EXECUTED
                                                                      
    /* Create an MSDOS node */                                        
    rc = msdos_creat_node(pathloc, type, name, strlen(name), mode, NULL);
ffc10bc0:	7f a3 eb 78 	mr      r3,r29                                 
ffc10bc4:	48 00 e2 61 	bl      ffc1ee24 <strlen>                      
ffc10bc8:	7f c7 f3 78 	mr      r7,r30                                 
ffc10bcc:	7c 66 1b 78 	mr      r6,r3                                  
ffc10bd0:	7f 84 e3 78 	mr      r4,r28                                 
ffc10bd4:	7f 63 db 78 	mr      r3,r27                                 
ffc10bd8:	7f a5 eb 78 	mr      r5,r29                                 
ffc10bdc:	39 00 00 00 	li      r8,0                                   
ffc10be0:	48 00 82 71 	bl      ffc18e50 <msdos_creat_node>            
ffc10be4:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc10be8:	80 7f 00 98 	lwz     r3,152(r31)                            
ffc10bec:	4b ff b2 31 	bl      ffc0be1c <rtems_semaphore_release>     
    return rc;                                                        
}                                                                     
ffc10bf0:	39 61 00 20 	addi    r11,r1,32                              
ffc10bf4:	7f c3 f3 78 	mr      r3,r30                                 
ffc10bf8:	4b ff 1e f0 	b       ffc02ae8 <_restgpr_27_x>               
                                                                      

ffc10c08 <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) {
ffc10c08:	94 21 ff d0 	stwu    r1,-48(r1)                             <== NOT EXECUTED
ffc10c0c:	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)) {
ffc10c10:	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)             
{                                                                     
ffc10c14:	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;
ffc10c18:	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)             
{                                                                     
ffc10c1c:	bf 61 00 1c 	stmw    r27,28(r1)                             <== NOT EXECUTED
ffc10c20:	7c dc 33 78 	mr      r28,r6                                 <== NOT EXECUTED
ffc10c24:	7c 9d 23 78 	mr      r29,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;            
ffc10c28:	83 c4 00 00 	lwz     r30,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)             
{                                                                     
ffc10c2c:	7c bb 2b 78 	mr      r27,r5                                 <== 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;
ffc10c30:	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)) {
ffc10c34:	48 00 e1 f1 	bl      ffc1ee24 <strlen>                      <== NOT EXECUTED
ffc10c38:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc10c3c:	38 a1 00 0c 	addi    r5,r1,12                               <== NOT EXECUTED
ffc10c40:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc10c44:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc10c48:	48 00 94 55 	bl      ffc1a09c <msdos_get_token>             <== NOT EXECUTED
ffc10c4c:	2f 83 00 03 	cmpwi   cr7,r3,3                               <== NOT EXECUTED
ffc10c50:	41 be 00 10 	beq+    cr7,ffc10c60 <msdos_rename+0x58>       <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one(ENAMETOOLONG);             
ffc10c54:	48 00 c6 55 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc10c58:	38 00 00 5b 	li      r0,91                                  <== NOT EXECUTED
ffc10c5c:	48 00 00 24 	b       ffc10c80 <msdos_rename+0x78>           <== NOT EXECUTED
    }                                                                 
    /*                                                                
     * lock volume                                                    
     */                                                               
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc10c60:	80 7f 00 98 	lwz     r3,152(r31)                            <== NOT EXECUTED
ffc10c64:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc10c68:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc10c6c:	4b ff b0 85 	bl      ffc0bcf0 <rtems_semaphore_obtain>      <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc10c70:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc10c74:	41 be 00 18 	beq+    cr7,ffc10c8c <msdos_rename+0x84>       <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one(EIO);                      
ffc10c78:	48 00 c6 31 	bl      ffc1d2a8 <__errno>                     <== NOT EXECUTED
ffc10c7c:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc10c80:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc10c84:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc10c88:	48 00 00 48 	b       ffc10cd0 <msdos_rename+0xc8>           <== NOT EXECUTED
                                                                      
    /*                                                                
     * create new directory entry as "hard link", copying relevant info from
     * existing file                                                  
     */                                                               
    rc = msdos_creat_node(new_parent_loc,                             
ffc10c8c:	80 c1 00 08 	lwz     r6,8(r1)                               <== NOT EXECUTED
ffc10c90:	38 e0 00 00 	li      r7,0                                   <== NOT EXECUTED
ffc10c94:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc10c98:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc10c9c:	38 80 00 03 	li      r4,3                                   <== NOT EXECUTED
ffc10ca0:	60 e7 80 00 	ori     r7,r7,32768                            <== NOT EXECUTED
ffc10ca4:	7f c8 f3 78 	mr      r8,r30                                 <== NOT EXECUTED
ffc10ca8:	48 00 81 a9 	bl      ffc18e50 <msdos_creat_node>            <== NOT EXECUTED
                          MSDOS_HARD_LINK,new_name,len,S_IFREG,       
                          old_fat_fd);                                
    if (rc != RC_OK)                                                  
ffc10cac:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc10cb0:	40 82 00 18 	bne-    ffc10cc8 <msdos_rename+0xc0>           <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * mark file removed                                              
     */                                                               
    rc = msdos_set_first_char4file_name(old_loc->mt_entry,            
ffc10cb4:	80 7d 00 10 	lwz     r3,16(r29)                             <== NOT EXECUTED
ffc10cb8:	38 9e 00 20 	addi    r4,r30,32                              <== NOT EXECUTED
ffc10cbc:	38 a0 00 e5 	li      r5,229                                 <== NOT EXECUTED
ffc10cc0:	48 00 97 1d 	bl      ffc1a3dc <msdos_set_first_char4file_name><== NOT EXECUTED
ffc10cc4:	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);                       
ffc10cc8:	80 7f 00 98 	lwz     r3,152(r31)                            <== NOT EXECUTED
ffc10ccc:	4b ff b1 51 	bl      ffc0be1c <rtems_semaphore_release>     <== NOT EXECUTED
    return rc;                                                        
}                                                                     
ffc10cd0:	39 61 00 30 	addi    r11,r1,48                              <== NOT EXECUTED
ffc10cd4:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc10cd8:	4b ff 1e 10 	b       ffc02ae8 <_restgpr_27_x>               <== NOT EXECUTED
                                                                      

ffc1a19c <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 ) {
ffc1a19c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc1a1a0:	7c 08 02 a6 	mflr    r0                                     
ffc1a1a4:	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);             
ffc1a1a8:	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                      
    )                                                                 
{                                                                     
ffc1a1ac:	bf 61 00 1c 	stmw    r27,28(r1)                             
ffc1a1b0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1a1b4:	7c 9e 23 78 	mr      r30,r4                                 
    ssize_t          ret1 = 0, ret2 = 0, ret3 = 0;                    
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1a1b8:	83 83 00 34 	lwz     r28,52(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);             
ffc1a1bc:	80 64 00 40 	lwz     r3,64(r4)                              
ffc1a1c0:	38 81 00 08 	addi    r4,r1,8                                
ffc1a1c4:	48 00 24 b5 	bl      ffc1c678 <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);
ffc1a1c8:	80 9e 00 20 	lwz     r4,32(r30)                             
ffc1a1cc:	80 7f 00 34 	lwz     r3,52(r31)                             
ffc1a1d0:	4b ff fc 5d 	bl      ffc19e2c <fat_cluster_num_to_sector_num.isra.0>
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
ffc1a1d4:	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);    
ffc1a1d8:	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,
ffc1a1dc:	38 c0 00 02 	li      r6,2                                   
    /*                                                                
     * 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);  
ffc1a1e0:	8b bc 00 02 	lbz     r29,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,
ffc1a1e4:	38 e1 00 0a 	addi    r7,r1,10                               
     * (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);    
ffc1a1e8:	3b de ff ff 	addi    r30,r30,-1                             
ffc1a1ec:	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);  
ffc1a1f0:	7c 1d ec 30 	srw     r29,r0,r29                             
    /* 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);                                     
ffc1a1f4:	a0 01 00 0a 	lhz     r0,10(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);  
ffc1a1f8:	7f a3 ea 14 	add     r29,r3,r29                             
    /* 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);                                     
ffc1a1fc:	54 09 40 2e 	rlwinm  r9,r0,8,0,23                           
ffc1a200:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc1a204:	7d 20 03 78 	or      r0,r9,r0                               
    ret1 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WTIME_OFFSET,
ffc1a208:	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);                                     
ffc1a20c:	b0 01 00 0a 	sth     r0,10(r1)                              
    ret1 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WTIME_OFFSET,
ffc1a210:	38 be 00 16 	addi    r5,r30,22                              
ffc1a214:	7f e3 fb 78 	mr      r3,r31                                 
ffc1a218:	4b ff aa 69 	bl      ffc14c80 <_fat_block_write>            
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
ffc1a21c:	a0 01 00 08 	lhz     r0,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,
ffc1a220:	7c 7b 1b 78 	mr      r27,r3                                 
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
ffc1a224:	54 09 40 2e 	rlwinm  r9,r0,8,0,23                           
ffc1a228:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc1a22c:	7d 20 03 78 	or      r0,r9,r0                               
    ret2 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WDATE_OFFSET,
ffc1a230:	7f a4 eb 78 	mr      r4,r29                                 
    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);                                             
ffc1a234:	b0 01 00 08 	sth     r0,8(r1)                               
    ret2 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_WDATE_OFFSET,
ffc1a238:	38 be 00 18 	addi    r5,r30,24                              
ffc1a23c:	38 c0 00 02 	li      r6,2                                   
ffc1a240:	38 e1 00 08 	addi    r7,r1,8                                
ffc1a244:	7f e3 fb 78 	mr      r3,r31                                 
ffc1a248:	4b ff aa 39 	bl      ffc14c80 <_fat_block_write>            
                            2, (char *)(&date));                      
    ret3 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_ADATE_OFFSET,
ffc1a24c:	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,
ffc1a250:	7c 7c 1b 78 	mr      r28,r3                                 
                            2, (char *)(&date));                      
    ret3 = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_ADATE_OFFSET,
ffc1a254:	38 be 00 12 	addi    r5,r30,18                              
ffc1a258:	7f e3 fb 78 	mr      r3,r31                                 
ffc1a25c:	38 c0 00 02 	li      r6,2                                   
ffc1a260:	38 e1 00 08 	addi    r7,r1,8                                
ffc1a264:	4b ff aa 1d 	bl      ffc14c80 <_fat_block_write>            
                            2, (char *)(&date));                      
                                                                      
    if ( (ret1 < 0) || (ret2 < 0) || (ret3 < 0) )                     
ffc1a268:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
        return -1;                                                    
ffc1a26c:	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) )                     
ffc1a270:	41 9c 00 10 	blt-    cr7,ffc1a280 <msdos_set_dir_wrt_time_and_date+0xe4><== NEVER TAKEN
ffc1a274:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc1a278:	41 9c 00 08 	blt-    cr7,ffc1a280 <msdos_set_dir_wrt_time_and_date+0xe4><== NEVER TAKEN
        return -1;                                                    
ffc1a27c:	7c 60 fe 70 	srawi   r0,r3,31                               
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1a280:	39 61 00 30 	addi    r11,r1,48                              
ffc1a284:	7c 03 03 78 	mr      r3,r0                                  
ffc1a288:	4b fe 88 60 	b       ffc02ae8 <_restgpr_27_x>               
                                                                      

ffc1a3dc <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 ) {
ffc1a3dc:	94 21 ff c8 	stwu    r1,-56(r1)                             <== NOT EXECUTED
ffc1a3e0:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1a3e4:	90 01 00 3c 	stw     r0,60(r1)                              <== NOT EXECUTED
ffc1a3e8:	bf 61 00 24 	stmw    r27,36(r1)                             <== NOT EXECUTED
ffc1a3ec:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
    ssize_t          ret;                                             
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1a3f0:	83 e3 00 34 	lwz     r31,52(r3)                             <== NOT EXECUTED
    uint32_t         dir_block_size;                                  
    fat_pos_t        start = dir_pos->lname;                          
    fat_pos_t        end = dir_pos->sname;                            
ffc1a3f4:	83 a4 00 00 	lwz     r29,0(r4)                              <== NOT EXECUTED
                                                                      
    if ((end.cln == fs_info->fat.vol.rdir_cl) &&                      
ffc1a3f8:	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;                          
ffc1a3fc:	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) &&                      
ffc1a400:	7f 9d 00 00 	cmpw    cr7,r29,r0                             <== 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;                          
ffc1a404:	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                       
    )                                                                 
{                                                                     
ffc1a408:	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;                          
ffc1a40c:	91 41 00 08 	stw     r10,8(r1)                              <== NOT EXECUTED
ffc1a410:	91 61 00 0c 	stw     r11,12(r1)                             <== NOT EXECUTED
    fat_pos_t        end = dir_pos->sname;                            
ffc1a414:	83 64 00 04 	lwz     r27,4(r4)                              <== NOT EXECUTED
                                                                      
    if ((end.cln == fs_info->fat.vol.rdir_cl) &&                      
ffc1a418:	40 be 00 18 	bne+    cr7,ffc1a430 <msdos_set_first_char4file_name+0x54><== NOT EXECUTED
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
ffc1a41c:	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) &&                      
ffc1a420:	70 09 00 03 	andi.   r9,r0,3                                <== NOT EXECUTED
ffc1a424:	41 82 00 0c 	beq-    ffc1a430 <msdos_set_first_char4file_name+0x54><== NOT EXECUTED
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
      dir_block_size = fs_info->fat.vol.rdir_size;                    
ffc1a428:	83 9f 00 28 	lwz     r28,40(r31)                            <== NOT EXECUTED
ffc1a42c:	48 00 00 08 	b       ffc1a434 <msdos_set_first_char4file_name+0x58><== NOT EXECUTED
    else                                                              
      dir_block_size = fs_info->fat.vol.bpc;                          
ffc1a430:	a3 9f 00 06 	lhz     r28,6(r31)                             <== NOT EXECUTED
                                                                      
    if (dir_pos->lname.cln == FAT_FILE_SHORT_NAME)                    
ffc1a434:	80 04 00 08 	lwz     r0,8(r4)                               <== NOT EXECUTED
ffc1a438:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              <== NOT EXECUTED
ffc1a43c:	40 be 00 14 	bne+    cr7,ffc1a450 <msdos_set_first_char4file_name+0x74><== NOT EXECUTED
      start = dir_pos->sname;                                         
ffc1a440:	81 44 00 00 	lwz     r10,0(r4)                              <== NOT EXECUTED
ffc1a444:	81 64 00 04 	lwz     r11,4(r4)                              <== NOT EXECUTED
ffc1a448:	91 41 00 08 	stw     r10,8(r1)                              <== NOT EXECUTED
ffc1a44c:	91 61 00 0c 	stw     r11,12(r1)                             <== NOT EXECUTED
     * name code was written rather than use the fat_file_write       
     * interface.                                                     
     */                                                               
    while (true)                                                      
    {                                                                 
      uint32_t sec = (fat_cluster_num_to_sector_num(mt_entry, start.cln) +
ffc1a450:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc1a454:	80 7e 00 34 	lwz     r3,52(r30)                             <== NOT EXECUTED
ffc1a458:	4b ff f9 d5 	bl      ffc19e2c <fat_cluster_num_to_sector_num.isra.0><== NOT EXECUTED
                      (start.ofs >> fs_info->fat.vol.sec_log2));      
ffc1a45c:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc1a460:	88 9f 00 02 	lbz     r4,2(r31)                              <== NOT EXECUTED
      uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1));;      
                                                                      
      ret = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_NAME_OFFSET, 1,
ffc1a464:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
     */                                                               
    while (true)                                                      
    {                                                                 
      uint32_t sec = (fat_cluster_num_to_sector_num(mt_entry, start.cln) +
                      (start.ofs >> fs_info->fat.vol.sec_log2));      
      uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1));;      
ffc1a468:	a0 bf 00 00 	lhz     r5,0(r31)                              <== NOT EXECUTED
                                                                      
      ret = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_NAME_OFFSET, 1,
ffc1a46c:	38 e1 00 18 	addi    r7,r1,24                               <== 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));      
ffc1a470:	7c 04 24 30 	srw     r4,r0,r4                               <== NOT EXECUTED
      uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1));;      
ffc1a474:	38 a5 ff ff 	addi    r5,r5,-1                               <== NOT EXECUTED
     * name code was written rather than use the fat_file_write       
     * interface.                                                     
     */                                                               
    while (true)                                                      
    {                                                                 
      uint32_t sec = (fat_cluster_num_to_sector_num(mt_entry, start.cln) +
ffc1a478:	7c 83 22 14 	add     r4,r3,r4                               <== NOT EXECUTED
                      (start.ofs >> fs_info->fat.vol.sec_log2));      
      uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1));;      
                                                                      
      ret = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_NAME_OFFSET, 1,
ffc1a47c:	7c a5 00 38 	and     r5,r5,r0                               <== NOT EXECUTED
ffc1a480:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1a484:	4b ff a7 fd 	bl      ffc14c80 <_fat_block_write>            <== NOT EXECUTED
                             &fchar);                                 
      if (ret < 0)                                                    
ffc1a488:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1a48c:	41 9c 00 60 	blt-    cr7,ffc1a4ec <msdos_set_first_char4file_name+0x110><== NOT EXECUTED
        return -1;                                                    
                                                                      
      if ((start.cln == end.cln) && (start.ofs == end.ofs))           
ffc1a490:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc1a494:	81 21 00 0c 	lwz     r9,12(r1)                              <== NOT EXECUTED
ffc1a498:	7f 84 e8 00 	cmpw    cr7,r4,r29                             <== NOT EXECUTED
ffc1a49c:	40 be 00 0c 	bne+    cr7,ffc1a4a8 <msdos_set_first_char4file_name+0xcc><== NOT EXECUTED
ffc1a4a0:	7f 89 d8 00 	cmpw    cr7,r9,r27                             <== NOT EXECUTED
ffc1a4a4:	41 9e 00 50 	beq-    cr7,ffc1a4f4 <msdos_set_first_char4file_name+0x118><== NOT EXECUTED
        break;                                                        
                                                                      
      start.ofs += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;                 
ffc1a4a8:	38 09 00 20 	addi    r0,r9,32                               <== NOT EXECUTED
      if (start.ofs >= dir_block_size)                                
ffc1a4ac:	7f 80 e0 40 	cmplw   cr7,r0,r28                             <== NOT EXECUTED
        return -1;                                                    
                                                                      
      if ((start.cln == end.cln) && (start.ofs == end.ofs))           
        break;                                                        
                                                                      
      start.ofs += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;                 
ffc1a4b0:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
      if (start.ofs >= dir_block_size)                                
ffc1a4b4:	41 9c ff 9c 	blt+    cr7,ffc1a450 <msdos_set_first_char4file_name+0x74><== NOT EXECUTED
      {                                                               
        int rc;                                                       
        if ((end.cln == fs_info->fat.vol.rdir_cl) &&                  
ffc1a4b8:	80 1f 00 38 	lwz     r0,56(r31)                             <== NOT EXECUTED
ffc1a4bc:	7f 9d 00 00 	cmpw    cr7,r29,r0                             <== NOT EXECUTED
ffc1a4c0:	40 9e 00 10 	bne-    cr7,ffc1a4d0 <msdos_set_first_char4file_name+0xf4><== NOT EXECUTED
            (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))        
ffc1a4c4:	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) &&                  
ffc1a4c8:	70 09 00 03 	andi.   r9,r0,3                                <== NOT EXECUTED
ffc1a4cc:	40 82 00 28 	bne-    ffc1a4f4 <msdos_set_first_char4file_name+0x118><== NOT EXECUTED
            (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))        
          break;                                                      
        rc = fat_get_fat_cluster(mt_entry, start.cln, &start.cln);    
ffc1a4d0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1a4d4:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc1a4d8:	48 00 14 71 	bl      ffc1b948 <fat_get_fat_cluster>         <== NOT EXECUTED
        if ( rc != RC_OK )                                            
ffc1a4dc:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1a4e0:	40 82 00 18 	bne-    ffc1a4f8 <msdos_set_first_char4file_name+0x11c><== NOT EXECUTED
          return rc;                                                  
        start.ofs = 0;                                                
ffc1a4e4:	90 61 00 0c 	stw     r3,12(r1)                              <== NOT EXECUTED
ffc1a4e8:	4b ff ff 68 	b       ffc1a450 <msdos_set_first_char4file_name+0x74><== NOT EXECUTED
      uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1));;      
                                                                      
      ret = _fat_block_write(mt_entry, sec, byte + MSDOS_FILE_NAME_OFFSET, 1,
                             &fchar);                                 
      if (ret < 0)                                                    
        return -1;                                                    
ffc1a4ec:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1a4f0:	48 00 00 08 	b       ffc1a4f8 <msdos_set_first_char4file_name+0x11c><== NOT EXECUTED
          return rc;                                                  
        start.ofs = 0;                                                
      }                                                               
    }                                                                 
                                                                      
    return  RC_OK;                                                    
ffc1a4f4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc1a4f8:	39 61 00 38 	addi    r11,r1,56                              <== NOT EXECUTED
ffc1a4fc:	4b fe 85 ec 	b       ffc02ae8 <_restgpr_27_x>               <== NOT EXECUTED
                                                                      

ffc1a28c <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 ) {
ffc1a28c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc1a290:	7c 08 02 a6 	mflr    r0                                     
ffc1a294:	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;                                   
ffc1a298:	38 00 00 00 	li      r0,0                                   
int                                                                   
msdos_set_first_cluster_num(                                          
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
ffc1a29c:	bf 61 00 1c 	stmw    r27,28(r1)                             
ffc1a2a0:	7c 9e 23 78 	mr      r30,r4                                 
ffc1a2a4:	7c 7f 1b 78 	mr      r31,r3                                 
    ssize_t          ret1 = 0, ret2 = 0;                              
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1a2a8:	83 63 00 34 	lwz     r27,52(r3)                             
    uint32_t         new_cln = fat_fd->cln;                           
ffc1a2ac:	83 84 00 1c 	lwz     r28,28(r4)                             
                                                                      
    /*                                                                
     * 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);
ffc1a2b0:	80 84 00 20 	lwz     r4,32(r4)                              
ffc1a2b4:	7f 63 db 78 	mr      r3,r27                                 
    )                                                                 
{                                                                     
    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;                                   
ffc1a2b8:	b0 01 00 0a 	sth     r0,10(r1)                              
    uint16_t         le_cl_hi = 0;                                    
ffc1a2bc:	b0 01 00 08 	sth     r0,8(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);
ffc1a2c0:	4b ff fb 6d 	bl      ffc19e2c <fat_cluster_num_to_sector_num.isra.0>
    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));          
ffc1a2c4:	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);  
ffc1a2c8:	80 1e 00 24 	lwz     r0,36(r30)                             
    /* 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,                            
ffc1a2cc:	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 from points to start of 32bytes structure */              
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
ffc1a2d0:	a3 db 00 00 	lhz     r30,0(r27)                             
    /*                                                                
     * 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);  
ffc1a2d4:	8b bb 00 02 	lbz     r29,2(r27)                             
    /* byte from points to start of 32bytes structure */              
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
ffc1a2d8:	3b de ff ff 	addi    r30,r30,-1                             
ffc1a2dc:	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);  
ffc1a2e0:	7c 1d ec 30 	srw     r29,r0,r29                             
    /* 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));          
ffc1a2e4:	57 80 04 3e 	clrlwi  r0,r28,16                              
ffc1a2e8:	54 09 40 2e 	rlwinm  r9,r0,8,0,23                           
ffc1a2ec:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc1a2f0:	7d 20 03 78 	or      r0,r9,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);  
ffc1a2f4:	7f a3 ea 14 	add     r29,r3,r29                             
    /* 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));          
ffc1a2f8:	b4 07 00 0a 	sthu    r0,10(r7)                              
    ret1 = _fat_block_write(mt_entry, sec,                            
ffc1a2fc:	7f a4 eb 78 	mr      r4,r29                                 
ffc1a300:	38 be 00 1a 	addi    r5,r30,26                              
                            byte + MSDOS_FIRST_CLUSTER_LOW_OFFSET, 2, 
                            (char *)(&le_cl_low));                    
    le_cl_hi = CT_LE_W((uint16_t  )((new_cln & 0xFFFF0000) >> 16));   
ffc1a304:	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,                            
ffc1a308:	7f e3 fb 78 	mr      r3,r31                                 
ffc1a30c:	4b ff a9 75 	bl      ffc14c80 <_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));   
ffc1a310:	57 80 40 2e 	rlwinm  r0,r28,8,0,23                          
ffc1a314:	57 9c c2 3e 	rlwinm  r28,r28,24,8,31                        
ffc1a318:	7c 1c e3 78 	or      r28,r0,r28                             
ffc1a31c:	7c 27 0b 78 	mr      r7,r1                                  
ffc1a320:	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,                            
ffc1a324:	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,                            
ffc1a328:	7f a4 eb 78 	mr      r4,r29                                 
ffc1a32c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1a330:	38 be 00 14 	addi    r5,r30,20                              
ffc1a334:	38 c0 00 02 	li      r6,2                                   
ffc1a338:	4b ff a9 49 	bl      ffc14c80 <_fat_block_write>            
                            byte + MSDOS_FIRST_CLUSTER_HI_OFFSET, 2,  
                            (char *)(&le_cl_hi));                     
    if ( (ret1 < 0) || (ret2 < 0) )                                   
ffc1a33c:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
        return -1;                                                    
ffc1a340:	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) )                                   
ffc1a344:	41 9c 00 08 	blt-    cr7,ffc1a34c <msdos_set_first_cluster_num+0xc0><== NEVER TAKEN
        return -1;                                                    
ffc1a348:	7c 60 fe 70 	srawi   r0,r3,31                               
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1a34c:	39 61 00 30 	addi    r11,r1,48                              
ffc1a350:	7c 03 03 78 	mr      r3,r0                                  
ffc1a354:	4b fe 87 94 	b       ffc02ae8 <_restgpr_27_x>               
                                                                      

ffc19dc4 <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) {
ffc19dc4:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc19dc8:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc19dcc:	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)               
ffc19dd0:	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)  
{                                                                     
ffc19dd4:	bf a1 00 0c 	stmw    r29,12(r1)                             <== NOT EXECUTED
ffc19dd8:	7c 7f 1b 78 	mr      r31,r3                                 <== 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;                                                      
ffc19ddc:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
 */                                                                   
int                                                                   
msdos_shut_down(rtems_filesystem_mount_table_entry_t *temp_mt_entry)  
{                                                                     
    int              rc = RC_OK;                                      
    msdos_fs_info_t *fs_info = temp_mt_entry->fs_info;                
ffc19de0:	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)               
ffc19de4:	4b ff a3 01 	bl      ffc140e4 <fat_file_close>              <== NOT EXECUTED
ffc19de8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc19dec:	40 9e 00 08 	bne-    cr7,ffc19df4 <msdos_shut_down+0x30>    <== NOT EXECUTED
 *                                                                    
 */                                                                   
int                                                                   
msdos_shut_down(rtems_filesystem_mount_table_entry_t *temp_mt_entry)  
{                                                                     
    int              rc = RC_OK;                                      
ffc19df0:	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)                   
ffc19df4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc19df8:	4b ff b2 5d 	bl      ffc15054 <fat_shutdown_drive>          <== NOT EXECUTED
ffc19dfc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc19e00:	41 be 00 08 	beq+    cr7,ffc19e08 <msdos_shut_down+0x44>    <== NOT EXECUTED
    {                                                                 
        /* no return - try to free as much as possible */             
        rc = -1;                                                      
ffc19e04:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
    }                                                                 
                                                                      
    rtems_semaphore_delete(fs_info->vol_sema);                        
ffc19e08:	80 7e 00 98 	lwz     r3,152(r30)                            <== NOT EXECUTED
ffc19e0c:	4b ff 1e 2d 	bl      ffc0bc38 <rtems_semaphore_delete>      <== NOT EXECUTED
    free(fs_info->cl_buf);                                            
ffc19e10:	80 7e 00 9c 	lwz     r3,156(r30)                            <== NOT EXECUTED
ffc19e14:	4b fe da d5 	bl      ffc078e8 <free>                        <== NOT EXECUTED
    free(temp_mt_entry->fs_info);                                     
ffc19e18:	80 7f 00 34 	lwz     r3,52(r31)                             <== NOT EXECUTED
ffc19e1c:	4b fe da cd 	bl      ffc078e8 <free>                        <== NOT EXECUTED
                                                                      
    return rc;                                                        
}                                                                     
ffc19e20:	39 61 00 18 	addi    r11,r1,24                              <== NOT EXECUTED
ffc19e24:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc19e28:	4b fe 8c c8 	b       ffc02af0 <_restgpr_29_x>               <== NOT EXECUTED
                                                                      

ffc0553c <newlib_delete_hook>: /* * The reentrancy structure was allocated by newlib using malloc() */ if (current_task == deleted_task) {
ffc0553c:	7f 83 20 00 	cmpw    cr7,r3,r4                              
                                                                      
void newlib_delete_hook(                                              
  rtems_tcb *current_task,                                            
  rtems_tcb *deleted_task                                             
)                                                                     
{                                                                     
ffc05540:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc05544:	7c 08 02 a6 	mflr    r0                                     
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
    ptr = _REENT;                                                     
ffc05548:	3d 20 00 00 	lis     r9,0                                   
                                                                      
void newlib_delete_hook(                                              
  rtems_tcb *current_task,                                            
  rtems_tcb *deleted_task                                             
)                                                                     
{                                                                     
ffc0554c:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc05550:	7c 7d 1b 78 	mr      r29,r3                                 
ffc05554:	7c 9e 23 78 	mr      r30,r4                                 
ffc05558:	90 01 00 1c 	stw     r0,28(r1)                              
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
    ptr = _REENT;                                                     
ffc0555c:	83 e9 27 4c 	lwz     r31,10060(r9)                          
                                                                      
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
ffc05560:	41 9e 00 08 	beq-    cr7,ffc05568 <newlib_delete_hook+0x2c> 
    ptr = _REENT;                                                     
  } else {                                                            
    ptr = deleted_task->libc_reent;                                   
ffc05564:	83 e4 01 28 	lwz     r31,296(r4)                            
  }                                                                   
                                                                      
  if (ptr && ptr != _global_impure_ptr) {                             
ffc05568:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0556c:	41 9e 00 2c 	beq-    cr7,ffc05598 <newlib_delete_hook+0x5c> <== NEVER TAKEN
ffc05570:	3d 20 00 00 	lis     r9,0                                   
ffc05574:	80 09 27 48 	lwz     r0,10056(r9)                           
ffc05578:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
ffc0557c:	41 9e 00 1c 	beq-    cr7,ffc05598 <newlib_delete_hook+0x5c> 
    _reclaim_reent(ptr);                                              
*/                                                                    
    /*                                                                
     *  Just in case there are some buffers lying around.             
     */                                                               
    _fwalk(ptr, newlib_free_buffers);                                 
ffc05580:	3c 80 ff c0 	lis     r4,-64                                 
ffc05584:	7f e3 fb 78 	mr      r3,r31                                 
ffc05588:	38 84 53 24 	addi    r4,r4,21284                            
ffc0558c:	48 00 b2 19 	bl      ffc107a4 <_fwalk>                      
#if REENT_MALLOCED                                                    
    free(ptr);                                                        
#else                                                                 
    _Workspace_Free(ptr);                                             
ffc05590:	7f e3 fb 78 	mr      r3,r31                                 
ffc05594:	48 00 66 cd 	bl      ffc0bc60 <_Workspace_Free>             
                                                                      
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
ffc05598:	7f 9d f0 00 	cmpw    cr7,r29,r30                            
#else                                                                 
    _Workspace_Free(ptr);                                             
#endif                                                                
  }                                                                   
                                                                      
  deleted_task->libc_reent = NULL;                                    
ffc0559c:	38 00 00 00 	li      r0,0                                   
ffc055a0:	90 1e 01 28 	stw     r0,296(r30)                            
                                                                      
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
ffc055a4:	40 be 00 0c 	bne+    cr7,ffc055b0 <newlib_delete_hook+0x74> 
    _REENT = 0;                                                       
ffc055a8:	3d 20 00 00 	lis     r9,0                                   
ffc055ac:	90 09 27 4c 	stw     r0,10060(r9)                           
  }                                                                   
}                                                                     
ffc055b0:	39 61 00 18 	addi    r11,r1,24                              
ffc055b4:	4b ff af 88 	b       ffc0053c <_restgpr_29_x>               
                                                                      

ffc05324 <newlib_free_buffers>: */ int newlib_free_buffers( FILE *fp ) {
ffc05324:	7c 2b 0b 78 	mr      r11,r1                                 
ffc05328:	7c 08 02 a6 	mflr    r0                                     
ffc0532c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc05330:	48 01 50 ed 	bl      ffc1a41c <_savegpr_31>                 
ffc05334:	90 01 00 14 	stw     r0,20(r1)                              
ffc05338:	7c 7f 1b 78 	mr      r31,r3                                 
  switch ( fileno(fp) ) {                                             
ffc0533c:	48 00 ae 6d 	bl      ffc101a8 <fileno>                      
ffc05340:	2b 83 00 02 	cmplwi  cr7,r3,2                               
ffc05344:	41 9d 00 34 	bgt-    cr7,ffc05378 <newlib_free_buffers+0x54><== NEVER TAKEN
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
ffc05348:	a0 1f 00 0c 	lhz     r0,12(r31)                             
ffc0534c:	70 09 00 80 	andi.   r9,r0,128                              
ffc05350:	41 a2 00 30 	beq+    ffc05380 <newlib_free_buffers+0x5c>    <== ALWAYS TAKEN
        free( fp->_bf._base );                                        
ffc05354:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc05358:	4b ff f6 05 	bl      ffc0495c <free>                        <== NOT EXECUTED
        fp->_flags &= ~__SMBF;                                        
ffc0535c:	a0 1f 00 0c 	lhz     r0,12(r31)                             <== NOT EXECUTED
ffc05360:	54 00 06 6e 	rlwinm  r0,r0,0,25,23                          <== NOT EXECUTED
ffc05364:	b0 1f 00 0c 	sth     r0,12(r31)                             <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
ffc05368:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc0536c:	90 1f 00 00 	stw     r0,0(r31)                              <== NOT EXECUTED
ffc05370:	90 1f 00 10 	stw     r0,16(r31)                             <== NOT EXECUTED
ffc05374:	48 00 00 0c 	b       ffc05380 <newlib_free_buffers+0x5c>    <== NOT EXECUTED
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
ffc05378:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0537c:	48 00 aa 95 	bl      ffc0fe10 <fclose>                      <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
ffc05380:	39 61 00 10 	addi    r11,r1,16                              
ffc05384:	38 60 00 00 	li      r3,0                                   
ffc05388:	4b ff b1 bc 	b       ffc00544 <_restgpr_31_x>               
                                                                      

ffc00b24 <notify>: void notify (s) char *s; {
ffc00b24:	94 21 ff f8 	stwu    r1,-8(r1)                              <== NOT EXECUTED
ffc00b28:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc00b2c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
    printf ("%s test appears to be inconsistent...\n", s);            
ffc00b30:	3c 60 ff c2 	lis     r3,-62                                 <== NOT EXECUTED
}                                                                     
                                                                      
void                                                                  
notify (s)                                                            
     char   *s;                                                       
{                                                                     
ffc00b34:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
    printf ("%s test appears to be inconsistent...\n", s);            
ffc00b38:	38 63 20 66 	addi    r3,r3,8294                             <== NOT EXECUTED
ffc00b3c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc00b40:	48 01 68 75 	bl      ffc173b4 <printf>                      <== NOT EXECUTED
    printf ("   PLEASE NOTIFY KARPINKSI!\n");                         
ffc00b44:	3c 60 ff c2 	lis     r3,-62                                 <== NOT EXECUTED
ffc00b48:	38 63 20 8d 	addi    r3,r3,8333                             <== NOT EXECUTED
ffc00b4c:	48 01 6a 1d 	bl      ffc17568 <puts>                        <== NOT EXECUTED
}                                                                     
ffc00b50:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc00b54:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc00b58:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc00b5c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc05648 <open>: int open( const char *pathname, int flags, ... ) {
ffc05648:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc0564c:	7c 08 02 a6 	mflr    r0                                     
ffc05650:	90 01 00 4c 	stw     r0,76(r1)                              
                                                                      
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
ffc05654:	38 04 00 01 	addi    r0,r4,1                                
  if ( ( status & _FREAD ) == _FREAD )                                
ffc05658:	70 09 00 01 	andi.   r9,r0,1                                
int open(                                                             
  const char   *pathname,                                             
  int           flags,                                                
  ...                                                                 
)                                                                     
{                                                                     
ffc0565c:	bf 41 00 30 	stmw    r26,48(r1)                             
ffc05660:	7c 7d 1b 78 	mr      r29,r3                                 
ffc05664:	7c 9e 23 78 	mr      r30,r4                                 
ffc05668:	90 a1 00 28 	stw     r5,40(r1)                              
  int                                 eval_flags;                     
                                                                      
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
  eval_flags = 0;                                                     
ffc0566c:	3b 80 00 00 	li      r28,0                                  
  status = flags + 1;                                                 
  if ( ( status & _FREAD ) == _FREAD )                                
ffc05670:	41 82 00 08 	beq-    ffc05678 <open+0x30>                   
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
ffc05674:	3b 80 00 04 	li      r28,4                                  
  if ( ( status & _FWRITE ) == _FWRITE )                              
ffc05678:	70 09 00 02 	andi.   r9,r0,2                                
ffc0567c:	41 82 00 08 	beq-    ffc05684 <open+0x3c>                   
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
ffc05680:	63 9c 00 02 	ori     r28,r28,2                              
                                                                      
  va_start(ap, flags);                                                
ffc05684:	38 01 00 50 	addi    r0,r1,80                               
                                                                      
  mode = va_arg( ap, int );                                           
ffc05688:	83 61 00 28 	lwz     r27,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);                                                
ffc0568c:	90 01 00 0c 	stw     r0,12(r1)                              
ffc05690:	39 21 00 20 	addi    r9,r1,32                               
                                                                      
  mode = va_arg( ap, int );                                           
ffc05694:	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);                                                
ffc05698:	91 21 00 10 	stw     r9,16(r1)                              
                                                                      
  mode = va_arg( ap, int );                                           
ffc0569c:	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();                                       
ffc056a0:	48 00 79 a9 	bl      ffc0d048 <rtems_libio_allocate>        
  if ( iop == 0 ) {                                                   
ffc056a4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc056a8:	41 82 01 70 	beq-    ffc05818 <open+0x1d0>                  
  }                                                                   
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
  status = rtems_filesystem_evaluate_path(                            
ffc056ac:	7f a3 eb 78 	mr      r3,r29                                 
ffc056b0:	48 00 bf 01 	bl      ffc115b0 <strlen>                      
ffc056b4:	7f 85 e3 78 	mr      r5,r28                                 
ffc056b8:	7c 64 1b 78 	mr      r4,r3                                  
ffc056bc:	38 c1 00 14 	addi    r6,r1,20                               
ffc056c0:	7f a3 eb 78 	mr      r3,r29                                 
ffc056c4:	38 e0 00 01 	li      r7,1                                   
ffc056c8:	4b ff f1 75 	bl      ffc0483c <rtems_filesystem_evaluate_path>
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
ffc056cc:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc056d0:	40 be 00 80 	bne+    cr7,ffc05750 <open+0x108>              
    if ( errno != ENOENT ) {                                          
ffc056d4:	48 00 a5 b1 	bl      ffc0fc84 <__errno>                     
ffc056d8:	80 03 00 00 	lwz     r0,0(r3)                               
ffc056dc:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc056e0:	41 9e 00 14 	beq-    cr7,ffc056f4 <open+0xac>               
      rc = errno;                                                     
ffc056e4:	48 00 a5 a1 	bl      ffc0fc84 <__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;             
ffc056e8:	3b 80 00 00 	li      r28,0                                  
  status = rtems_filesystem_evaluate_path(                            
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
    if ( errno != ENOENT ) {                                          
      rc = errno;                                                     
ffc056ec:	83 43 00 00 	lwz     r26,0(r3)                              
      goto done;                                                      
ffc056f0:	48 00 01 3c 	b       ffc0582c <open+0x1e4>                  
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
ffc056f4:	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;             
ffc056f8:	3b 80 00 00 	li      r28,0                                  
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
      rc = ENOENT;                                                    
ffc056fc:	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) ) {                                       
ffc05700:	41 a2 01 34 	beq+    ffc05834 <open+0x1ec>                  
      rc = ENOENT;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
ffc05704:	7f a3 eb 78 	mr      r3,r29                                 
ffc05708:	63 64 80 00 	ori     r4,r27,32768                           
ffc0570c:	38 a0 00 00 	li      r5,0                                   
ffc05710:	38 c0 00 00 	li      r6,0                                   
ffc05714:	4b ff f7 19 	bl      ffc04e2c <mknod>                       
    if ( rc ) {                                                       
ffc05718:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0571c:	40 9e 00 8c 	bne-    cr7,ffc057a8 <open+0x160>              <== NEVER TAKEN
    /*                                                                
     * 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(                          
ffc05720:	7f a3 eb 78 	mr      r3,r29                                 
ffc05724:	48 00 be 8d 	bl      ffc115b0 <strlen>                      
ffc05728:	38 a0 00 00 	li      r5,0                                   
ffc0572c:	7c 64 1b 78 	mr      r4,r3                                  
ffc05730:	38 c1 00 14 	addi    r6,r1,20                               
ffc05734:	7f a3 eb 78 	mr      r3,r29                                 
ffc05738:	38 e0 00 01 	li      r7,1                                   
ffc0573c:	4b ff f1 01 	bl      ffc0483c <rtems_filesystem_evaluate_path>
      pathname, strlen( pathname ), 0x0, &loc, true );                
    if ( status != 0 ) {   /* The file did not exist */               
      rc = EACCES;                                                    
ffc05740:	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 */               
ffc05744:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05748:	40 9e 00 ec 	bne-    cr7,ffc05834 <open+0x1ec>              
ffc0574c:	48 00 00 10 	b       ffc0575c <open+0x114>                  
      rc = EACCES;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
ffc05750:	73 c0 0a 00 	andi.   r0,r30,2560                            
ffc05754:	2f 80 0a 00 	cmpwi   cr7,r0,2560                            
ffc05758:	41 9e 00 c8 	beq-    cr7,ffc05820 <open+0x1d8>              
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
ffc0575c:	83 9f 00 18 	lwz     r28,24(r31)                            
ffc05760:	7f c3 f3 78 	mr      r3,r30                                 
ffc05764:	48 00 78 55 	bl      ffc0cfb8 <rtems_libio_fcntl_flags>     
  iop->pathinfo   = loc;                                              
ffc05768:	39 7f 00 1c 	addi    r11,r31,28                             
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
ffc0576c:	7c 63 e3 78 	or      r3,r3,r28                              
  iop->pathinfo   = loc;                                              
ffc05770:	3b 81 00 14 	addi    r28,r1,20                              
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
ffc05774:	90 7f 00 18 	stw     r3,24(r31)                             
  iop->pathinfo   = loc;                                              
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
ffc05778:	7f a4 eb 78 	mr      r4,r29                                 
  /*                                                                  
   *  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;                                              
ffc0577c:	7c bc a4 aa 	lswi    r5,r28,20                              
ffc05780:	7c ab a5 aa 	stswi   r5,r11,20                              
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
ffc05784:	7f e3 fb 78 	mr      r3,r31                                 
ffc05788:	7f c5 f3 78 	mr      r5,r30                                 
ffc0578c:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc05790:	7f 66 db 78 	mr      r6,r27                                 
ffc05794:	80 09 00 00 	lwz     r0,0(r9)                               
ffc05798:	7c 09 03 a6 	mtctr   r0                                     
ffc0579c:	4e 80 04 21 	bctrl                                          
  if ( rc ) {                                                         
ffc057a0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc057a4:	41 be 00 10 	beq+    cr7,ffc057b4 <open+0x16c>              
    rc = errno;                                                       
ffc057a8:	48 00 a4 dd 	bl      ffc0fc84 <__errno>                     
ffc057ac:	83 43 00 00 	lwz     r26,0(r3)                              
    goto done;                                                        
ffc057b0:	48 00 00 7c 	b       ffc0582c <open+0x1e4>                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
ffc057b4:	73 c0 04 00 	andi.   r0,r30,1024                            
ffc057b8:	41 a2 00 ac 	beq+    ffc05864 <open+0x21c>                  
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
ffc057bc:	3d 20 00 00 	lis     r9,0                                   
ffc057c0:	80 69 27 ac 	lwz     r3,10156(r9)                           
ffc057c4:	38 a0 00 00 	li      r5,0                                   
ffc057c8:	38 c0 00 00 	li      r6,0                                   
ffc057cc:	7c 63 f8 50 	subf    r3,r3,r31                              
ffc057d0:	7c 63 36 70 	srawi   r3,r3,6                                
ffc057d4:	48 00 76 c9 	bl      ffc0ce9c <ftruncate>                   
    if ( rc ) {                                                       
ffc057d8:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc057dc:	41 a2 00 88 	beq+    ffc05864 <open+0x21c>                  
      if(errno) rc = errno;                                           
ffc057e0:	48 00 a4 a5 	bl      ffc0fc84 <__errno>                     
ffc057e4:	80 03 00 00 	lwz     r0,0(r3)                               
ffc057e8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc057ec:	41 be 00 0c 	beq+    cr7,ffc057f8 <open+0x1b0>              <== NEVER TAKEN
ffc057f0:	48 00 a4 95 	bl      ffc0fc84 <__errno>                     
ffc057f4:	83 43 00 00 	lwz     r26,0(r3)                              
      close( iop - rtems_libio_iops );                                
ffc057f8:	3d 20 00 00 	lis     r9,0                                   
ffc057fc:	80 09 27 ac 	lwz     r0,10156(r9)                           
      /* those are released by close(): */                            
      iop = 0;                                                        
      loc_to_free = NULL;                                             
ffc05800:	3b 80 00 00 	li      r28,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 );                                
ffc05804:	7f e0 f8 50 	subf    r31,r0,r31                             
ffc05808:	7f e3 36 70 	srawi   r3,r31,6                               
ffc0580c:	48 00 76 05 	bl      ffc0ce10 <close>                       
      /* those are released by close(): */                            
      iop = 0;                                                        
ffc05810:	3b e0 00 00 	li      r31,0                                  
ffc05814:	48 00 00 18 	b       ffc0582c <open+0x1e4>                  
   */                                                                 
                                                                      
  /* allocate a file control block */                                 
  iop = rtems_libio_allocate();                                       
  if ( iop == 0 ) {                                                   
    rc = ENFILE;                                                      
ffc05818:	3b 40 00 17 	li      r26,23                                 
ffc0581c:	48 00 00 38 	b       ffc05854 <open+0x20c>                  
    }                                                                 
                                                                      
  } 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;                                               
ffc05820:	3b 81 00 14 	addi    r28,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;                                                      
ffc05824:	3b 40 00 11 	li      r26,17                                 
ffc05828:	48 00 00 0c 	b       ffc05834 <open+0x1ec>                  
   *  Single exit and clean up path.                                  
   */                                                                 
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
ffc0582c:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc05830:	41 be 00 34 	beq+    cr7,ffc05864 <open+0x21c>              <== NEVER TAKEN
    if ( iop )                                                        
ffc05834:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc05838:	41 9e 00 0c 	beq-    cr7,ffc05844 <open+0x1fc>              
      rtems_libio_free( iop );                                        
ffc0583c:	7f e3 fb 78 	mr      r3,r31                                 
ffc05840:	48 00 78 a1 	bl      ffc0d0e0 <rtems_libio_free>            
    if ( loc_to_free )                                                
ffc05844:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc05848:	41 9e 00 0c 	beq-    cr7,ffc05854 <open+0x20c>              
      rtems_filesystem_freenode( loc_to_free );                       
ffc0584c:	7f 83 e3 78 	mr      r3,r28                                 
ffc05850:	4b ff f0 e1 	bl      ffc04930 <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( rc );                       
ffc05854:	48 00 a4 31 	bl      ffc0fc84 <__errno>                     
ffc05858:	93 43 00 00 	stw     r26,0(r3)                              
ffc0585c:	38 60 ff ff 	li      r3,-1                                  
ffc05860:	48 00 00 14 	b       ffc05874 <open+0x22c>                  
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
ffc05864:	3d 20 00 00 	lis     r9,0                                   
ffc05868:	80 69 27 ac 	lwz     r3,10156(r9)                           
ffc0586c:	7f e3 f8 50 	subf    r31,r3,r31                             
ffc05870:	7f e3 36 70 	srawi   r3,r31,6                               
}                                                                     
ffc05874:	39 61 00 48 	addi    r11,r1,72                              
ffc05878:	4b ff ac b8 	b       ffc00530 <_restgpr_26_x>               
                                                                      

ffc0656c <oproc>: /* * Handle output processing */ static void oproc (unsigned char c, struct rtems_termios_tty *tty) {
ffc0656c:	7c 08 02 a6 	mflr    r0                                     
ffc06570:	7c 2b 0b 78 	mr      r11,r1                                 
ffc06574:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc06578:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0657c:	48 01 3e a1 	bl      ffc1a41c <_savegpr_31>                 
ffc06580:	7c 9f 23 78 	mr      r31,r4                                 
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
ffc06584:	80 04 00 34 	lwz     r0,52(r4)                              
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
ffc06588:	98 61 00 08 	stb     r3,8(r1)                               
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
ffc0658c:	70 09 00 01 	andi.   r9,r0,1                                
ffc06590:	41 82 01 30 	beq-    ffc066c0 <oproc+0x154>                 <== NEVER TAKEN
    switch (c) {                                                      
ffc06594:	2f 83 00 09 	cmpwi   cr7,r3,9                               
ffc06598:	41 9e 00 90 	beq-    cr7,ffc06628 <oproc+0xbc>              
ffc0659c:	2b 83 00 09 	cmplwi  cr7,r3,9                               
ffc065a0:	41 9d 00 10 	bgt-    cr7,ffc065b0 <oproc+0x44>              <== ALWAYS TAKEN
ffc065a4:	2f 83 00 08 	cmpwi   cr7,r3,8                               <== NOT EXECUTED
ffc065a8:	40 be 00 c4 	bne+    cr7,ffc0666c <oproc+0x100>             <== NOT EXECUTED
ffc065ac:	48 00 00 a8 	b       ffc06654 <oproc+0xe8>                  <== NOT EXECUTED
ffc065b0:	2f 83 00 0a 	cmpwi   cr7,r3,10                              
ffc065b4:	41 9e 00 10 	beq-    cr7,ffc065c4 <oproc+0x58>              
ffc065b8:	2f 83 00 0d 	cmpwi   cr7,r3,13                              
ffc065bc:	40 be 00 b0 	bne+    cr7,ffc0666c <oproc+0x100>             <== ALWAYS TAKEN
ffc065c0:	48 00 00 34 	b       ffc065f4 <oproc+0x88>                  <== NOT EXECUTED
    case '\n':                                                        
      if (tty->termios.c_oflag & ONLRET)                              
ffc065c4:	70 09 00 20 	andi.   r9,r0,32                               
ffc065c8:	41 82 00 0c 	beq-    ffc065d4 <oproc+0x68>                  <== ALWAYS TAKEN
        tty->column = 0;                                              
ffc065cc:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc065d0:	91 24 00 28 	stw     r9,40(r4)                              <== NOT EXECUTED
      if (tty->termios.c_oflag & ONLCR) {                             
ffc065d4:	70 09 00 04 	andi.   r9,r0,4                                
ffc065d8:	41 a2 00 e8 	beq+    ffc066c0 <oproc+0x154>                 <== NEVER TAKEN
        rtems_termios_puts ("\r", 1, tty);                            
ffc065dc:	3c 60 ff c2 	lis     r3,-62                                 
ffc065e0:	38 63 c4 0e 	addi    r3,r3,-15346                           
ffc065e4:	38 80 00 01 	li      r4,1                                   
ffc065e8:	7f e5 fb 78 	mr      r5,r31                                 
ffc065ec:	4b ff fe 61 	bl      ffc0644c <rtems_termios_puts>          
ffc065f0:	48 00 00 30 	b       ffc06620 <oproc+0xb4>                  
        tty->column = 0;                                              
      }                                                               
      break;                                                          
                                                                      
    case '\r':                                                        
      if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))       
ffc065f4:	70 09 00 10 	andi.   r9,r0,16                               <== NOT EXECUTED
ffc065f8:	41 82 00 10 	beq-    ffc06608 <oproc+0x9c>                  <== NOT EXECUTED
ffc065fc:	81 24 00 28 	lwz     r9,40(r4)                              <== NOT EXECUTED
ffc06600:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc06604:	41 9e 00 cc 	beq-    cr7,ffc066d0 <oproc+0x164>             <== NOT EXECUTED
        return;                                                       
      if (tty->termios.c_oflag & OCRNL) {                             
ffc06608:	70 09 00 08 	andi.   r9,r0,8                                <== NOT EXECUTED
ffc0660c:	41 82 00 58 	beq-    ffc06664 <oproc+0xf8>                  <== NOT EXECUTED
        c = '\n';                                                     
ffc06610:	39 20 00 0a 	li      r9,10                                  <== NOT EXECUTED
ffc06614:	99 21 00 08 	stb     r9,8(r1)                               <== NOT EXECUTED
        if (tty->termios.c_oflag & ONLRET)                            
ffc06618:	70 09 00 20 	andi.   r9,r0,32                               <== NOT EXECUTED
ffc0661c:	41 82 00 a4 	beq-    ffc066c0 <oproc+0x154>                 <== NOT EXECUTED
          tty->column = 0;                                            
ffc06620:	38 00 00 00 	li      r0,0                                   
ffc06624:	48 00 00 98 	b       ffc066bc <oproc+0x150>                 
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
ffc06628:	54 00 04 e8 	rlwinm  r0,r0,0,19,20                          
      }                                                               
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
ffc0662c:	81 24 00 28 	lwz     r9,40(r4)                              
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
ffc06630:	2f 80 18 00 	cmpwi   cr7,r0,6144                            
      }                                                               
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
ffc06634:	55 24 07 7e 	clrlwi  r4,r9,29                               
ffc06638:	20 84 00 08 	subfic  r4,r4,8                                
ffc0663c:	7c 09 22 14 	add     r0,r9,r4                               
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
        tty->column += i;                                             
ffc06640:	90 1f 00 28 	stw     r0,40(r31)                             
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
ffc06644:	40 be 00 7c 	bne+    cr7,ffc066c0 <oproc+0x154>             <== NEVER TAKEN
        tty->column += i;                                             
        rtems_termios_puts ( "        ",  i, tty);                    
ffc06648:	3c 60 ff c2 	lis     r3,-62                                 
ffc0664c:	38 63 bc 3e 	addi    r3,r3,-17346                           
ffc06650:	48 00 00 78 	b       ffc066c8 <oproc+0x15c>                 
      }                                                               
      tty->column += i;                                               
      break;                                                          
                                                                      
    case '\b':                                                        
      if (tty->column > 0)                                            
ffc06654:	81 24 00 28 	lwz     r9,40(r4)                              <== NOT EXECUTED
ffc06658:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc0665c:	40 9d 00 64 	ble-    cr7,ffc066c0 <oproc+0x154>             <== NOT EXECUTED
        tty->column--;                                                
ffc06660:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc06664:	91 3f 00 28 	stw     r9,40(r31)                             <== NOT EXECUTED
ffc06668:	48 00 00 58 	b       ffc066c0 <oproc+0x154>                 <== NOT EXECUTED
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
ffc0666c:	70 09 00 02 	andi.   r9,r0,2                                
ffc06670:	41 82 00 28 	beq-    ffc06698 <oproc+0x12c>                 <== ALWAYS TAKEN
        c = toupper(c);                                               
ffc06674:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc06678:	81 29 27 44 	lwz     r9,10052(r9)                           <== NOT EXECUTED
ffc0667c:	7d 29 1a 14 	add     r9,r9,r3                               <== NOT EXECUTED
ffc06680:	88 09 00 01 	lbz     r0,1(r9)                               <== NOT EXECUTED
ffc06684:	54 00 07 be 	clrlwi  r0,r0,30                               <== NOT EXECUTED
ffc06688:	2f 80 00 02 	cmpwi   cr7,r0,2                               <== NOT EXECUTED
ffc0668c:	40 be 00 08 	bne+    cr7,ffc06694 <oproc+0x128>             <== NOT EXECUTED
ffc06690:	38 63 ff e0 	addi    r3,r3,-32                              <== NOT EXECUTED
ffc06694:	98 61 00 08 	stb     r3,8(r1)                               <== NOT EXECUTED
      if (!iscntrl(c))                                                
ffc06698:	3d 20 00 00 	lis     r9,0                                   
ffc0669c:	88 01 00 08 	lbz     r0,8(r1)                               
ffc066a0:	81 29 27 44 	lwz     r9,10052(r9)                           
ffc066a4:	7d 29 02 14 	add     r9,r9,r0                               
ffc066a8:	88 09 00 01 	lbz     r0,1(r9)                               
ffc066ac:	70 09 00 20 	andi.   r9,r0,32                               
ffc066b0:	40 82 00 10 	bne-    ffc066c0 <oproc+0x154>                 <== NEVER TAKEN
        tty->column++;                                                
ffc066b4:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc066b8:	38 09 00 01 	addi    r0,r9,1                                
ffc066bc:	90 1f 00 28 	stw     r0,40(r31)                             
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
ffc066c0:	38 61 00 08 	addi    r3,r1,8                                
ffc066c4:	38 80 00 01 	li      r4,1                                   
ffc066c8:	7f e5 fb 78 	mr      r5,r31                                 
ffc066cc:	4b ff fd 81 	bl      ffc0644c <rtems_termios_puts>          
}                                                                     
ffc066d0:	39 61 00 18 	addi    r11,r1,24                              
ffc066d4:	4b ff 9e 70 	b       ffc00544 <_restgpr_31_x>               
                                                                      

ffc0dabc <pipe_create>: * Called by pipe() to create an anonymous pipe. */ int pipe_create( int filsdes[2] ) {
ffc0dabc:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0dac0:	7c 08 02 a6 	mflr    r0                                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
ffc0dac4:	38 80 01 ff 	li      r4,511                                 
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
ffc0dac8:	bf 81 00 18 	stmw    r28,24(r1)                             
ffc0dacc:	7c 7d 1b 78 	mr      r29,r3                                 
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
ffc0dad0:	3c 60 ff c2 	lis     r3,-62                                 
ffc0dad4:	38 63 e6 34 	addi    r3,r3,-6604                            
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
ffc0dad8:	90 01 00 2c 	stw     r0,44(r1)                              
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
ffc0dadc:	48 00 17 b5 	bl      ffc0f290 <rtems_mkdir>                 
    return -1;                                                        
ffc0dae0:	3b c0 ff ff 	li      r30,-1                                 
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
ffc0dae4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0dae8:	40 9e 01 04 	bne-    cr7,ffc0dbec <pipe_create+0x130>       <== NEVER TAKEN
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
ffc0daec:	3d 20 ff c2 	lis     r9,-62                                 
ffc0daf0:	3b e1 00 08 	addi    r31,r1,8                               
ffc0daf4:	39 29 e6 39 	addi    r9,r9,-6599                            
ffc0daf8:	7c a9 54 aa 	lswi    r5,r9,10                               
ffc0dafc:	7c bf 55 aa 	stswi   r5,r31,10                              
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc0db00:	3d 20 00 00 	lis     r9,0                                   
ffc0db04:	3c 80 ff c2 	lis     r4,-62                                 
ffc0db08:	a0 a9 29 60 	lhz     r5,10592(r9)                           
ffc0db0c:	38 84 e6 44 	addi    r4,r4,-6588                            
ffc0db10:	38 61 00 12 	addi    r3,r1,18                               
ffc0db14:	38 05 00 01 	addi    r0,r5,1                                
ffc0db18:	b0 09 29 60 	sth     r0,10592(r9)                           
ffc0db1c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0db20:	48 00 40 d9 	bl      ffc11bf8 <sprintf>                     
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
ffc0db24:	7f e3 fb 78 	mr      r3,r31                                 
ffc0db28:	38 80 01 80 	li      r4,384                                 
ffc0db2c:	48 00 14 61 	bl      ffc0ef8c <mkfifo>                      
ffc0db30:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0db34:	41 be 00 0c 	beq+    cr7,ffc0db40 <pipe_create+0x84>        
    if (errno != EEXIST){                                             
ffc0db38:	48 00 31 ed 	bl      ffc10d24 <__errno>                     
ffc0db3c:	48 00 00 b0 	b       ffc0dbec <pipe_create+0x130>           
    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);                 
ffc0db40:	7f e3 fb 78 	mr      r3,r31                                 
ffc0db44:	38 80 40 00 	li      r4,16384                               
ffc0db48:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0db4c:	4b ff 8b 35 	bl      ffc06680 <open>                        
  if (filsdes[0] < 0) {                                               
ffc0db50:	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);                 
ffc0db54:	90 7d 00 00 	stw     r3,0(r29)                              
  if (filsdes[0] < 0) {                                               
ffc0db58:	40 bc 00 14 	bge+    cr7,ffc0db6c <pipe_create+0xb0>        
    err = errno;                                                      
ffc0db5c:	48 00 31 c9 	bl      ffc10d24 <__errno>                     
ffc0db60:	83 83 00 00 	lwz     r28,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);                                                 
ffc0db64:	7f e3 fb 78 	mr      r3,r31                                 
ffc0db68:	48 00 00 68 	b       ffc0dbd0 <pipe_create+0x114>           
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
ffc0db6c:	3d 20 00 00 	lis     r9,0                                   
ffc0db70:	80 09 26 dc 	lwz     r0,9948(r9)                            
ffc0db74:	39 20 00 00 	li      r9,0                                   
ffc0db78:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc0db7c:	40 9c 00 14 	bge-    cr7,ffc0db90 <pipe_create+0xd4>        <== NEVER TAKEN
ffc0db80:	3d 20 00 00 	lis     r9,0                                   
ffc0db84:	81 29 27 88 	lwz     r9,10120(r9)                           
ffc0db88:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc0db8c:	7d 29 1a 14 	add     r9,r9,r3                               
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
ffc0db90:	80 09 00 18 	lwz     r0,24(r9)                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
ffc0db94:	38 61 00 08 	addi    r3,r1,8                                
ffc0db98:	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;                              
ffc0db9c:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
ffc0dba0:	90 09 00 18 	stw     r0,24(r9)                              
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
ffc0dba4:	3b 80 00 00 	li      r28,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);                            
ffc0dba8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0dbac:	4b ff 8a d5 	bl      ffc06680 <open>                        
                                                                      
    if (filsdes[1] < 0) {                                             
ffc0dbb0:	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);                            
ffc0dbb4:	90 7d 00 04 	stw     r3,4(r29)                              
                                                                      
    if (filsdes[1] < 0) {                                             
ffc0dbb8:	40 bc 00 14 	bge+    cr7,ffc0dbcc <pipe_create+0x110>       
    err = errno;                                                      
ffc0dbbc:	48 00 31 69 	bl      ffc10d24 <__errno>                     
ffc0dbc0:	83 83 00 00 	lwz     r28,0(r3)                              
    close(filsdes[0]);                                                
ffc0dbc4:	80 7d 00 00 	lwz     r3,0(r29)                              
ffc0dbc8:	4b ff 79 39 	bl      ffc05500 <close>                       
    }                                                                 
  unlink(fifopath);                                                   
ffc0dbcc:	38 61 00 08 	addi    r3,r1,8                                
ffc0dbd0:	4b ff ab 29 	bl      ffc086f8 <unlink>                      
  }                                                                   
  if(err != 0)                                                        
ffc0dbd4:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    rtems_set_errno_and_return_minus_one(err);                        
  return 0;                                                           
ffc0dbd8:	3b c0 00 00 	li      r30,0                                  
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
  }                                                                   
  if(err != 0)                                                        
ffc0dbdc:	41 be 00 10 	beq+    cr7,ffc0dbec <pipe_create+0x130>       
    rtems_set_errno_and_return_minus_one(err);                        
ffc0dbe0:	48 00 31 45 	bl      ffc10d24 <__errno>                     
ffc0dbe4:	3b c0 ff ff 	li      r30,-1                                 
ffc0dbe8:	93 83 00 00 	stw     r28,0(r3)                              
  return 0;                                                           
}                                                                     
ffc0dbec:	39 61 00 28 	addi    r11,r1,40                              
ffc0dbf0:	7f c3 f3 78 	mr      r3,r30                                 
ffc0dbf4:	48 00 e9 6c 	b       ffc1c560 <_restgpr_28_x>               
                                                                      

ffc0f108 <pipe_ioctl>: uint32_t cmd, void *buffer, rtems_libio_t *iop ) { if (cmd == FIONREAD) {
ffc0f108:	6c 89 40 04 	xoris   r9,r4,16388                            
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc0f10c:	94 21 ff f0 	stwu    r1,-16(r1)                             
  if (cmd == FIONREAD) {                                              
ffc0f110:	2f 89 66 7f 	cmpwi   cr7,r9,26239                           
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc0f114:	7c 08 02 a6 	mflr    r0                                     
ffc0f118:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc0f11c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0f120:	7c be 2b 78 	mr      r30,r5                                 
ffc0f124:	90 01 00 14 	stw     r0,20(r1)                              
    *(unsigned int *)buffer = pipe->Length;                           
    PIPE_UNLOCK(pipe);                                                
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
ffc0f128:	38 00 ff ea 	li      r0,-22                                 
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
ffc0f12c:	40 9e 00 40 	bne-    cr7,ffc0f16c <pipe_ioctl+0x64>         
    if (buffer == NULL)                                               
ffc0f130:	2f 85 00 00 	cmpwi   cr7,r5,0                               
      return -EFAULT;                                                 
ffc0f134:	38 00 ff f2 	li      r0,-14                                 
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
ffc0f138:	41 9e 00 34 	beq-    cr7,ffc0f16c <pipe_ioctl+0x64>         
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
ffc0f13c:	80 63 00 28 	lwz     r3,40(r3)                              
ffc0f140:	38 80 00 00 	li      r4,0                                   
ffc0f144:	38 a0 00 00 	li      r5,0                                   
ffc0f148:	4b ff ab 95 	bl      ffc09cdc <rtems_semaphore_obtain>      
      return -EINTR;                                                  
ffc0f14c:	38 00 ff fc 	li      r0,-4                                  
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
ffc0f150:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f154:	40 9e 00 18 	bne-    cr7,ffc0f16c <pipe_ioctl+0x64>         <== NEVER TAKEN
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
ffc0f158:	80 1f 00 0c 	lwz     r0,12(r31)                             
    PIPE_UNLOCK(pipe);                                                
ffc0f15c:	80 7f 00 28 	lwz     r3,40(r31)                             
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
ffc0f160:	90 1e 00 00 	stw     r0,0(r30)                              
    PIPE_UNLOCK(pipe);                                                
ffc0f164:	4b ff ac a5 	bl      ffc09e08 <rtems_semaphore_release>     
    return 0;                                                         
ffc0f168:	38 00 00 00 	li      r0,0                                   
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
ffc0f16c:	39 61 00 10 	addi    r11,r1,16                              
ffc0f170:	7c 03 03 78 	mr      r3,r0                                  
ffc0f174:	48 01 0a 40 	b       ffc1fbb4 <_restgpr_30_x>               
                                                                      

ffc0ed9c <pipe_read>: pipe_control_t *pipe, void *buffer, size_t count, rtems_libio_t *iop ) {
ffc0ed9c:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0eda0:	7c 08 02 a6 	mflr    r0                                     
ffc0eda4:	90 01 00 3c 	stw     r0,60(r1)                              
ffc0eda8:	bf 21 00 1c 	stmw    r25,28(r1)                             
ffc0edac:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0edb0:	7c 9e 23 78 	mr      r30,r4                                 
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc0edb4:	80 63 00 28 	lwz     r3,40(r3)                              
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc0edb8:	7c bd 2b 78 	mr      r29,r5                                 
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc0edbc:	38 80 00 00 	li      r4,0                                   
ffc0edc0:	38 a0 00 00 	li      r5,0                                   
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc0edc4:	7c d9 33 78 	mr      r25,r6                                 
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc0edc8:	4b ff af 15 	bl      ffc09cdc <rtems_semaphore_obtain>      
ffc0edcc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    return -EINTR;                                                    
ffc0edd0:	3b 80 ff fc 	li      r28,-4                                 
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc0edd4:	40 9e 01 5c 	bne-    cr7,ffc0ef30 <pipe_read+0x194>         <== NEVER TAKEN
ffc0edd8:	3b 80 00 00 	li      r28,0                                  
ffc0eddc:	48 00 01 24 	b       ffc0ef00 <pipe_read+0x164>             
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
ffc0ede0:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc0ede4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ede8:	41 9e 01 20 	beq-    cr7,ffc0ef08 <pipe_read+0x16c>         
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
ffc0edec:	80 19 00 18 	lwz     r0,24(r25)                             
ffc0edf0:	70 09 00 01 	andi.   r9,r0,1                                
ffc0edf4:	40 82 01 1c 	bne-    ffc0ef10 <pipe_read+0x174>             
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
ffc0edf8:	81 3f 00 18 	lwz     r9,24(r31)                             
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
ffc0edfc:	3b 60 ff fc 	li      r27,-4                                 
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
      PIPE_UNLOCK(pipe);                                              
ffc0ee00:	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 ++;                                        
ffc0ee04:	38 09 00 01 	addi    r0,r9,1                                
ffc0ee08:	90 1f 00 18 	stw     r0,24(r31)                             
      PIPE_UNLOCK(pipe);                                              
ffc0ee0c:	4b ff af fd 	bl      ffc09e08 <rtems_semaphore_release>     
      if (! PIPE_READWAIT(pipe))                                      
ffc0ee10:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc0ee14:	38 80 00 00 	li      r4,0                                   
ffc0ee18:	48 00 0f bd 	bl      ffc0fdd4 <rtems_barrier_wait>          
ffc0ee1c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ee20:	40 9e 00 08 	bne-    cr7,ffc0ee28 <pipe_read+0x8c>          <== NEVER TAKEN
ffc0ee24:	3b 60 00 00 	li      r27,0                                  
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
ffc0ee28:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0ee2c:	38 80 00 00 	li      r4,0                                   
ffc0ee30:	38 a0 00 00 	li      r5,0                                   
ffc0ee34:	4b ff ae a9 	bl      ffc09cdc <rtems_semaphore_obtain>      
ffc0ee38:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ee3c:	40 9e 00 e4 	bne-    cr7,ffc0ef20 <pipe_read+0x184>         <== NEVER TAKEN
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
      if (ret != 0)                                                   
ffc0ee40:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
ffc0ee44:	81 3f 00 18 	lwz     r9,24(r31)                             
ffc0ee48:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0ee4c:	90 1f 00 18 	stw     r0,24(r31)                             
      if (ret != 0)                                                   
ffc0ee50:	40 9e 00 c4 	bne-    cr7,ffc0ef14 <pipe_read+0x178>         <== NEVER TAKEN
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
ffc0ee54:	83 7f 00 0c 	lwz     r27,12(r31)                            
ffc0ee58:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0ee5c:	41 9e ff 84 	beq+    cr7,ffc0ede0 <pipe_read+0x44>          
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
ffc0ee60:	7c 1c e8 50 	subf    r0,r28,r29                             
ffc0ee64:	7f 9b 00 40 	cmplw   cr7,r27,r0                             
ffc0ee68:	40 9d 00 08 	ble-    cr7,ffc0ee70 <pipe_read+0xd4>          
ffc0ee6c:	7c 1b 03 78 	mr      r27,r0                                 
    chunk1 = pipe->Size - pipe->Start;                                
ffc0ee70:	80 1f 00 08 	lwz     r0,8(r31)                              
    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);       
ffc0ee74:	7f 65 db 78 	mr      r5,r27                                 
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
    chunk1 = pipe->Size - pipe->Start;                                
ffc0ee78:	83 5f 00 04 	lwz     r26,4(r31)                             
ffc0ee7c:	7c 7e e2 14 	add     r3,r30,r28                             
ffc0ee80:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc0ee84:	7f 40 d0 50 	subf    r26,r0,r26                             
    if (chunk > chunk1) {                                             
ffc0ee88:	7f 9b d0 00 	cmpw    cr7,r27,r26                            
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
ffc0ee8c:	7c 84 02 14 	add     r4,r4,r0                               
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
    chunk1 = pipe->Size - pipe->Start;                                
    if (chunk > chunk1) {                                             
ffc0ee90:	40 9d 00 1c 	ble-    cr7,ffc0eeac <pipe_read+0x110>         
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
ffc0ee94:	7f 45 d3 78 	mr      r5,r26                                 
ffc0ee98:	48 00 3a 89 	bl      ffc12920 <memcpy>                      
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
ffc0ee9c:	7c 7c d2 14 	add     r3,r28,r26                             
ffc0eea0:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc0eea4:	7c 7e 1a 14 	add     r3,r30,r3                              
ffc0eea8:	7c ba d8 50 	subf    r5,r26,r27                             
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
ffc0eeac:	48 00 3a 75 	bl      ffc12920 <memcpy>                      
                                                                      
    pipe->Start += chunk;                                             
ffc0eeb0:	80 1f 00 08 	lwz     r0,8(r31)                              
    pipe->Start %= pipe->Size;                                        
ffc0eeb4:	81 3f 00 04 	lwz     r9,4(r31)                              
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
ffc0eeb8:	7c 1b 02 14 	add     r0,r27,r0                              
    pipe->Start %= pipe->Size;                                        
ffc0eebc:	7d 60 4b 96 	divwu   r11,r0,r9                              
ffc0eec0:	7d 2b 49 d6 	mullw   r9,r11,r9                              
ffc0eec4:	7c 09 00 50 	subf    r0,r9,r0                               
ffc0eec8:	90 1f 00 08 	stw     r0,8(r31)                              
    pipe->Length -= chunk;                                            
ffc0eecc:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc0eed0:	7c 1b 00 50 	subf    r0,r27,r0                              
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
ffc0eed4:	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;                                            
ffc0eed8:	90 1f 00 0c 	stw     r0,12(r31)                             
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
ffc0eedc:	40 9e 00 08 	bne-    cr7,ffc0eee4 <pipe_read+0x148>         
      pipe->Start = 0;                                                
ffc0eee0:	90 1f 00 08 	stw     r0,8(r31)                              
                                                                      
    if (pipe->waitingWriters > 0)                                     
ffc0eee4:	80 1f 00 1c 	lwz     r0,28(r31)                             
ffc0eee8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0eeec:	41 be 00 10 	beq+    cr7,ffc0eefc <pipe_read+0x160>         
      PIPE_WAKEUPWRITERS(pipe);                                       
ffc0eef0:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc0eef4:	38 81 00 08 	addi    r4,r1,8                                
ffc0eef8:	48 00 0e 71 	bl      ffc0fd68 <rtems_barrier_release>       
    read += chunk;                                                    
ffc0eefc:	7f 9c da 14 	add     r28,r28,r27                            
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
ffc0ef00:	7f 9c e8 40 	cmplw   cr7,r28,r29                            
ffc0ef04:	41 9c ff 50 	blt+    cr7,ffc0ee54 <pipe_read+0xb8>          
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
ffc0ef08:	3b 60 00 00 	li      r27,0                                  
ffc0ef0c:	48 00 00 08 	b       ffc0ef14 <pipe_read+0x178>             
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
ffc0ef10:	3b 60 ff f5 	li      r27,-11                                
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
ffc0ef14:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0ef18:	4b ff ae f1 	bl      ffc09e08 <rtems_semaphore_release>     
ffc0ef1c:	48 00 00 08 	b       ffc0ef24 <pipe_read+0x188>             
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
ffc0ef20:	3b 60 ff fc 	li      r27,-4                                 <== NOT EXECUTED
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
ffc0ef24:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0ef28:	41 bd 00 08 	bgt+    cr7,ffc0ef30 <pipe_read+0x194>         
    return read;                                                      
  return ret;                                                         
ffc0ef2c:	7f 7c db 78 	mr      r28,r27                                
}                                                                     
ffc0ef30:	39 61 00 38 	addi    r11,r1,56                              
ffc0ef34:	7f 83 e3 78 	mr      r3,r28                                 
ffc0ef38:	48 01 0c 68 	b       ffc1fba0 <_restgpr_25_x>               
                                                                      

ffc0e914 <pipe_release>: */ void pipe_release( pipe_control_t **pipep, rtems_libio_t *iop ) {
ffc0e914:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0e918:	7c 08 02 a6 	mflr    r0                                     
ffc0e91c:	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);                                          
ffc0e920:	80 04 00 18 	lwz     r0,24(r4)                              
 */                                                                   
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc0e924:	bf 81 00 18 	stmw    r28,24(r1)                             
ffc0e928:	7c 7e 1b 78 	mr      r30,r3                                 
    if (!PIPE_LOCK(pipe))                                             
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
ffc0e92c:	70 09 00 02 	andi.   r9,r0,2                                
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
  pipe_control_t *pipe = *pipep;                                      
ffc0e930:	83 e3 00 00 	lwz     r31,0(r3)                              
    /* WARN pipe not released! */                                     
    if (!PIPE_LOCK(pipe))                                             
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
ffc0e934:	54 1d 07 7c 	rlwinm  r29,r0,0,29,30                         
  if (mode & LIBIO_FLAGS_READ)                                        
ffc0e938:	41 82 00 10 	beq-    ffc0e948 <pipe_release+0x34>           
     pipe->Readers --;                                                
ffc0e93c:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc0e940:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0e944:	90 1f 00 10 	stw     r0,16(r31)                             
  if (mode & LIBIO_FLAGS_WRITE)                                       
ffc0e948:	73 a0 00 04 	andi.   r0,r29,4                               
ffc0e94c:	41 82 00 10 	beq-    ffc0e95c <pipe_release+0x48>           
     pipe->Writers --;                                                
ffc0e950:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc0e954:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0e958:	90 1f 00 14 	stw     r0,20(r31)                             
                                                                      
  PIPE_UNLOCK(pipe);                                                  
ffc0e95c:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0e960:	4b ff b4 a9 	bl      ffc09e08 <rtems_semaphore_release>     
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
ffc0e964:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc0e968:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e96c:	40 9e 00 30 	bne-    cr7,ffc0e99c <pipe_release+0x88>       
ffc0e970:	83 9f 00 14 	lwz     r28,20(r31)                            
ffc0e974:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0e978:	40 be 00 14 	bne+    cr7,ffc0e98c <pipe_release+0x78>       
#if 0                                                                 
    /* To delete an anonymous pipe file when all users closed it */   
    if (pipe->Anonymous)                                              
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
ffc0e97c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e980:	4b ff ff 4d 	bl      ffc0e8cc <pipe_free>                   
    *pipep = NULL;                                                    
ffc0e984:	93 9e 00 00 	stw     r28,0(r30)                             
ffc0e988:	48 00 00 34 	b       ffc0e9bc <pipe_release+0xa8>           
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
ffc0e98c:	2f 9d 00 04 	cmpwi   cr7,r29,4                              
ffc0e990:	41 be 00 0c 	beq+    cr7,ffc0e99c <pipe_release+0x88>       <== NEVER TAKEN
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
ffc0e994:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc0e998:	48 00 00 1c 	b       ffc0e9b4 <pipe_release+0xa0>           
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
ffc0e99c:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc0e9a0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e9a4:	40 9e 00 18 	bne-    cr7,ffc0e9bc <pipe_release+0xa8>       <== NEVER TAKEN
ffc0e9a8:	2f 9d 00 02 	cmpwi   cr7,r29,2                              
ffc0e9ac:	41 9e 00 10 	beq-    cr7,ffc0e9bc <pipe_release+0xa8>       <== NEVER TAKEN
    PIPE_WAKEUPREADERS(pipe);                                         
ffc0e9b0:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc0e9b4:	38 81 00 08 	addi    r4,r1,8                                
ffc0e9b8:	48 00 13 b1 	bl      ffc0fd68 <rtems_barrier_release>       
                                                                      
static void pipe_unlock(void)                                         
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_release(pipe_semaphore);                       
ffc0e9bc:	3d 20 00 00 	lis     r9,0                                   
ffc0e9c0:	80 69 29 60 	lwz     r3,10592(r9)                           
ffc0e9c4:	4b ff b4 45 	bl      ffc09e08 <rtems_semaphore_release>     
  iop->flags &= ~LIBIO_FLAGS_OPEN;                                    
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return;                                                           
#endif                                                                
                                                                      
}                                                                     
ffc0e9c8:	39 61 00 28 	addi    r11,r1,40                              
ffc0e9cc:	48 01 11 e0 	b       ffc1fbac <_restgpr_28_x>               
                                                                      

ffc0ef3c <pipe_write>: pipe_control_t *pipe, const void *buffer, size_t count, rtems_libio_t *iop ) {
ffc0ef3c:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0ef40:	7c 08 02 a6 	mflr    r0                                     
ffc0ef44:	bf 01 00 18 	stmw    r24,24(r1)                             
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
ffc0ef48:	7c bb 2b 79 	mr.     r27,r5                                 
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc0ef4c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0ef50:	90 01 00 3c 	stw     r0,60(r1)                              
ffc0ef54:	7c 9e 23 78 	mr      r30,r4                                 
ffc0ef58:	7c d8 33 78 	mr      r24,r6                                 
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
ffc0ef5c:	3b a0 00 00 	li      r29,0                                  
)                                                                     
{                                                                     
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
ffc0ef60:	41 a2 01 9c 	beq+    ffc0f0fc <pipe_write+0x1c0>            <== NEVER TAKEN
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc0ef64:	80 63 00 28 	lwz     r3,40(r3)                              
ffc0ef68:	38 80 00 00 	li      r4,0                                   
ffc0ef6c:	38 a0 00 00 	li      r5,0                                   
ffc0ef70:	4b ff ad 6d 	bl      ffc09cdc <rtems_semaphore_obtain>      
    return -EINTR;                                                    
ffc0ef74:	3b a0 ff fc 	li      r29,-4                                 
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc0ef78:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ef7c:	40 9e 01 80 	bne-    cr7,ffc0f0fc <pipe_write+0x1c0>        <== NEVER TAKEN
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
ffc0ef80:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc0ef84:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ef88:	41 9e 01 40 	beq-    cr7,ffc0f0c8 <pipe_write+0x18c>        
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
ffc0ef8c:	80 1f 00 04 	lwz     r0,4(r31)                              
ffc0ef90:	3b 20 00 01 	li      r25,1                                  
ffc0ef94:	7f 9b 00 40 	cmplw   cr7,r27,r0                             
ffc0ef98:	41 9d 00 08 	bgt-    cr7,ffc0efa0 <pipe_write+0x64>         <== NEVER TAKEN
ffc0ef9c:	7f 79 db 78 	mr      r25,r27                                
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
ffc0efa0:	3b a0 00 00 	li      r29,0                                  
ffc0efa4:	48 00 01 14 	b       ffc0f0b8 <pipe_write+0x17c>            
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
      if (LIBIO_NODELAY(iop)) {                                       
ffc0efa8:	80 18 00 18 	lwz     r0,24(r24)                             
ffc0efac:	70 09 00 01 	andi.   r9,r0,1                                
ffc0efb0:	40 82 01 24 	bne-    ffc0f0d4 <pipe_write+0x198>            
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
ffc0efb4:	81 3f 00 1c 	lwz     r9,28(r31)                             
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
ffc0efb8:	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);                                              
ffc0efbc:	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 ++;                                        
ffc0efc0:	38 09 00 01 	addi    r0,r9,1                                
ffc0efc4:	90 1f 00 1c 	stw     r0,28(r31)                             
      PIPE_UNLOCK(pipe);                                              
ffc0efc8:	4b ff ae 41 	bl      ffc09e08 <rtems_semaphore_release>     
      if (! PIPE_WRITEWAIT(pipe))                                     
ffc0efcc:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc0efd0:	38 80 00 00 	li      r4,0                                   
ffc0efd4:	48 00 0e 01 	bl      ffc0fdd4 <rtems_barrier_wait>          
ffc0efd8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0efdc:	40 9e 00 08 	bne-    cr7,ffc0efe4 <pipe_write+0xa8>         <== NEVER TAKEN
ffc0efe0:	3b 80 00 00 	li      r28,0                                  
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
ffc0efe4:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0efe8:	38 80 00 00 	li      r4,0                                   
ffc0efec:	38 a0 00 00 	li      r5,0                                   
ffc0eff0:	4b ff ac ed 	bl      ffc09cdc <rtems_semaphore_obtain>      
ffc0eff4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0eff8:	40 9e 00 f4 	bne-    cr7,ffc0f0ec <pipe_write+0x1b0>        <== NEVER TAKEN
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
ffc0effc:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
ffc0f000:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc0f004:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0f008:	90 1f 00 1c 	stw     r0,28(r31)                             
      if (ret != 0)                                                   
ffc0f00c:	40 9e 00 d4 	bne-    cr7,ffc0f0e0 <pipe_write+0x1a4>        <== NEVER TAKEN
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
ffc0f010:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc0f014:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f018:	41 9e 00 c4 	beq-    cr7,ffc0f0dc <pipe_write+0x1a0>        <== NEVER TAKEN
                                                                      
  /* 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) {                                
ffc0f01c:	83 5f 00 04 	lwz     r26,4(r31)                             
ffc0f020:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc0f024:	7f 80 d0 50 	subf    r28,r0,r26                             
ffc0f028:	7f 9c c8 40 	cmplw   cr7,r28,r25                            
ffc0f02c:	41 9c ff 7c 	blt+    cr7,ffc0efa8 <pipe_write+0x6c>         
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
ffc0f030:	7d 3d d8 50 	subf    r9,r29,r27                             
ffc0f034:	7f 9c 48 40 	cmplw   cr7,r28,r9                             
ffc0f038:	40 9d 00 08 	ble-    cr7,ffc0f040 <pipe_write+0x104>        
ffc0f03c:	7d 3c 4b 78 	mr      r28,r9                                 
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
ffc0f040:	81 3f 00 08 	lwz     r9,8(r31)                              
    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);
ffc0f044:	7f 85 e3 78 	mr      r5,r28                                 
ffc0f048:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc0f04c:	7c 9e ea 14 	add     r4,r30,r29                             
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
ffc0f050:	7d 20 4a 14 	add     r9,r0,r9                               
ffc0f054:	7c 09 d3 96 	divwu   r0,r9,r26                              
ffc0f058:	7c 00 d1 d6 	mullw   r0,r0,r26                              
ffc0f05c:	7c 00 48 50 	subf    r0,r0,r9                               
ffc0f060:	7f 40 d0 50 	subf    r26,r0,r26                             
    if (chunk > chunk1) {                                             
ffc0f064:	7f 9c d0 00 	cmpw    cr7,r28,r26                            
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
ffc0f068:	7c 63 02 14 	add     r3,r3,r0                               
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
    if (chunk > chunk1) {                                             
ffc0f06c:	40 9d 00 1c 	ble-    cr7,ffc0f088 <pipe_write+0x14c>        
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
ffc0f070:	7f 45 d3 78 	mr      r5,r26                                 
ffc0f074:	48 00 38 ad 	bl      ffc12920 <memcpy>                      
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
ffc0f078:	7c 9a ea 14 	add     r4,r26,r29                             
ffc0f07c:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc0f080:	7c 9e 22 14 	add     r4,r30,r4                              
ffc0f084:	7c ba e0 50 	subf    r5,r26,r28                             
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
ffc0f088:	48 00 38 99 	bl      ffc12920 <memcpy>                      
                                                                      
    pipe->Length += chunk;                                            
ffc0f08c:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc0f090:	7c 00 e2 14 	add     r0,r0,r28                              
ffc0f094:	90 1f 00 0c 	stw     r0,12(r31)                             
    if (pipe->waitingReaders > 0)                                     
ffc0f098:	80 1f 00 18 	lwz     r0,24(r31)                             
ffc0f09c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f0a0:	41 be 00 10 	beq+    cr7,ffc0f0b0 <pipe_write+0x174>        
      PIPE_WAKEUPREADERS(pipe);                                       
ffc0f0a4:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc0f0a8:	38 81 00 08 	addi    r4,r1,8                                
ffc0f0ac:	48 00 0c bd 	bl      ffc0fd68 <rtems_barrier_release>       
    written += chunk;                                                 
ffc0f0b0:	7f bd e2 14 	add     r29,r29,r28                            
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
ffc0f0b4:	3b 20 00 01 	li      r25,1                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
ffc0f0b8:	7f 9d d8 40 	cmplw   cr7,r29,r27                            
ffc0f0bc:	41 9c ff 60 	blt+    cr7,ffc0f01c <pipe_write+0xe0>         
ffc0f0c0:	3b 80 00 00 	li      r28,0                                  
ffc0f0c4:	48 00 00 1c 	b       ffc0f0e0 <pipe_write+0x1a4>            
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
    ret = -EPIPE;                                                     
ffc0f0c8:	3b 80 ff e0 	li      r28,-32                                
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  int chunk, chunk1, written = 0, ret = 0;                            
ffc0f0cc:	3b a0 00 00 	li      r29,0                                  
ffc0f0d0:	48 00 00 10 	b       ffc0f0e0 <pipe_write+0x1a4>            
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
ffc0f0d4:	3b 80 ff f5 	li      r28,-11                                
ffc0f0d8:	48 00 00 08 	b       ffc0f0e0 <pipe_write+0x1a4>            
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
        ret = -EPIPE;                                                 
ffc0f0dc:	3b 80 ff e0 	li      r28,-32                                <== NOT EXECUTED
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
ffc0f0e0:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0f0e4:	4b ff ad 25 	bl      ffc09e08 <rtems_semaphore_release>     
ffc0f0e8:	48 00 00 08 	b       ffc0f0f0 <pipe_write+0x1b4>            
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
ffc0f0ec:	3b 80 ff fc 	li      r28,-4                                 <== NOT EXECUTED
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
ffc0f0f0:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0f0f4:	41 bd 00 08 	bgt+    cr7,ffc0f0fc <pipe_write+0x1c0>        
    return written;                                                   
  return ret;                                                         
ffc0f0f8:	7f 9d e3 78 	mr      r29,r28                                
}                                                                     
ffc0f0fc:	39 61 00 38 	addi    r11,r1,56                              
ffc0f100:	7f a3 eb 78 	mr      r3,r29                                 
ffc0f104:	48 01 0a 98 	b       ffc1fb9c <_restgpr_24_x>               
                                                                      

ffc089b0 <posix_memalign>: int posix_memalign( void **pointer, size_t alignment, size_t size ) {
ffc089b0:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc089b4:	7c 08 02 a6 	mflr    r0                                     
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
ffc089b8:	3d 60 00 00 	lis     r11,0                                  
int posix_memalign(                                                   
  void   **pointer,                                                   
  size_t   alignment,                                                 
  size_t   size                                                       
)                                                                     
{                                                                     
ffc089bc:	90 01 00 0c 	stw     r0,12(r1)                              
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
ffc089c0:	39 6b 33 f0 	addi    r11,r11,13296                          
ffc089c4:	81 4b 00 08 	lwz     r10,8(r11)                             
ffc089c8:	38 0a 00 01 	addi    r0,r10,1                               
ffc089cc:	90 0b 00 08 	stw     r0,8(r11)                              
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
ffc089d0:	39 64 ff ff 	addi    r11,r4,-1                              
ffc089d4:	7d 6a 20 39 	and.    r10,r11,r4                             
    return EINVAL;                                                    
ffc089d8:	38 00 00 16 	li      r0,22                                  
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
ffc089dc:	40 a2 00 14 	bne+    ffc089f0 <posix_memalign+0x40>         <== NEVER TAKEN
ffc089e0:	2b 84 00 03 	cmplwi  cr7,r4,3                               
ffc089e4:	40 bd 00 0c 	ble+    cr7,ffc089f0 <posix_memalign+0x40>     
                                                                      
  /*                                                                  
   *  rtems_memalign does all of the error checking work EXCEPT       
   *  for adding restrictionso on the alignment.                      
   */                                                                 
  return rtems_memalign( pointer, alignment, size );                  
ffc089e8:	48 00 02 e9 	bl      ffc08cd0 <rtems_memalign>              
ffc089ec:	7c 60 1b 78 	mr      r0,r3                                  
}                                                                     
ffc089f0:	7c 03 03 78 	mr      r3,r0                                  
ffc089f4:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc089f8:	38 21 00 08 	addi    r1,r1,8                                
ffc089fc:	7c 08 03 a6 	mtlr    r0                                     
ffc08a00:	4e 80 00 20 	blr                                            
                                                                      

ffc05890 <printk>: * printk * * Kernel printf function requiring minimal infrastructure. */ void printk(const char *fmt, ...) {
ffc05890:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc05894:	7c 08 02 a6 	mflr    r0                                     
ffc05898:	90 81 00 1c 	stw     r4,28(r1)                              
ffc0589c:	90 01 00 7c 	stw     r0,124(r1)                             
ffc058a0:	90 a1 00 20 	stw     r5,32(r1)                              
ffc058a4:	90 c1 00 24 	stw     r6,36(r1)                              
ffc058a8:	90 e1 00 28 	stw     r7,40(r1)                              
ffc058ac:	91 01 00 2c 	stw     r8,44(r1)                              
ffc058b0:	91 21 00 30 	stw     r9,48(r1)                              
ffc058b4:	91 41 00 34 	stw     r10,52(r1)                             
ffc058b8:	40 86 00 24 	bne-    cr1,ffc058dc <printk+0x4c>             <== ALWAYS TAKEN
ffc058bc:	d8 21 00 38 	stfd    f1,56(r1)                              <== NOT EXECUTED
ffc058c0:	d8 41 00 40 	stfd    f2,64(r1)                              <== NOT EXECUTED
ffc058c4:	d8 61 00 48 	stfd    f3,72(r1)                              <== NOT EXECUTED
ffc058c8:	d8 81 00 50 	stfd    f4,80(r1)                              <== NOT EXECUTED
ffc058cc:	d8 a1 00 58 	stfd    f5,88(r1)                              <== NOT EXECUTED
ffc058d0:	d8 c1 00 60 	stfd    f6,96(r1)                              <== NOT EXECUTED
ffc058d4:	d8 e1 00 68 	stfd    f7,104(r1)                             <== NOT EXECUTED
ffc058d8:	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 */           
ffc058dc:	38 00 00 01 	li      r0,1                                   
ffc058e0:	98 01 00 08 	stb     r0,8(r1)                               
ffc058e4:	38 00 00 00 	li      r0,0                                   
  vprintk(fmt, ap);                                                   
ffc058e8:	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 */           
ffc058ec:	98 01 00 09 	stb     r0,9(r1)                               
ffc058f0:	38 01 00 80 	addi    r0,r1,128                              
ffc058f4:	90 01 00 0c 	stw     r0,12(r1)                              
ffc058f8:	38 01 00 18 	addi    r0,r1,24                               
ffc058fc:	90 01 00 10 	stw     r0,16(r1)                              
  vprintk(fmt, ap);                                                   
ffc05900:	48 00 1d 31 	bl      ffc07630 <vprintk>                     
  va_end(ap);        /* clean up when done */                         
}                                                                     
ffc05904:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc05908:	38 21 00 78 	addi    r1,r1,120                              
ffc0590c:	7c 08 03 a6 	mtlr    r0                                     
ffc05910:	4e 80 00 20 	blr                                            
                                                                      

ffc06974 <printk_plugin>: int printk_plugin( void *ignored __attribute__((unused)), const char *format, ... ) {
ffc06974:	94 21 ff 90 	stwu    r1,-112(r1)                            
ffc06978:	7c 08 02 a6 	mflr    r0                                     
ffc0697c:	90 a1 00 18 	stw     r5,24(r1)                              
ffc06980:	90 01 00 74 	stw     r0,116(r1)                             
ffc06984:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc06988:	90 e1 00 20 	stw     r7,32(r1)                              
ffc0698c:	91 01 00 24 	stw     r8,36(r1)                              
ffc06990:	91 21 00 28 	stw     r9,40(r1)                              
ffc06994:	91 41 00 2c 	stw     r10,44(r1)                             
ffc06998:	40 86 00 24 	bne-    cr1,ffc069bc <printk_plugin+0x48>      <== ALWAYS TAKEN
ffc0699c:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc069a0:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc069a4:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc069a8:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc069ac:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc069b0:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc069b4:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc069b8:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  va_list arg_pointer;                                                
                                                                      
  va_start (arg_pointer, format);                                     
ffc069bc:	38 00 00 02 	li      r0,2                                   
ffc069c0:	98 01 00 08 	stb     r0,8(r1)                               
ffc069c4:	38 00 00 00 	li      r0,0                                   
                                                                      
  vprintk( format, arg_pointer );                                     
ffc069c8:	7c 83 23 78 	mr      r3,r4                                  
  ...                                                                 
)                                                                     
{                                                                     
  va_list arg_pointer;                                                
                                                                      
  va_start (arg_pointer, format);                                     
ffc069cc:	98 01 00 09 	stb     r0,9(r1)                               
ffc069d0:	38 01 00 78 	addi    r0,r1,120                              
                                                                      
  vprintk( format, arg_pointer );                                     
ffc069d4:	38 81 00 08 	addi    r4,r1,8                                
  ...                                                                 
)                                                                     
{                                                                     
  va_list arg_pointer;                                                
                                                                      
  va_start (arg_pointer, format);                                     
ffc069d8:	90 01 00 0c 	stw     r0,12(r1)                              
ffc069dc:	38 01 00 10 	addi    r0,r1,16                               
ffc069e0:	90 01 00 10 	stw     r0,16(r1)                              
                                                                      
  vprintk( format, arg_pointer );                                     
ffc069e4:	48 00 1d 35 	bl      ffc08718 <vprintk>                     
                                                                      
  va_end(arg_pointer); /* clean up when done */                       
                                                                      
  return 0;                                                           
}                                                                     
ffc069e8:	38 60 00 00 	li      r3,0                                   
ffc069ec:	80 01 00 74 	lwz     r0,116(r1)                             
ffc069f0:	38 21 00 70 	addi    r1,r1,112                              
ffc069f4:	7c 08 03 a6 	mtlr    r0                                     
ffc069f8:	4e 80 00 20 	blr                                            
                                                                      

ffc0c96c <ramdisk_allocate>: void *area_begin, uint32_t block_size, rtems_blkdev_bnum block_count, bool trace ) {
ffc0c96c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0c970:	7c 08 02 a6 	mflr    r0                                     
ffc0c974:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc0c978:	7c 7f 1b 78 	mr      r31,r3                                 
  struct ramdisk *rd = malloc(sizeof(struct ramdisk));                
ffc0c97c:	38 60 00 10 	li      r3,16                                  
  void *area_begin,                                                   
  uint32_t block_size,                                                
  rtems_blkdev_bnum block_count,                                      
  bool trace                                                          
)                                                                     
{                                                                     
ffc0c980:	90 01 00 24 	stw     r0,36(r1)                              
ffc0c984:	7c 9e 23 78 	mr      r30,r4                                 
ffc0c988:	7c bd 2b 78 	mr      r29,r5                                 
ffc0c98c:	7c db 33 78 	mr      r27,r6                                 
  struct ramdisk *rd = malloc(sizeof(struct ramdisk));                
ffc0c990:	4b ff 8c 89 	bl      ffc05618 <malloc>                      
                                                                      
  if (rd == NULL) {                                                   
ffc0c994:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc0c998:	41 82 00 54 	beq-    ffc0c9ec <ramdisk_allocate+0x80>       <== NEVER TAKEN
    return NULL;                                                      
  }                                                                   
                                                                      
  if (area_begin == NULL) {                                           
ffc0c99c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
                                                                      
      return NULL;                                                    
    }                                                                 
    rd->malloced = true;                                              
  } else {                                                            
    rd->malloced = false;                                             
ffc0c9a0:	38 00 00 00 	li      r0,0                                   
                                                                      
  if (rd == NULL) {                                                   
    return NULL;                                                      
  }                                                                   
                                                                      
  if (area_begin == NULL) {                                           
ffc0c9a4:	40 be 00 2c 	bne+    cr7,ffc0c9d0 <ramdisk_allocate+0x64>   <== NEVER TAKEN
    area_begin = calloc(block_count, block_size);                     
ffc0c9a8:	7f a3 eb 78 	mr      r3,r29                                 
ffc0c9ac:	7f c4 f3 78 	mr      r4,r30                                 
ffc0c9b0:	4b ff 86 c1 	bl      ffc05070 <calloc>                      
    if (area_begin == NULL) {                                         
      free(rd);                                                       
                                                                      
      return NULL;                                                    
    }                                                                 
    rd->malloced = true;                                              
ffc0c9b4:	38 00 00 01 	li      r0,1                                   
    return NULL;                                                      
  }                                                                   
                                                                      
  if (area_begin == NULL) {                                           
    area_begin = calloc(block_count, block_size);                     
    if (area_begin == NULL) {                                         
ffc0c9b8:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc0c9bc:	40 a2 00 14 	bne+    ffc0c9d0 <ramdisk_allocate+0x64>       <== ALWAYS TAKEN
      free(rd);                                                       
ffc0c9c0:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc0c9c4:	4b ff 88 ad 	bl      ffc05270 <free>                        <== NOT EXECUTED
                                                                      
      return NULL;                                                    
ffc0c9c8:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
ffc0c9cc:	48 00 00 20 	b       ffc0c9ec <ramdisk_allocate+0x80>       <== NOT EXECUTED
    }                                                                 
    rd->malloced = true;                                              
  } else {                                                            
    rd->malloced = false;                                             
ffc0c9d0:	98 1c 00 0d 	stb     r0,13(r28)                             
  }                                                                   
  rd->block_size = block_size;                                        
  rd->block_num = block_count;                                        
  rd->area = area_begin;                                              
  rd->trace = trace;                                                  
  rd->initialized = true;                                             
ffc0c9d4:	38 00 00 01 	li      r0,1                                   
    }                                                                 
    rd->malloced = true;                                              
  } else {                                                            
    rd->malloced = false;                                             
  }                                                                   
  rd->block_size = block_size;                                        
ffc0c9d8:	93 dc 00 00 	stw     r30,0(r28)                             
  rd->block_num = block_count;                                        
ffc0c9dc:	93 bc 00 04 	stw     r29,4(r28)                             
  rd->area = area_begin;                                              
ffc0c9e0:	93 fc 00 08 	stw     r31,8(r28)                             
  rd->trace = trace;                                                  
ffc0c9e4:	9b 7c 00 0e 	stb     r27,14(r28)                            
  rd->initialized = true;                                             
ffc0c9e8:	98 1c 00 0c 	stb     r0,12(r28)                             
                                                                      
  return rd;                                                          
}                                                                     
ffc0c9ec:	39 61 00 20 	addi    r11,r1,32                              
ffc0c9f0:	7f 83 e3 78 	mr      r3,r28                                 
ffc0c9f4:	48 00 bb e4 	b       ffc185d8 <_restgpr_27_x>               
                                                                      

ffc0c9f8 <ramdisk_free>: void ramdisk_free(ramdisk *rd) {
ffc0c9f8:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0c9fc:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0ca00:	7c 08 02 a6 	mflr    r0                                     
ffc0ca04:	48 00 bb 99 	bl      ffc1859c <_savegpr_31>                 
  if (rd != NULL) {                                                   
ffc0ca08:	7c 7f 1b 79 	mr.     r31,r3                                 
                                                                      
  return rd;                                                          
}                                                                     
                                                                      
void ramdisk_free(ramdisk *rd)                                        
{                                                                     
ffc0ca0c:	90 01 00 14 	stw     r0,20(r1)                              
  if (rd != NULL) {                                                   
ffc0ca10:	41 82 00 20 	beq-    ffc0ca30 <ramdisk_free+0x38>           <== NEVER TAKEN
    if (rd->malloced) {                                               
ffc0ca14:	88 1f 00 0d 	lbz     r0,13(r31)                             
ffc0ca18:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ca1c:	41 be 00 0c 	beq+    cr7,ffc0ca28 <ramdisk_free+0x30>       <== NEVER TAKEN
      free(rd->area);                                                 
ffc0ca20:	80 7f 00 08 	lwz     r3,8(r31)                              
ffc0ca24:	4b ff 88 4d 	bl      ffc05270 <free>                        
    }                                                                 
    free(rd);                                                         
ffc0ca28:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ca2c:	4b ff 88 45 	bl      ffc05270 <free>                        
  }                                                                   
}                                                                     
ffc0ca30:	39 61 00 10 	addi    r11,r1,16                              
ffc0ca34:	48 00 bb b4 	b       ffc185e8 <_restgpr_31_x>               
                                                                      

ffc0c868 <ramdisk_ioctl>: return 0; } int ramdisk_ioctl(rtems_disk_device *dd, uint32_t req, void *argp) {
ffc0c868:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0c86c:	7c 08 02 a6 	mflr    r0                                     
ffc0c870:	90 01 00 24 	stw     r0,36(r1)                              
    switch (req)                                                      
ffc0c874:	6c 80 c0 18 	xoris   r0,r4,49176                            
ffc0c878:	2f 80 42 01 	cmpwi   cr7,r0,16897                           
    return 0;                                                         
}                                                                     
                                                                      
int                                                                   
ramdisk_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)        
{                                                                     
ffc0c87c:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc0c880:	7c bf 2b 78 	mr      r31,r5                                 
    switch (req)                                                      
ffc0c884:	40 9e 00 dc 	bne-    cr7,ffc0c960 <ramdisk_ioctl+0xf8>      
        case RTEMS_BLKIO_REQUEST:                                     
        {                                                             
            rtems_blkdev_request *r = argp;                           
            struct ramdisk *rd = rtems_disk_get_driver_data(dd);      
                                                                      
            switch (r->req)                                           
ffc0c888:	80 05 00 00 	lwz     r0,0(r5)                               
            break;                                                    
    }                                                                 
                                                                      
    errno = EINVAL;                                                   
    return -1;                                                        
}                                                                     
ffc0c88c:	83 a3 00 2c 	lwz     r29,44(r3)                             
        case RTEMS_BLKIO_REQUEST:                                     
        {                                                             
            rtems_blkdev_request *r = argp;                           
            struct ramdisk *rd = rtems_disk_get_driver_data(dd);      
                                                                      
            switch (r->req)                                           
ffc0c890:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c894:	41 9e 00 10 	beq-    cr7,ffc0c8a4 <ramdisk_ioctl+0x3c>      
ffc0c898:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0c89c:	40 be 00 b0 	bne+    cr7,ffc0c94c <ramdisk_ioctl+0xe4>      <== NEVER TAKEN
ffc0c8a0:	48 00 00 48 	b       ffc0c8e8 <ramdisk_ioctl+0x80>          
#endif                                                                
                                                                      
static int                                                            
ramdisk_read(struct ramdisk *rd, rtems_blkdev_request *req)           
{                                                                     
    uint8_t *from = rd->area;                                         
ffc0c8a4:	83 7d 00 08 	lwz     r27,8(r29)                             
#if RTEMS_RAMDISK_TRACE                                               
    rtems_ramdisk_printf (rd, "ramdisk read: start=%d, blocks=%d",    
                          req->bufs[0].block, req->bufnum);           
#endif                                                                
                                                                      
    for (i = 0, sg = req->bufs; i < req->bufnum; i++, sg++)           
ffc0c8a8:	3b c5 00 18 	addi    r30,r5,24                              
ffc0c8ac:	3b 80 00 00 	li      r28,0                                  
ffc0c8b0:	48 00 00 28 	b       ffc0c8d8 <ramdisk_ioctl+0x70>          
#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);
ffc0c8b4:	80 9e 00 00 	lwz     r4,0(r30)                              
#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++)           
ffc0c8b8:	3b 9c 00 01 	addi    r28,r28,1                              
#if RTEMS_RAMDISK_TRACE                                               
        rtems_ramdisk_printf (rd, "ramdisk read: buf=%d block=%d length=%d off=%d addr=%p",
                              i, sg->block, sg->length, sg->block * rd->block_size,
                              from + (sg->block * rd->block_size));   
#endif                                                                
        memcpy(sg->buffer, from + (sg->block * rd->block_size), sg->length);
ffc0c8bc:	80 1d 00 00 	lwz     r0,0(r29)                              
ffc0c8c0:	80 7e 00 08 	lwz     r3,8(r30)                              
ffc0c8c4:	7c 84 01 d6 	mullw   r4,r4,r0                               
ffc0c8c8:	80 be 00 04 	lwz     r5,4(r30)                              
#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++)           
ffc0c8cc:	3b de 00 10 	addi    r30,r30,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);
ffc0c8d0:	7c 9b 22 14 	add     r4,r27,r4                              
ffc0c8d4:	48 00 7a 65 	bl      ffc14338 <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++)           
ffc0c8d8:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc0c8dc:	7f 9c 00 40 	cmplw   cr7,r28,r0                             
ffc0c8e0:	41 9c ff d4 	blt+    cr7,ffc0c8b4 <ramdisk_ioctl+0x4c>      
ffc0c8e4:	48 00 00 44 	b       ffc0c928 <ramdisk_ioctl+0xc0>          
}                                                                     
                                                                      
static int                                                            
ramdisk_write(struct ramdisk *rd, rtems_blkdev_request *req)          
{                                                                     
    uint8_t *to = rd->area;                                           
ffc0c8e8:	83 7d 00 08 	lwz     r27,8(r29)                             
                                                                      
#if RTEMS_RAMDISK_TRACE                                               
    rtems_ramdisk_printf (rd, "ramdisk write: start=%d, blocks=%d",   
                          req->bufs[0].block, req->bufnum);           
#endif                                                                
    for (i = 0, sg = req->bufs; i < req->bufnum; i++, sg++)           
ffc0c8ec:	3b c5 00 18 	addi    r30,r5,24                              
ffc0c8f0:	3b 80 00 00 	li      r28,0                                  
ffc0c8f4:	48 00 00 28 	b       ffc0c91c <ramdisk_ioctl+0xb4>          
#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);
ffc0c8f8:	80 7e 00 00 	lwz     r3,0(r30)                              
                                                                      
#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++)           
ffc0c8fc:	3b 9c 00 01 	addi    r28,r28,1                              
#if RTEMS_RAMDISK_TRACE                                               
        rtems_ramdisk_printf (rd, "ramdisk write: buf=%d block=%d length=%d off=%d addr=%p",
                              i, sg->block, sg->length, sg->block * rd->block_size,
                              to + (sg->block * rd->block_size));     
#endif                                                                
        memcpy(to + (sg->block * rd->block_size), sg->buffer, sg->length);
ffc0c900:	80 1d 00 00 	lwz     r0,0(r29)                              
ffc0c904:	80 9e 00 08 	lwz     r4,8(r30)                              
ffc0c908:	7c 63 01 d6 	mullw   r3,r3,r0                               
ffc0c90c:	80 be 00 04 	lwz     r5,4(r30)                              
                                                                      
#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++)           
ffc0c910:	3b de 00 10 	addi    r30,r30,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);
ffc0c914:	7c 7b 1a 14 	add     r3,r27,r3                              
ffc0c918:	48 00 7a 21 	bl      ffc14338 <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++)           
ffc0c91c:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc0c920:	7f 9c 00 40 	cmplw   cr7,r28,r0                             
ffc0c924:	41 9c ff d4 	blt+    cr7,ffc0c8f8 <ramdisk_ioctl+0x90>      
                              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;                                   
ffc0c928:	38 00 00 00 	li      r0,0                                   
    req->req_done(req->done_arg, RTEMS_SUCCESSFUL);                   
ffc0c92c:	80 7f 00 08 	lwz     r3,8(r31)                              
                              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;                                   
ffc0c930:	90 1f 00 0c 	stw     r0,12(r31)                             
    req->req_done(req->done_arg, RTEMS_SUCCESSFUL);                   
ffc0c934:	38 80 00 00 	li      r4,0                                   
ffc0c938:	80 1f 00 04 	lwz     r0,4(r31)                              
ffc0c93c:	7c 09 03 a6 	mtctr   r0                                     
ffc0c940:	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);                      
ffc0c944:	38 60 00 00 	li      r3,0                                   
ffc0c948:	48 00 00 1c 	b       ffc0c964 <ramdisk_ioctl+0xfc>          
                                                                      
                default:                                              
                    errno = EINVAL;                                   
ffc0c94c:	48 00 6d c1 	bl      ffc1370c <__errno>                     <== NOT EXECUTED
ffc0c950:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc0c954:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
                    return -1;                                        
ffc0c958:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc0c95c:	48 00 00 08 	b       ffc0c964 <ramdisk_ioctl+0xfc>          <== NOT EXECUTED
            }                                                         
            break;                                                    
        }                                                             
                                                                      
        default:                                                      
            return rtems_blkdev_ioctl (dd, req, argp);                
ffc0c960:	48 00 2b 1d 	bl      ffc0f47c <rtems_blkdev_ioctl>          
            break;                                                    
    }                                                                 
                                                                      
    errno = EINVAL;                                                   
    return -1;                                                        
}                                                                     
ffc0c964:	39 61 00 20 	addi    r11,r1,32                              
ffc0c968:	48 00 bc 70 	b       ffc185d8 <_restgpr_27_x>               
                                                                      

ffc0ca38 <ramdisk_register>: rtems_blkdev_bnum block_count, bool trace, const char *disk, dev_t *dev_ptr ) {
ffc0ca38:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0ca3c:	7c 08 02 a6 	mflr    r0                                     
ffc0ca40:	bf 21 00 1c 	stmw    r25,28(r1)                             
ffc0ca44:	7c bf 2b 78 	mr      r31,r5                                 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number major = 0;                                
ffc0ca48:	7c 25 0b 78 	mr      r5,r1                                  
  rtems_blkdev_bnum block_count,                                      
  bool trace,                                                         
  const char *disk,                                                   
  dev_t *dev_ptr                                                      
)                                                                     
{                                                                     
ffc0ca4c:	90 01 00 3c 	stw     r0,60(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number major = 0;                                
ffc0ca50:	38 00 00 00 	li      r0,0                                   
  rtems_blkdev_bnum block_count,                                      
  bool trace,                                                         
  const char *disk,                                                   
  dev_t *dev_ptr                                                      
)                                                                     
{                                                                     
ffc0ca54:	7c 9a 23 78 	mr      r26,r4                                 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number major = 0;                                
ffc0ca58:	94 05 00 08 	stwu    r0,8(r5)                               
  ramdisk *rd = NULL;                                                 
  dev_t dev = 0;                                                      
                                                                      
  sc = rtems_io_register_driver(0, &ramdisk_ops, &major);             
ffc0ca5c:	3c 80 ff c2 	lis     r4,-62                                 
  rtems_blkdev_bnum block_count,                                      
  bool trace,                                                         
  const char *disk,                                                   
  dev_t *dev_ptr                                                      
)                                                                     
{                                                                     
ffc0ca60:	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);             
ffc0ca64:	38 84 a0 cc 	addi    r4,r4,-24372                           
ffc0ca68:	38 60 00 00 	li      r3,0                                   
  rtems_blkdev_bnum block_count,                                      
  bool trace,                                                         
  const char *disk,                                                   
  dev_t *dev_ptr                                                      
)                                                                     
{                                                                     
ffc0ca6c:	7c db 33 78 	mr      r27,r6                                 
ffc0ca70:	7c fd 3b 78 	mr      r29,r7                                 
  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);             
ffc0ca74:	4b ff c9 29 	bl      ffc0939c <rtems_io_register_driver>    
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc0ca78:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    return RTEMS_UNSATISFIED;                                         
ffc0ca7c:	3b c0 00 0d 	li      r30,13                                 
  rtems_device_major_number major = 0;                                
  ramdisk *rd = NULL;                                                 
  dev_t dev = 0;                                                      
                                                                      
  sc = rtems_io_register_driver(0, &ramdisk_ops, &major);             
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc0ca80:	40 be 00 6c 	bne+    cr7,ffc0caec <ramdisk_register+0xb4>   <== NEVER TAKEN
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  rd = ramdisk_allocate(NULL, block_size, block_count, trace);        
ffc0ca84:	7f e6 fb 78 	mr      r6,r31                                 
ffc0ca88:	7f 24 cb 78 	mr      r4,r25                                 
ffc0ca8c:	7f 45 d3 78 	mr      r5,r26                                 
ffc0ca90:	4b ff fe dd 	bl      ffc0c96c <ramdisk_allocate>            
ffc0ca94:	83 e1 00 08 	lwz     r31,8(r1)                              
  if (rd == NULL) {                                                   
ffc0ca98:	7c 7c 1b 79 	mr.     r28,r3                                 
    rtems_io_unregister_driver(major);                                
ffc0ca9c:	7f e3 fb 78 	mr      r3,r31                                 
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  rd = ramdisk_allocate(NULL, block_size, block_count, trace);        
  if (rd == NULL) {                                                   
ffc0caa0:	41 82 00 38 	beq-    ffc0cad8 <ramdisk_register+0xa0>       <== NEVER TAKEN
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  dev = rtems_filesystem_make_dev_t(major, 0);                        
                                                                      
  sc = rtems_disk_create_phys(                                        
ffc0caa4:	3c e0 ff c1 	lis     r7,-63                                 
ffc0caa8:	38 80 00 00 	li      r4,0                                   
ffc0caac:	7f 25 cb 78 	mr      r5,r25                                 
ffc0cab0:	7f 46 d3 78 	mr      r6,r26                                 
ffc0cab4:	38 e7 c8 68 	addi    r7,r7,-14232                           
ffc0cab8:	7f 88 e3 78 	mr      r8,r28                                 
ffc0cabc:	7f 69 db 78 	mr      r9,r27                                 
ffc0cac0:	4b ff 76 f1 	bl      ffc041b0 <rtems_disk_create_phys>      
    block_count,                                                      
    ramdisk_ioctl,                                                    
    rd,                                                               
    disk                                                              
  );                                                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc0cac4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0cac8:	41 82 00 18 	beq-    ffc0cae0 <ramdisk_register+0xa8>       <== ALWAYS TAKEN
    ramdisk_free(rd);                                                 
ffc0cacc:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc0cad0:	4b ff ff 29 	bl      ffc0c9f8 <ramdisk_free>                <== NOT EXECUTED
    rtems_io_unregister_driver(major);                                
ffc0cad4:	80 61 00 08 	lwz     r3,8(r1)                               <== NOT EXECUTED
ffc0cad8:	4b ff ca 31 	bl      ffc09508 <rtems_io_unregister_driver>  <== NOT EXECUTED
                                                                      
    return RTEMS_UNSATISFIED;                                         
ffc0cadc:	48 00 00 10 	b       ffc0caec <ramdisk_register+0xb4>       <== NOT EXECUTED
  }                                                                   
                                                                      
  *dev_ptr = dev;                                                     
ffc0cae0:	93 fd 00 00 	stw     r31,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0cae4:	3b c0 00 00 	li      r30,0                                  
    rtems_io_unregister_driver(major);                                
                                                                      
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  *dev_ptr = dev;                                                     
ffc0cae8:	90 7d 00 04 	stw     r3,4(r29)                              
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0caec:	39 61 00 38 	addi    r11,r1,56                              
ffc0caf0:	7f c3 f3 78 	mr      r3,r30                                 
ffc0caf4:	48 00 ba dc 	b       ffc185d0 <_restgpr_25_x>               
                                                                      

ffc1aa50 <read>: ssize_t read( int fd, void *buffer, size_t count ) {
ffc1aa50:	7c 08 02 a6 	mflr    r0                                     
ffc1aa54:	7c 2b 0b 78 	mr      r11,r1                                 
ffc1aa58:	94 21 ff f0 	stwu    r1,-16(r1)                             
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1aa5c:	3d 40 00 00 	lis     r10,0                                  
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
ffc1aa60:	90 01 00 14 	stw     r0,20(r1)                              
ffc1aa64:	4b ff f9 b9 	bl      ffc1a41c <_savegpr_31>                 
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1aa68:	80 0a 26 fc 	lwz     r0,9980(r10)                           
ffc1aa6c:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc1aa70:	40 9c 00 48 	bge-    cr7,ffc1aab8 <read+0x68>               
  iop = rtems_libio_iop( fd );                                        
ffc1aa74:	3d 40 00 00 	lis     r10,0                                  
ffc1aa78:	83 ea 27 ac 	lwz     r31,10156(r10)                         
ffc1aa7c:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc1aa80:	7f ff 1a 14 	add     r31,r31,r3                             
  rtems_libio_check_is_open( iop );                                   
ffc1aa84:	80 1f 00 18 	lwz     r0,24(r31)                             
ffc1aa88:	70 0a 01 00 	andi.   r10,r0,256                             
ffc1aa8c:	41 82 00 2c 	beq-    ffc1aab8 <read+0x68>                   
  rtems_libio_check_buffer( buffer );                                 
ffc1aa90:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc1aa94:	40 be 00 10 	bne+    cr7,ffc1aaa4 <read+0x54>               <== ALWAYS TAKEN
ffc1aa98:	4b ff 51 ed 	bl      ffc0fc84 <__errno>                     <== NOT EXECUTED
ffc1aa9c:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc1aaa0:	48 00 00 20 	b       ffc1aac0 <read+0x70>                   <== NOT EXECUTED
  rtems_libio_check_count( count );                                   
ffc1aaa4:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc1aaa8:	38 60 00 00 	li      r3,0                                   
ffc1aaac:	41 9e 00 5c 	beq-    cr7,ffc1ab08 <read+0xb8>               
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_READ, EBADF );
ffc1aab0:	70 09 00 02 	andi.   r9,r0,2                                
ffc1aab4:	40 a2 00 18 	bne+    ffc1aacc <read+0x7c>                   
ffc1aab8:	4b ff 51 cd 	bl      ffc0fc84 <__errno>                     
ffc1aabc:	38 00 00 09 	li      r0,9                                   
ffc1aac0:	90 03 00 00 	stw     r0,0(r3)                               
ffc1aac4:	38 60 ff ff 	li      r3,-1                                  
ffc1aac8:	48 00 00 40 	b       ffc1ab08 <read+0xb8>                   
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
  rc = (*iop->pathinfo.handlers->read_h)( iop, buffer, count );       
ffc1aacc:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc1aad0:	7f e3 fb 78 	mr      r3,r31                                 
ffc1aad4:	80 09 00 08 	lwz     r0,8(r9)                               
ffc1aad8:	7c 09 03 a6 	mtctr   r0                                     
ffc1aadc:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( rc > 0 )                                                       
ffc1aae0:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1aae4:	40 81 00 24 	ble-    ffc1ab08 <read+0xb8>                   
    iop->offset += rc;                                                
ffc1aae8:	81 1f 00 10 	lwz     r8,16(r31)                             
ffc1aaec:	7c 6b 1b 78 	mr      r11,r3                                 
ffc1aaf0:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc1aaf4:	7c 6a fe 70 	srawi   r10,r3,31                              
ffc1aaf8:	7d 6b 48 14 	addc    r11,r11,r9                             
ffc1aafc:	7d 4a 41 14 	adde    r10,r10,r8                             
ffc1ab00:	91 5f 00 10 	stw     r10,16(r31)                            
ffc1ab04:	91 7f 00 14 	stw     r11,20(r31)                            
                                                                      
  return rc;                                                          
}                                                                     
ffc1ab08:	39 61 00 10 	addi    r11,r1,16                              
ffc1ab0c:	4b fe 5a 38 	b       ffc00544 <_restgpr_31_x>               
                                                                      

ffc06bb0 <readlink>: ssize_t readlink( const char *pathname, char *buf, size_t bufsize ) {
ffc06bb0:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc06bb4:	7c 08 02 a6 	mflr    r0                                     
ffc06bb8:	bf a1 00 2c 	stmw    r29,44(r1)                             
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
ffc06bbc:	7c 9e 23 79 	mr.     r30,r4                                 
ssize_t readlink(                                                     
  const char *pathname,                                               
  char       *buf,                                                    
  size_t      bufsize                                                 
)                                                                     
{                                                                     
ffc06bc0:	7c 7d 1b 78 	mr      r29,r3                                 
ffc06bc4:	90 01 00 3c 	stw     r0,60(r1)                              
ffc06bc8:	7c bf 2b 78 	mr      r31,r5                                 
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
ffc06bcc:	40 a2 00 18 	bne+    ffc06be4 <readlink+0x34>               
    rtems_set_errno_and_return_minus_one( EFAULT );                   
ffc06bd0:	48 00 a5 25 	bl      ffc110f4 <__errno>                     
ffc06bd4:	38 00 00 0e 	li      r0,14                                  
ffc06bd8:	90 03 00 00 	stw     r0,0(r3)                               
ffc06bdc:	3b a0 ff ff 	li      r29,-1                                 
ffc06be0:	48 00 00 88 	b       ffc06c68 <readlink+0xb8>               
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
ffc06be4:	48 00 bb d5 	bl      ffc127b8 <strlen>                      
ffc06be8:	38 a0 00 00 	li      r5,0                                   
ffc06bec:	7c 64 1b 78 	mr      r4,r3                                  
ffc06bf0:	38 c1 00 08 	addi    r6,r1,8                                
ffc06bf4:	7f a3 eb 78 	mr      r3,r29                                 
ffc06bf8:	38 e0 00 00 	li      r7,0                                   
ffc06bfc:	4b ff e9 29 	bl      ffc05524 <rtems_filesystem_evaluate_path>
                                           0, &loc, false );          
  if ( result != 0 )                                                  
     return -1;                                                       
ffc06c00:	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 )                                                  
ffc06c04:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06c08:	40 9e 00 60 	bne-    cr7,ffc06c68 <readlink+0xb8>           <== NEVER TAKEN
     return -1;                                                       
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
ffc06c0c:	81 21 00 14 	lwz     r9,20(r1)                              
ffc06c10:	38 61 00 08 	addi    r3,r1,8                                
ffc06c14:	80 09 00 10 	lwz     r0,16(r9)                              
ffc06c18:	7c 09 03 a6 	mtctr   r0                                     
ffc06c1c:	4e 80 04 21 	bctrl                                          
ffc06c20:	2f 83 00 04 	cmpwi   cr7,r3,4                               
ffc06c24:	41 be 00 1c 	beq+    cr7,ffc06c40 <readlink+0x90>           
    rtems_filesystem_freenode( &loc );                                
ffc06c28:	38 61 00 08 	addi    r3,r1,8                                
ffc06c2c:	4b ff ea e9 	bl      ffc05714 <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc06c30:	48 00 a4 c5 	bl      ffc110f4 <__errno>                     
ffc06c34:	38 00 00 16 	li      r0,22                                  
ffc06c38:	90 03 00 00 	stw     r0,0(r3)                               
ffc06c3c:	48 00 00 2c 	b       ffc06c68 <readlink+0xb8>               
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
ffc06c40:	81 21 00 14 	lwz     r9,20(r1)                              
ffc06c44:	38 61 00 08 	addi    r3,r1,8                                
ffc06c48:	7f c4 f3 78 	mr      r4,r30                                 
ffc06c4c:	80 09 00 3c 	lwz     r0,60(r9)                              
ffc06c50:	7f e5 fb 78 	mr      r5,r31                                 
ffc06c54:	7c 09 03 a6 	mtctr   r0                                     
ffc06c58:	4e 80 04 21 	bctrl                                          
ffc06c5c:	7c 7d 1b 78 	mr      r29,r3                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc06c60:	38 61 00 08 	addi    r3,r1,8                                
ffc06c64:	4b ff ea b1 	bl      ffc05714 <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc06c68:	39 61 00 38 	addi    r11,r1,56                              
ffc06c6c:	7f a3 eb 78 	mr      r3,r29                                 
ffc06c70:	4b ff a6 b8 	b       ffc01328 <_restgpr_29_x>               
                                                                      

ffc06520 <readv>: ssize_t readv( int fd, const struct iovec *iov, int iovcnt ) {
ffc06520:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc06524:	7c 08 02 a6 	mflr    r0                                     
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc06528:	3d 20 00 00 	lis     r9,0                                   
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc0652c:	90 01 00 2c 	stw     r0,44(r1)                              
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc06530:	80 09 26 dc 	lwz     r0,9948(r9)                            
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc06534:	bf 01 00 08 	stmw    r24,8(r1)                              
ffc06538:	7c 9a 23 78 	mr      r26,r4                                 
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc0653c:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc06540:	40 9c 00 28 	bge-    cr7,ffc06568 <readv+0x48>              
  iop = rtems_libio_iop( fd );                                        
ffc06544:	3d 20 00 00 	lis     r9,0                                   
ffc06548:	83 69 27 88 	lwz     r27,10120(r9)                          
ffc0654c:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc06550:	7f 7b 1a 14 	add     r27,r27,r3                             
  rtems_libio_check_is_open( iop );                                   
ffc06554:	80 1b 00 18 	lwz     r0,24(r27)                             
ffc06558:	70 09 01 00 	andi.   r9,r0,256                              
ffc0655c:	41 82 00 0c 	beq-    ffc06568 <readv+0x48>                  
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_READ, EBADF );
ffc06560:	70 09 00 02 	andi.   r9,r0,2                                
ffc06564:	40 a2 00 10 	bne+    ffc06574 <readv+0x54>                  <== ALWAYS TAKEN
ffc06568:	48 00 a1 6d 	bl      ffc106d4 <__errno>                     
ffc0656c:	38 00 00 09 	li      r0,9                                   
ffc06570:	48 00 00 5c 	b       ffc065cc <readv+0xac>                  
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
ffc06574:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc06578:	41 9e 00 4c 	beq-    cr7,ffc065c4 <readv+0xa4>              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
ffc0657c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc06580:	40 9d 00 44 	ble-    cr7,ffc065c4 <readv+0xa4>              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
ffc06584:	2f 85 04 00 	cmpwi   cr7,r5,1024                            
ffc06588:	41 9d 00 3c 	bgt-    cr7,ffc065c4 <readv+0xa4>              <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc0658c:	7c 89 23 78 	mr      r9,r4                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
ffc06590:	7c a9 03 a6 	mtctr   r5                                     
ffc06594:	38 00 00 01 	li      r0,1                                   
ffc06598:	3b 00 00 00 	li      r24,0                                  
ffc0659c:	39 60 00 00 	li      r11,0                                  
ffc065a0:	48 00 00 08 	b       ffc065a8 <readv+0x88>                  
    if ( iov[v].iov_base == 0 )                                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
ffc065a4:	7d 0b 43 78 	mr      r11,r8                                 
                                                                      
    /*                                                                
     *  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 )                                       
ffc065a8:	81 49 00 00 	lwz     r10,0(r9)                              
ffc065ac:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc065b0:	41 9e 00 14 	beq-    cr7,ffc065c4 <readv+0xa4>              
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
ffc065b4:	81 49 00 04 	lwz     r10,4(r9)                              
ffc065b8:	7d 0a 5a 14 	add     r8,r10,r11                             
    if ( total < old )                                                
ffc065bc:	7f 88 58 00 	cmpw    cr7,r8,r11                             
ffc065c0:	40 bc 00 14 	bge+    cr7,ffc065d4 <readv+0xb4>              
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc065c4:	48 00 a1 11 	bl      ffc106d4 <__errno>                     
ffc065c8:	38 00 00 16 	li      r0,22                                  
ffc065cc:	90 03 00 00 	stw     r0,0(r3)                               
ffc065d0:	48 00 00 9c 	b       ffc0666c <readv+0x14c>                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
ffc065d4:	31 4a ff ff 	addic   r10,r10,-1                             
ffc065d8:	7d 4a 51 10 	subfe   r10,r10,r10                            
ffc065dc:	7c 00 50 38 	and     r0,r0,r10                              
   *  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++ ) {                           
ffc065e0:	3b 18 00 01 	addi    r24,r24,1                              
ffc065e4:	39 29 00 08 	addi    r9,r9,8                                
ffc065e8:	42 00 ff bc 	bdnz+   ffc065a4 <readv+0x84>                  
  /*                                                                  
   *  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 ) {                                          
ffc065ec:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return 0;                                                         
ffc065f0:	3b a0 00 00 	li      r29,0                                  
  /*                                                                  
   *  A readv with all zeros logically has no effect.  Even though    
   *  OpenGroup didn't address this case as they did with writev(),   
   *  we will handle it the same way for symmetry.                    
   */                                                                 
  if ( all_zeros == true ) {                                          
ffc065f4:	40 9e 00 7c 	bne-    cr7,ffc06670 <readv+0x150>             
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t readv(                                                        
ffc065f8:	57 18 18 38 	rlwinm  r24,r24,3,0,28                         
ffc065fc:	3b 80 00 00 	li      r28,0                                  
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    bytes = (*iop->pathinfo.handlers->read_h)(                        
ffc06600:	81 3b 00 24 	lwz     r9,36(r27)                             
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t readv(                                                        
ffc06604:	7f 3a e2 14 	add     r25,r26,r28                            
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    bytes = (*iop->pathinfo.handlers->read_h)(                        
ffc06608:	7f 63 db 78 	mr      r3,r27                                 
ffc0660c:	7c 9a e0 2e 	lwzx    r4,r26,r28                             
ffc06610:	80 09 00 08 	lwz     r0,8(r9)                               
ffc06614:	80 b9 00 04 	lwz     r5,4(r25)                              
ffc06618:	7c 09 03 a6 	mtctr   r0                                     
ffc0661c:	4e 80 04 21 	bctrl                                          
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
ffc06620:	2c 03 00 00 	cmpwi   r3,0                                   
ffc06624:	41 80 00 48 	blt-    ffc0666c <readv+0x14c>                 <== NEVER TAKEN
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
ffc06628:	41 82 00 28 	beq-    ffc06650 <readv+0x130>                 <== NEVER TAKEN
      iop->offset += bytes;                                           
ffc0662c:	81 5b 00 10 	lwz     r10,16(r27)                            
ffc06630:	7c 7f 1b 78 	mr      r31,r3                                 
ffc06634:	81 7b 00 14 	lwz     r11,20(r27)                            
ffc06638:	7c 7e fe 70 	srawi   r30,r3,31                              
      total       += bytes;                                           
ffc0663c:	7f bd 1a 14 	add     r29,r29,r3                             
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
ffc06640:	7d 6b f8 14 	addc    r11,r11,r31                            
ffc06644:	7d 4a f1 14 	adde    r10,r10,r30                            
ffc06648:	91 5b 00 10 	stw     r10,16(r27)                            
ffc0664c:	91 7b 00 14 	stw     r11,20(r27)                            
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
ffc06650:	80 19 00 04 	lwz     r0,4(r25)                              
ffc06654:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc06658:	40 9e 00 18 	bne-    cr7,ffc06670 <readv+0x150>             <== NEVER TAKEN
ffc0665c:	3b 9c 00 08 	addi    r28,r28,8                              
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
ffc06660:	7f 9c c0 00 	cmpw    cr7,r28,r24                            
ffc06664:	40 9e ff 9c 	bne+    cr7,ffc06600 <readv+0xe0>              
ffc06668:	48 00 00 08 	b       ffc06670 <readv+0x150>                 
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
ffc0666c:	3b a0 ff ff 	li      r29,-1                                 
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
ffc06670:	39 61 00 28 	addi    r11,r1,40                              
ffc06674:	7f a3 eb 78 	mr      r3,r29                                 
ffc06678:	4b ff a4 fc 	b       ffc00b74 <_restgpr_24_x>               
                                                                      

ffc1ab74 <realloc>: void *realloc( void *ptr, size_t size ) {
ffc1ab74:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc1ab78:	7c 08 02 a6 	mflr    r0                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc1ab7c:	3d 20 00 00 	lis     r9,0                                   
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc1ab80:	90 01 00 2c 	stw     r0,44(r1)                              
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc1ab84:	39 29 2a e8 	addi    r9,r9,10984                            
ffc1ab88:	81 69 00 10 	lwz     r11,16(r9)                             
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc1ab8c:	bf a1 00 1c 	stmw    r29,28(r1)                             
ffc1ab90:	7c 7f 1b 78 	mr      r31,r3                                 
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc1ab94:	38 0b 00 01 	addi    r0,r11,1                               
ffc1ab98:	90 09 00 10 	stw     r0,16(r9)                              
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
ffc1ab9c:	3d 20 00 00 	lis     r9,0                                   
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc1aba0:	7c 9e 23 78 	mr      r30,r4                                 
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
ffc1aba4:	80 09 28 04 	lwz     r0,10244(r9)                           
ffc1aba8:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc1abac:	40 be 00 24 	bne+    cr7,ffc1abd0 <realloc+0x5c>            <== NEVER TAKEN
   * 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 )                      
ffc1abb0:	3d 20 00 00 	lis     r9,0                                   
ffc1abb4:	80 09 27 c8 	lwz     r0,10184(r9)                           
ffc1abb8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1abbc:	40 9e 00 d8 	bne-    cr7,ffc1ac94 <realloc+0x120>           <== NEVER TAKEN
    if (_Thread_Dispatch_in_critical_section())                       
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
ffc1abc0:	3d 20 00 00 	lis     r9,0                                   
ffc1abc4:	80 09 2d c0 	lwz     r0,11712(r9)                           
ffc1abc8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1abcc:	40 9e 00 c8 	bne-    cr7,ffc1ac94 <realloc+0x120>           <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
ffc1abd0:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc1abd4:	40 be 00 14 	bne+    cr7,ffc1abe8 <realloc+0x74>            
    return malloc( size );                                            
ffc1abd8:	7f c3 f3 78 	mr      r3,r30                                 
ffc1abdc:	4b fe a1 29 	bl      ffc04d04 <malloc>                      
ffc1abe0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1abe4:	48 00 00 b4 	b       ffc1ac98 <realloc+0x124>               
                                                                      
  if ( !size ) {                                                      
ffc1abe8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc1abec:	40 be 00 10 	bne+    cr7,ffc1abfc <realloc+0x88>            <== ALWAYS TAKEN
    free( ptr );                                                      
ffc1abf0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1abf4:	4b fe 9d 69 	bl      ffc0495c <free>                        <== NOT EXECUTED
ffc1abf8:	48 00 00 9c 	b       ffc1ac94 <realloc+0x120>               <== NOT EXECUTED
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
ffc1abfc:	3f a0 00 00 	lis     r29,0                                  
ffc1ac00:	80 7d 26 ec 	lwz     r3,9964(r29)                           
ffc1ac04:	7f e4 fb 78 	mr      r4,r31                                 
ffc1ac08:	38 a1 00 08 	addi    r5,r1,8                                
ffc1ac0c:	48 00 01 59 	bl      ffc1ad64 <_Protected_heap_Get_block_size>
ffc1ac10:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1ac14:	40 be 00 14 	bne+    cr7,ffc1ac28 <realloc+0xb4>            
    errno = EINVAL;                                                   
ffc1ac18:	4b ff 50 6d 	bl      ffc0fc84 <__errno>                     
ffc1ac1c:	38 00 00 16 	li      r0,22                                  
ffc1ac20:	90 03 00 00 	stw     r0,0(r3)                               
ffc1ac24:	48 00 00 70 	b       ffc1ac94 <realloc+0x120>               
  }                                                                   
                                                                      
  /*                                                                  
   *  Now resize it.                                                  
   */                                                                 
  if ( _Protected_heap_Resize_block( RTEMS_Malloc_Heap, ptr, size ) ) {
ffc1ac28:	80 7d 26 ec 	lwz     r3,9964(r29)                           
ffc1ac2c:	7f e4 fb 78 	mr      r4,r31                                 
ffc1ac30:	7f c5 f3 78 	mr      r5,r30                                 
ffc1ac34:	48 00 01 81 	bl      ffc1adb4 <_Protected_heap_Resize_block>
ffc1ac38:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1ac3c:	40 be 00 5c 	bne+    cr7,ffc1ac98 <realloc+0x124>           
   *  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 );                                          
ffc1ac40:	7f c3 f3 78 	mr      r3,r30                                 
ffc1ac44:	4b fe a0 c1 	bl      ffc04d04 <malloc>                      
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
ffc1ac48:	3d 20 00 00 	lis     r9,0                                   
                                                                      
  if ( !new_area ) {                                                  
ffc1ac4c:	7c 7d 1b 79 	mr.     r29,r3                                 
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
ffc1ac50:	39 29 2a e8 	addi    r9,r9,10984                            
ffc1ac54:	81 69 00 04 	lwz     r11,4(r9)                              
ffc1ac58:	38 0b ff ff 	addi    r0,r11,-1                              
ffc1ac5c:	90 09 00 04 	stw     r0,4(r9)                               
                                                                      
  if ( !new_area ) {                                                  
ffc1ac60:	41 82 00 34 	beq-    ffc1ac94 <realloc+0x120>               
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
ffc1ac64:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1ac68:	7f c5 f3 78 	mr      r5,r30                                 
ffc1ac6c:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc1ac70:	40 9d 00 08 	ble-    cr7,ffc1ac78 <realloc+0x104>           <== NEVER TAKEN
ffc1ac74:	7c 05 03 78 	mr      r5,r0                                  
ffc1ac78:	7f e4 fb 78 	mr      r4,r31                                 
ffc1ac7c:	7f a3 eb 78 	mr      r3,r29                                 
ffc1ac80:	4b ff 5d 41 	bl      ffc109c0 <memcpy>                      
  free( ptr );                                                        
ffc1ac84:	7f e3 fb 78 	mr      r3,r31                                 
ffc1ac88:	4b fe 9c d5 	bl      ffc0495c <free>                        
                                                                      
  return new_area;                                                    
ffc1ac8c:	7f bf eb 78 	mr      r31,r29                                
ffc1ac90:	48 00 00 08 	b       ffc1ac98 <realloc+0x124>               
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
                                                                      
  if ( !new_area ) {                                                  
    return (void *) 0;                                                
ffc1ac94:	3b e0 00 00 	li      r31,0                                  
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
ffc1ac98:	39 61 00 28 	addi    r11,r1,40                              
ffc1ac9c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1aca0:	4b fe 58 9c 	b       ffc0053c <_restgpr_29_x>               
                                                                      

ffc05764 <rmdir>: #include <rtems/seterr.h> int rmdir( const char *pathname ) {
ffc05764:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc05768:	7c 08 02 a6 	mflr    r0                                     
ffc0576c:	bf 41 00 38 	stmw    r26,56(r1)                             
ffc05770:	7c 7c 1b 78 	mr      r28,r3                                 
ffc05774:	90 01 00 54 	stw     r0,84(r1)                              
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
ffc05778:	4b ff f0 01 	bl      ffc04778 <rtems_filesystem_dirname>    
                                                                      
  if ( parentpathlen == 0 )                                           
ffc0577c:	7c 7b 1b 79 	mr.     r27,r3                                 
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
ffc05780:	7f 83 e3 78 	mr      r3,r28                                 
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
ffc05784:	40 82 00 18 	bne-    ffc0579c <rmdir+0x38>                  
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
ffc05788:	38 81 00 08 	addi    r4,r1,8                                
ffc0578c:	38 a1 00 20 	addi    r5,r1,32                               
ffc05790:	48 00 01 11 	bl      ffc058a0 <rtems_filesystem_get_start_loc>
  const char                       *name;                             
  rtems_filesystem_location_info_t  parentloc;                        
  rtems_filesystem_location_info_t  loc;                              
  int                               i;                                
  int                               result;                           
  bool                              free_parentloc = false;           
ffc05794:	3b a0 00 00 	li      r29,0                                  
ffc05798:	48 00 00 28 	b       ffc057c0 <rmdir+0x5c>                  
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
ffc0579c:	7f 64 db 78 	mr      r4,r27                                 
ffc057a0:	38 a0 00 02 	li      r5,2                                   
ffc057a4:	38 c1 00 20 	addi    r6,r1,32                               
ffc057a8:	38 e0 00 00 	li      r7,0                                   
ffc057ac:	4b ff ef 71 	bl      ffc0471c <rtems_filesystem_evaluate_path>
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
      return -1;                                                      
ffc057b0:	3b 40 ff ff 	li      r26,-1                                 
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
ffc057b4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc057b8:	40 9e 00 dc 	bne-    cr7,ffc05894 <rmdir+0x130>             <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
ffc057bc:	3b a0 00 01 	li      r29,1                                  
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
ffc057c0:	3b e1 00 0c 	addi    r31,r1,12                              
ffc057c4:	3b c1 00 20 	addi    r30,r1,32                              
ffc057c8:	7c be a4 aa 	lswi    r5,r30,20                              
ffc057cc:	7c bf a5 aa 	stswi   r5,r31,20                              
  name = pathname + parentpathlen;                                    
ffc057d0:	7f 9c da 14 	add     r28,r28,r27                            
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc057d4:	7f 83 e3 78 	mr      r3,r28                                 
ffc057d8:	48 00 b8 dd 	bl      ffc110b4 <strlen>                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
ffc057dc:	3b 40 ff ff 	li      r26,-1                                 
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
  name = pathname + parentpathlen;                                    
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc057e0:	7c 64 1b 78 	mr      r4,r3                                  
ffc057e4:	7f 83 e3 78 	mr      r3,r28                                 
ffc057e8:	4b ff ef d9 	bl      ffc047c0 <rtems_filesystem_prefix_separators>
ffc057ec:	7f 9c 1a 14 	add     r28,r28,r3                             
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
ffc057f0:	7f 83 e3 78 	mr      r3,r28                                 
ffc057f4:	48 00 b8 c1 	bl      ffc110b4 <strlen>                      
ffc057f8:	38 a0 00 00 	li      r5,0                                   
ffc057fc:	7c 64 1b 78 	mr      r4,r3                                  
ffc05800:	7f e6 fb 78 	mr      r6,r31                                 
ffc05804:	7f 83 e3 78 	mr      r3,r28                                 
ffc05808:	38 e0 00 00 	li      r7,0                                   
ffc0580c:	4b ff ee 8d 	bl      ffc04698 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
ffc05810:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05814:	40 be 00 70 	bne+    cr7,ffc05884 <rmdir+0x120>             
  }                                                                   
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
ffc05818:	81 21 00 18 	lwz     r9,24(r1)                              
ffc0581c:	7f e3 fb 78 	mr      r3,r31                                 
ffc05820:	80 09 00 10 	lwz     r0,16(r9)                              
ffc05824:	7c 09 03 a6 	mtctr   r0                                     
ffc05828:	4e 80 04 21 	bctrl                                          
ffc0582c:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc05830:	41 be 00 30 	beq+    cr7,ffc05860 <rmdir+0xfc>              
    rtems_filesystem_freenode( &loc );                                
ffc05834:	7f e3 fb 78 	mr      r3,r31                                 
ffc05838:	4b ff ef d9 	bl      ffc04810 <rtems_filesystem_freenode>   
    if ( free_parentloc )                                             
ffc0583c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc05840:	41 be 00 0c 	beq+    cr7,ffc0584c <rmdir+0xe8>              <== NEVER TAKEN
      rtems_filesystem_freenode( &parentloc );                        
ffc05844:	7f c3 f3 78 	mr      r3,r30                                 
ffc05848:	4b ff ef c9 	bl      ffc04810 <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc0584c:	48 00 a6 ed 	bl      ffc0ff38 <__errno>                     
ffc05850:	38 00 00 14 	li      r0,20                                  
ffc05854:	90 03 00 00 	stw     r0,0(r3)                               
ffc05858:	3b 40 ff ff 	li      r26,-1                                 
ffc0585c:	48 00 00 38 	b       ffc05894 <rmdir+0x130>                 
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
ffc05860:	81 21 00 14 	lwz     r9,20(r1)                              
ffc05864:	7f c3 f3 78 	mr      r3,r30                                 
ffc05868:	7f e4 fb 78 	mr      r4,r31                                 
ffc0586c:	80 09 00 34 	lwz     r0,52(r9)                              
ffc05870:	7c 09 03 a6 	mtctr   r0                                     
ffc05874:	4e 80 04 21 	bctrl                                          
ffc05878:	7c 7a 1b 78 	mr      r26,r3                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc0587c:	7f e3 fb 78 	mr      r3,r31                                 
ffc05880:	4b ff ef 91 	bl      ffc04810 <rtems_filesystem_freenode>   
  if ( free_parentloc )                                               
ffc05884:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc05888:	41 be 00 0c 	beq+    cr7,ffc05894 <rmdir+0x130>             
    rtems_filesystem_freenode( &parentloc );                          
ffc0588c:	7f c3 f3 78 	mr      r3,r30                                 
ffc05890:	4b ff ef 81 	bl      ffc04810 <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc05894:	39 61 00 50 	addi    r11,r1,80                              
ffc05898:	7f 43 d3 78 	mr      r3,r26                                 
ffc0589c:	48 00 f6 ac 	b       ffc14f48 <_restgpr_26_x>               
                                                                      

ffc0d174 <rtems_bdbuf_add_to_modified_list_after_access>: } } static void rtems_bdbuf_add_to_modified_list_after_access (rtems_bdbuf_buffer *bd) {
ffc0d174:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0d178:	7c 08 02 a6 	mflr    r0                                     
  if (bdbuf_cache.sync_active && bdbuf_cache.sync_device == bd->dev)  
ffc0d17c:	3d 20 00 00 	lis     r9,0                                   
  }                                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_add_to_modified_list_after_access (rtems_bdbuf_buffer *bd)
{                                                                     
ffc0d180:	90 01 00 14 	stw     r0,20(r1)                              
  if (bdbuf_cache.sync_active && bdbuf_cache.sync_device == bd->dev)  
ffc0d184:	39 29 29 90 	addi    r9,r9,10640                            
ffc0d188:	88 09 00 30 	lbz     r0,48(r9)                              
  }                                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_add_to_modified_list_after_access (rtems_bdbuf_buffer *bd)
{                                                                     
ffc0d18c:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc0d190:	7c 7f 1b 78 	mr      r31,r3                                 
  if (bdbuf_cache.sync_active && bdbuf_cache.sync_device == bd->dev)  
ffc0d194:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d198:	41 9e 00 34 	beq-    cr7,ffc0d1cc <rtems_bdbuf_add_to_modified_list_after_access+0x58><== ALWAYS TAKEN
ffc0d19c:	81 49 00 38 	lwz     r10,56(r9)                             <== NOT EXECUTED
ffc0d1a0:	80 03 00 18 	lwz     r0,24(r3)                              <== NOT EXECUTED
ffc0d1a4:	81 69 00 3c 	lwz     r11,60(r9)                             <== NOT EXECUTED
ffc0d1a8:	7f 80 50 00 	cmpw    cr7,r0,r10                             <== NOT EXECUTED
ffc0d1ac:	40 be 00 20 	bne+    cr7,ffc0d1cc <rtems_bdbuf_add_to_modified_list_after_access+0x58><== NOT EXECUTED
ffc0d1b0:	80 03 00 1c 	lwz     r0,28(r3)                              <== NOT EXECUTED
ffc0d1b4:	7f 80 58 00 	cmpw    cr7,r0,r11                             <== NOT EXECUTED
ffc0d1b8:	40 be 00 14 	bne+    cr7,ffc0d1cc <rtems_bdbuf_add_to_modified_list_after_access+0x58><== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_unlock_cache ();                                      
ffc0d1bc:	4b ff fb c5 	bl      ffc0cd80 <rtems_bdbuf_unlock_cache>    <== NOT EXECUTED
                                                                      
    /*                                                                
     * Wait for the sync lock.                                        
     */                                                               
    rtems_bdbuf_lock_sync ();                                         
ffc0d1c0:	4b ff f9 ad 	bl      ffc0cb6c <rtems_bdbuf_lock_sync>       <== NOT EXECUTED
                                                                      
    rtems_bdbuf_unlock_sync ();                                       
ffc0d1c4:	4b ff fb f9 	bl      ffc0cdbc <rtems_bdbuf_unlock_sync>     <== NOT EXECUTED
    rtems_bdbuf_lock_cache ();                                        
ffc0d1c8:	4b ff f9 61 	bl      ffc0cb28 <rtems_bdbuf_lock_cache>      <== 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                    
ffc0d1cc:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc0d1d0:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0d1d4:	41 9e 00 10 	beq-    cr7,ffc0d1e4 <rtems_bdbuf_add_to_modified_list_after_access+0x70>
        || bd->state == RTEMS_BDBUF_STATE_ACCESS_EMPTY)               
ffc0d1d8:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc0d1dc:	2f 80 00 05 	cmpwi   cr7,r0,5                               
ffc0d1e0:	40 be 00 10 	bne+    cr7,ffc0d1f0 <rtems_bdbuf_add_to_modified_list_after_access+0x7c>
    bd->hold_timer = bdbuf_config.swap_block_hold;                    
ffc0d1e4:	3d 20 ff c2 	lis     r9,-62                                 
ffc0d1e8:	80 09 93 a4 	lwz     r0,-27740(r9)                          
ffc0d1ec:	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;                                                  
ffc0d1f0:	38 00 00 07 	li      r0,7                                   
  if (bd->state == RTEMS_BDBUF_STATE_ACCESS_CACHED                    
        || bd->state == RTEMS_BDBUF_STATE_ACCESS_EMPTY)               
    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);              
ffc0d1f4:	3f c0 00 00 	lis     r30,0                                  
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0d1f8:	90 1f 00 28 	stw     r0,40(r31)                             
  if (bd->state == RTEMS_BDBUF_STATE_ACCESS_CACHED                    
        || bd->state == RTEMS_BDBUF_STATE_ACCESS_EMPTY)               
    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);              
ffc0d1fc:	3b de 29 90 	addi    r30,r30,10640                          
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
ffc0d200:	38 7e 00 50 	addi    r3,r30,80                              
ffc0d204:	7f e4 fb 78 	mr      r4,r31                                 
ffc0d208:	4b ff c5 f9 	bl      ffc09800 <_Chain_Append>               
                                                                      
  if (bd->waiters)                                                    
ffc0d20c:	80 1f 00 2c 	lwz     r0,44(r31)                             
ffc0d210:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d214:	41 be 00 1c 	beq+    cr7,ffc0d230 <rtems_bdbuf_add_to_modified_list_after_access+0xbc>
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else if (rtems_bdbuf_has_buffer_waiters ())                         
    rtems_bdbuf_wake_swapper ();                                      
}                                                                     
ffc0d218:	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);                   
ffc0d21c:	38 7e 00 68 	addi    r3,r30,104                             
  else if (rtems_bdbuf_has_buffer_waiters ())                         
    rtems_bdbuf_wake_swapper ();                                      
}                                                                     
ffc0d220:	bb c1 00 08 	lmw     r30,8(r1)                              
ffc0d224:	38 21 00 10 	addi    r1,r1,16                               
ffc0d228:	7c 08 03 a6 	mtlr    r0                                     
                                                                      
  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);                   
ffc0d22c:	4b ff ff 04 	b       ffc0d130 <rtems_bdbuf_wake>            
}                                                                     
                                                                      
static bool                                                           
rtems_bdbuf_has_buffer_waiters (void)                                 
{                                                                     
  return bdbuf_cache.buffer_waiters.count;                            
ffc0d230:	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 ())                         
ffc0d234:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d238:	41 be 00 18 	beq+    cr7,ffc0d250 <rtems_bdbuf_add_to_modified_list_after_access+0xdc>
    rtems_bdbuf_wake_swapper ();                                      
}                                                                     
ffc0d23c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0d240:	bb c1 00 08 	lmw     r30,8(r1)                              
ffc0d244:	38 21 00 10 	addi    r1,r1,16                               
ffc0d248:	7c 08 03 a6 	mtlr    r0                                     
  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 ();                                      
ffc0d24c:	4b ff fb e0 	b       ffc0ce2c <rtems_bdbuf_wake_swapper>    
}                                                                     
ffc0d250:	39 61 00 10 	addi    r11,r1,16                              
ffc0d254:	48 00 b3 90 	b       ffc185e4 <_restgpr_30_x>               
                                                                      

ffc0cf80 <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) {
ffc0cf80:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0cf84:	7c 08 02 a6 	mflr    r0                                     
ffc0cf88:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_mode        prev_mode;                                        
                                                                      
  /*                                                                  
   * Indicate we are waiting.                                         
   */                                                                 
  ++waiters->count;                                                   
ffc0cf8c:	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)             
{                                                                     
ffc0cf90:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc0cf94:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_mode        prev_mode;                                        
                                                                      
  /*                                                                  
   * Indicate we are waiting.                                         
   */                                                                 
  ++waiters->count;                                                   
ffc0cf98:	38 09 00 01 	addi    r0,r9,1                                
ffc0cf9c:	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 ();                      
ffc0cfa0:	4b ff ff 51 	bl      ffc0cef0 <rtems_bdbuf_disable_preemption>
ffc0cfa4:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  /*                                                                  
   * Unlock the cache, wait, and lock the cache when we return.       
   */                                                                 
  rtems_bdbuf_unlock_cache ();                                        
ffc0cfa8:	4b ff fd d9 	bl      ffc0cd80 <rtems_bdbuf_unlock_cache>    
                                                                      
  sc = rtems_semaphore_obtain (waiters->sema, RTEMS_WAIT, RTEMS_BDBUF_WAIT_TIMEOUT);
ffc0cfac:	80 7f 00 04 	lwz     r3,4(r31)                              
ffc0cfb0:	38 80 00 00 	li      r4,0                                   
ffc0cfb4:	38 a0 00 00 	li      r5,0                                   
ffc0cfb8:	4b ff bb 61 	bl      ffc08b18 <rtems_semaphore_obtain>      
                                                                      
  if (sc == RTEMS_TIMEOUT)                                            
ffc0cfbc:	2f 83 00 06 	cmpwi   cr7,r3,6                               
ffc0cfc0:	40 be 00 10 	bne+    cr7,ffc0cfd0 <rtems_bdbuf_anonymous_wait+0x50><== ALWAYS TAKEN
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_CACHE_WAIT_TO);
ffc0cfc4:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0cfc8:	60 63 00 12 	ori     r3,r3,18                               <== NOT EXECUTED
ffc0cfcc:	48 00 00 14 	b       ffc0cfe0 <rtems_bdbuf_anonymous_wait+0x60><== NOT EXECUTED
                                                                      
  if (sc != RTEMS_UNSATISFIED)                                        
ffc0cfd0:	2f 83 00 0d 	cmpwi   cr7,r3,13                              
ffc0cfd4:	41 be 00 10 	beq+    cr7,ffc0cfe4 <rtems_bdbuf_anonymous_wait+0x64><== ALWAYS TAKEN
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_CACHE_WAIT_2);
ffc0cfd8:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0cfdc:	60 63 00 10 	ori     r3,r3,16                               <== NOT EXECUTED
ffc0cfe0:	4b ff c2 c1 	bl      ffc092a0 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc0cfe4:	4b ff fb 45 	bl      ffc0cb28 <rtems_bdbuf_lock_cache>      
                                                                      
  rtems_bdbuf_restore_preemption (prev_mode);                         
ffc0cfe8:	7f c3 f3 78 	mr      r3,r30                                 
ffc0cfec:	4b ff ff 51 	bl      ffc0cf3c <rtems_bdbuf_restore_preemption>
                                                                      
  --waiters->count;                                                   
ffc0cff0:	81 3f 00 00 	lwz     r9,0(r31)                              
}                                                                     
ffc0cff4:	39 61 00 10 	addi    r11,r1,16                              
                                                                      
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  rtems_bdbuf_restore_preemption (prev_mode);                         
                                                                      
  --waiters->count;                                                   
ffc0cff8:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0cffc:	90 1f 00 00 	stw     r0,0(r31)                              
}                                                                     
ffc0d000:	48 00 b5 e4 	b       ffc185e4 <_restgpr_30_x>               
                                                                      

ffc0d0cc <rtems_bdbuf_avl_search.isra.1>: * @param block block search key * @retval NULL node with the specified dev/block is not found * @return pointer to the node with specified dev/block */ static rtems_bdbuf_buffer * rtems_bdbuf_avl_search (rtems_bdbuf_buffer** root,
ffc0d0cc:	48 00 00 34 	b       ffc0d100 <rtems_bdbuf_avl_search.isra.1+0x34>
{                                                                     
  rtems_bdbuf_buffer* p = *root;                                      
                                                                      
  while ((p != NULL) && ((p->dev != dev) || (p->block != block)))     
  {                                                                   
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc0d0d0:	7f 85 00 40 	cmplw   cr7,r5,r0                              
ffc0d0d4:	41 bd 00 20 	bgt+    cr7,ffc0d0f4 <rtems_bdbuf_avl_search.isra.1+0x28>
ffc0d0d8:	7f 85 00 00 	cmpw    cr7,r5,r0                              
ffc0d0dc:	40 9e 00 20 	bne-    cr7,ffc0d0fc <rtems_bdbuf_avl_search.isra.1+0x30><== ALWAYS TAKEN
ffc0d0e0:	7f 86 48 40 	cmplw   cr7,r6,r9                              <== NOT EXECUTED
ffc0d0e4:	41 bd 00 10 	bgt+    cr7,ffc0d0f4 <rtems_bdbuf_avl_search.isra.1+0x28><== NOT EXECUTED
ffc0d0e8:	48 00 00 14 	b       ffc0d0fc <rtems_bdbuf_avl_search.isra.1+0x30><== NOT EXECUTED
ffc0d0ec:	7f 80 38 40 	cmplw   cr7,r0,r7                              
ffc0d0f0:	40 9c 00 0c 	bge-    cr7,ffc0d0fc <rtems_bdbuf_avl_search.isra.1+0x30>
    {                                                                 
      p = p->avl.right;                                               
ffc0d0f4:	80 63 00 0c 	lwz     r3,12(r3)                              
ffc0d0f8:	48 00 00 08 	b       ffc0d100 <rtems_bdbuf_avl_search.isra.1+0x34>
    }                                                                 
    else                                                              
    {                                                                 
      p = p->avl.left;                                                
ffc0d0fc:	80 63 00 08 	lwz     r3,8(r3)                               
                        dev_t                dev,                     
                        rtems_blkdev_bnum    block)                   
{                                                                     
  rtems_bdbuf_buffer* p = *root;                                      
                                                                      
  while ((p != NULL) && ((p->dev != dev) || (p->block != block)))     
ffc0d100:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0d104:	4d 9e 00 20 	beqlr   cr7                                    
ffc0d108:	80 03 00 18 	lwz     r0,24(r3)                              
ffc0d10c:	81 23 00 1c 	lwz     r9,28(r3)                              
ffc0d110:	7f 80 28 00 	cmpw    cr7,r0,r5                              
ffc0d114:	40 9e ff bc 	bne+    cr7,ffc0d0d0 <rtems_bdbuf_avl_search.isra.1+0x4>
ffc0d118:	7f 89 30 00 	cmpw    cr7,r9,r6                              
ffc0d11c:	40 9e ff b4 	bne+    cr7,ffc0d0d0 <rtems_bdbuf_avl_search.isra.1+0x4><== NEVER TAKEN
ffc0d120:	80 03 00 20 	lwz     r0,32(r3)                              
ffc0d124:	7f 80 38 00 	cmpw    cr7,r0,r7                              
ffc0d128:	40 9e ff c4 	bne+    cr7,ffc0d0ec <rtems_bdbuf_avl_search.isra.1+0x20>
      p = p->avl.left;                                                
    }                                                                 
  }                                                                   
                                                                      
  return p;                                                           
}                                                                     
ffc0d12c:	4e 80 00 20 	blr                                            
                                                                      

ffc0cef0 <rtems_bdbuf_disable_preemption>: --bd->group->users; } static rtems_mode rtems_bdbuf_disable_preemption (void) {
ffc0cef0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0cef4:	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);
ffc0cef8:	38 60 01 00 	li      r3,256                                 
  --bd->group->users;                                                 
}                                                                     
                                                                      
static rtems_mode                                                     
rtems_bdbuf_disable_preemption (void)                                 
{                                                                     
ffc0cefc:	90 01 00 1c 	stw     r0,28(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_mode prev_mode = 0;                                           
ffc0cf00:	7c 25 0b 78 	mr      r5,r1                                  
ffc0cf04:	38 00 00 00 	li      r0,0                                   
ffc0cf08:	94 05 00 08 	stwu    r0,8(r5)                               
                                                                      
  sc = rtems_task_mode (RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &prev_mode);
ffc0cf0c:	38 80 01 00 	li      r4,256                                 
ffc0cf10:	48 00 41 31 	bl      ffc11040 <rtems_task_mode>             
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0cf14:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0cf18:	41 be 00 10 	beq+    cr7,ffc0cf28 <rtems_bdbuf_disable_preemption+0x38><== ALWAYS TAKEN
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_PREEMPT_DIS);
ffc0cf1c:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0cf20:	60 63 00 0f 	ori     r3,r3,15                               <== NOT EXECUTED
ffc0cf24:	4b ff c3 7d 	bl      ffc092a0 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      
  return prev_mode;                                                   
}                                                                     
ffc0cf28:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0cf2c:	80 61 00 08 	lwz     r3,8(r1)                               
ffc0cf30:	38 21 00 18 	addi    r1,r1,24                               
ffc0cf34:	7c 08 03 a6 	mtlr    r0                                     
ffc0cf38:	4e 80 00 20 	blr                                            
                                                                      

ffc0cbb0 <rtems_bdbuf_fatal>: #define RTEMS_BDBUF_AVL_MAX_HEIGHT (32) #endif static void rtems_bdbuf_fatal (rtems_bdbuf_buf_state state, uint32_t error) {
ffc0cbb0:	94 21 ff f8 	stwu    r1,-8(r1)                              <== NOT EXECUTED
ffc0cbb4:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
  rtems_fatal_error_occurred ((((uint32_t) state) << 16) | error);    
ffc0cbb8:	54 63 80 1e 	rlwinm  r3,r3,16,0,15                          <== NOT EXECUTED
ffc0cbbc:	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)       
{                                                                     
ffc0cbc0:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
  rtems_fatal_error_occurred ((((uint32_t) state) << 16) | error);    
ffc0cbc4:	4b ff c6 dd 	bl      ffc092a0 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc0ea0c <rtems_bdbuf_get>: rtems_status_code rtems_bdbuf_get (dev_t dev, rtems_blkdev_bnum block, rtems_bdbuf_buffer **bd_ptr) {
ffc0ea0c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0ea10:	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)                                       
ffc0ea14:	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)                         
{                                                                     
ffc0ea18:	90 01 00 2c 	stw     r0,44(r1)                              
  rtems_status_code   sc = RTEMS_SUCCESSFUL;                          
  rtems_disk_device  *dd = NULL;                                      
ffc0ea1c:	38 00 00 00 	li      r0,0                                   
ffc0ea20:	90 01 00 10 	stw     r0,16(r1)                              
  rtems_bdbuf_buffer *bd = NULL;                                      
  rtems_blkdev_bnum   media_block = 0;                                
ffc0ea24:	90 01 00 0c 	stw     r0,12(r1)                              
  size_t              bds_per_group = 0;                              
ffc0ea28:	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)                                       
ffc0ea2c:	88 09 2a 18 	lbz     r0,10776(r9)                           
                                                                      
rtems_status_code                                                     
rtems_bdbuf_get (dev_t                dev,                            
                 rtems_blkdev_bnum    block,                          
                 rtems_bdbuf_buffer **bd_ptr)                         
{                                                                     
ffc0ea30:	bf 81 00 18 	stmw    r28,24(r1)                             
ffc0ea34:	7c 9f 23 78 	mr      r31,r4                                 
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
ffc0ea38:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
rtems_status_code                                                     
rtems_bdbuf_get (dev_t                dev,                            
                 rtems_blkdev_bnum    block,                          
                 rtems_bdbuf_buffer **bd_ptr)                         
{                                                                     
ffc0ea3c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0ea40:	7c dd 33 78 	mr      r29,r6                                 
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
    return RTEMS_NOT_CONFIGURED;                                      
ffc0ea44:	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)                                       
ffc0ea48:	41 be 00 94 	beq+    cr7,ffc0eadc <rtems_bdbuf_get+0xd0>    <== NEVER TAKEN
ffc0ea4c:	38 c1 00 10 	addi    r6,r1,16                               
ffc0ea50:	38 e1 00 0c 	addi    r7,r1,12                               
ffc0ea54:	39 01 00 08 	addi    r8,r1,8                                
ffc0ea58:	4b ff e8 01 	bl      ffc0d258 <rtems_bdbuf_obtain_disk.part.7>
  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)                                         
ffc0ea5c:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc0ea60:	40 82 00 7c 	bne-    ffc0eadc <rtems_bdbuf_get+0xd0>        <== NEVER TAKEN
    return sc;                                                        
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc0ea64:	4b ff e0 c5 	bl      ffc0cb28 <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);
ffc0ea68:	80 a1 00 0c 	lwz     r5,12(r1)                              
ffc0ea6c:	80 c1 00 08 	lwz     r6,8(r1)                               
ffc0ea70:	7f c3 f3 78 	mr      r3,r30                                 
ffc0ea74:	7f e4 fb 78 	mr      r4,r31                                 
ffc0ea78:	4b ff f9 e9 	bl      ffc0e460 <rtems_bdbuf_get_buffer_for_access>
                                                                      
  switch (bd->state)                                                  
ffc0ea7c:	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);
ffc0ea80:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  switch (bd->state)                                                  
ffc0ea84:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0ea88:	41 9e 00 18 	beq-    cr7,ffc0eaa0 <rtems_bdbuf_get+0x94>    
ffc0ea8c:	2f 80 00 07 	cmpwi   cr7,r0,7                               
ffc0ea90:	41 9e 00 34 	beq-    cr7,ffc0eac4 <rtems_bdbuf_get+0xb8>    
ffc0ea94:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0ea98:	40 be 00 34 	bne+    cr7,ffc0eacc <rtems_bdbuf_get+0xc0>    <== NEVER TAKEN
ffc0ea9c:	48 00 00 0c 	b       ffc0eaa8 <rtems_bdbuf_get+0x9c>        
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0eaa0:	38 00 00 03 	li      r0,3                                   
ffc0eaa4:	48 00 00 08 	b       ffc0eaac <rtems_bdbuf_get+0xa0>        
ffc0eaa8:	38 00 00 05 	li      r0,5                                   
ffc0eaac:	90 1e 00 28 	stw     r0,40(r30)                             
  {                                                                   
    rtems_bdbuf_show_users ("get", bd);                               
    rtems_bdbuf_show_usage ();                                        
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc0eab0:	4b ff e2 d1 	bl      ffc0cd80 <rtems_bdbuf_unlock_cache>    
                                                                      
  rtems_bdbuf_release_disk (dd);                                      
ffc0eab4:	80 61 00 10 	lwz     r3,16(r1)                              
ffc0eab8:	4b ff e3 41 	bl      ffc0cdf8 <rtems_bdbuf_release_disk>    
                                                                      
  *bd_ptr = bd;                                                       
ffc0eabc:	93 dd 00 00 	stw     r30,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0eac0:	48 00 00 1c 	b       ffc0eadc <rtems_bdbuf_get+0xd0>        
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0eac4:	38 00 00 04 	li      r0,4                                   
ffc0eac8:	4b ff ff e4 	b       ffc0eaac <rtems_bdbuf_get+0xa0>        
       * 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);
ffc0eacc:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc0ead0:	80 63 00 28 	lwz     r3,40(r3)                              <== NOT EXECUTED
ffc0ead4:	60 84 00 1e 	ori     r4,r4,30                               <== NOT EXECUTED
ffc0ead8:	4b ff e0 d9 	bl      ffc0cbb0 <rtems_bdbuf_fatal>           <== NOT EXECUTED
  rtems_bdbuf_release_disk (dd);                                      
                                                                      
  *bd_ptr = bd;                                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0eadc:	39 61 00 28 	addi    r11,r1,40                              
ffc0eae0:	7f 83 e3 78 	mr      r3,r28                                 
ffc0eae4:	48 00 9a f8 	b       ffc185dc <_restgpr_28_x>               
                                                                      

ffc0e460 <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) {
ffc0e460:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc0e464:	7c 08 02 a6 	mflr    r0                                     
ffc0e468:	be 01 00 08 	stmw    r16,8(r1)                              
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  do                                                                  
  {                                                                   
    bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dev, block);      
ffc0e46c:	3f a0 00 00 	lis     r29,0                                  
ffc0e470:	3b bd 29 90 	addi    r29,r29,10640                          
static bool                                                           
rtems_bdbuf_wait_for_recycle (rtems_bdbuf_buffer *bd)                 
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc0e474:	3f 60 ff c2 	lis     r27,-62                                
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_for_access (dev_t             dev,             
                                   rtems_blkdev_bnum block,           
                                   size_t            bds_per_group)   
{                                                                     
ffc0e478:	90 01 00 4c 	stw     r0,76(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);             
ffc0e47c:	3b 9d 00 78 	addi    r28,r29,120                            
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_for_access (dev_t             dev,             
                                   rtems_blkdev_bnum block,           
                                   size_t            bds_per_group)   
{                                                                     
ffc0e480:	7c 9f 23 78 	mr      r31,r4                                 
ffc0e484:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0e488:	7c b9 2b 78 	mr      r25,r5                                 
ffc0e48c:	7c da 33 78 	mr      r26,r6                                 
static bool                                                           
rtems_bdbuf_wait_for_recycle (rtems_bdbuf_buffer *bd)                 
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc0e490:	3b 7b a1 10 	addi    r27,r27,-24304                         
        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);         
ffc0e494:	3a 3d 00 70 	addi    r17,r29,112                            
        }                                                             
      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);           
ffc0e498:	3a 5d 00 68 	addi    r18,r29,104                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0e49c:	3a 60 00 08 	li      r19,8                                  
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);                  
ffc0e4a0:	3a 9d 00 5c 	addi    r20,r29,92                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0e4a4:	3a a0 00 00 	li      r21,0                                  
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Head(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return &the_chain->Head.Node;                                       
ffc0e4a8:	3a dd 00 44 	addi    r22,r29,68                             
           * It is essential that we wait here without a special wait count and
           * without the group in use.  Otherwise we could trigger a wait ping
           * pong with another recycle waiter.  The state of the buffer is
           * arbitrary afterwards.                                    
           */                                                         
          rtems_bdbuf_anonymous_wait (&bdbuf_cache.buffer_waiters);   
ffc0e4ac:	7f 97 e3 78 	mr      r23,r28                                
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_tail(         
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return &the_chain->Tail.Node;                                       
ffc0e4b0:	3b 1d 00 54 	addi    r24,r29,84                             
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  do                                                                  
  {                                                                   
    bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dev, block);      
ffc0e4b4:	80 7d 00 40 	lwz     r3,64(r29)                             
ffc0e4b8:	7f c5 f3 78 	mr      r5,r30                                 
ffc0e4bc:	7f e6 fb 78 	mr      r6,r31                                 
ffc0e4c0:	7f 27 cb 78 	mr      r7,r25                                 
ffc0e4c4:	4b ff ec 09 	bl      ffc0d0cc <rtems_bdbuf_avl_search.isra.1>
                                                                      
    if (bd != NULL)                                                   
ffc0e4c8:	7c 70 1b 79 	mr.     r16,r3                                 
ffc0e4cc:	41 82 00 b8 	beq-    ffc0e584 <rtems_bdbuf_get_buffer_for_access+0x124>
    {                                                                 
      if (bd->group->bds_per_group != bds_per_group)                  
ffc0e4d0:	81 30 00 30 	lwz     r9,48(r16)                             
ffc0e4d4:	80 09 00 08 	lwz     r0,8(r9)                               
ffc0e4d8:	7f 80 d0 00 	cmpw    cr7,r0,r26                             
ffc0e4dc:	41 9e 00 e0 	beq-    cr7,ffc0e5bc <rtems_bdbuf_get_buffer_for_access+0x15c>
static bool                                                           
rtems_bdbuf_wait_for_recycle (rtems_bdbuf_buffer *bd)                 
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc0e4e0:	80 10 00 28 	lwz     r0,40(r16)                             
ffc0e4e4:	2b 80 00 0a 	cmplwi  cr7,r0,10                              
ffc0e4e8:	41 9d 00 68 	bgt-    cr7,ffc0e550 <rtems_bdbuf_get_buffer_for_access+0xf0><== NEVER TAKEN
ffc0e4ec:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0e4f0:	7c 1b 00 2e 	lwzx    r0,r27,r0                              
ffc0e4f4:	7c 00 da 14 	add     r0,r0,r27                              
ffc0e4f8:	7c 09 03 a6 	mtctr   r0                                     
ffc0e4fc:	4e 80 04 20 	bctr                                           
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0e500:	92 70 00 28 	stw     r19,40(r16)                            <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc0e504:	7e 03 83 78 	mr      r3,r16                                 <== NOT EXECUTED
ffc0e508:	4b ff b3 29 	bl      ffc09830 <_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 );                               
ffc0e50c:	7e 83 a3 78 	mr      r3,r20                                 <== NOT EXECUTED
ffc0e510:	7e 04 83 78 	mr      r4,r16                                 <== NOT EXECUTED
ffc0e514:	4b ff b2 ed 	bl      ffc09800 <_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 ();                                        
ffc0e518:	4b ff e9 15 	bl      ffc0ce2c <rtems_bdbuf_wake_swapper>    <== NOT EXECUTED
ffc0e51c:	4b ff ff c4 	b       ffc0e4e0 <rtems_bdbuf_get_buffer_for_access+0x80><== NOT EXECUTED
      case RTEMS_BDBUF_STATE_MODIFIED:                                
        rtems_bdbuf_request_sync_for_modified_buffer (bd);            
        break;                                                        
      case RTEMS_BDBUF_STATE_CACHED:                                  
      case RTEMS_BDBUF_STATE_EMPTY:                                   
        if (bd->waiters == 0)                                         
ffc0e520:	80 10 00 2c 	lwz     r0,44(r16)                             
           * It is essential that we wait here without a special wait count and
           * without the group in use.  Otherwise we could trigger a wait ping
           * pong with another recycle waiter.  The state of the buffer is
           * arbitrary afterwards.                                    
           */                                                         
          rtems_bdbuf_anonymous_wait (&bdbuf_cache.buffer_waiters);   
ffc0e524:	7e e3 bb 78 	mr      r3,r23                                 
      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)                                         
ffc0e528:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e52c:	41 be 00 34 	beq+    cr7,ffc0e560 <rtems_bdbuf_get_buffer_for_access+0x100><== NEVER TAKEN
ffc0e530:	48 00 00 84 	b       ffc0e5b4 <rtems_bdbuf_get_buffer_for_access+0x154>
        }                                                             
      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);           
ffc0e534:	7e 03 83 78 	mr      r3,r16                                 
ffc0e538:	7e 44 93 78 	mr      r4,r18                                 
ffc0e53c:	48 00 00 0c 	b       ffc0e548 <rtems_bdbuf_get_buffer_for_access+0xe8>
        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);         
ffc0e540:	7e 03 83 78 	mr      r3,r16                                 <== NOT EXECUTED
ffc0e544:	7e 24 8b 78 	mr      r4,r17                                 <== NOT EXECUTED
ffc0e548:	4b ff ea bd 	bl      ffc0d004 <rtems_bdbuf_wait>            
ffc0e54c:	4b ff ff 94 	b       ffc0e4e0 <rtems_bdbuf_get_buffer_for_access+0x80>
        break;                                                        
      default:                                                        
        rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_8);
ffc0e550:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc0e554:	80 70 00 28 	lwz     r3,40(r16)                             <== NOT EXECUTED
ffc0e558:	60 84 00 06 	ori     r4,r4,6                                <== NOT EXECUTED
ffc0e55c:	48 00 00 e0 	b       ffc0e63c <rtems_bdbuf_get_buffer_for_access+0x1dc><== NOT EXECUTED
    {                                                                 
      if (bd->group->bds_per_group != bds_per_group)                  
      {                                                               
        if (rtems_bdbuf_wait_for_recycle (bd))                        
        {                                                             
          rtems_bdbuf_remove_from_tree_and_lru_list (bd);             
ffc0e560:	7e 03 83 78 	mr      r3,r16                                 <== NOT EXECUTED
ffc0e564:	4b ff f1 79 	bl      ffc0d6dc <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;                                                  
ffc0e568:	92 b0 00 28 	stw     r21,40(r16)                            <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
ffc0e56c:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc0e570:	7e 04 83 78 	mr      r4,r16                                 <== NOT EXECUTED
ffc0e574:	48 00 30 25 	bl      ffc11598 <_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);             
ffc0e578:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc0e57c:	4b ff eb b5 	bl      ffc0d130 <rtems_bdbuf_wake>            <== NOT EXECUTED
ffc0e580:	4b ff ff 34 	b       ffc0e4b4 <rtems_bdbuf_get_buffer_for_access+0x54><== NOT EXECUTED
        bd = NULL;                                                    
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      bd = rtems_bdbuf_get_buffer_from_lru_list (dev, block, bds_per_group);
ffc0e584:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e588:	7f e4 fb 78 	mr      r4,r31                                 
ffc0e58c:	7f 25 cb 78 	mr      r5,r25                                 
ffc0e590:	7f 46 d3 78 	mr      r6,r26                                 
ffc0e594:	4b ff fa f9 	bl      ffc0e08c <rtems_bdbuf_get_buffer_from_lru_list>
                                                                      
      if (bd == NULL)                                                 
ffc0e598:	7c 70 1b 79 	mr.     r16,r3                                 
ffc0e59c:	40 a2 00 20 	bne+    ffc0e5bc <rtems_bdbuf_get_buffer_for_access+0x15c>
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wait_for_buffer (void)                                    
{                                                                     
  if (!rtems_chain_is_empty (&bdbuf_cache.modified))                  
ffc0e5a0:	80 1d 00 50 	lwz     r0,80(r29)                             
ffc0e5a4:	7f 80 c0 00 	cmpw    cr7,r0,r24                             
ffc0e5a8:	41 9e 00 08 	beq-    cr7,ffc0e5b0 <rtems_bdbuf_get_buffer_for_access+0x150>
    rtems_bdbuf_wake_swapper ();                                      
ffc0e5ac:	4b ff e8 81 	bl      ffc0ce2c <rtems_bdbuf_wake_swapper>    
                                                                      
  rtems_bdbuf_anonymous_wait (&bdbuf_cache.buffer_waiters);           
ffc0e5b0:	7f 83 e3 78 	mr      r3,r28                                 
ffc0e5b4:	4b ff e9 cd 	bl      ffc0cf80 <rtems_bdbuf_anonymous_wait>  
ffc0e5b8:	4b ff fe fc 	b       ffc0e4b4 <rtems_bdbuf_get_buffer_for_access+0x54>
        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);         
ffc0e5bc:	3f a0 00 00 	lis     r29,0                                  
ffc0e5c0:	3b bd 29 90 	addi    r29,r29,10640                          
static void                                                           
rtems_bdbuf_wait_for_access (rtems_bdbuf_buffer *bd)                  
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc0e5c4:	3f c0 ff c2 	lis     r30,-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);         
ffc0e5c8:	3b 9d 00 70 	addi    r28,r29,112                            
static void                                                           
rtems_bdbuf_wait_for_access (rtems_bdbuf_buffer *bd)                  
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc0e5cc:	3b de a1 3c 	addi    r30,r30,-24260                         
        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);           
ffc0e5d0:	3b bd 00 68 	addi    r29,r29,104                            
static void                                                           
rtems_bdbuf_wait_for_access (rtems_bdbuf_buffer *bd)                  
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc0e5d4:	81 30 00 28 	lwz     r9,40(r16)                             
ffc0e5d8:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0e5dc:	2b 80 00 09 	cmplwi  cr7,r0,9                               
ffc0e5e0:	41 9d 00 50 	bgt-    cr7,ffc0e630 <rtems_bdbuf_get_buffer_for_access+0x1d0><== NEVER TAKEN
ffc0e5e4:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0e5e8:	7c 1e 00 2e 	lwzx    r0,r30,r0                              
ffc0e5ec:	7c 00 f2 14 	add     r0,r0,r30                              
ffc0e5f0:	7c 09 03 a6 	mtctr   r0                                     
ffc0e5f4:	4e 80 04 20 	bctr                                           
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
ffc0e5f8:	81 30 00 30 	lwz     r9,48(r16)                             
ffc0e5fc:	81 69 00 0c 	lwz     r11,12(r9)                             
ffc0e600:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0e604:	90 09 00 0c 	stw     r0,12(r9)                              
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc0e608:	7e 03 83 78 	mr      r3,r16                                 
ffc0e60c:	4b ff b2 25 	bl      ffc09830 <_Chain_Extract>              
ffc0e610:	48 00 00 30 	b       ffc0e640 <rtems_bdbuf_get_buffer_for_access+0x1e0>
        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);           
ffc0e614:	7e 03 83 78 	mr      r3,r16                                 
ffc0e618:	7f a4 eb 78 	mr      r4,r29                                 
ffc0e61c:	48 00 00 0c 	b       ffc0e628 <rtems_bdbuf_get_buffer_for_access+0x1c8>
        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);         
ffc0e620:	7e 03 83 78 	mr      r3,r16                                 
ffc0e624:	7f 84 e3 78 	mr      r4,r28                                 
ffc0e628:	4b ff e9 dd 	bl      ffc0d004 <rtems_bdbuf_wait>            
ffc0e62c:	4b ff ff a8 	b       ffc0e5d4 <rtems_bdbuf_get_buffer_for_access+0x174>
        break;                                                        
      default:                                                        
        rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_7);
ffc0e630:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc0e634:	80 70 00 28 	lwz     r3,40(r16)                             <== NOT EXECUTED
ffc0e638:	60 84 00 05 	ori     r4,r4,5                                <== NOT EXECUTED
ffc0e63c:	4b ff e5 75 	bl      ffc0cbb0 <rtems_bdbuf_fatal>           <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
ffc0e640:	81 30 00 30 	lwz     r9,48(r16)                             
                                                                      
  rtems_bdbuf_wait_for_access (bd);                                   
  rtems_bdbuf_group_obtain (bd);                                      
                                                                      
  return bd;                                                          
}                                                                     
ffc0e644:	7e 03 83 78 	mr      r3,r16                                 
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
ffc0e648:	81 69 00 0c 	lwz     r11,12(r9)                             
ffc0e64c:	38 0b 00 01 	addi    r0,r11,1                               
                                                                      
  rtems_bdbuf_wait_for_access (bd);                                   
  rtems_bdbuf_group_obtain (bd);                                      
                                                                      
  return bd;                                                          
}                                                                     
ffc0e650:	39 61 00 48 	addi    r11,r1,72                              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
ffc0e654:	90 09 00 0c 	stw     r0,12(r9)                              
                                                                      
  rtems_bdbuf_wait_for_access (bd);                                   
  rtems_bdbuf_group_obtain (bd);                                      
                                                                      
  return bd;                                                          
}                                                                     
ffc0e658:	48 00 9f 54 	b       ffc185ac <_restgpr_16_x>               
                                                                      

ffc0e08c <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) {
ffc0e08c:	94 21 ff 40 	stwu    r1,-192(r1)                            
ffc0e090:	7c 08 02 a6 	mflr    r0                                     
ffc0e094:	be 41 00 88 	stmw    r18,136(r1)                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0e098:	3f 40 00 00 	lis     r26,0                                  
ffc0e09c:	3b 5a 29 90 	addi    r26,r26,10640                          
ffc0e0a0:	90 01 00 c4 	stw     r0,196(r1)                             
ffc0e0a4:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e0a8:	7c 9e 23 78 	mr      r30,r4                                 
ffc0e0ac:	7c bd 2b 78 	mr      r29,r5                                 
ffc0e0b0:	83 7a 00 44 	lwz     r27,68(r26)                            
ffc0e0b4:	7c d7 33 78 	mr      r23,r6                                 
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return &the_chain->Tail.Node;                                       
ffc0e0b8:	3a 5a 00 48 	addi    r18,r26,72                             
            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;                                      
ffc0e0bc:	3a 60 00 00 	li      r19,0                                  
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Head(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return &the_chain->Head.Node;                                       
ffc0e0c0:	3a 9a 00 44 	addi    r20,r26,68                             
       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);                   
ffc0e0c4:	3a ba 00 78 	addi    r21,r26,120                            
                                      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))               
ffc0e0c8:	48 00 03 78 	b       ffc0e440 <rtems_bdbuf_get_buffer_from_lru_list+0x3b4>
              bd->group->bds_per_group, bds_per_group);               
                                                                      
    /*                                                                
     * If nobody waits for this BD, we may recycle it.                
     */                                                               
    if (bd->waiters == 0)                                             
ffc0e0cc:	80 1b 00 2c 	lwz     r0,44(r27)                             
ffc0e0d0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e0d4:	40 9e 03 68 	bne-    cr7,ffc0e43c <rtems_bdbuf_get_buffer_from_lru_list+0x3b0>
    {                                                                 
      if (bd->group->bds_per_group == bds_per_group)                  
ffc0e0d8:	83 9b 00 30 	lwz     r28,48(r27)                            
ffc0e0dc:	80 1c 00 08 	lwz     r0,8(r28)                              
ffc0e0e0:	7f 80 b8 00 	cmpw    cr7,r0,r23                             
ffc0e0e4:	40 be 00 14 	bne+    cr7,ffc0e0f8 <rtems_bdbuf_get_buffer_from_lru_list+0x6c>
      {                                                               
        rtems_bdbuf_remove_from_tree_and_lru_list (bd);               
ffc0e0e8:	7f 63 db 78 	mr      r3,r27                                 
ffc0e0ec:	4b ff f5 f1 	bl      ffc0d6dc <rtems_bdbuf_remove_from_tree_and_lru_list>
ffc0e0f0:	7f 63 db 78 	mr      r3,r27                                 
ffc0e0f4:	48 00 00 9c 	b       ffc0e190 <rtems_bdbuf_get_buffer_from_lru_list+0x104>
                                                                      
        empty_bd = bd;                                                
      }                                                               
      else if (bd->group->users == 0)                                 
ffc0e0f8:	81 3c 00 0c 	lwz     r9,12(r28)                             
ffc0e0fc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0e100:	40 9e 03 3c 	bne-    cr7,ffc0e43c <rtems_bdbuf_get_buffer_from_lru_list+0x3b0>
  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; 
ffc0e104:	82 da 00 20 	lwz     r22,32(r26)                            
                                                                      
  for (b = 0, bd = group->bdbuf;                                      
ffc0e108:	3b 20 00 00 	li      r25,0                                  
ffc0e10c:	83 1c 00 10 	lwz     r24,16(r28)                            
  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; 
ffc0e110:	7e d6 03 96 	divwu   r22,r22,r0                             
                                                                      
  for (b = 0, bd = group->bdbuf;                                      
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
ffc0e114:	56 d6 30 32 	rlwinm  r22,r22,6,0,25                         
ffc0e118:	48 00 00 14 	b       ffc0e12c <rtems_bdbuf_get_buffer_from_lru_list+0xa0>
    rtems_bdbuf_remove_from_tree_and_lru_list (bd);                   
ffc0e11c:	7f 03 c3 78 	mr      r3,r24                                 
ffc0e120:	4b ff f5 bd 	bl      ffc0d6dc <rtems_bdbuf_remove_from_tree_and_lru_list>
                                                                      
  bufs_per_bd = bdbuf_cache.max_bds_per_group / group->bds_per_group; 
                                                                      
  for (b = 0, bd = group->bdbuf;                                      
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
ffc0e124:	3b 39 00 01 	addi    r25,r25,1                              
ffc0e128:	7f 18 b2 14 	add     r24,r24,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;                                      
ffc0e12c:	80 1c 00 08 	lwz     r0,8(r28)                              
ffc0e130:	7f 99 00 40 	cmplw   cr7,r25,r0                             
ffc0e134:	41 9c ff e8 	blt+    cr7,ffc0e11c <rtems_bdbuf_get_buffer_from_lru_list+0x90>
       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;    
ffc0e138:	82 da 00 20 	lwz     r22,32(r26)                            
                                                                      
  for (b = 1, bd = group->bdbuf + bufs_per_bd;                        
ffc0e13c:	3b 20 00 01 	li      r25,1                                  
ffc0e140:	83 1c 00 10 	lwz     r24,16(r28)                            
       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;    
ffc0e144:	7e d6 bb 96 	divwu   r22,r22,r23                            
  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;                           
ffc0e148:	92 fc 00 08 	stw     r23,8(r28)                             
  bufs_per_bd = bdbuf_cache.max_bds_per_group / new_bds_per_group;    
                                                                      
  for (b = 1, bd = group->bdbuf + bufs_per_bd;                        
ffc0e14c:	56 d6 30 32 	rlwinm  r22,r22,6,0,25                         
ffc0e150:	7f 18 b2 14 	add     r24,r24,r22                            
ffc0e154:	48 00 00 1c 	b       ffc0e170 <rtems_bdbuf_get_buffer_from_lru_list+0xe4>
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0e158:	92 78 00 28 	stw     r19,40(r24)                            
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
ffc0e15c:	7f 04 c3 78 	mr      r4,r24                                 
ffc0e160:	7e 83 a3 78 	mr      r3,r20                                 
ffc0e164:	48 00 34 35 	bl      ffc11598 <_Chain_Insert>               
  group->bds_per_group = new_bds_per_group;                           
  bufs_per_bd = bdbuf_cache.max_bds_per_group / new_bds_per_group;    
                                                                      
  for (b = 1, bd = group->bdbuf + bufs_per_bd;                        
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
ffc0e168:	3b 39 00 01 	addi    r25,r25,1                              
ffc0e16c:	7f 18 b2 14 	add     r24,r24,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;                        
ffc0e170:	80 1c 00 08 	lwz     r0,8(r28)                              
ffc0e174:	7f 99 00 40 	cmplw   cr7,r25,r0                             
ffc0e178:	41 9c ff e0 	blt+    cr7,ffc0e158 <rtems_bdbuf_get_buffer_from_lru_list+0xcc>
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
    rtems_bdbuf_make_free_and_add_to_lru_list (bd);                   
                                                                      
  if (b > 1)                                                          
ffc0e17c:	2b 99 00 01 	cmplwi  cr7,r25,1                              
ffc0e180:	40 9d 00 0c 	ble-    cr7,ffc0e18c <rtems_bdbuf_get_buffer_from_lru_list+0x100>
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
ffc0e184:	7e a3 ab 78 	mr      r3,r21                                 
ffc0e188:	4b ff ef a9 	bl      ffc0d130 <rtems_bdbuf_wake>            
                                                                      
  return group->bdbuf;                                                
ffc0e18c:	80 7c 00 10 	lwz     r3,16(r28)                             
      }                                                               
      else if (bd->group->users == 0)                                 
        empty_bd = rtems_bdbuf_group_realloc (bd->group, bds_per_group);
    }                                                                 
                                                                      
    if (empty_bd != NULL)                                             
ffc0e190:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e194:	41 be 02 a8 	beq+    cr7,ffc0e43c <rtems_bdbuf_get_buffer_from_lru_list+0x3b0><== NEVER TAKEN
                                dev_t               dev,              
                                rtems_blkdev_bnum   block)            
{                                                                     
  bd->dev       = dev;                                                
  bd->block     = block;                                              
  bd->avl.left  = NULL;                                               
ffc0e198:	38 00 00 00 	li      r0,0                                   
static void                                                           
rtems_bdbuf_setup_empty_buffer (rtems_bdbuf_buffer *bd,               
                                dev_t               dev,              
                                rtems_blkdev_bnum   block)            
{                                                                     
  bd->dev       = dev;                                                
ffc0e19c:	93 e3 00 18 	stw     r31,24(r3)                             
                       rtems_bdbuf_buffer*  node)                     
{                                                                     
  dev_t             dev = node->dev;                                  
  rtems_blkdev_bnum block = node->block;                              
                                                                      
  rtems_bdbuf_buffer*  p = *root;                                     
ffc0e1a0:	3d 60 00 00 	lis     r11,0                                  
                                dev_t               dev,              
                                rtems_blkdev_bnum   block)            
{                                                                     
  bd->dev       = dev;                                                
  bd->block     = block;                                              
  bd->avl.left  = NULL;                                               
ffc0e1a4:	90 03 00 08 	stw     r0,8(r3)                               
                       rtems_bdbuf_buffer*  node)                     
{                                                                     
  dev_t             dev = node->dev;                                  
  rtems_blkdev_bnum block = node->block;                              
                                                                      
  rtems_bdbuf_buffer*  p = *root;                                     
ffc0e1a8:	39 6b 29 90 	addi    r11,r11,10640                          
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
                                                                      
  bool modified = false;                                              
                                                                      
  if (p == NULL)                                                      
ffc0e1ac:	38 c1 00 08 	addi    r6,r1,8                                
                                rtems_blkdev_bnum   block)            
{                                                                     
  bd->dev       = dev;                                                
  bd->block     = block;                                              
  bd->avl.left  = NULL;                                               
  bd->avl.right = NULL;                                               
ffc0e1b0:	90 03 00 0c 	stw     r0,12(r3)                              
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
    {                                                                 
      p->avl.cache = 1;                                               
ffc0e1b4:	39 00 00 01 	li      r8,1                                   
        break;                                                        
      }                                                               
    }                                                                 
    else if ((p->dev != dev) || (p->block != block))                  
    {                                                                 
      p->avl.cache = -1;                                              
ffc0e1b8:	39 40 ff ff 	li      r10,-1                                 
                       rtems_bdbuf_buffer*  node)                     
{                                                                     
  dev_t             dev = node->dev;                                  
  rtems_blkdev_bnum block = node->block;                              
                                                                      
  rtems_bdbuf_buffer*  p = *root;                                     
ffc0e1bc:	81 2b 00 40 	lwz     r9,64(r11)                             
static void                                                           
rtems_bdbuf_setup_empty_buffer (rtems_bdbuf_buffer *bd,               
                                dev_t               dev,              
                                rtems_blkdev_bnum   block)            
{                                                                     
  bd->dev       = dev;                                                
ffc0e1c0:	93 c3 00 1c 	stw     r30,28(r3)                             
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
                                                                      
  bool modified = false;                                              
                                                                      
  if (p == NULL)                                                      
ffc0e1c4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
rtems_bdbuf_setup_empty_buffer (rtems_bdbuf_buffer *bd,               
                                dev_t               dev,              
                                rtems_blkdev_bnum   block)            
{                                                                     
  bd->dev       = dev;                                                
  bd->block     = block;                                              
ffc0e1c8:	93 a3 00 20 	stw     r29,32(r3)                             
  bd->avl.left  = NULL;                                               
  bd->avl.right = NULL;                                               
  bd->waiters   = 0;                                                  
ffc0e1cc:	90 03 00 2c 	stw     r0,44(r3)                              
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
                                                                      
  bool modified = false;                                              
                                                                      
  if (p == NULL)                                                      
ffc0e1d0:	40 be 00 74 	bne+    cr7,ffc0e244 <rtems_bdbuf_get_buffer_from_lru_list+0x1b8>
  {                                                                   
    *root = node;                                                     
ffc0e1d4:	90 6b 00 40 	stw     r3,64(r11)                             
    node->avl.left = NULL;                                            
ffc0e1d8:	91 23 00 08 	stw     r9,8(r3)                               
    node->avl.right = NULL;                                           
ffc0e1dc:	91 23 00 0c 	stw     r9,12(r3)                              
    node->avl.bal = 0;                                                
ffc0e1e0:	99 23 00 11 	stb     r9,17(r3)                              
ffc0e1e4:	48 00 02 4c 	b       ffc0e430 <rtems_bdbuf_get_buffer_from_lru_list+0x3a4>
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc0e1e8:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0e1ec:	40 be 00 38 	bne+    cr7,ffc0e224 <rtems_bdbuf_get_buffer_from_lru_list+0x198><== NEVER TAKEN
ffc0e1f0:	7f 8b f0 00 	cmpw    cr7,r11,r30                            
ffc0e1f4:	40 be 00 30 	bne+    cr7,ffc0e224 <rtems_bdbuf_get_buffer_from_lru_list+0x198><== NEVER TAKEN
ffc0e1f8:	80 09 00 20 	lwz     r0,32(r9)                              
ffc0e1fc:	7f 80 e8 40 	cmplw   cr7,r0,r29                             
ffc0e200:	40 9c 00 1c 	bge-    cr7,ffc0e21c <rtems_bdbuf_get_buffer_from_lru_list+0x190>
    {                                                                 
      p->avl.cache = 1;                                               
      q = p->avl.right;                                               
ffc0e204:	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;                                               
ffc0e208:	99 09 00 10 	stb     r8,16(r9)                              
      q = p->avl.right;                                               
      if (q == NULL)                                                  
ffc0e20c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e210:	40 be 00 2c 	bne+    cr7,ffc0e23c <rtems_bdbuf_get_buffer_from_lru_list+0x1b0>
      {                                                               
        q = node;                                                     
        p->avl.right = q = node;                                      
ffc0e214:	90 69 00 0c 	stw     r3,12(r9)                              
ffc0e218:	48 00 00 58 	b       ffc0e270 <rtems_bdbuf_get_buffer_from_lru_list+0x1e4>
        break;                                                        
      }                                                               
    }                                                                 
    else if ((p->dev != dev) || (p->block != block))                  
ffc0e21c:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc0e220:	41 9e 02 34 	beq-    cr7,ffc0e454 <rtems_bdbuf_get_buffer_from_lru_list+0x3c8><== NEVER TAKEN
    {                                                                 
      p->avl.cache = -1;                                              
      q = p->avl.left;                                                
ffc0e224:	80 09 00 08 	lwz     r0,8(r9)                               
        break;                                                        
      }                                                               
    }                                                                 
    else if ((p->dev != dev) || (p->block != block))                  
    {                                                                 
      p->avl.cache = -1;                                              
ffc0e228:	99 49 00 10 	stb     r10,16(r9)                             
      q = p->avl.left;                                                
      if (q == NULL)                                                  
ffc0e22c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e230:	40 be 00 0c 	bne+    cr7,ffc0e23c <rtems_bdbuf_get_buffer_from_lru_list+0x1b0>
      {                                                               
        q = node;                                                     
        p->avl.left = q;                                              
ffc0e234:	90 69 00 08 	stw     r3,8(r9)                               
ffc0e238:	48 00 00 38 	b       ffc0e270 <rtems_bdbuf_get_buffer_from_lru_list+0x1e4>
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
                                                                      
  bool modified = false;                                              
                                                                      
  if (p == NULL)                                                      
ffc0e23c:	7c e6 3b 78 	mr      r6,r7                                  
ffc0e240:	7c 09 03 78 	mr      r9,r0                                  
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc0e244:	80 09 00 18 	lwz     r0,24(r9)                              
    return 0;                                                         
  }                                                                   
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
ffc0e248:	38 e6 00 04 	addi    r7,r6,4                                
ffc0e24c:	91 26 00 00 	stw     r9,0(r6)                               
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc0e250:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc0e254:	81 69 00 1c 	lwz     r11,28(r9)                             
ffc0e258:	41 bd ff ac 	bgt-    cr7,ffc0e204 <rtems_bdbuf_get_buffer_from_lru_list+0x178><== NEVER TAKEN
ffc0e25c:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
ffc0e260:	40 be ff 88 	bne-    cr7,ffc0e1e8 <rtems_bdbuf_get_buffer_from_lru_list+0x15c><== NEVER TAKEN
ffc0e264:	7f 9e 58 40 	cmplw   cr7,r30,r11                            
ffc0e268:	41 bd ff 9c 	bgt-    cr7,ffc0e204 <rtems_bdbuf_get_buffer_from_lru_list+0x178><== NEVER TAKEN
ffc0e26c:	4b ff ff 7c 	b       ffc0e1e8 <rtems_bdbuf_get_buffer_from_lru_list+0x15c>
    }                                                                 
                                                                      
    p = q;                                                            
  }                                                                   
                                                                      
  q->avl.left = q->avl.right = NULL;                                  
ffc0e270:	38 00 00 00 	li      r0,0                                   
ffc0e274:	90 03 00 0c 	stw     r0,12(r3)                              
          p->avl.bal = 0;                                             
          modified = false;                                           
          break;                                                      
                                                                      
        case 0:                                                       
          p->avl.bal = 1;                                             
ffc0e278:	38 a0 00 01 	li      r5,1                                   
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
    q = p;                                                            
    if (buf_prev > buf_stack)                                         
ffc0e27c:	38 81 00 08 	addi    r4,r1,8                                
    }                                                                 
                                                                      
    p = q;                                                            
  }                                                                   
                                                                      
  q->avl.left = q->avl.right = NULL;                                  
ffc0e280:	90 03 00 08 	stw     r0,8(r3)                               
  q->avl.bal = 0;                                                     
ffc0e284:	98 03 00 11 	stb     r0,17(r3)                              
ffc0e288:	48 00 00 08 	b       ffc0e290 <rtems_bdbuf_get_buffer_from_lru_list+0x204>
  modified = true;                                                    
  buf_prev--;                                                         
                                                                      
  while (modified)                                                    
ffc0e28c:	7d 49 53 78 	mr      r9,r10                                 
  {                                                                   
    if (p->avl.cache == -1)                                           
ffc0e290:	89 69 00 10 	lbz     r11,16(r9)                             
ffc0e294:	89 09 00 11 	lbz     r8,17(r9)                              
ffc0e298:	7d 6a 07 74 	extsb   r10,r11                                
ffc0e29c:	2f 8a ff ff 	cmpwi   cr7,r10,-1                             
ffc0e2a0:	40 be 00 a0 	bne+    cr7,ffc0e340 <rtems_bdbuf_get_buffer_from_lru_list+0x2b4>
    {                                                                 
      switch (p->avl.bal)                                             
ffc0e2a4:	7d 0a 07 75 	extsb.  r10,r8                                 
ffc0e2a8:	41 82 00 18 	beq-    ffc0e2c0 <rtems_bdbuf_get_buffer_from_lru_list+0x234>
ffc0e2ac:	2f 8a 00 01 	cmpwi   cr7,r10,1                              
ffc0e2b0:	41 9e 00 a8 	beq-    cr7,ffc0e358 <rtems_bdbuf_get_buffer_from_lru_list+0x2cc>
ffc0e2b4:	2f 8a ff ff 	cmpwi   cr7,r10,-1                             
ffc0e2b8:	40 be 01 34 	bne+    cr7,ffc0e3ec <rtems_bdbuf_get_buffer_from_lru_list+0x360><== NEVER TAKEN
ffc0e2bc:	48 00 00 0c 	b       ffc0e2c8 <rtems_bdbuf_get_buffer_from_lru_list+0x23c>
          p->avl.bal = 0;                                             
          modified = false;                                           
          break;                                                      
                                                                      
        case 0:                                                       
          p->avl.bal = -1;                                            
ffc0e2c0:	99 69 00 11 	stb     r11,17(r9)                             
ffc0e2c4:	48 00 01 28 	b       ffc0e3ec <rtems_bdbuf_get_buffer_from_lru_list+0x360>
          break;                                                      
                                                                      
        case -1:                                                      
          p1 = p->avl.left;                                           
ffc0e2c8:	81 49 00 08 	lwz     r10,8(r9)                              
          if (p1->avl.bal == -1) /* simple LL-turn */                 
ffc0e2cc:	89 6a 00 11 	lbz     r11,17(r10)                            
ffc0e2d0:	2f 8b 00 ff 	cmpwi   cr7,r11,255                            
ffc0e2d4:	81 6a 00 0c 	lwz     r11,12(r10)                            
ffc0e2d8:	40 be 00 18 	bne+    cr7,ffc0e2f0 <rtems_bdbuf_get_buffer_from_lru_list+0x264><== ALWAYS TAKEN
          {                                                           
            p->avl.left = p1->avl.right;                              
ffc0e2dc:	91 69 00 08 	stw     r11,8(r9)                              <== NOT EXECUTED
            p1->avl.right = p;                                        
            p->avl.bal = 0;                                           
ffc0e2e0:	7d 4b 53 78 	mr      r11,r10                                <== NOT EXECUTED
        case -1:                                                      
          p1 = p->avl.left;                                           
          if (p1->avl.bal == -1) /* simple LL-turn */                 
          {                                                           
            p->avl.left = p1->avl.right;                              
            p1->avl.right = p;                                        
ffc0e2e4:	91 2a 00 0c 	stw     r9,12(r10)                             <== NOT EXECUTED
            p->avl.bal = 0;                                           
ffc0e2e8:	98 09 00 11 	stb     r0,17(r9)                              <== NOT EXECUTED
ffc0e2ec:	48 00 00 48 	b       ffc0e334 <rtems_bdbuf_get_buffer_from_lru_list+0x2a8><== NOT EXECUTED
            p = p1;                                                   
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
            p1->avl.right = p2->avl.left;                             
ffc0e2f0:	80 eb 00 08 	lwz     r7,8(r11)                              
            p2->avl.left = p1;                                        
ffc0e2f4:	91 4b 00 08 	stw     r10,8(r11)                             
            p = p1;                                                   
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
            p1->avl.right = p2->avl.left;                             
ffc0e2f8:	90 ea 00 0c 	stw     r7,12(r10)                             
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
ffc0e2fc:	80 eb 00 0c 	lwz     r7,12(r11)                             
            p2->avl.right = p;                                        
ffc0e300:	91 2b 00 0c 	stw     r9,12(r11)                             
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
            p1->avl.right = p2->avl.left;                             
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
ffc0e304:	90 e9 00 08 	stw     r7,8(r9)                               
            p2->avl.right = p;                                        
            if (p2->avl.bal == -1) p->avl.bal = +1; else p->avl.bal = 0;
ffc0e308:	88 eb 00 11 	lbz     r7,17(r11)                             
ffc0e30c:	68 e7 00 ff 	xori    r7,r7,255                              
ffc0e310:	7c e7 00 34 	cntlzw  r7,r7                                  
ffc0e314:	54 e7 d9 7e 	rlwinm  r7,r7,27,5,31                          
ffc0e318:	98 e9 00 11 	stb     r7,17(r9)                              
            if (p2->avl.bal == +1) p1->avl.bal = -1; else p1->avl.bal = 0;
ffc0e31c:	89 2b 00 11 	lbz     r9,17(r11)                             
ffc0e320:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc0e324:	40 be 00 0c 	bne+    cr7,ffc0e330 <rtems_bdbuf_get_buffer_from_lru_list+0x2a4><== ALWAYS TAKEN
ffc0e328:	99 0a 00 11 	stb     r8,17(r10)                             <== NOT EXECUTED
ffc0e32c:	48 00 00 08 	b       ffc0e334 <rtems_bdbuf_get_buffer_from_lru_list+0x2a8><== NOT EXECUTED
ffc0e330:	98 0a 00 11 	stb     r0,17(r10)                             
            p = p2;                                                   
          }                                                           
          p->avl.bal = 0;                                             
ffc0e334:	98 0b 00 11 	stb     r0,17(r11)                             
ffc0e338:	7d 69 5b 78 	mr      r9,r11                                 
ffc0e33c:	48 00 00 a8 	b       ffc0e3e4 <rtems_bdbuf_get_buffer_from_lru_list+0x358>
          break;                                                      
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      switch (p->avl.bal)                                             
ffc0e340:	7d 08 07 75 	extsb.  r8,r8                                  
ffc0e344:	41 82 00 1c 	beq-    ffc0e360 <rtems_bdbuf_get_buffer_from_lru_list+0x2d4>
ffc0e348:	2f 88 00 01 	cmpwi   cr7,r8,1                               
ffc0e34c:	41 9e 00 1c 	beq-    cr7,ffc0e368 <rtems_bdbuf_get_buffer_from_lru_list+0x2dc>
ffc0e350:	2f 88 ff ff 	cmpwi   cr7,r8,-1                              
ffc0e354:	40 be 00 98 	bne+    cr7,ffc0e3ec <rtems_bdbuf_get_buffer_from_lru_list+0x360><== NEVER TAKEN
      {                                                               
        case -1:                                                      
          p->avl.bal = 0;                                             
ffc0e358:	98 09 00 11 	stb     r0,17(r9)                              
ffc0e35c:	48 00 00 88 	b       ffc0e3e4 <rtems_bdbuf_get_buffer_from_lru_list+0x358>
          modified = false;                                           
          break;                                                      
                                                                      
        case 0:                                                       
          p->avl.bal = 1;                                             
ffc0e360:	98 a9 00 11 	stb     r5,17(r9)                              
ffc0e364:	48 00 00 88 	b       ffc0e3ec <rtems_bdbuf_get_buffer_from_lru_list+0x360>
          break;                                                      
                                                                      
        case 1:                                                       
          p1 = p->avl.right;                                          
ffc0e368:	81 69 00 0c 	lwz     r11,12(r9)                             
          if (p1->avl.bal == 1) /* simple RR-turn */                  
ffc0e36c:	89 4b 00 11 	lbz     r10,17(r11)                            
ffc0e370:	2f 8a 00 01 	cmpwi   cr7,r10,1                              
ffc0e374:	81 4b 00 08 	lwz     r10,8(r11)                             
ffc0e378:	40 be 00 18 	bne+    cr7,ffc0e390 <rtems_bdbuf_get_buffer_from_lru_list+0x304>
          {                                                           
            p->avl.right = p1->avl.left;                              
ffc0e37c:	91 49 00 0c 	stw     r10,12(r9)                             
            p1->avl.left = p;                                         
            p->avl.bal = 0;                                           
ffc0e380:	7d 68 5b 78 	mr      r8,r11                                 
        case 1:                                                       
          p1 = p->avl.right;                                          
          if (p1->avl.bal == 1) /* simple RR-turn */                  
          {                                                           
            p->avl.right = p1->avl.left;                              
            p1->avl.left = p;                                         
ffc0e384:	91 2b 00 08 	stw     r9,8(r11)                              
            p->avl.bal = 0;                                           
ffc0e388:	98 09 00 11 	stb     r0,17(r9)                              
ffc0e38c:	48 00 00 50 	b       ffc0e3dc <rtems_bdbuf_get_buffer_from_lru_list+0x350>
            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;
ffc0e390:	8b ea 00 11 	lbz     r31,17(r10)                            
            p->avl.bal = 0;                                           
            p = p1;                                                   
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
ffc0e394:	7d 48 53 78 	mr      r8,r10                                 
            p1->avl.left = p2->avl.right;                             
ffc0e398:	80 ea 00 0c 	lwz     r7,12(r10)                             
            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;
ffc0e39c:	2f 9f 00 01 	cmpwi   cr7,r31,1                              
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
            p1->avl.left = p2->avl.right;                             
            p2->avl.right = p1;                                       
ffc0e3a0:	91 6a 00 0c 	stw     r11,12(r10)                            
            p = p1;                                                   
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
            p1->avl.left = p2->avl.right;                             
ffc0e3a4:	90 eb 00 08 	stw     r7,8(r11)                              
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
ffc0e3a8:	80 ea 00 08 	lwz     r7,8(r10)                              
            p2->avl.left = p;                                         
ffc0e3ac:	91 2a 00 08 	stw     r9,8(r10)                              
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
            p1->avl.left = p2->avl.right;                             
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
ffc0e3b0:	90 e9 00 0c 	stw     r7,12(r9)                              
            p2->avl.left = p;                                         
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
ffc0e3b4:	38 e0 00 00 	li      r7,0                                   
ffc0e3b8:	40 be 00 08 	bne+    cr7,ffc0e3c0 <rtems_bdbuf_get_buffer_from_lru_list+0x334><== ALWAYS TAKEN
ffc0e3bc:	38 e0 ff ff 	li      r7,-1                                  <== NOT EXECUTED
ffc0e3c0:	98 e9 00 11 	stb     r7,17(r9)                              
            if (p2->avl.bal == -1) p1->avl.bal = +1; else p1->avl.bal = 0;
ffc0e3c4:	89 2a 00 11 	lbz     r9,17(r10)                             
ffc0e3c8:	2f 89 00 ff 	cmpwi   cr7,r9,255                             
ffc0e3cc:	40 be 00 0c 	bne+    cr7,ffc0e3d8 <rtems_bdbuf_get_buffer_from_lru_list+0x34c><== ALWAYS TAKEN
ffc0e3d0:	98 ab 00 11 	stb     r5,17(r11)                             <== NOT EXECUTED
ffc0e3d4:	48 00 00 08 	b       ffc0e3dc <rtems_bdbuf_get_buffer_from_lru_list+0x350><== NOT EXECUTED
ffc0e3d8:	98 0b 00 11 	stb     r0,17(r11)                             
            p = p2;                                                   
          }                                                           
          p->avl.bal = 0;                                             
ffc0e3dc:	98 08 00 11 	stb     r0,17(r8)                              
ffc0e3e0:	7d 09 43 78 	mr      r9,r8                                  
          modified = false;                                           
ffc0e3e4:	39 60 00 00 	li      r11,0                                  
ffc0e3e8:	48 00 00 08 	b       ffc0e3f0 <rtems_bdbuf_get_buffer_from_lru_list+0x364>
          break;                                                      
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      switch (p->avl.bal)                                             
ffc0e3ec:	39 60 00 01 	li      r11,1                                  
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
    q = p;                                                            
    if (buf_prev > buf_stack)                                         
ffc0e3f0:	7f 86 20 40 	cmplw   cr7,r6,r4                              
ffc0e3f4:	40 9d 00 24 	ble-    cr7,ffc0e418 <rtems_bdbuf_get_buffer_from_lru_list+0x38c>
    {                                                                 
      p = *--buf_prev;                                                
ffc0e3f8:	81 46 ff fc 	lwz     r10,-4(r6)                             
                                                                      
      if (p->avl.cache == -1)                                         
ffc0e3fc:	89 0a 00 10 	lbz     r8,16(r10)                             
ffc0e400:	2f 88 00 ff 	cmpwi   cr7,r8,255                             
ffc0e404:	40 be 00 0c 	bne+    cr7,ffc0e410 <rtems_bdbuf_get_buffer_from_lru_list+0x384>
      {                                                               
        p->avl.left = q;                                              
ffc0e408:	91 2a 00 08 	stw     r9,8(r10)                              
ffc0e40c:	48 00 00 18 	b       ffc0e424 <rtems_bdbuf_get_buffer_from_lru_list+0x398>
      }                                                               
      else                                                            
      {                                                               
        p->avl.right = q;                                             
ffc0e410:	91 2a 00 0c 	stw     r9,12(r10)                             
ffc0e414:	48 00 00 10 	b       ffc0e424 <rtems_bdbuf_get_buffer_from_lru_list+0x398>
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      *root = p;                                                      
ffc0e418:	3d 60 00 00 	lis     r11,0                                  
ffc0e41c:	91 2b 29 d0 	stw     r9,10704(r11)                          
ffc0e420:	48 00 00 10 	b       ffc0e430 <rtems_bdbuf_get_buffer_from_lru_list+0x3a4>
  q->avl.left = q->avl.right = NULL;                                  
  q->avl.bal = 0;                                                     
  modified = true;                                                    
  buf_prev--;                                                         
                                                                      
  while (modified)                                                    
ffc0e424:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
        p->avl.right = q;                                             
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      *root = p;                                                      
ffc0e428:	38 c6 ff fc 	addi    r6,r6,-4                               
  q->avl.left = q->avl.right = NULL;                                  
  q->avl.bal = 0;                                                     
  modified = true;                                                    
  buf_prev--;                                                         
                                                                      
  while (modified)                                                    
ffc0e42c:	40 9e fe 60 	bne+    cr7,ffc0e28c <rtems_bdbuf_get_buffer_from_lru_list+0x200>
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0e430:	38 00 00 01 	li      r0,1                                   
ffc0e434:	90 03 00 28 	stw     r0,40(r3)                              
                                                                      
    if (empty_bd != NULL)                                             
    {                                                                 
      rtems_bdbuf_setup_empty_buffer (empty_bd, dev, block);          
                                                                      
      return empty_bd;                                                
ffc0e438:	48 00 00 14 	b       ffc0e44c <rtems_bdbuf_get_buffer_from_lru_list+0x3c0>
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);           
}                                                                     
ffc0e43c:	83 7b 00 00 	lwz     r27,0(r27)                             
                                      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))               
ffc0e440:	7f 9b 90 00 	cmpw    cr7,r27,r18                            
ffc0e444:	40 9e fc 88 	bne+    cr7,ffc0e0cc <rtems_bdbuf_get_buffer_from_lru_list+0x40>
    }                                                                 
                                                                      
    node = rtems_chain_next (node);                                   
  }                                                                   
                                                                      
  return NULL;                                                        
ffc0e448:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0e44c:	39 61 00 c0 	addi    r11,r1,192                             
ffc0e450:	48 00 a1 64 	b       ffc185b4 <_restgpr_18_x>               
  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);    
ffc0e454:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0e458:	60 63 00 1b 	ori     r3,r3,27                               <== NOT EXECUTED
ffc0e45c:	4b ff ae 45 	bl      ffc092a0 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc0e65c <rtems_bdbuf_init>: * * @return rtems_status_code The initialisation status. */ rtems_status_code rtems_bdbuf_init (void) {
ffc0e65c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0e660:	7c 08 02 a6 	mflr    r0                                     
  rtems_mode          prev_mode;                                      
                                                                      
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:init\n");                                          
                                                                      
  if (rtems_interrupt_is_in_progress())                               
ffc0e664:	3d 20 00 00 	lis     r9,0                                   
 *                                                                    
 * @return rtems_status_code The initialisation status.               
 */                                                                   
rtems_status_code                                                     
rtems_bdbuf_init (void)                                               
{                                                                     
ffc0e668:	90 01 00 34 	stw     r0,52(r1)                              
                                                                      
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:init\n");                                          
                                                                      
  if (rtems_interrupt_is_in_progress())                               
    return RTEMS_CALLED_FROM_ISR;                                     
ffc0e66c:	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())                               
ffc0e670:	80 09 2e 60 	lwz     r0,11872(r9)                           
 *                                                                    
 * @return rtems_status_code The initialisation status.               
 */                                                                   
rtems_status_code                                                     
rtems_bdbuf_init (void)                                               
{                                                                     
ffc0e674:	be e1 00 0c 	stmw    r23,12(r1)                             
  rtems_mode          prev_mode;                                      
                                                                      
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:init\n");                                          
                                                                      
  if (rtems_interrupt_is_in_progress())                               
ffc0e678:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e67c:	40 be 03 88 	bne+    cr7,ffc0ea04 <rtems_bdbuf_init+0x3a8>  <== NEVER TAKEN
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  /*                                                                  
   * Check the configuration table values.                            
   */                                                                 
  if ((bdbuf_config.buffer_max % bdbuf_config.buffer_min) != 0)       
ffc0e680:	3f 80 ff c2 	lis     r28,-62                                
ffc0e684:	3b 9c 93 94 	addi    r28,r28,-27756                         
ffc0e688:	80 1c 00 24 	lwz     r0,36(r28)                             
    return RTEMS_INVALID_NUMBER;                                      
ffc0e68c:	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)       
ffc0e690:	83 dc 00 20 	lwz     r30,32(r28)                            
ffc0e694:	7f a0 f3 96 	divwu   r29,r0,r30                             
ffc0e698:	7d 3d f1 d6 	mullw   r9,r29,r30                             
ffc0e69c:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc0e6a0:	40 be 03 64 	bne+    cr7,ffc0ea04 <rtems_bdbuf_init+0x3a8>  <== 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)                                        
ffc0e6a4:	3f e0 00 00 	lis     r31,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 ();                      
ffc0e6a8:	4b ff e8 49 	bl      ffc0cef0 <rtems_bdbuf_disable_preemption>
  if (bdbuf_cache.initialised)                                        
ffc0e6ac:	3b ff 29 90 	addi    r31,r31,10640                          
ffc0e6b0:	8b 7f 00 88 	lbz     r27,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 ();                      
ffc0e6b4:	7c 7a 1b 78 	mr      r26,r3                                 
  if (bdbuf_cache.initialised)                                        
ffc0e6b8:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0e6bc:	41 9e 00 10 	beq-    cr7,ffc0e6cc <rtems_bdbuf_init+0x70>   <== ALWAYS TAKEN
  {                                                                   
    rtems_bdbuf_restore_preemption (prev_mode);                       
ffc0e6c0:	4b ff e8 7d 	bl      ffc0cf3c <rtems_bdbuf_restore_preemption><== NOT EXECUTED
    return RTEMS_RESOURCE_IN_USE;                                     
ffc0e6c4:	38 60 00 0c 	li      r3,12                                  <== NOT EXECUTED
ffc0e6c8:	48 00 03 3c 	b       ffc0ea04 <rtems_bdbuf_init+0x3a8>      <== NOT EXECUTED
  }                                                                   
                                                                      
  memset(&bdbuf_cache, 0, sizeof(bdbuf_cache));                       
ffc0e6cc:	38 80 00 00 	li      r4,0                                   
ffc0e6d0:	38 a0 00 90 	li      r5,144                                 
ffc0e6d4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e6d8:	48 00 5d 45 	bl      ffc1441c <memset>                      
  bdbuf_cache.initialised = true;                                     
ffc0e6dc:	38 00 00 01 	li      r0,1                                   
ffc0e6e0:	98 1f 00 88 	stb     r0,136(r31)                            
  rtems_bdbuf_restore_preemption (prev_mode);                         
ffc0e6e4:	7f 43 d3 78 	mr      r3,r26                                 
ffc0e6e8:	4b ff e8 55 	bl      ffc0cf3c <rtems_bdbuf_restore_preemption>
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0e6ec:	38 1f 00 0c 	addi    r0,r31,12                              
ffc0e6f0:	90 1f 00 08 	stw     r0,8(r31)                              
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc0e6f4:	38 1f 00 08 	addi    r0,r31,8                               
   */                                                                 
  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;                        
ffc0e6f8:	39 40 ff ff 	li      r10,-1                                 
ffc0e6fc:	90 1f 00 10 	stw     r0,16(r31)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0e700:	38 1f 00 48 	addi    r0,r31,72                              
ffc0e704:	39 60 ff ff 	li      r11,-1                                 
ffc0e708:	90 1f 00 44 	stw     r0,68(r31)                             
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc0e70c:	38 1f 00 44 	addi    r0,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'), 
ffc0e710:	3c 60 42 44 	lis     r3,16964                               
ffc0e714:	90 1f 00 4c 	stw     r0,76(r31)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0e718:	38 1f 00 54 	addi    r0,r31,84                              
ffc0e71c:	60 63 43 6c 	ori     r3,r3,17260                            
ffc0e720:	90 1f 00 50 	stw     r0,80(r31)                             
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc0e724:	38 1f 00 50 	addi    r0,r31,80                              
ffc0e728:	38 80 00 01 	li      r4,1                                   
ffc0e72c:	90 1f 00 58 	stw     r0,88(r31)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0e730:	38 1f 00 60 	addi    r0,r31,96                              
ffc0e734:	38 a0 00 54 	li      r5,84                                  
ffc0e738:	90 1f 00 5c 	stw     r0,92(r31)                             
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc0e73c:	38 1f 00 5c 	addi    r0,r31,92                              
ffc0e740:	38 c0 00 00 	li      r6,0                                   
   */                                                                 
  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;                        
ffc0e744:	91 5f 00 38 	stw     r10,56(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'), 
ffc0e748:	38 ff 00 28 	addi    r7,r31,40                              
   */                                                                 
  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;                        
ffc0e74c:	91 7f 00 3c 	stw     r11,60(r31)                            
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc0e750:	93 7f 00 0c 	stw     r27,12(r31)                            
ffc0e754:	93 7f 00 48 	stw     r27,72(r31)                            
ffc0e758:	93 7f 00 54 	stw     r27,84(r31)                            
ffc0e75c:	93 7f 00 60 	stw     r27,96(r31)                            
  tail->previous = head;                                              
ffc0e760:	90 1f 00 64 	stw     r0,100(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'), 
ffc0e764:	4b ff a1 41 	bl      ffc088a4 <rtems_semaphore_create>      
                               1, RTEMS_BDBUF_CACHE_LOCK_ATTRIBS, 0,  
                               &bdbuf_cache.lock);                    
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0e768:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e76c:	40 be 02 1c 	bne+    cr7,ffc0e988 <rtems_bdbuf_init+0x32c>  <== NEVER TAKEN
    goto error;                                                       
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc0e770:	4b ff e3 b9 	bl      ffc0cb28 <rtems_bdbuf_lock_cache>      
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 's'), 
ffc0e774:	3c 60 42 44 	lis     r3,16964                               
ffc0e778:	60 63 43 73 	ori     r3,r3,17267                            
ffc0e77c:	38 80 00 01 	li      r4,1                                   
ffc0e780:	38 a0 00 54 	li      r5,84                                  
ffc0e784:	38 c0 00 00 	li      r6,0                                   
ffc0e788:	38 ff 00 2c 	addi    r7,r31,44                              
ffc0e78c:	4b ff a1 19 	bl      ffc088a4 <rtems_semaphore_create>      
                               1, RTEMS_BDBUF_CACHE_LOCK_ATTRIBS, 0,  
                               &bdbuf_cache.sync_lock);               
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0e790:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e794:	40 be 01 f4 	bne+    cr7,ffc0e988 <rtems_bdbuf_init+0x32c>  <== NEVER TAKEN
    goto error;                                                       
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 'a'), 
ffc0e798:	3c 60 42 44 	lis     r3,16964                               
ffc0e79c:	60 63 43 61 	ori     r3,r3,17249                            
ffc0e7a0:	38 80 00 00 	li      r4,0                                   
ffc0e7a4:	38 a0 00 24 	li      r5,36                                  
ffc0e7a8:	38 c0 00 00 	li      r6,0                                   
ffc0e7ac:	38 ff 00 6c 	addi    r7,r31,108                             
ffc0e7b0:	4b ff a0 f5 	bl      ffc088a4 <rtems_semaphore_create>      
                               0, RTEMS_BDBUF_CACHE_WAITER_ATTRIBS, 0,
                               &bdbuf_cache.access_waiters.sema);     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0e7b4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e7b8:	40 be 01 d0 	bne+    cr7,ffc0e988 <rtems_bdbuf_init+0x32c>  <== NEVER TAKEN
    goto error;                                                       
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 't'), 
ffc0e7bc:	3c 60 42 44 	lis     r3,16964                               
ffc0e7c0:	60 63 43 74 	ori     r3,r3,17268                            
ffc0e7c4:	38 80 00 00 	li      r4,0                                   
ffc0e7c8:	38 a0 00 24 	li      r5,36                                  
ffc0e7cc:	38 c0 00 00 	li      r6,0                                   
ffc0e7d0:	38 ff 00 74 	addi    r7,r31,116                             
ffc0e7d4:	4b ff a0 d1 	bl      ffc088a4 <rtems_semaphore_create>      
                               0, RTEMS_BDBUF_CACHE_WAITER_ATTRIBS, 0,
                               &bdbuf_cache.transfer_waiters.sema);   
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0e7d8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e7dc:	40 be 01 ac 	bne+    cr7,ffc0e988 <rtems_bdbuf_init+0x32c>  <== NEVER TAKEN
    goto error;                                                       
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 'b'), 
ffc0e7e0:	3c 60 42 44 	lis     r3,16964                               
ffc0e7e4:	60 63 43 62 	ori     r3,r3,17250                            
ffc0e7e8:	38 80 00 00 	li      r4,0                                   
ffc0e7ec:	38 a0 00 24 	li      r5,36                                  
ffc0e7f0:	38 c0 00 00 	li      r6,0                                   
ffc0e7f4:	38 ff 00 7c 	addi    r7,r31,124                             
ffc0e7f8:	4b ff a0 ad 	bl      ffc088a4 <rtems_semaphore_create>      
                               0, RTEMS_BDBUF_CACHE_WAITER_ATTRIBS, 0,
                               &bdbuf_cache.buffer_waiters.sema);     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0e7fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e800:	40 be 01 88 	bne+    cr7,ffc0e988 <rtems_bdbuf_init+0x32c>  <== NEVER TAKEN
                                                                      
  /*                                                                  
   * Compute the various number of elements in the cache.             
   */                                                                 
  bdbuf_cache.buffer_min_count =                                      
    bdbuf_config.size / bdbuf_config.buffer_min;                      
ffc0e804:	83 9c 00 1c 	lwz     r28,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),              
ffc0e808:	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 =                                     
ffc0e80c:	93 bf 00 20 	stw     r29,32(r31)                            
                                                                      
  /*                                                                  
   * Compute the various number of elements in the cache.             
   */                                                                 
  bdbuf_cache.buffer_min_count =                                      
    bdbuf_config.size / bdbuf_config.buffer_min;                      
ffc0e810:	7f 9c f3 96 	divwu   r28,r28,r30                            
  bdbuf_cache.max_bds_per_group =                                     
    bdbuf_config.buffer_max / bdbuf_config.buffer_min;                
  bdbuf_cache.group_count =                                           
    bdbuf_cache.buffer_min_count / bdbuf_cache.max_bds_per_group;     
ffc0e814:	7f bc eb 96 	divwu   r29,r28,r29                            
    goto error;                                                       
                                                                      
  /*                                                                  
   * Compute the various number of elements in the cache.             
   */                                                                 
  bdbuf_cache.buffer_min_count =                                      
ffc0e818:	93 9f 00 1c 	stw     r28,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 =                                           
ffc0e81c:	93 bf 00 80 	stw     r29,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),              
ffc0e820:	7f 84 e3 78 	mr      r4,r28                                 
ffc0e824:	4b ff 68 4d 	bl      ffc05070 <calloc>                      
                            bdbuf_cache.buffer_min_count);            
  if (!bdbuf_cache.bds)                                               
ffc0e828:	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),              
ffc0e82c:	90 7f 00 14 	stw     r3,20(r31)                             
                            bdbuf_cache.buffer_min_count);            
  if (!bdbuf_cache.bds)                                               
ffc0e830:	41 9e 01 58 	beq-    cr7,ffc0e988 <rtems_bdbuf_init+0x32c>  <== NEVER TAKEN
    goto error;                                                       
                                                                      
  /*                                                                  
   * Allocate the memory for the buffer descriptors.                  
   */                                                                 
  bdbuf_cache.groups = calloc (sizeof (rtems_bdbuf_group),            
ffc0e834:	38 60 00 14 	li      r3,20                                  
ffc0e838:	7f a4 eb 78 	mr      r4,r29                                 
ffc0e83c:	4b ff 68 35 	bl      ffc05070 <calloc>                      
                               bdbuf_cache.group_count);              
  if (!bdbuf_cache.groups)                                            
ffc0e840:	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),            
ffc0e844:	90 7f 00 84 	stw     r3,132(r31)                            
                               bdbuf_cache.group_count);              
  if (!bdbuf_cache.groups)                                            
ffc0e848:	41 9e 01 40 	beq-    cr7,ffc0e988 <rtems_bdbuf_init+0x32c>  <== 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,                 
ffc0e84c:	3f e0 00 00 	lis     r31,0                                  
ffc0e850:	7c bc f1 d6 	mullw   r5,r28,r30                             
ffc0e854:	3b ff 29 90 	addi    r31,r31,10640                          
ffc0e858:	38 7f 00 18 	addi    r3,r31,24                              
ffc0e85c:	38 80 00 20 	li      r4,32                                  
ffc0e860:	48 00 24 39 	bl      ffc10c98 <rtems_memalign>              
ffc0e864:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e868:	40 be 01 20 	bne+    cr7,ffc0e988 <rtems_bdbuf_init+0x32c>  <== 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,                             
ffc0e86c:	83 1f 00 84 	lwz     r24,132(r31)                           
ffc0e870:	3b 40 00 00 	li      r26,0                                  
         bd = bdbuf_cache.bds, buffer = bdbuf_cache.buffers;          
ffc0e874:	83 7f 00 14 	lwz     r27,20(r31)                            
       b < bdbuf_cache.buffer_min_count;                              
       b++, bd++, buffer += bdbuf_config.buffer_min)                  
  {                                                                   
    bd->dev    = BDBUF_INVALID_DEV;                                   
ffc0e878:	3b 80 ff ff 	li      r28,-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;          
ffc0e87c:	83 3f 00 18 	lwz     r25,24(r31)                            
       b < bdbuf_cache.buffer_min_count;                              
       b++, bd++, buffer += bdbuf_config.buffer_min)                  
  {                                                                   
    bd->dev    = BDBUF_INVALID_DEV;                                   
ffc0e880:	3b a0 ff ff 	li      r29,-1                                 
    bd->group  = group;                                               
    bd->buffer = buffer;                                              
                                                                      
    rtems_chain_append (&bdbuf_cache.lru, &bd->link);                 
ffc0e884:	3a ff 00 44 	addi    r23,r31,68                             
                                                                      
  /*                                                                  
   * 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,                             
ffc0e888:	48 00 00 4c 	b       ffc0e8d4 <rtems_bdbuf_init+0x278>      
         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;                                   
ffc0e88c:	93 9b 00 18 	stw     r28,24(r27)                            
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
ffc0e890:	7e e3 bb 78 	mr      r3,r23                                 
ffc0e894:	7f 64 db 78 	mr      r4,r27                                 
ffc0e898:	93 bb 00 1c 	stw     r29,28(r27)                            
    bd->group  = group;                                               
ffc0e89c:	93 1b 00 30 	stw     r24,48(r27)                            
    bd->buffer = buffer;                                              
ffc0e8a0:	93 3b 00 24 	stw     r25,36(r27)                            
ffc0e8a4:	4b ff af 5d 	bl      ffc09800 <_Chain_Append>               
                                                                      
    rtems_chain_append (&bdbuf_cache.lru, &bd->link);                 
                                                                      
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
ffc0e8a8:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc0e8ac:	7c 1a 4b 96 	divwu   r0,r26,r9                              
ffc0e8b0:	7c 00 49 d6 	mullw   r0,r0,r9                               
        (bdbuf_cache.max_bds_per_group - 1))                          
ffc0e8b4:	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) ==                        
ffc0e8b8:	7c 00 d0 50 	subf    r0,r0,r26                              
ffc0e8bc:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc0e8c0:	40 be 00 08 	bne+    cr7,ffc0e8c8 <rtems_bdbuf_init+0x26c>  
        (bdbuf_cache.max_bds_per_group - 1))                          
      group++;                                                        
ffc0e8c4:	3b 18 00 14 	addi    r24,r24,20                             
   * 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)                  
ffc0e8c8:	3b 5a 00 01 	addi    r26,r26,1                              
ffc0e8cc:	3b 7b 00 40 	addi    r27,r27,64                             
ffc0e8d0:	7f 39 f2 14 	add     r25,r25,r30                            
                                                                      
  /*                                                                  
   * 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,                             
ffc0e8d4:	80 1f 00 1c 	lwz     r0,28(r31)                             
ffc0e8d8:	7f 9a 00 40 	cmplw   cr7,r26,r0                             
ffc0e8dc:	41 9c ff b0 	blt+    cr7,ffc0e88c <rtems_bdbuf_init+0x230>  
  }                                                                   
                                                                      
  for (b = 0,                                                         
         group = bdbuf_cache.groups,                                  
         bd = bdbuf_cache.bds;                                        
       b < bdbuf_cache.group_count;                                   
ffc0e8e0:	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;             
ffc0e8e4:	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,                                                         
ffc0e8e8:	39 4a 00 01 	addi    r10,r10,1                              
         group = bdbuf_cache.groups,                                  
ffc0e8ec:	81 3f 00 84 	lwz     r9,132(r31)                            
         bd = bdbuf_cache.bds;                                        
ffc0e8f0:	80 1f 00 14 	lwz     r0,20(r31)                             
       b < bdbuf_cache.group_count;                                   
       b++,                                                           
         group++,                                                     
         bd += bdbuf_cache.max_bds_per_group)                         
ffc0e8f4:	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,                                                         
ffc0e8f8:	7d 49 03 a6 	mtctr   r10                                    
ffc0e8fc:	48 00 00 14 	b       ffc0e910 <rtems_bdbuf_init+0x2b4>      
       b++,                                                           
         group++,                                                     
         bd += bdbuf_cache.max_bds_per_group)                         
  {                                                                   
    group->bds_per_group = bdbuf_cache.max_bds_per_group;             
    group->bdbuf = bd;                                                
ffc0e900:	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)                         
ffc0e904:	7c 00 42 14 	add     r0,r0,r8                               
  {                                                                   
    group->bds_per_group = bdbuf_cache.max_bds_per_group;             
ffc0e908:	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++,                                                     
ffc0e90c:	39 29 00 14 	addi    r9,r9,20                               
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
        (bdbuf_cache.max_bds_per_group - 1))                          
      group++;                                                        
  }                                                                   
                                                                      
  for (b = 0,                                                         
ffc0e910:	42 00 ff f0 	bdnz+   ffc0e900 <rtems_bdbuf_init+0x2a4>      
   * threads.                                                         
   */                                                                 
  bdbuf_cache.swapout_enabled = true;                                 
                                                                      
  sc = rtems_task_create (rtems_build_name('B', 'S', 'W', 'P'),       
                          bdbuf_config.swapout_priority ?             
ffc0e914:	3d 20 ff c2 	lis     r9,-62                                 
ffc0e918:	80 89 93 9c 	lwz     r4,-27748(r9)                          
                                                                      
  /*                                                                  
   * Create and start swapout task. This task will create and manage the worker
   * threads.                                                         
   */                                                                 
  bdbuf_cache.swapout_enabled = true;                                 
ffc0e91c:	3f e0 00 00 	lis     r31,0                                  
ffc0e920:	3b ff 29 90 	addi    r31,r31,10640                          
                                                                      
  sc = rtems_task_create (rtems_build_name('B', 'S', 'W', 'P'),       
ffc0e924:	2f 84 00 00 	cmpwi   cr7,r4,0                               
                                                                      
  /*                                                                  
   * Create and start swapout task. This task will create and manage the worker
   * threads.                                                         
   */                                                                 
  bdbuf_cache.swapout_enabled = true;                                 
ffc0e928:	38 00 00 01 	li      r0,1                                   
ffc0e92c:	98 1f 00 04 	stb     r0,4(r31)                              
                                                                      
  sc = rtems_task_create (rtems_build_name('B', 'S', 'W', 'P'),       
ffc0e930:	40 9e 00 08 	bne-    cr7,ffc0e938 <rtems_bdbuf_init+0x2dc>  <== ALWAYS TAKEN
ffc0e934:	38 80 00 0f 	li      r4,15                                  <== NOT EXECUTED
ffc0e938:	3c 60 42 53 	lis     r3,16979                               
ffc0e93c:	60 63 57 50 	ori     r3,r3,22352                            
ffc0e940:	38 a0 20 00 	li      r5,8192                                
ffc0e944:	38 c0 04 00 	li      r6,1024                                
ffc0e948:	38 e0 00 00 	li      r7,0                                   
ffc0e94c:	7f e8 fb 78 	mr      r8,r31                                 
ffc0e950:	4b ff a3 ad 	bl      ffc08cfc <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)                                         
ffc0e954:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e958:	40 be 00 30 	bne+    cr7,ffc0e988 <rtems_bdbuf_init+0x32c>  <== NEVER TAKEN
    goto error;                                                       
                                                                      
  sc = rtems_task_start (bdbuf_cache.swapout,                         
ffc0e95c:	3d 20 00 00 	lis     r9,0                                   
ffc0e960:	80 69 29 90 	lwz     r3,10640(r9)                           
ffc0e964:	3c 80 ff c1 	lis     r4,-63                                 
ffc0e968:	38 84 dc 9c 	addi    r4,r4,-9060                            
ffc0e96c:	7f e5 fb 78 	mr      r5,r31                                 
ffc0e970:	4b ff a6 55 	bl      ffc08fc4 <rtems_task_start>            
                         rtems_bdbuf_swapout_task,                    
                         (rtems_task_argument) &bdbuf_cache);         
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0e974:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e978:	40 be 00 10 	bne+    cr7,ffc0e988 <rtems_bdbuf_init+0x32c>  <== NEVER TAKEN
    goto error;                                                       
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc0e97c:	4b ff e4 05 	bl      ffc0cd80 <rtems_bdbuf_unlock_cache>    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0e980:	38 60 00 00 	li      r3,0                                   
ffc0e984:	48 00 00 80 	b       ffc0ea04 <rtems_bdbuf_init+0x3a8>      
                                                                      
error:                                                                
                                                                      
  if (bdbuf_cache.swapout != 0)                                       
ffc0e988:	3f e0 00 00 	lis     r31,0                                  <== NOT EXECUTED
ffc0e98c:	80 7f 29 90 	lwz     r3,10640(r31)                          <== NOT EXECUTED
ffc0e990:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc0e994:	41 be 00 08 	beq+    cr7,ffc0e99c <rtems_bdbuf_init+0x340>  <== NOT EXECUTED
    rtems_task_delete (bdbuf_cache.swapout);                          
ffc0e998:	4b ff a4 a5 	bl      ffc08e3c <rtems_task_delete>           <== NOT EXECUTED
                                                                      
  free (bdbuf_cache.buffers);                                         
ffc0e99c:	3b ff 29 90 	addi    r31,r31,10640                          <== NOT EXECUTED
ffc0e9a0:	80 7f 00 18 	lwz     r3,24(r31)                             <== NOT EXECUTED
ffc0e9a4:	4b ff 68 cd 	bl      ffc05270 <free>                        <== NOT EXECUTED
  free (bdbuf_cache.groups);                                          
ffc0e9a8:	80 7f 00 84 	lwz     r3,132(r31)                            <== NOT EXECUTED
ffc0e9ac:	4b ff 68 c5 	bl      ffc05270 <free>                        <== NOT EXECUTED
  free (bdbuf_cache.bds);                                             
ffc0e9b0:	80 7f 00 14 	lwz     r3,20(r31)                             <== NOT EXECUTED
ffc0e9b4:	4b ff 68 bd 	bl      ffc05270 <free>                        <== NOT EXECUTED
                                                                      
  rtems_semaphore_delete (bdbuf_cache.buffer_waiters.sema);           
ffc0e9b8:	80 7f 00 7c 	lwz     r3,124(r31)                            <== NOT EXECUTED
ffc0e9bc:	4b ff a0 a5 	bl      ffc08a60 <rtems_semaphore_delete>      <== NOT EXECUTED
  rtems_semaphore_delete (bdbuf_cache.access_waiters.sema);           
ffc0e9c0:	80 7f 00 6c 	lwz     r3,108(r31)                            <== NOT EXECUTED
ffc0e9c4:	4b ff a0 9d 	bl      ffc08a60 <rtems_semaphore_delete>      <== NOT EXECUTED
  rtems_semaphore_delete (bdbuf_cache.transfer_waiters.sema);         
ffc0e9c8:	80 7f 00 74 	lwz     r3,116(r31)                            <== NOT EXECUTED
ffc0e9cc:	4b ff a0 95 	bl      ffc08a60 <rtems_semaphore_delete>      <== NOT EXECUTED
  rtems_semaphore_delete (bdbuf_cache.sync_lock);                     
ffc0e9d0:	80 7f 00 2c 	lwz     r3,44(r31)                             <== NOT EXECUTED
ffc0e9d4:	4b ff a0 8d 	bl      ffc08a60 <rtems_semaphore_delete>      <== NOT EXECUTED
                                                                      
  if (bdbuf_cache.lock != 0)                                          
ffc0e9d8:	80 1f 00 28 	lwz     r0,40(r31)                             <== NOT EXECUTED
ffc0e9dc:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc0e9e0:	41 be 00 10 	beq+    cr7,ffc0e9f0 <rtems_bdbuf_init+0x394>  <== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_unlock_cache ();                                      
ffc0e9e4:	4b ff e3 9d 	bl      ffc0cd80 <rtems_bdbuf_unlock_cache>    <== NOT EXECUTED
    rtems_semaphore_delete (bdbuf_cache.lock);                        
ffc0e9e8:	80 7f 00 28 	lwz     r3,40(r31)                             <== NOT EXECUTED
ffc0e9ec:	4b ff a0 75 	bl      ffc08a60 <rtems_semaphore_delete>      <== NOT EXECUTED
  }                                                                   
                                                                      
  bdbuf_cache.initialised = false;                                    
ffc0e9f0:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc0e9f4:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc0e9f8:	39 29 29 90 	addi    r9,r9,10640                            <== NOT EXECUTED
ffc0e9fc:	98 09 00 88 	stb     r0,136(r9)                             <== NOT EXECUTED
                                                                      
  return RTEMS_UNSATISFIED;                                           
ffc0ea00:	38 60 00 0d 	li      r3,13                                  <== NOT EXECUTED
}                                                                     
ffc0ea04:	39 61 00 30 	addi    r11,r1,48                              
ffc0ea08:	48 00 9b c0 	b       ffc185c8 <_restgpr_23_x>               
                                                                      

ffc0cb28 <rtems_bdbuf_lock_cache>: * @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,
ffc0cb28:	3d 20 00 00 	lis     r9,0                                   
/**                                                                   
 * Lock the cache. A single task can nest calls.                      
 */                                                                   
static void                                                           
rtems_bdbuf_lock_cache (void)                                         
{                                                                     
ffc0cb2c:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0cb30:	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,                
ffc0cb34:	38 80 00 00 	li      r4,0                                   
ffc0cb38:	80 69 29 b8 	lwz     r3,10680(r9)                           
ffc0cb3c:	38 a0 00 00 	li      r5,0                                   
/**                                                                   
 * Lock the cache. A single task can nest calls.                      
 */                                                                   
static void                                                           
rtems_bdbuf_lock_cache (void)                                         
{                                                                     
ffc0cb40:	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,                
ffc0cb44:	4b ff bf d5 	bl      ffc08b18 <rtems_semaphore_obtain>      
                                                 RTEMS_WAIT,          
                                                 RTEMS_NO_TIMEOUT);   
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0cb48:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0cb4c:	41 be 00 10 	beq+    cr7,ffc0cb5c <rtems_bdbuf_lock_cache+0x34><== ALWAYS TAKEN
    rtems_fatal_error_occurred (fatal_error_code);                    
ffc0cb50:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0cb54:	60 63 00 0d 	ori     r3,r3,13                               <== NOT EXECUTED
ffc0cb58:	4b ff c7 49 	bl      ffc092a0 <rtems_fatal_error_occurred>  <== NOT EXECUTED
 */                                                                   
static void                                                           
rtems_bdbuf_lock_cache (void)                                         
{                                                                     
  rtems_bdbuf_lock (bdbuf_cache.lock, RTEMS_BLKDEV_FATAL_BDBUF_CACHE_LOCK);
}                                                                     
ffc0cb5c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0cb60:	38 21 00 08 	addi    r1,r1,8                                
ffc0cb64:	7c 08 03 a6 	mtlr    r0                                     
ffc0cb68:	4e 80 00 20 	blr                                            
                                                                      

ffc0cb6c <rtems_bdbuf_lock_sync>: * @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,
ffc0cb6c:	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)                                          
{                                                                     
ffc0cb70:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0cb74:	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,                
ffc0cb78:	38 80 00 00 	li      r4,0                                   
ffc0cb7c:	80 69 29 bc 	lwz     r3,10684(r9)                           
ffc0cb80:	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)                                          
{                                                                     
ffc0cb84:	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,                
ffc0cb88:	4b ff bf 91 	bl      ffc08b18 <rtems_semaphore_obtain>      
                                                 RTEMS_WAIT,          
                                                 RTEMS_NO_TIMEOUT);   
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0cb8c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0cb90:	41 be 00 10 	beq+    cr7,ffc0cba0 <rtems_bdbuf_lock_sync+0x34><== ALWAYS TAKEN
    rtems_fatal_error_occurred (fatal_error_code);                    
ffc0cb94:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0cb98:	60 63 00 0b 	ori     r3,r3,11                               <== NOT EXECUTED
ffc0cb9c:	4b ff c7 05 	bl      ffc092a0 <rtems_fatal_error_occurred>  <== NOT EXECUTED
 */                                                                   
static void                                                           
rtems_bdbuf_lock_sync (void)                                          
{                                                                     
  rtems_bdbuf_lock (bdbuf_cache.sync_lock, RTEMS_BLKDEV_FATAL_BDBUF_SYNC_LOCK);
}                                                                     
ffc0cba0:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0cba4:	38 21 00 08 	addi    r1,r1,8                                
ffc0cba8:	7c 08 03 a6 	mtlr    r0                                     
ffc0cbac:	4e 80 00 20 	blr                                            
                                                                      

ffc0d258 <rtems_bdbuf_obtain_disk.part.7>: return bd; } static rtems_status_code rtems_bdbuf_obtain_disk (dev_t dev,
ffc0d258:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0d25c:	7c 08 02 a6 	mflr    r0                                     
ffc0d260:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc0d264:	7c be 2b 78 	mr      r30,r5                                 
ffc0d268:	7c db 33 78 	mr      r27,r6                                 
ffc0d26c:	90 01 00 24 	stw     r0,36(r1)                              
ffc0d270:	7c ff 3b 78 	mr      r31,r7                                 
ffc0d274:	7d 1c 43 78 	mr      r28,r8                                 
    return RTEMS_NOT_CONFIGURED;                                      
                                                                      
  /*                                                                  
   * Do not hold the cache lock when obtaining the disk table.        
   */                                                                 
  dd = rtems_disk_obtain (dev);                                       
ffc0d278:	4b ff 72 8d 	bl      ffc04504 <rtems_disk_obtain>           
  if (dd == NULL)                                                     
ffc0d27c:	7c 7d 1b 79 	mr.     r29,r3                                 
    return RTEMS_INVALID_ID;                                          
ffc0d280:	38 00 00 04 	li      r0,4                                   
                                                                      
  /*                                                                  
   * Do not hold the cache lock when obtaining the disk table.        
   */                                                                 
  dd = rtems_disk_obtain (dev);                                       
  if (dd == NULL)                                                     
ffc0d284:	41 82 00 bc 	beq-    ffc0d340 <rtems_bdbuf_obtain_disk.part.7+0xe8><== NEVER TAKEN
    return RTEMS_INVALID_ID;                                          
                                                                      
  *dd_ptr = dd;                                                       
                                                                      
  if (media_block_ptr != NULL)                                        
ffc0d288:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
   */                                                                 
  dd = rtems_disk_obtain (dev);                                       
  if (dd == NULL)                                                     
    return RTEMS_INVALID_ID;                                          
                                                                      
  *dd_ptr = dd;                                                       
ffc0d28c:	93 bb 00 00 	stw     r29,0(r27)                             
                                                                      
  if (media_block_ptr != NULL)                                        
ffc0d290:	41 9e 00 3c 	beq-    cr7,ffc0d2cc <rtems_bdbuf_obtain_disk.part.7+0x74>
     * 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,   
ffc0d294:	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);           
ffc0d298:	38 a0 00 00 	li      r5,0                                   
ffc0d29c:	80 dd 00 24 	lwz     r6,36(r29)                             
ffc0d2a0:	7d 5e 19 d6 	mullw   r10,r30,r3                             
ffc0d2a4:	7d 3e 18 16 	mulhwu  r9,r30,r3                              
ffc0d2a8:	7d 44 53 78 	mr      r4,r10                                 
ffc0d2ac:	7d 23 4b 78 	mr      r3,r9                                  
ffc0d2b0:	48 00 aa f1 	bl      ffc17da0 <__udivdi3>                   
     * the user.                                                      
     */                                                               
    rtems_blkdev_bnum mb = rtems_bdbuf_media_block (block,            
                                                    dd->block_size,   
                                                    dd->media_block_size);
    if (mb >= dd->size)                                               
ffc0d2b4:	80 1d 00 1c 	lwz     r0,28(r29)                             
ffc0d2b8:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc0d2bc:	40 9c 00 6c 	bge-    cr7,ffc0d328 <rtems_bdbuf_obtain_disk.part.7+0xd0><== NEVER TAKEN
    {                                                                 
      rtems_disk_release(dd);                                         
      return RTEMS_INVALID_NUMBER;                                    
    }                                                                 
                                                                      
    *media_block_ptr = mb + dd->start;                                
ffc0d2c0:	80 1d 00 18 	lwz     r0,24(r29)                             
ffc0d2c4:	7c 84 02 14 	add     r4,r4,r0                               
ffc0d2c8:	90 9f 00 00 	stw     r4,0(r31)                              
  }                                                                   
                                                                      
  if (bds_per_group_ptr != NULL)                                      
ffc0d2cc:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    }                                                                 
                                                                      
    *bds_per_group_ptr = bds_per_group;                               
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0d2d0:	38 00 00 00 	li      r0,0                                   
    }                                                                 
                                                                      
    *media_block_ptr = mb + dd->start;                                
  }                                                                   
                                                                      
  if (bds_per_group_ptr != NULL)                                      
ffc0d2d4:	41 9e 00 6c 	beq-    cr7,ffc0d340 <rtems_bdbuf_obtain_disk.part.7+0xe8>
rtems_bdbuf_bds_per_group (size_t size)                               
{                                                                     
  size_t bufs_per_size;                                               
  size_t bds_per_size;                                                
                                                                      
  if (size > bdbuf_config.buffer_max)                                 
ffc0d2d8:	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);
ffc0d2dc:	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)                                 
ffc0d2e0:	39 29 93 94 	addi    r9,r9,-27756                           
ffc0d2e4:	80 09 00 24 	lwz     r0,36(r9)                              
ffc0d2e8:	7f 8b 00 40 	cmplw   cr7,r11,r0                             
ffc0d2ec:	41 9d 00 3c 	bgt-    cr7,ffc0d328 <rtems_bdbuf_obtain_disk.part.7+0xd0><== NEVER TAKEN
    return 0;                                                         
                                                                      
  bufs_per_size = ((size - 1) / bdbuf_config.buffer_min) + 1;         
ffc0d2f0:	80 09 00 20 	lwz     r0,32(r9)                              
ffc0d2f4:	39 6b ff ff 	addi    r11,r11,-1                             
ffc0d2f8:	7d 6b 03 96 	divwu   r11,r11,r0                             
                                                                      
  for (bds_per_size = 1;                                              
ffc0d2fc:	38 00 00 01 	li      r0,1                                   
  size_t bds_per_size;                                                
                                                                      
  if (size > bdbuf_config.buffer_max)                                 
    return 0;                                                         
                                                                      
  bufs_per_size = ((size - 1) / bdbuf_config.buffer_min) + 1;         
ffc0d300:	39 6b 00 01 	addi    r11,r11,1                              
ffc0d304:	48 00 00 08 	b       ffc0d30c <rtems_bdbuf_obtain_disk.part.7+0xb4>
                                                                      
  for (bds_per_size = 1;                                              
       bds_per_size < bufs_per_size;                                  
       bds_per_size <<= 1)                                            
ffc0d308:	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;                                              
ffc0d30c:	7f 80 58 40 	cmplw   cr7,r0,r11                             
ffc0d310:	41 9c ff f8 	blt+    cr7,ffc0d308 <rtems_bdbuf_obtain_disk.part.7+0xb0>
       bds_per_size < bufs_per_size;                                  
       bds_per_size <<= 1)                                            
    ;                                                                 
                                                                      
  return bdbuf_cache.max_bds_per_group / bds_per_size;                
ffc0d314:	3d 20 00 00 	lis     r9,0                                   
ffc0d318:	81 29 29 b0 	lwz     r9,10672(r9)                           
ffc0d31c:	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)                                           
ffc0d320:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d324:	40 be 00 14 	bne+    cr7,ffc0d338 <rtems_bdbuf_obtain_disk.part.7+0xe0><== ALWAYS TAKEN
    {                                                                 
      rtems_disk_release (dd);                                        
ffc0d328:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc0d32c:	4b ff 72 5d 	bl      ffc04588 <rtems_disk_release>          <== NOT EXECUTED
      return RTEMS_INVALID_NUMBER;                                    
ffc0d330:	38 00 00 0a 	li      r0,10                                  <== NOT EXECUTED
ffc0d334:	48 00 00 0c 	b       ffc0d340 <rtems_bdbuf_obtain_disk.part.7+0xe8><== NOT EXECUTED
    }                                                                 
                                                                      
    *bds_per_group_ptr = bds_per_group;                               
ffc0d338:	90 1c 00 00 	stw     r0,0(r28)                              
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0d33c:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc0d340:	39 61 00 20 	addi    r11,r1,32                              
ffc0d344:	7c 03 03 78 	mr      r3,r0                                  
ffc0d348:	48 00 b2 90 	b       ffc185d8 <_restgpr_27_x>               
                                                                      

ffc0d7b8 <rtems_bdbuf_purge>: } } static void rtems_bdbuf_purge (rtems_bdbuf_purge_compare compare, dev_t dev) {
ffc0d7b8:	94 21 ff 40 	stwu    r1,-192(r1)                            
ffc0d7bc:	7c 08 02 a6 	mflr    r0                                     
ffc0d7c0:	be c1 00 98 	stmw    r22,152(r1)                            
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc0d7c4:	3b 60 00 00 	li      r27,0                                  
  tail->previous = head;                                              
ffc0d7c8:	3b 21 00 08 	addi    r25,r1,8                               
ffc0d7cc:	90 01 00 c4 	stw     r0,196(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;                         
ffc0d7d0:	3f 40 00 00 	lis     r26,0                                  
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0d7d4:	38 01 00 0c 	addi    r0,r1,12                               
                                                                      
  *prev = NULL;                                                       
ffc0d7d8:	7c 3c 0b 78 	mr      r28,r1                                 
  head->previous = NULL;                                              
ffc0d7dc:	93 61 00 0c 	stw     r27,12(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;                         
ffc0d7e0:	3b 5a 29 90 	addi    r26,r26,10640                          
  }                                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_purge (rtems_bdbuf_purge_compare compare, dev_t dev)      
{                                                                     
ffc0d7e4:	7c 76 1b 78 	mr      r22,r3                                 
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0d7e8:	90 01 00 08 	stw     r0,8(r1)                               
ffc0d7ec:	7c df 33 78 	mr      r31,r6                                 
ffc0d7f0:	7c be 2b 78 	mr      r30,r5                                 
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc0d7f4:	93 21 00 10 	stw     r25,16(r1)                             
  rtems_chain_control purge_list;                                     
                                                                      
  rtems_chain_initialize_empty (&purge_list);                         
  rtems_bdbuf_lock_cache ();                                          
ffc0d7f8:	4b ff f3 31 	bl      ffc0cb28 <rtems_bdbuf_lock_cache>      
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0d7fc:	3a e0 00 06 	li      r23,6                                  
{                                                                     
  rtems_bdbuf_buffer *stack [RTEMS_BDBUF_AVL_MAX_HEIGHT];             
  rtems_bdbuf_buffer **prev = stack;                                  
  rtems_bdbuf_buffer *cur = bdbuf_cache.tree;                         
                                                                      
  *prev = NULL;                                                       
ffc0d800:	97 7c 00 14 	stwu    r27,20(r28)                            
                                                                      
  while (cur != NULL)                                                 
  {                                                                   
    if ((*compare) (cur->dev, dev))                                   
    {                                                                 
      switch (cur->state)                                             
ffc0d804:	3f 60 ff c2 	lis     r27,-62                                
ffc0d808:	3b 7b a0 e4 	addi    r27,r27,-24348                         
                              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;                         
ffc0d80c:	83 ba 00 40 	lwz     r29,64(r26)                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0d810:	3b 00 00 0a 	li      r24,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);           
ffc0d814:	3b 5a 00 70 	addi    r26,r26,112                            
ffc0d818:	48 00 00 dc 	b       ffc0d8f4 <rtems_bdbuf_purge+0x13c>     
                                                                      
  *prev = NULL;                                                       
                                                                      
  while (cur != NULL)                                                 
  {                                                                   
    if ((*compare) (cur->dev, dev))                                   
ffc0d81c:	80 7d 00 18 	lwz     r3,24(r29)                             
ffc0d820:	7f c5 f3 78 	mr      r5,r30                                 
ffc0d824:	80 9d 00 1c 	lwz     r4,28(r29)                             
ffc0d828:	7f e6 fb 78 	mr      r6,r31                                 
ffc0d82c:	7e c9 03 a6 	mtctr   r22                                    
ffc0d830:	4e 80 04 21 	bctrl                                          
ffc0d834:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0d838:	41 9e 00 70 	beq-    cr7,ffc0d8a8 <rtems_bdbuf_purge+0xf0>  <== NEVER TAKEN
    {                                                                 
      switch (cur->state)                                             
ffc0d83c:	80 1d 00 28 	lwz     r0,40(r29)                             
ffc0d840:	2b 80 00 0a 	cmplwi  cr7,r0,10                              
ffc0d844:	41 9d 00 58 	bgt-    cr7,ffc0d89c <rtems_bdbuf_purge+0xe4>  <== NEVER TAKEN
ffc0d848:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0d84c:	7c 1b 00 2e 	lwzx    r0,r27,r0                              
ffc0d850:	7c 00 da 14 	add     r0,r0,r27                              
ffc0d854:	7c 09 03 a6 	mtctr   r0                                     
ffc0d858:	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);           
ffc0d85c:	7f 43 d3 78 	mr      r3,r26                                 
ffc0d860:	4b ff f8 d1 	bl      ffc0d130 <rtems_bdbuf_wake>            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
ffc0d864:	81 3d 00 30 	lwz     r9,48(r29)                             
ffc0d868:	81 69 00 0c 	lwz     r11,12(r9)                             
ffc0d86c:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0d870:	90 09 00 0c 	stw     r0,12(r9)                              
ffc0d874:	7f a3 eb 78 	mr      r3,r29                                 
ffc0d878:	4b ff bf b9 	bl      ffc09830 <_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 );                               
ffc0d87c:	7f 23 cb 78 	mr      r3,r25                                 
ffc0d880:	7f a4 eb 78 	mr      r4,r29                                 
ffc0d884:	4b ff bf 7d 	bl      ffc09800 <_Chain_Append>               
ffc0d888:	48 00 00 20 	b       ffc0d8a8 <rtems_bdbuf_purge+0xf0>      
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0d88c:	93 1d 00 28 	stw     r24,40(r29)                            
ffc0d890:	48 00 00 18 	b       ffc0d8a8 <rtems_bdbuf_purge+0xf0>      
ffc0d894:	92 fd 00 28 	stw     r23,40(r29)                            
ffc0d898:	48 00 00 10 	b       ffc0d8a8 <rtems_bdbuf_purge+0xf0>      
        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);
ffc0d89c:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0d8a0:	60 63 00 01 	ori     r3,r3,1                                <== NOT EXECUTED
ffc0d8a4:	4b ff b9 fd 	bl      ffc092a0 <rtems_fatal_error_occurred>  <== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
    if (cur->avl.left != NULL)                                        
ffc0d8a8:	81 3d 00 08 	lwz     r9,8(r29)                              
ffc0d8ac:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0d8b0:	40 be 00 10 	bne+    cr7,ffc0d8c0 <rtems_bdbuf_purge+0x108> <== NEVER TAKEN
      /* Left */                                                      
      ++prev;                                                         
      *prev = cur;                                                    
      cur = cur->avl.left;                                            
    }                                                                 
    else if (cur->avl.right != NULL)                                  
ffc0d8b4:	81 3d 00 0c 	lwz     r9,12(r29)                             
ffc0d8b8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0d8bc:	41 9e 00 18 	beq-    cr7,ffc0d8d4 <rtems_bdbuf_purge+0x11c> <== ALWAYS TAKEN
    {                                                                 
      /* Right */                                                     
      ++prev;                                                         
      *prev = cur;                                                    
ffc0d8c0:	93 bc 00 04 	stw     r29,4(r28)                             <== NOT EXECUTED
      cur = cur->avl.left;                                            
    }                                                                 
    else if (cur->avl.right != NULL)                                  
    {                                                                 
      /* Right */                                                     
      ++prev;                                                         
ffc0d8c4:	3b 9c 00 04 	addi    r28,r28,4                              <== NOT EXECUTED
ffc0d8c8:	48 00 00 28 	b       ffc0d8f0 <rtems_bdbuf_purge+0x138>     <== NOT EXECUTED
    {                                                                 
      while (*prev != NULL && cur == (*prev)->avl.right)              
      {                                                               
        /* Up */                                                      
        cur = *prev;                                                  
        --prev;                                                       
ffc0d8cc:	3b 9c ff fc 	addi    r28,r28,-4                             <== NOT EXECUTED
ffc0d8d0:	7d 3d 4b 78 	mr      r29,r9                                 <== NOT EXECUTED
      *prev = cur;                                                    
      cur = cur->avl.right;                                           
    }                                                                 
    else                                                              
    {                                                                 
      while (*prev != NULL && cur == (*prev)->avl.right)              
ffc0d8d4:	81 3c 00 00 	lwz     r9,0(r28)                              
ffc0d8d8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0d8dc:	41 9e 00 14 	beq-    cr7,ffc0d8f0 <rtems_bdbuf_purge+0x138> <== ALWAYS TAKEN
ffc0d8e0:	80 09 00 0c 	lwz     r0,12(r9)                              <== NOT EXECUTED
ffc0d8e4:	7f 9d 00 00 	cmpw    cr7,r29,r0                             <== NOT EXECUTED
ffc0d8e8:	41 9e ff e4 	beq+    cr7,ffc0d8cc <rtems_bdbuf_purge+0x114> <== NOT EXECUTED
ffc0d8ec:	48 00 00 94 	b       ffc0d980 <rtems_bdbuf_purge+0x1c8>     <== NOT EXECUTED
    }                                                                 
                                                                      
    if (cur->avl.left != NULL)                                        
    {                                                                 
      /* Left */                                                      
      ++prev;                                                         
ffc0d8f0:	7d 3d 4b 78 	mr      r29,r9                                 
  rtems_bdbuf_buffer **prev = stack;                                  
  rtems_bdbuf_buffer *cur = bdbuf_cache.tree;                         
                                                                      
  *prev = NULL;                                                       
                                                                      
  while (cur != NULL)                                                 
ffc0d8f4:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0d8f8:	40 9e ff 24 	bne+    cr7,ffc0d81c <rtems_bdbuf_purge+0x64>  
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Head(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return &the_chain->Head.Node;                                       
ffc0d8fc:	3f a0 00 00 	lis     r29,0                                  
ffc0d900:	3b bd 29 90 	addi    r29,r29,10640                          
ffc0d904:	3b c0 00 00 	li      r30,0                                  
  while ((node = rtems_chain_get (purge_list)) != NULL)               
  {                                                                   
    rtems_bdbuf_buffer *bd = (rtems_bdbuf_buffer *) node;             
                                                                      
    if (bd->waiters == 0)                                             
      wake_buffer_waiters = true;                                     
ffc0d908:	3b 80 00 01 	li      r28,1                                  
ffc0d90c:	3b bd 00 44 	addi    r29,r29,68                             
ffc0d910:	48 00 00 3c 	b       ffc0d94c <rtems_bdbuf_purge+0x194>     
                                                                      
  while ((node = rtems_chain_get (purge_list)) != NULL)               
  {                                                                   
    rtems_bdbuf_buffer *bd = (rtems_bdbuf_buffer *) node;             
                                                                      
    if (bd->waiters == 0)                                             
ffc0d914:	80 1b 00 2c 	lwz     r0,44(r27)                             
ffc0d918:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d91c:	40 9e 00 08 	bne-    cr7,ffc0d924 <rtems_bdbuf_purge+0x16c> 
      wake_buffer_waiters = true;                                     
ffc0d920:	3b c0 00 01 	li      r30,1                                  
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0d924:	93 9b 00 28 	stw     r28,40(r27)                            
static void                                                           
rtems_bdbuf_discard_buffer (rtems_bdbuf_buffer *bd)                   
{                                                                     
  rtems_bdbuf_make_empty (bd);                                        
                                                                      
  if (bd->waiters == 0)                                               
ffc0d928:	83 5b 00 2c 	lwz     r26,44(r27)                            
ffc0d92c:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0d930:	40 be 00 1c 	bne+    cr7,ffc0d94c <rtems_bdbuf_purge+0x194> 
  {                                                                   
    rtems_bdbuf_remove_from_tree (bd);                                
ffc0d934:	7f 63 db 78 	mr      r3,r27                                 
ffc0d938:	4b ff fa 15 	bl      ffc0d34c <rtems_bdbuf_remove_from_tree>
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0d93c:	93 5b 00 28 	stw     r26,40(r27)                            
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
ffc0d940:	7f a3 eb 78 	mr      r3,r29                                 
ffc0d944:	7f 64 db 78 	mr      r4,r27                                 
ffc0d948:	48 00 3c 51 	bl      ffc11598 <_Chain_Insert>               
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc0d94c:	38 61 00 08 	addi    r3,r1,8                                
ffc0d950:	4b ff bf 09 	bl      ffc09858 <_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)               
ffc0d954:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc0d958:	40 82 ff bc 	bne+    ffc0d914 <rtems_bdbuf_purge+0x15c>     
      wake_buffer_waiters = true;                                     
                                                                      
    rtems_bdbuf_discard_buffer (bd);                                  
  }                                                                   
                                                                      
  if (wake_buffer_waiters)                                            
ffc0d95c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0d960:	41 be 00 14 	beq+    cr7,ffc0d974 <rtems_bdbuf_purge+0x1bc> 
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
ffc0d964:	3c 60 00 00 	lis     r3,0                                   
ffc0d968:	38 63 29 90 	addi    r3,r3,10640                            
ffc0d96c:	38 63 00 78 	addi    r3,r3,120                              
ffc0d970:	4b ff f7 c1 	bl      ffc0d130 <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 ();                                        
ffc0d974:	4b ff f4 0d 	bl      ffc0cd80 <rtems_bdbuf_unlock_cache>    
}                                                                     
ffc0d978:	39 61 00 c0 	addi    r11,r1,192                             
ffc0d97c:	48 00 ac 48 	b       ffc185c4 <_restgpr_22_x>               
        cur = *prev;                                                  
        --prev;                                                       
      }                                                               
      if (*prev != NULL)                                              
        /* Right */                                                   
        cur = (*prev)->avl.right;                                     
ffc0d980:	7c 09 03 78 	mr      r9,r0                                  <== NOT EXECUTED
ffc0d984:	4b ff ff 6c 	b       ffc0d8f0 <rtems_bdbuf_purge+0x138>     <== NOT EXECUTED
                                                                      

ffc0cb18 <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); }
ffc0cb18:	7c 63 2a 78 	xor     r3,r3,r5                               <== NOT EXECUTED
ffc0cb1c:	7c 63 00 34 	cntlzw  r3,r3                                  <== NOT EXECUTED
ffc0cb20:	54 63 d9 7e 	rlwinm  r3,r3,27,5,31                          <== NOT EXECUTED
ffc0cb24:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc0f0f8 <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) {
ffc0f0f8:	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);           
ffc0f0fc:	3c 60 ff c1 	lis     r3,-63                                 <== NOT EXECUTED
ffc0f100:	38 63 cb 18 	addi    r3,r3,-13544                           <== NOT EXECUTED
ffc0f104:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc0f108:	4b ff e6 b0 	b       ffc0d7b8 <rtems_bdbuf_purge>           <== NOT EXECUTED
                                                                      

ffc0eae8 <rtems_bdbuf_read>: rtems_blkdev_bnum *media_block_ptr, size_t *bds_per_group_ptr) { rtems_disk_device *dd = NULL; if (!bdbuf_cache.initialised)
ffc0eae8:	3d 20 00 00 	lis     r9,0                                   
                                                                      
rtems_status_code                                                     
rtems_bdbuf_read (dev_t                dev,                           
                  rtems_blkdev_bnum    block,                         
                  rtems_bdbuf_buffer **bd_ptr)                        
{                                                                     
ffc0eaec:	94 21 ff a8 	stwu    r1,-88(r1)                             
ffc0eaf0:	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)                                       
ffc0eaf4:	89 29 2a 18 	lbz     r9,10776(r9)                           
                                                                      
rtems_status_code                                                     
rtems_bdbuf_read (dev_t                dev,                           
                  rtems_blkdev_bnum    block,                         
                  rtems_bdbuf_buffer **bd_ptr)                        
{                                                                     
ffc0eaf8:	be 21 00 1c 	stmw    r17,28(r1)                             
ffc0eafc:	7c 3f 0b 78 	mr      r31,r1                                 
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
ffc0eb00:	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)                        
{                                                                     
ffc0eb04:	90 01 00 5c 	stw     r0,92(r1)                              
  rtems_status_code     sc = RTEMS_SUCCESSFUL;                        
  rtems_disk_device    *dd = NULL;                                    
ffc0eb08:	38 00 00 00 	li      r0,0                                   
                                                                      
rtems_status_code                                                     
rtems_bdbuf_read (dev_t                dev,                           
                  rtems_blkdev_bnum    block,                         
                  rtems_bdbuf_buffer **bd_ptr)                        
{                                                                     
ffc0eb0c:	7c de 33 78 	mr      r30,r6                                 
  rtems_status_code     sc = RTEMS_SUCCESSFUL;                        
  rtems_disk_device    *dd = NULL;                                    
ffc0eb10:	90 1f 00 10 	stw     r0,16(r31)                             
  rtems_blkdev_request *req = NULL;                                   
  rtems_bdbuf_buffer   *bd = NULL;                                    
  rtems_blkdev_bnum     media_block = 0;                              
ffc0eb14:	90 1f 00 0c 	stw     r0,12(r31)                             
  size_t                bds_per_group = 0;                            
ffc0eb18:	90 1f 00 08 	stw     r0,8(r31)                              
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
    return RTEMS_NOT_CONFIGURED;                                      
ffc0eb1c:	38 00 00 16 	li      r0,22                                  
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
ffc0eb20:	41 be 02 2c 	beq+    cr7,ffc0ed4c <rtems_bdbuf_read+0x264>  <== NEVER TAKEN
ffc0eb24:	38 df 00 10 	addi    r6,r31,16                              
ffc0eb28:	38 ff 00 0c 	addi    r7,r31,12                              
ffc0eb2c:	39 1f 00 08 	addi    r8,r31,8                               
ffc0eb30:	4b ff e7 29 	bl      ffc0d258 <rtems_bdbuf_obtain_disk.part.7>
  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)                                         
ffc0eb34:	7c 60 1b 79 	mr.     r0,r3                                  
ffc0eb38:	40 82 02 14 	bne-    ffc0ed4c <rtems_bdbuf_read+0x264>      <== 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) +                  
ffc0eb3c:	3d 20 ff c2 	lis     r9,-62                                 
ffc0eb40:	83 89 93 94 	lwz     r28,-27756(r9)                         
ffc0eb44:	81 21 00 00 	lwz     r9,0(r1)                               
ffc0eb48:	3b 9c 00 01 	addi    r28,r28,1                              
ffc0eb4c:	57 80 20 36 	rlwinm  r0,r28,4,0,27                          
ffc0eb50:	20 00 ff d0 	subfic  r0,r0,-48                              
ffc0eb54:	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 ();                                          
ffc0eb58:	4b ff df d1 	bl      ffc0cb28 <rtems_bdbuf_lock_cache>      
  rtems_bdbuf_create_read_request (dd, media_block, bds_per_group, req, &bd);
ffc0eb5c:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc0eb60:	83 7f 00 0c 	lwz     r27,12(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) +                  
ffc0eb64:	3b a1 00 17 	addi    r29,r1,23                              
                                 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;         
ffc0eb68:	83 09 00 1c 	lwz     r24,28(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) +                  
ffc0eb6c:	57 bd 00 36 	rlwinm  r29,r29,0,0,27                         
                                 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;         
ffc0eb70:	80 09 00 18 	lwz     r0,24(r9)                              
  rtems_blkdev_bnum   media_block_count = dd->block_size / dd->media_block_size;
ffc0eb74:	82 e9 00 20 	lwz     r23,32(r9)                             
                                 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;         
ffc0eb78:	7f 18 02 14 	add     r24,r24,r0                             
  rtems_blkdev_bnum   media_block_count = dd->block_size / dd->media_block_size;
ffc0eb7c:	82 29 00 24 	lwz     r17,36(r9)                             
  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)                 
ffc0eb80:	7f 1b c0 50 	subf    r24,r27,r24                            
  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);
ffc0eb84:	82 df 00 08 	lwz     r22,8(r31)                             
                                 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;
  dev_t               dev = dd->dev;                                  
ffc0eb88:	7f 98 e0 40 	cmplw   cr7,r24,r28                            
ffc0eb8c:	82 89 00 00 	lwz     r20,0(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;
ffc0eb90:	7e 37 8b 96 	divwu   r17,r23,r17                            
  dev_t               dev = dd->dev;                                  
ffc0eb94:	82 a9 00 04 	lwz     r21,4(r9)                              
ffc0eb98:	40 9d 00 08 	ble-    cr7,ffc0eba0 <rtems_bdbuf_read+0xb8>   
ffc0eb9c:	7f 98 e3 78 	mr      r24,r28                                
                                                                      
  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;                          
ffc0eba0:	3d 20 ff c1 	lis     r9,-63                                 
  req->done_arg = req;                                                
ffc0eba4:	93 bd 00 08 	stw     r29,8(r29)                             
                                                                      
  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;                          
ffc0eba8:	38 09 ce 6c 	addi    r0,r9,-12692                           
  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;                                   
ffc0ebac:	3b 80 00 00 	li      r28,0                                  
  req->req_done = rtems_bdbuf_transfer_done;                          
ffc0ebb0:	90 1d 00 04 	stw     r0,4(r29)                              
  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;                                   
ffc0ebb4:	93 9d 00 00 	stw     r28,0(r29)                             
  req->req_done = rtems_bdbuf_transfer_done;                          
  req->done_arg = req;                                                
  req->io_task = rtems_task_self ();                                  
ffc0ebb8:	48 00 26 39 	bl      ffc111f0 <rtems_task_self>             
  req->status = RTEMS_RESOURCE_IN_USE;                                
ffc0ebbc:	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 ();                                  
ffc0ebc0:	90 7d 00 14 	stw     r3,20(r29)                             
  req->status = RTEMS_RESOURCE_IN_USE;                                
  req->bufnum = 0;                                                    
                                                                      
  bd = rtems_bdbuf_get_buffer_for_access (dev, media_block, bds_per_group);
ffc0ebc4:	7e a4 ab 78 	mr      r4,r21                                 
ffc0ebc8:	7e 83 a3 78 	mr      r3,r20                                 
                                                                      
  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;                                
ffc0ebcc:	90 1d 00 0c 	stw     r0,12(r29)                             
  req->bufnum = 0;                                                    
                                                                      
  bd = rtems_bdbuf_get_buffer_for_access (dev, media_block, bds_per_group);
ffc0ebd0:	7f 65 db 78 	mr      r5,r27                                 
ffc0ebd4:	7e c6 b3 78 	mr      r6,r22                                 
  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;                                                    
ffc0ebd8:	93 9d 00 10 	stw     r28,16(r29)                            
                                                                      
  bd = rtems_bdbuf_get_buffer_for_access (dev, media_block, bds_per_group);
ffc0ebdc:	4b ff f8 85 	bl      ffc0e460 <rtems_bdbuf_get_buffer_for_access>
                                                                      
  *bd_ptr = bd;                                                       
                                                                      
  req->bufs [0].user   = bd;                                          
  req->bufs [0].block  = media_block;                                 
ffc0ebe0:	93 7d 00 18 	stw     r27,24(r29)                            
  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);
ffc0ebe4:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  *bd_ptr = bd;                                                       
                                                                      
  req->bufs [0].user   = bd;                                          
ffc0ebe8:	90 7d 00 24 	stw     r3,36(r29)                             
  req->bufs [0].block  = media_block;                                 
  req->bufs [0].length = block_size;                                  
  req->bufs [0].buffer = bd->buffer;                                  
ffc0ebec:	80 03 00 24 	lwz     r0,36(r3)                              
                                                                      
  *bd_ptr = bd;                                                       
                                                                      
  req->bufs [0].user   = bd;                                          
  req->bufs [0].block  = media_block;                                 
  req->bufs [0].length = block_size;                                  
ffc0ebf0:	92 fd 00 1c 	stw     r23,28(r29)                            
  req->bufs [0].buffer = bd->buffer;                                  
ffc0ebf4:	90 1d 00 20 	stw     r0,32(r29)                             
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_users ("read", bd);                              
                                                                      
  switch (bd->state)                                                  
ffc0ebf8:	80 03 00 28 	lwz     r0,40(r3)                              
ffc0ebfc:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0ec00:	41 9e 00 bc 	beq-    cr7,ffc0ecbc <rtems_bdbuf_read+0x1d4>  
ffc0ec04:	2f 80 00 07 	cmpwi   cr7,r0,7                               
ffc0ec08:	41 9e 00 b4 	beq-    cr7,ffc0ecbc <rtems_bdbuf_read+0x1d4>  
ffc0ec0c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0ec10:	40 be 00 20 	bne+    cr7,ffc0ec30 <rtems_bdbuf_read+0x148>  <== NEVER TAKEN
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0ec14:	38 00 00 09 	li      r0,9                                   
ffc0ec18:	90 03 00 28 	stw     r0,40(r3)                              
ffc0ec1c:	7f ba eb 78 	mr      r26,r29                                
  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;                             
ffc0ec20:	3b 20 00 01 	li      r25,1                                  
                                       rtems_blkdev_bnum block,       
                                       size_t            bds_per_group)
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dev, block);        
ffc0ec24:	3e 40 00 00 	lis     r18,0                                  
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0ec28:	3a 60 00 09 	li      r19,9                                  
ffc0ec2c:	48 00 00 84 	b       ffc0ecb0 <rtems_bdbuf_read+0x1c8>      
      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);
ffc0ec30:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc0ec34:	80 63 00 28 	lwz     r3,40(r3)                              <== NOT EXECUTED
ffc0ec38:	60 84 00 1d 	ori     r4,r4,29                               <== NOT EXECUTED
ffc0ec3c:	48 00 00 fc 	b       ffc0ed38 <rtems_bdbuf_read+0x250>      <== NOT EXECUTED
                                       rtems_blkdev_bnum block,       
                                       size_t            bds_per_group)
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dev, block);        
ffc0ec40:	39 32 29 90 	addi    r9,r18,10640                           
      break;                                                          
  }                                                                   
                                                                      
  while (transfer_index < transfer_count)                             
  {                                                                   
    media_block += media_block_count;                                 
ffc0ec44:	7f 7b 8a 14 	add     r27,r27,r17                            
                                       rtems_blkdev_bnum block,       
                                       size_t            bds_per_group)
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dev, block);        
ffc0ec48:	80 69 00 40 	lwz     r3,64(r9)                              
ffc0ec4c:	7e 85 a3 78 	mr      r5,r20                                 
ffc0ec50:	7e a6 ab 78 	mr      r6,r21                                 
ffc0ec54:	7f 67 db 78 	mr      r7,r27                                 
ffc0ec58:	4b ff e4 75 	bl      ffc0d0cc <rtems_bdbuf_avl_search.isra.1>
                                                                      
  if (bd == NULL)                                                     
ffc0ec5c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ec60:	40 be 00 58 	bne+    cr7,ffc0ecb8 <rtems_bdbuf_read+0x1d0>  <== NEVER TAKEN
  {                                                                   
    bd = rtems_bdbuf_get_buffer_from_lru_list (dev, block, bds_per_group);
ffc0ec64:	7e 83 a3 78 	mr      r3,r20                                 
ffc0ec68:	7e a4 ab 78 	mr      r4,r21                                 
ffc0ec6c:	7f 65 db 78 	mr      r5,r27                                 
ffc0ec70:	7e c6 b3 78 	mr      r6,r22                                 
ffc0ec74:	4b ff f4 19 	bl      ffc0e08c <rtems_bdbuf_get_buffer_from_lru_list>
ffc0ec78:	3b 5a 00 10 	addi    r26,r26,16                             
                                                                      
    if (bd != NULL)                                                   
ffc0ec7c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0ec80:	41 82 00 38 	beq-    ffc0ecb8 <rtems_bdbuf_read+0x1d0>      <== ALWAYS TAKEN
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
ffc0ec84:	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;                                                 
ffc0ec88:	3b 39 00 01 	addi    r25,r25,1                              <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
ffc0ec8c:	81 69 00 0c 	lwz     r11,12(r9)                             <== NOT EXECUTED
ffc0ec90:	38 0b 00 01 	addi    r0,r11,1                               <== NOT EXECUTED
ffc0ec94:	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;                                                  
ffc0ec98:	92 63 00 28 	stw     r19,40(r3)                             <== NOT EXECUTED
    if (bd == NULL)                                                   
      break;                                                          
                                                                      
    rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_TRANSFER);           
                                                                      
    req->bufs [transfer_index].user   = bd;                           
ffc0ec9c:	90 7a 00 24 	stw     r3,36(r26)                             <== NOT EXECUTED
    req->bufs [transfer_index].block  = media_block;                  
ffc0eca0:	93 7a 00 18 	stw     r27,24(r26)                            <== NOT EXECUTED
    req->bufs [transfer_index].length = block_size;                   
ffc0eca4:	92 fa 00 1c 	stw     r23,28(r26)                            <== NOT EXECUTED
    req->bufs [transfer_index].buffer = bd->buffer;                   
ffc0eca8:	80 03 00 24 	lwz     r0,36(r3)                              <== NOT EXECUTED
ffc0ecac:	90 1a 00 20 	stw     r0,32(r26)                             <== NOT EXECUTED
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_1);
      break;                                                          
  }                                                                   
                                                                      
  while (transfer_index < transfer_count)                             
ffc0ecb0:	7f 99 c0 40 	cmplw   cr7,r25,r24                            
ffc0ecb4:	41 9c ff 8c 	blt+    cr7,ffc0ec40 <rtems_bdbuf_read+0x158>  
      rtems_bdbuf_show_users ("read-ahead", bd);                      
                                                                      
    ++transfer_index;                                                 
  }                                                                   
                                                                      
  req->bufnum = transfer_index;                                       
ffc0ecb8:	93 3d 00 10 	stw     r25,16(r29)                            
            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)                                                
ffc0ecbc:	80 1d 00 10 	lwz     r0,16(r29)                             
ffc0ecc0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ecc4:	41 be 00 34 	beq+    cr7,ffc0ecf8 <rtems_bdbuf_read+0x210>  
  {                                                                   
    sc = rtems_bdbuf_execute_transfer_request (dd, req, true);        
ffc0ecc8:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc0eccc:	7f a4 eb 78 	mr      r4,r29                                 
ffc0ecd0:	38 a0 00 01 	li      r5,1                                   
ffc0ecd4:	4b ff ec b5 	bl      ffc0d988 <rtems_bdbuf_execute_transfer_request>
    if (sc == RTEMS_SUCCESSFUL)                                       
ffc0ecd8:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc0ecdc:	40 a2 00 7c 	bne+    ffc0ed58 <rtems_bdbuf_read+0x270>      
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc0ece0:	7f 83 e3 78 	mr      r3,r28                                 
ffc0ece4:	4b ff ab 4d 	bl      ffc09830 <_Chain_Extract>              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
ffc0ece8:	81 3c 00 30 	lwz     r9,48(r28)                             
ffc0ecec:	81 69 00 0c 	lwz     r11,12(r9)                             
ffc0ecf0:	38 0b 00 01 	addi    r0,r11,1                               
ffc0ecf4:	90 09 00 0c 	stw     r0,12(r9)                              
    }                                                                 
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL)                                         
  {                                                                   
    switch (bd->state)                                                
ffc0ecf8:	80 1c 00 28 	lwz     r0,40(r28)                             
ffc0ecfc:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0ed00:	41 9e 00 10 	beq-    cr7,ffc0ed10 <rtems_bdbuf_read+0x228>  
ffc0ed04:	2f 80 00 07 	cmpwi   cr7,r0,7                               
ffc0ed08:	40 be 00 24 	bne+    cr7,ffc0ed2c <rtems_bdbuf_read+0x244>  <== NEVER TAKEN
ffc0ed0c:	48 00 00 0c 	b       ffc0ed18 <rtems_bdbuf_read+0x230>      
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0ed10:	38 00 00 03 	li      r0,3                                   
ffc0ed14:	48 00 00 08 	b       ffc0ed1c <rtems_bdbuf_read+0x234>      
ffc0ed18:	38 00 00 04 	li      r0,4                                   
ffc0ed1c:	90 1c 00 28 	stw     r0,40(r28)                             
    {                                                                 
      rtems_bdbuf_show_users ("read", bd);                            
      rtems_bdbuf_show_usage ();                                      
    }                                                                 
                                                                      
    *bd_ptr = bd;                                                     
ffc0ed20:	3b a0 00 00 	li      r29,0                                  
ffc0ed24:	93 9e 00 00 	stw     r28,0(r30)                             
ffc0ed28:	48 00 00 14 	b       ffc0ed3c <rtems_bdbuf_read+0x254>      
        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);
ffc0ed2c:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc0ed30:	80 7c 00 28 	lwz     r3,40(r28)                             <== NOT EXECUTED
ffc0ed34:	60 84 00 02 	ori     r4,r4,2                                <== NOT EXECUTED
ffc0ed38:	4b ff de 79 	bl      ffc0cbb0 <rtems_bdbuf_fatal>           <== NOT EXECUTED
    *bd_ptr = bd;                                                     
  }                                                                   
  else                                                                
    *bd_ptr = NULL;                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc0ed3c:	4b ff e0 45 	bl      ffc0cd80 <rtems_bdbuf_unlock_cache>    
  rtems_bdbuf_release_disk (dd);                                      
ffc0ed40:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc0ed44:	4b ff e0 b5 	bl      ffc0cdf8 <rtems_bdbuf_release_disk>    
                                                                      
  return sc;                                                          
ffc0ed48:	7f a0 eb 78 	mr      r0,r29                                 
}                                                                     
ffc0ed4c:	39 7f 00 58 	addi    r11,r31,88                             
ffc0ed50:	7c 03 03 78 	mr      r3,r0                                  
ffc0ed54:	48 00 98 5c 	b       ffc185b0 <_restgpr_17_x>               
    }                                                                 
                                                                      
    *bd_ptr = bd;                                                     
  }                                                                   
  else                                                                
    *bd_ptr = NULL;                                                   
ffc0ed58:	38 00 00 00 	li      r0,0                                   
ffc0ed5c:	90 1e 00 00 	stw     r0,0(r30)                              
ffc0ed60:	4b ff ff dc 	b       ffc0ed3c <rtems_bdbuf_read+0x254>      
                                                                      

ffc0ed64 <rtems_bdbuf_release>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_bdbuf_release (rtems_bdbuf_buffer *bd) {
ffc0ed64:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0ed68:	7c 08 02 a6 	mflr    r0                                     
ffc0ed6c:	bf c1 00 08 	stmw    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)                                       
ffc0ed70:	3f c0 00 00 	lis     r30,0                                  
ffc0ed74:	3b de 29 90 	addi    r30,r30,10640                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_release (rtems_bdbuf_buffer *bd)                          
{                                                                     
ffc0ed78:	90 01 00 14 	stw     r0,20(r1)                              
ffc0ed7c:	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)                                       
    return RTEMS_NOT_CONFIGURED;                                      
ffc0ed80:	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)                                       
ffc0ed84:	88 1e 00 88 	lbz     r0,136(r30)                            
ffc0ed88:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ed8c:	41 9e 00 b4 	beq-    cr7,ffc0ee40 <rtems_bdbuf_release+0xdc><== NEVER TAKEN
    return RTEMS_NOT_CONFIGURED;                                      
  if (bd == NULL)                                                     
ffc0ed90:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0ed94:	41 9e 00 34 	beq-    cr7,ffc0edc8 <rtems_bdbuf_release+0x64><== NEVER TAKEN
  if (rtems_bdbuf_tracer)                                             
  {                                                                   
    printf ("bdbuf:%s: %" PRIu32 "\n", kind, bd->block);              
    rtems_bdbuf_show_users (kind, bd);                                
  }                                                                   
  rtems_bdbuf_lock_cache();                                           
ffc0ed98:	4b ff dd 91 	bl      ffc0cb28 <rtems_bdbuf_lock_cache>      
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "release");           
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
ffc0ed9c:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc0eda0:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc0eda4:	41 9e 00 78 	beq-    cr7,ffc0ee1c <rtems_bdbuf_release+0xb8>
ffc0eda8:	2b 80 00 04 	cmplwi  cr7,r0,4                               
ffc0edac:	41 9d 00 10 	bgt-    cr7,ffc0edbc <rtems_bdbuf_release+0x58>
ffc0edb0:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0edb4:	40 be 00 74 	bne+    cr7,ffc0ee28 <rtems_bdbuf_release+0xc4><== NEVER TAKEN
ffc0edb8:	48 00 00 18 	b       ffc0edd0 <rtems_bdbuf_release+0x6c>    
ffc0edbc:	2b 80 00 06 	cmplwi  cr7,r0,6                               
ffc0edc0:	41 9d 00 68 	bgt-    cr7,ffc0ee28 <rtems_bdbuf_release+0xc4><== NEVER TAKEN
ffc0edc4:	48 00 00 4c 	b       ffc0ee10 <rtems_bdbuf_release+0xac>    
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;                                     
ffc0edc8:	38 60 00 09 	li      r3,9                                   <== NOT EXECUTED
ffc0edcc:	48 00 00 74 	b       ffc0ee40 <rtems_bdbuf_release+0xdc>    <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
ffc0edd0:	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 );                               
ffc0edd4:	38 7e 00 44 	addi    r3,r30,68                              
ffc0edd8:	7f e4 fb 78 	mr      r4,r31                                 
ffc0eddc:	81 69 00 0c 	lwz     r11,12(r9)                             
ffc0ede0:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0ede4:	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;                                                  
ffc0ede8:	38 00 00 02 	li      r0,2                                   
ffc0edec:	90 1f 00 28 	stw     r0,40(r31)                             
ffc0edf0:	4b ff aa 11 	bl      ffc09800 <_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)                                                    
ffc0edf4:	80 1f 00 2c 	lwz     r0,44(r31)                             
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
ffc0edf8:	38 7e 00 68 	addi    r3,r30,104                             
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)                                                    
ffc0edfc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ee00:	40 9e 00 08 	bne-    cr7,ffc0ee08 <rtems_bdbuf_release+0xa4>
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else                                                                
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
ffc0ee04:	38 7e 00 78 	addi    r3,r30,120                             
ffc0ee08:	4b ff e3 29 	bl      ffc0d130 <rtems_bdbuf_wake>            
ffc0ee0c:	48 00 00 2c 	b       ffc0ee38 <rtems_bdbuf_release+0xd4>    
    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);                   
ffc0ee10:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ee14:	4b ff e9 1d 	bl      ffc0d730 <rtems_bdbuf_discard_buffer_after_access>
      break;                                                          
ffc0ee18:	48 00 00 20 	b       ffc0ee38 <rtems_bdbuf_release+0xd4>    
    case RTEMS_BDBUF_STATE_ACCESS_MODIFIED:                           
      rtems_bdbuf_add_to_modified_list_after_access (bd);             
ffc0ee1c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ee20:	4b ff e3 55 	bl      ffc0d174 <rtems_bdbuf_add_to_modified_list_after_access>
      break;                                                          
ffc0ee24:	48 00 00 14 	b       ffc0ee38 <rtems_bdbuf_release+0xd4>    
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_0);
ffc0ee28:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc0ee2c:	80 7f 00 28 	lwz     r3,40(r31)                             <== NOT EXECUTED
ffc0ee30:	60 84 00 1c 	ori     r4,r4,28                               <== NOT EXECUTED
ffc0ee34:	4b ff dd 7d 	bl      ffc0cbb0 <rtems_bdbuf_fatal>           <== NOT EXECUTED
  }                                                                   
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc0ee38:	4b ff df 49 	bl      ffc0cd80 <rtems_bdbuf_unlock_cache>    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0ee3c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0ee40:	39 61 00 10 	addi    r11,r1,16                              
ffc0ee44:	48 00 97 a0 	b       ffc185e4 <_restgpr_30_x>               
                                                                      

ffc0cdf8 <rtems_bdbuf_release_disk>: return RTEMS_SUCCESSFUL; } static void rtems_bdbuf_release_disk (rtems_disk_device *dd) {
ffc0cdf8:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0cdfc:	7c 08 02 a6 	mflr    r0                                     
ffc0ce00:	90 01 00 0c 	stw     r0,12(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_disk_release (dd);                                       
ffc0ce04:	4b ff 77 85 	bl      ffc04588 <rtems_disk_release>          
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0ce08:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ce0c:	41 be 00 10 	beq+    cr7,ffc0ce1c <rtems_bdbuf_release_disk+0x24><== ALWAYS TAKEN
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_DISK_REL);   
ffc0ce10:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0ce14:	60 63 00 1f 	ori     r3,r3,31                               <== NOT EXECUTED
ffc0ce18:	4b ff c4 89 	bl      ffc092a0 <rtems_fatal_error_occurred>  <== NOT EXECUTED
}                                                                     
ffc0ce1c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0ce20:	38 21 00 08 	addi    r1,r1,8                                
ffc0ce24:	7c 08 03 a6 	mtlr    r0                                     
ffc0ce28:	4e 80 00 20 	blr                                            
                                                                      

ffc0ee48 <rtems_bdbuf_release_modified>: } static rtems_status_code rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind) { if (!bdbuf_cache.initialised)
ffc0ee48:	3d 20 00 00 	lis     r9,0                                   
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_release_modified (rtems_bdbuf_buffer *bd)                 
{                                                                     
ffc0ee4c:	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)                                       
ffc0ee50:	89 29 2a 18 	lbz     r9,10776(r9)                           
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_release_modified (rtems_bdbuf_buffer *bd)                 
{                                                                     
ffc0ee54:	94 21 ff f0 	stwu    r1,-16(r1)                             
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
ffc0ee58:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_release_modified (rtems_bdbuf_buffer *bd)                 
{                                                                     
ffc0ee5c:	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)                                       
    return RTEMS_NOT_CONFIGURED;                                      
ffc0ee60:	38 00 00 16 	li      r0,22                                  
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (!bdbuf_cache.initialised)                                       
ffc0ee64:	41 9e 00 68 	beq-    cr7,ffc0eecc <rtems_bdbuf_release_modified+0x84><== NEVER TAKEN
    return RTEMS_NOT_CONFIGURED;                                      
  if (bd == NULL)                                                     
ffc0ee68:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ee6c:	41 9e 00 30 	beq-    cr7,ffc0ee9c <rtems_bdbuf_release_modified+0x54><== NEVER TAKEN
  if (rtems_bdbuf_tracer)                                             
  {                                                                   
    printf ("bdbuf:%s: %" PRIu32 "\n", kind, bd->block);              
    rtems_bdbuf_show_users (kind, bd);                                
  }                                                                   
  rtems_bdbuf_lock_cache();                                           
ffc0ee70:	90 61 00 08 	stw     r3,8(r1)                               
ffc0ee74:	4b ff dc b5 	bl      ffc0cb28 <rtems_bdbuf_lock_cache>      
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "release modified");  
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
ffc0ee78:	80 61 00 08 	lwz     r3,8(r1)                               
ffc0ee7c:	80 03 00 28 	lwz     r0,40(r3)                              
ffc0ee80:	2b 80 00 03 	cmplwi  cr7,r0,3                               
ffc0ee84:	41 9c 00 30 	blt-    cr7,ffc0eeb4 <rtems_bdbuf_release_modified+0x6c><== NEVER TAKEN
ffc0ee88:	2b 80 00 05 	cmplwi  cr7,r0,5                               
ffc0ee8c:	40 9d 00 18 	ble-    cr7,ffc0eea4 <rtems_bdbuf_release_modified+0x5c>
ffc0ee90:	2f 80 00 06 	cmpwi   cr7,r0,6                               
ffc0ee94:	40 be 00 20 	bne+    cr7,ffc0eeb4 <rtems_bdbuf_release_modified+0x6c><== NEVER TAKEN
ffc0ee98:	48 00 00 14 	b       ffc0eeac <rtems_bdbuf_release_modified+0x64>
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;                                     
ffc0ee9c:	38 00 00 09 	li      r0,9                                   <== NOT EXECUTED
ffc0eea0:	48 00 00 2c 	b       ffc0eecc <rtems_bdbuf_release_modified+0x84><== 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);             
ffc0eea4:	4b ff e2 d1 	bl      ffc0d174 <rtems_bdbuf_add_to_modified_list_after_access>
      break;                                                          
ffc0eea8:	48 00 00 1c 	b       ffc0eec4 <rtems_bdbuf_release_modified+0x7c>
    case RTEMS_BDBUF_STATE_ACCESS_PURGED:                             
      rtems_bdbuf_discard_buffer_after_access (bd);                   
ffc0eeac:	4b ff e8 85 	bl      ffc0d730 <rtems_bdbuf_discard_buffer_after_access>
      break;                                                          
ffc0eeb0:	48 00 00 14 	b       ffc0eec4 <rtems_bdbuf_release_modified+0x7c>
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_6);
ffc0eeb4:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc0eeb8:	80 63 00 28 	lwz     r3,40(r3)                              <== NOT EXECUTED
ffc0eebc:	60 84 00 04 	ori     r4,r4,4                                <== NOT EXECUTED
ffc0eec0:	4b ff dc f1 	bl      ffc0cbb0 <rtems_bdbuf_fatal>           <== NOT EXECUTED
  }                                                                   
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc0eec4:	4b ff de bd 	bl      ffc0cd80 <rtems_bdbuf_unlock_cache>    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0eec8:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc0eecc:	7c 03 03 78 	mr      r3,r0                                  
ffc0eed0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0eed4:	38 21 00 10 	addi    r1,r1,16                               
ffc0eed8:	7c 08 03 a6 	mtlr    r0                                     
ffc0eedc:	4e 80 00 20 	blr                                            
                                                                      

ffc0d34c <rtems_bdbuf_remove_from_tree>: return bdbuf_cache.buffer_waiters.count; } static void rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd) {
ffc0d34c:	94 21 ff 60 	stwu    r1,-160(r1)                            
ffc0d350:	7c 08 02 a6 	mflr    r0                                     
                       const rtems_bdbuf_buffer* node)                
{                                                                     
  dev_t             dev = node->dev;                                  
  rtems_blkdev_bnum block = node->block;                              
                                                                      
  rtems_bdbuf_buffer*  p = *root;                                     
ffc0d354:	3d 20 00 00 	lis     r9,0                                   
  return bdbuf_cache.buffer_waiters.count;                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
{                                                                     
ffc0d358:	90 01 00 a4 	stw     r0,164(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));                           
ffc0d35c:	38 80 00 00 	li      r4,0                                   
ffc0d360:	38 a0 00 80 	li      r5,128                                 
  return bdbuf_cache.buffer_waiters.count;                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
{                                                                     
ffc0d364:	bf 61 00 8c 	stmw    r27,140(r1)                            
ffc0d368:	7c 7e 1b 78 	mr      r30,r3                                 
 */                                                                   
static int                                                            
rtems_bdbuf_avl_remove(rtems_bdbuf_buffer**      root,                
                       const rtems_bdbuf_buffer* node)                
{                                                                     
  dev_t             dev = node->dev;                                  
ffc0d36c:	83 a3 00 18 	lwz     r29,24(r3)                             
ffc0d370:	83 63 00 1c 	lwz     r27,28(r3)                             
  rtems_blkdev_bnum block = node->block;                              
ffc0d374:	83 83 00 20 	lwz     r28,32(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));                           
ffc0d378:	38 61 00 08 	addi    r3,r1,8                                
                       const rtems_bdbuf_buffer* node)                
{                                                                     
  dev_t             dev = node->dev;                                  
  rtems_blkdev_bnum block = node->block;                              
                                                                      
  rtems_bdbuf_buffer*  p = *root;                                     
ffc0d37c:	83 e9 29 d0 	lwz     r31,10704(r9)                          
  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));                           
ffc0d380:	48 00 70 9d 	bl      ffc1441c <memset>                      
  rtems_bdbuf_buffer*  r;                                             
  rtems_bdbuf_buffer*  s;                                             
  rtems_bdbuf_buffer*  p1;                                            
  rtems_bdbuf_buffer*  p2;                                            
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
ffc0d384:	39 41 00 08 	addi    r10,r1,8                               
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
    {                                                                 
      p->avl.cache = 1;                                               
ffc0d388:	38 e0 00 01 	li      r7,1                                   
      p = p->avl.right;                                               
    }                                                                 
    else if ((p->dev != dev) || (p->block != block))                  
    {                                                                 
      p->avl.cache = -1;                                              
ffc0d38c:	39 60 ff ff 	li      r11,-1                                 
ffc0d390:	48 00 00 68 	b       ffc0d3f8 <rtems_bdbuf_remove_from_tree+0xac>
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc0d394:	80 1f 00 18 	lwz     r0,24(r31)                             
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
ffc0d398:	39 0a 00 04 	addi    r8,r10,4                               
ffc0d39c:	93 ea 00 00 	stw     r31,0(r10)                             
                                                                      
    if ((p->dev < dev) || ((p->dev == dev) && (p->block < block)))    
ffc0d3a0:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc0d3a4:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc0d3a8:	41 9d 00 30 	bgt-    cr7,ffc0d3d8 <rtems_bdbuf_remove_from_tree+0x8c><== NEVER TAKEN
ffc0d3ac:	7f 9d 00 00 	cmpw    cr7,r29,r0                             
ffc0d3b0:	40 9e 00 0c 	bne-    cr7,ffc0d3bc <rtems_bdbuf_remove_from_tree+0x70><== NEVER TAKEN
ffc0d3b4:	7f 9b 48 40 	cmplw   cr7,r27,r9                             
ffc0d3b8:	41 9d 00 20 	bgt-    cr7,ffc0d3d8 <rtems_bdbuf_remove_from_tree+0x8c><== NEVER TAKEN
ffc0d3bc:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc0d3c0:	40 be 00 2c 	bne+    cr7,ffc0d3ec <rtems_bdbuf_remove_from_tree+0xa0><== NEVER TAKEN
ffc0d3c4:	7f 89 d8 00 	cmpw    cr7,r9,r27                             
ffc0d3c8:	40 be 00 24 	bne+    cr7,ffc0d3ec <rtems_bdbuf_remove_from_tree+0xa0><== NEVER TAKEN
ffc0d3cc:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc0d3d0:	7f 80 e0 40 	cmplw   cr7,r0,r28                             
ffc0d3d4:	40 9c 00 10 	bge-    cr7,ffc0d3e4 <rtems_bdbuf_remove_from_tree+0x98>
    {                                                                 
      p->avl.cache = 1;                                               
ffc0d3d8:	98 ff 00 10 	stb     r7,16(r31)                             
      p = p->avl.right;                                               
ffc0d3dc:	83 ff 00 0c 	lwz     r31,12(r31)                            
ffc0d3e0:	48 00 00 14 	b       ffc0d3f4 <rtems_bdbuf_remove_from_tree+0xa8>
    }                                                                 
    else if ((p->dev != dev) || (p->block != block))                  
ffc0d3e4:	7f 80 e0 00 	cmpw    cr7,r0,r28                             
ffc0d3e8:	41 9e 00 1c 	beq-    cr7,ffc0d404 <rtems_bdbuf_remove_from_tree+0xb8>
    {                                                                 
      p->avl.cache = -1;                                              
ffc0d3ec:	99 7f 00 10 	stb     r11,16(r31)                            
      p = p->avl.left;                                                
ffc0d3f0:	83 ff 00 08 	lwz     r31,8(r31)                             
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
ffc0d3f4:	7d 0a 43 78 	mr      r10,r8                                 
                                                                      
  bool modified = false;                                              
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
                                                                      
  while (p != NULL)                                                   
ffc0d3f8:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0d3fc:	40 9e ff 98 	bne+    cr7,ffc0d394 <rtems_bdbuf_remove_from_tree+0x48><== ALWAYS TAKEN
ffc0d400:	48 00 02 c4 	b       ffc0d6c4 <rtems_bdbuf_remove_from_tree+0x378><== NOT EXECUTED
  }                                                                   
                                                                      
  q = p;                                                              
                                                                      
  buf_prev--;                                                         
  if (buf_prev > buf_stack)                                           
ffc0d404:	38 01 00 08 	addi    r0,r1,8                                
ffc0d408:	7f 8a 00 40 	cmplw   cr7,r10,r0                             
  {                                                                   
    p = *(buf_prev - 1);                                              
  }                                                                   
  else                                                                
  {                                                                   
    p = NULL;                                                         
ffc0d40c:	38 e0 00 00 	li      r7,0                                   
  }                                                                   
                                                                      
  q = p;                                                              
                                                                      
  buf_prev--;                                                         
  if (buf_prev > buf_stack)                                           
ffc0d410:	40 9d 00 08 	ble-    cr7,ffc0d418 <rtems_bdbuf_remove_from_tree+0xcc>
  {                                                                   
    p = *(buf_prev - 1);                                              
ffc0d414:	80 e8 ff f8 	lwz     r7,-8(r8)                              
  {                                                                   
    p = NULL;                                                         
  }                                                                   
                                                                      
  /* at this moment q - is a node to delete, p is q's parent */       
  if (q->avl.right == NULL)                                           
ffc0d418:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc0d41c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0d420:	40 be 00 1c 	bne+    cr7,ffc0d43c <rtems_bdbuf_remove_from_tree+0xf0>
  {                                                                   
    r = q->avl.left;                                                  
ffc0d424:	81 3f 00 08 	lwz     r9,8(r31)                              
    if (r != NULL)                                                    
ffc0d428:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0d42c:	41 9e 00 a0 	beq-    cr7,ffc0d4cc <rtems_bdbuf_remove_from_tree+0x180>
    {                                                                 
      r->avl.bal = 0;                                                 
ffc0d430:	38 00 00 00 	li      r0,0                                   
ffc0d434:	98 09 00 11 	stb     r0,17(r9)                              
ffc0d438:	48 00 00 94 	b       ffc0d4cc <rtems_bdbuf_remove_from_tree+0x180>
  {                                                                   
    rtems_bdbuf_buffer **t;                                           
                                                                      
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
ffc0d43c:	80 09 00 08 	lwz     r0,8(r9)                               
ffc0d440:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d444:	41 9e 00 18 	beq-    cr7,ffc0d45c <rtems_bdbuf_remove_from_tree+0x110>
ffc0d448:	7d 2b 4b 78 	mr      r11,r9                                 
ffc0d44c:	7d 26 4b 78 	mr      r6,r9                                  
ffc0d450:	7d 0a 43 78 	mr      r10,r8                                 
                                                                      
      while (s->avl.left != NULL)                                     
      {                                                               
        *buf_prev++ = r = s;                                          
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
ffc0d454:	38 a0 ff ff 	li      r5,-1                                  
ffc0d458:	48 00 00 3c 	b       ffc0d494 <rtems_bdbuf_remove_from_tree+0x148>
                                                                      
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
    {                                                                 
      r->avl.left = q->avl.left;                                      
ffc0d45c:	80 1f 00 08 	lwz     r0,8(r31)                              
      r->avl.bal = q->avl.bal;                                        
      r->avl.cache = 1;                                               
      *buf_prev++ = q = r;                                            
ffc0d460:	7d 0a 43 78 	mr      r10,r8                                 
ffc0d464:	91 28 ff fc 	stw     r9,-4(r8)                              
                                                                      
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
    {                                                                 
      r->avl.left = q->avl.left;                                      
ffc0d468:	90 09 00 08 	stw     r0,8(r9)                               
      r->avl.bal = q->avl.bal;                                        
ffc0d46c:	88 1f 00 11 	lbz     r0,17(r31)                             
ffc0d470:	98 09 00 11 	stb     r0,17(r9)                              
      r->avl.cache = 1;                                               
ffc0d474:	38 00 00 01 	li      r0,1                                   
ffc0d478:	98 09 00 10 	stb     r0,16(r9)                              
ffc0d47c:	48 00 00 50 	b       ffc0d4cc <rtems_bdbuf_remove_from_tree+0x180>
      t = buf_prev++;                                                 
      s = r;                                                          
                                                                      
      while (s->avl.left != NULL)                                     
      {                                                               
        *buf_prev++ = r = s;                                          
ffc0d480:	91 6a 00 00 	stw     r11,0(r10)                             
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
ffc0d484:	7d 66 5b 78 	mr      r6,r11                                 
      t = buf_prev++;                                                 
      s = r;                                                          
                                                                      
      while (s->avl.left != NULL)                                     
      {                                                               
        *buf_prev++ = r = s;                                          
ffc0d488:	39 4a 00 04 	addi    r10,r10,4                              
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
ffc0d48c:	98 ab 00 10 	stb     r5,16(r11)                             
ffc0d490:	7c 0b 03 78 	mr      r11,r0                                 
    else                                                              
    {                                                                 
      t = buf_prev++;                                                 
      s = r;                                                          
                                                                      
      while (s->avl.left != NULL)                                     
ffc0d494:	80 0b 00 08 	lwz     r0,8(r11)                              
ffc0d498:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d49c:	40 9e ff e4 	bne+    cr7,ffc0d480 <rtems_bdbuf_remove_from_tree+0x134>
        *buf_prev++ = r = s;                                          
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
      }                                                               
                                                                      
      s->avl.left = q->avl.left;                                      
ffc0d4a0:	80 1f 00 08 	lwz     r0,8(r31)                              
      r->avl.left = s->avl.right;                                     
      s->avl.right = q->avl.right;                                    
      s->avl.bal = q->avl.bal;                                        
      s->avl.cache = 1;                                               
                                                                      
      *t = q = s;                                                     
ffc0d4a4:	91 68 ff fc 	stw     r11,-4(r8)                             
        *buf_prev++ = r = s;                                          
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
      }                                                               
                                                                      
      s->avl.left = q->avl.left;                                      
ffc0d4a8:	90 0b 00 08 	stw     r0,8(r11)                              
      r->avl.left = s->avl.right;                                     
ffc0d4ac:	80 0b 00 0c 	lwz     r0,12(r11)                             
      s->avl.right = q->avl.right;                                    
ffc0d4b0:	91 2b 00 0c 	stw     r9,12(r11)                             
      s->avl.bal = q->avl.bal;                                        
      s->avl.cache = 1;                                               
                                                                      
      *t = q = s;                                                     
ffc0d4b4:	7d 69 5b 78 	mr      r9,r11                                 
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
      }                                                               
                                                                      
      s->avl.left = q->avl.left;                                      
      r->avl.left = s->avl.right;                                     
ffc0d4b8:	90 06 00 08 	stw     r0,8(r6)                               
      s->avl.right = q->avl.right;                                    
      s->avl.bal = q->avl.bal;                                        
ffc0d4bc:	88 1f 00 11 	lbz     r0,17(r31)                             
ffc0d4c0:	98 0b 00 11 	stb     r0,17(r11)                             
      s->avl.cache = 1;                                               
ffc0d4c4:	38 00 00 01 	li      r0,1                                   
ffc0d4c8:	98 0b 00 10 	stb     r0,16(r11)                             
                                                                      
      *t = q = s;                                                     
    }                                                                 
  }                                                                   
                                                                      
  if (p != NULL)                                                      
ffc0d4cc:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc0d4d0:	41 9e 00 2c 	beq-    cr7,ffc0d4fc <rtems_bdbuf_remove_from_tree+0x1b0>
  {                                                                   
    if (p->avl.cache == -1)                                           
ffc0d4d4:	88 07 00 10 	lbz     r0,16(r7)                              
ffc0d4d8:	2f 80 00 ff 	cmpwi   cr7,r0,255                             
ffc0d4dc:	40 be 00 18 	bne+    cr7,ffc0d4f4 <rtems_bdbuf_remove_from_tree+0x1a8>
    {                                                                 
      p->avl.left = q;                                                
ffc0d4e0:	91 27 00 08 	stw     r9,8(r7)                               
                                                                      
  modified = true;                                                    
                                                                      
  while (modified)                                                    
  {                                                                   
    if (buf_prev > buf_stack)                                         
ffc0d4e4:	38 01 00 08 	addi    r0,r1,8                                
ffc0d4e8:	7f 8a 00 40 	cmplw   cr7,r10,r0                             
ffc0d4ec:	41 bd 00 1c 	bgt+    cr7,ffc0d508 <rtems_bdbuf_remove_from_tree+0x1bc>
ffc0d4f0:	48 00 01 e4 	b       ffc0d6d4 <rtems_bdbuf_remove_from_tree+0x388>
    {                                                                 
      p->avl.left = q;                                                
    }                                                                 
    else                                                              
    {                                                                 
      p->avl.right = q;                                               
ffc0d4f4:	91 27 00 0c 	stw     r9,12(r7)                              
ffc0d4f8:	4b ff ff ec 	b       ffc0d4e4 <rtems_bdbuf_remove_from_tree+0x198>
    }                                                                 
  }                                                                   
  else                                                                
  {                                                                   
    *root = q;                                                        
ffc0d4fc:	3d 60 00 00 	lis     r11,0                                  
ffc0d500:	91 2b 29 d0 	stw     r9,10704(r11)                          
ffc0d504:	4b ff ff e0 	b       ffc0d4e4 <rtems_bdbuf_remove_from_tree+0x198>
    else                                                              
    {                                                                 
      break;                                                          
    }                                                                 
                                                                      
    if (p->avl.cache == -1)                                           
ffc0d508:	38 60 ff ff 	li      r3,-1                                  
      {                                                               
        case -1:                                                      
          p->avl.bal = 0;                                             
          break;                                                      
        case  0:                                                      
          p->avl.bal = 1;                                             
ffc0d50c:	38 c0 00 01 	li      r6,1                                   
                                                                      
            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;                                                   
            p2->avl.bal = 0;                                          
ffc0d510:	38 e0 00 00 	li      r7,0                                   
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
                                                                      
    if (buf_prev > buf_stack)                                         
ffc0d514:	7c 04 03 78 	mr      r4,r0                                  
                                                                      
  while (modified)                                                    
  {                                                                   
    if (buf_prev > buf_stack)                                         
    {                                                                 
      p = *--buf_prev;                                                
ffc0d518:	81 2a ff fc 	lwz     r9,-4(r10)                             
    else                                                              
    {                                                                 
      break;                                                          
    }                                                                 
                                                                      
    if (p->avl.cache == -1)                                           
ffc0d51c:	88 a9 00 10 	lbz     r5,16(r9)                              
ffc0d520:	7c a0 07 74 	extsb   r0,r5                                  
ffc0d524:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc0d528:	88 09 00 11 	lbz     r0,17(r9)                              
    {                                                                 
      /* rebalance left branch */                                     
      switch (p->avl.bal)                                             
ffc0d52c:	7c 0b 07 75 	extsb.  r11,r0                                 
    else                                                              
    {                                                                 
      break;                                                          
    }                                                                 
                                                                      
    if (p->avl.cache == -1)                                           
ffc0d530:	40 be 00 9c 	bne+    cr7,ffc0d5cc <rtems_bdbuf_remove_from_tree+0x280>
    {                                                                 
      /* rebalance left branch */                                     
      switch (p->avl.bal)                                             
ffc0d534:	41 82 00 18 	beq-    ffc0d54c <rtems_bdbuf_remove_from_tree+0x200>
ffc0d538:	2f 8b 00 01 	cmpwi   cr7,r11,1                              
ffc0d53c:	41 9e 00 18 	beq-    cr7,ffc0d554 <rtems_bdbuf_remove_from_tree+0x208>
ffc0d540:	2f 8b ff ff 	cmpwi   cr7,r11,-1                             
ffc0d544:	40 be 01 34 	bne+    cr7,ffc0d678 <rtems_bdbuf_remove_from_tree+0x32c><== NEVER TAKEN
ffc0d548:	48 00 00 9c 	b       ffc0d5e4 <rtems_bdbuf_remove_from_tree+0x298>
      {                                                               
        case -1:                                                      
          p->avl.bal = 0;                                             
          break;                                                      
        case  0:                                                      
          p->avl.bal = 1;                                             
ffc0d54c:	98 c9 00 11 	stb     r6,17(r9)                              
ffc0d550:	48 00 00 2c 	b       ffc0d57c <rtems_bdbuf_remove_from_tree+0x230>
          modified = false;                                           
          break;                                                      
                                                                      
        case +1:                                                      
          p1 = p->avl.right;                                          
ffc0d554:	81 69 00 0c 	lwz     r11,12(r9)                             
                                                                      
          if (p1->avl.bal >= 0) /* simple RR-turn */                  
ffc0d558:	88 0b 00 11 	lbz     r0,17(r11)                             
ffc0d55c:	7c 08 07 75 	extsb.  r8,r0                                  
ffc0d560:	81 0b 00 08 	lwz     r8,8(r11)                              
ffc0d564:	41 80 00 20 	blt-    ffc0d584 <rtems_bdbuf_remove_from_tree+0x238>
          {                                                           
            p->avl.right = p1->avl.left;                              
ffc0d568:	91 09 00 0c 	stw     r8,12(r9)                              
            p1->avl.left = p;                                         
ffc0d56c:	91 2b 00 08 	stw     r9,8(r11)                              
                                                                      
            if (p1->avl.bal == 0)                                     
ffc0d570:	40 82 00 ac 	bne-    ffc0d61c <rtems_bdbuf_remove_from_tree+0x2d0>
            {                                                         
              p1->avl.bal = -1;                                       
ffc0d574:	98 ab 00 11 	stb     r5,17(r11)                             
ffc0d578:	7d 69 5b 78 	mr      r9,r11                                 
              modified = false;                                       
ffc0d57c:	38 00 00 00 	li      r0,0                                   
ffc0d580:	48 00 00 fc 	b       ffc0d67c <rtems_bdbuf_remove_from_tree+0x330>
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
                                                                      
            p1->avl.left = p2->avl.right;                             
ffc0d584:	80 08 00 0c 	lwz     r0,12(r8)                              
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
            p2->avl.left = p;                                         
                                                                      
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
ffc0d588:	38 a0 00 00 	li      r5,0                                   
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
                                                                      
            p1->avl.left = p2->avl.right;                             
            p2->avl.right = p1;                                       
ffc0d58c:	91 68 00 0c 	stw     r11,12(r8)                             
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
                                                                      
            p1->avl.left = p2->avl.right;                             
ffc0d590:	90 0b 00 08 	stw     r0,8(r11)                              
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
ffc0d594:	80 08 00 08 	lwz     r0,8(r8)                               
            p2->avl.left = p;                                         
ffc0d598:	91 28 00 08 	stw     r9,8(r8)                               
          {                                                           
            p2 = p1->avl.left;                                        
                                                                      
            p1->avl.left = p2->avl.right;                             
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
ffc0d59c:	90 09 00 0c 	stw     r0,12(r9)                              
            p2->avl.left = p;                                         
                                                                      
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
ffc0d5a0:	88 08 00 11 	lbz     r0,17(r8)                              
ffc0d5a4:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0d5a8:	40 be 00 08 	bne+    cr7,ffc0d5b0 <rtems_bdbuf_remove_from_tree+0x264>
ffc0d5ac:	38 a0 ff ff 	li      r5,-1                                  
ffc0d5b0:	98 a9 00 11 	stb     r5,17(r9)                              
            if (p2->avl.bal == -1) p1->avl.bal = 1; else p1->avl.bal = 0;
ffc0d5b4:	88 08 00 11 	lbz     r0,17(r8)                              
ffc0d5b8:	68 00 00 ff 	xori    r0,r0,255                              
ffc0d5bc:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc0d5c0:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc0d5c4:	98 0b 00 11 	stb     r0,17(r11)                             
ffc0d5c8:	48 00 00 a8 	b       ffc0d670 <rtems_bdbuf_remove_from_tree+0x324>
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      /* rebalance right branch */                                    
      switch (p->avl.bal)                                             
ffc0d5cc:	41 82 00 20 	beq-    ffc0d5ec <rtems_bdbuf_remove_from_tree+0x2a0>
ffc0d5d0:	2f 8b 00 01 	cmpwi   cr7,r11,1                              
ffc0d5d4:	41 9e 00 10 	beq-    cr7,ffc0d5e4 <rtems_bdbuf_remove_from_tree+0x298>
ffc0d5d8:	2f 8b ff ff 	cmpwi   cr7,r11,-1                             
ffc0d5dc:	40 be 00 9c 	bne+    cr7,ffc0d678 <rtems_bdbuf_remove_from_tree+0x32c><== NEVER TAKEN
ffc0d5e0:	48 00 00 14 	b       ffc0d5f4 <rtems_bdbuf_remove_from_tree+0x2a8>
      {                                                               
        case +1:                                                      
          p->avl.bal = 0;                                             
ffc0d5e4:	98 e9 00 11 	stb     r7,17(r9)                              
ffc0d5e8:	48 00 00 90 	b       ffc0d678 <rtems_bdbuf_remove_from_tree+0x32c>
          break;                                                      
                                                                      
        case  0:                                                      
          p->avl.bal = -1;                                            
ffc0d5ec:	98 69 00 11 	stb     r3,17(r9)                              
ffc0d5f0:	4b ff ff 8c 	b       ffc0d57c <rtems_bdbuf_remove_from_tree+0x230>
          modified = false;                                           
          break;                                                      
                                                                      
        case -1:                                                      
          p1 = p->avl.left;                                           
ffc0d5f4:	81 69 00 08 	lwz     r11,8(r9)                              
                                                                      
          if (p1->avl.bal <= 0) /* simple LL-turn */                  
ffc0d5f8:	88 0b 00 11 	lbz     r0,17(r11)                             
ffc0d5fc:	7c 08 07 75 	extsb.  r8,r0                                  
ffc0d600:	81 0b 00 0c 	lwz     r8,12(r11)                             
ffc0d604:	41 a1 00 28 	bgt+    ffc0d62c <rtems_bdbuf_remove_from_tree+0x2e0>
          {                                                           
            p->avl.left = p1->avl.right;                              
ffc0d608:	91 09 00 08 	stw     r8,8(r9)                               
            p1->avl.right = p;                                        
ffc0d60c:	91 2b 00 0c 	stw     r9,12(r11)                             
            if (p1->avl.bal == 0)                                     
ffc0d610:	40 82 00 0c 	bne-    ffc0d61c <rtems_bdbuf_remove_from_tree+0x2d0>
            {                                                         
              p1->avl.bal = 1;                                        
ffc0d614:	98 cb 00 11 	stb     r6,17(r11)                             
ffc0d618:	4b ff ff 60 	b       ffc0d578 <rtems_bdbuf_remove_from_tree+0x22c>
              modified = false;                                       
            }                                                         
            else                                                      
            {                                                         
              p->avl.bal = 0;                                         
ffc0d61c:	98 e9 00 11 	stb     r7,17(r9)                              
              p1->avl.bal = 0;                                        
ffc0d620:	7d 69 5b 78 	mr      r9,r11                                 
ffc0d624:	98 eb 00 11 	stb     r7,17(r11)                             
ffc0d628:	48 00 00 50 	b       ffc0d678 <rtems_bdbuf_remove_from_tree+0x32c>
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
                                                                      
            p1->avl.right = p2->avl.left;                             
ffc0d62c:	80 08 00 08 	lwz     r0,8(r8)                               
            p2->avl.left = p1;                                        
ffc0d630:	91 68 00 08 	stw     r11,8(r8)                              
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
                                                                      
            p1->avl.right = p2->avl.left;                             
ffc0d634:	90 0b 00 0c 	stw     r0,12(r11)                             
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
ffc0d638:	80 08 00 0c 	lwz     r0,12(r8)                              
            p2->avl.right = p;                                        
ffc0d63c:	91 28 00 0c 	stw     r9,12(r8)                              
          {                                                           
            p2 = p1->avl.right;                                       
                                                                      
            p1->avl.right = p2->avl.left;                             
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
ffc0d640:	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;
ffc0d644:	88 08 00 11 	lbz     r0,17(r8)                              
ffc0d648:	68 00 00 ff 	xori    r0,r0,255                              
ffc0d64c:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc0d650:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc0d654:	98 09 00 11 	stb     r0,17(r9)                              
            if (p2->avl.bal == +1) p1->avl.bal = -1; else p1->avl.bal = 0;
ffc0d658:	39 20 00 00 	li      r9,0                                   
ffc0d65c:	88 08 00 11 	lbz     r0,17(r8)                              
ffc0d660:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0d664:	40 be 00 08 	bne+    cr7,ffc0d66c <rtems_bdbuf_remove_from_tree+0x320>
ffc0d668:	39 20 ff ff 	li      r9,-1                                  
ffc0d66c:	99 2b 00 11 	stb     r9,17(r11)                             
                                                                      
            p = p2;                                                   
            p2->avl.bal = 0;                                          
ffc0d670:	98 e8 00 11 	stb     r7,17(r8)                              
ffc0d674:	7d 09 43 78 	mr      r9,r8                                  
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      /* rebalance right branch */                                    
      switch (p->avl.bal)                                             
ffc0d678:	38 00 00 01 	li      r0,1                                   
{                                                                     
  return bdbuf_cache.buffer_waiters.count;                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
ffc0d67c:	39 6a ff fc 	addi    r11,r10,-4                             
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
                                                                      
    if (buf_prev > buf_stack)                                         
ffc0d680:	7f 84 58 40 	cmplw   cr7,r4,r11                             
ffc0d684:	40 9c 00 24 	bge-    cr7,ffc0d6a8 <rtems_bdbuf_remove_from_tree+0x35c>
    {                                                                 
      q = *(buf_prev - 1);                                            
ffc0d688:	81 6a ff f8 	lwz     r11,-8(r10)                            
                                                                      
      if (q->avl.cache == -1)                                         
ffc0d68c:	89 0b 00 10 	lbz     r8,16(r11)                             
ffc0d690:	2f 88 00 ff 	cmpwi   cr7,r8,255                             
ffc0d694:	40 be 00 0c 	bne+    cr7,ffc0d6a0 <rtems_bdbuf_remove_from_tree+0x354>
      {                                                               
        q->avl.left = p;                                              
ffc0d698:	91 2b 00 08 	stw     r9,8(r11)                              
ffc0d69c:	48 00 00 18 	b       ffc0d6b4 <rtems_bdbuf_remove_from_tree+0x368>
      }                                                               
      else                                                            
      {                                                               
        q->avl.right = p;                                             
ffc0d6a0:	91 2b 00 0c 	stw     r9,12(r11)                             
ffc0d6a4:	48 00 00 10 	b       ffc0d6b4 <rtems_bdbuf_remove_from_tree+0x368>
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      *root = p;                                                      
ffc0d6a8:	3d 60 00 00 	lis     r11,0                                  
ffc0d6ac:	91 2b 29 d0 	stw     r9,10704(r11)                          
ffc0d6b0:	48 00 00 24 	b       ffc0d6d4 <rtems_bdbuf_remove_from_tree+0x388>
    *root = q;                                                        
  }                                                                   
                                                                      
  modified = true;                                                    
                                                                      
  while (modified)                                                    
ffc0d6b4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
        q->avl.right = p;                                             
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      *root = p;                                                      
ffc0d6b8:	39 4a ff fc 	addi    r10,r10,-4                             
    *root = q;                                                        
  }                                                                   
                                                                      
  modified = true;                                                    
                                                                      
  while (modified)                                                    
ffc0d6bc:	40 9e fe 5c 	bne+    cr7,ffc0d518 <rtems_bdbuf_remove_from_tree+0x1cc>
ffc0d6c0:	48 00 00 14 	b       ffc0d6d4 <rtems_bdbuf_remove_from_tree+0x388>
                                                                      
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);  
ffc0d6c4:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc0d6c8:	80 7e 00 28 	lwz     r3,40(r30)                             <== NOT EXECUTED
ffc0d6cc:	60 84 00 09 	ori     r4,r4,9                                <== NOT EXECUTED
ffc0d6d0:	4b ff f4 e1 	bl      ffc0cbb0 <rtems_bdbuf_fatal>           <== NOT EXECUTED
}                                                                     
ffc0d6d4:	39 61 00 a0 	addi    r11,r1,160                             
ffc0d6d8:	48 00 af 00 	b       ffc185d8 <_restgpr_27_x>               
                                                                      

ffc0d6dc <rtems_bdbuf_remove_from_tree_and_lru_list>: static void rtems_bdbuf_remove_from_tree_and_lru_list (rtems_bdbuf_buffer *bd) {
ffc0d6dc:	7c 08 02 a6 	mflr    r0                                     
ffc0d6e0:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0d6e4:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0d6e8:	90 01 00 14 	stw     r0,20(r1)                              
ffc0d6ec:	48 00 ae b1 	bl      ffc1859c <_savegpr_31>                 
ffc0d6f0:	7c 7f 1b 78 	mr      r31,r3                                 
  switch (bd->state)                                                  
ffc0d6f4:	80 03 00 28 	lwz     r0,40(r3)                              
ffc0d6f8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d6fc:	41 9e 00 24 	beq-    cr7,ffc0d720 <rtems_bdbuf_remove_from_tree_and_lru_list+0x44>
ffc0d700:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0d704:	40 be 00 0c 	bne+    cr7,ffc0d710 <rtems_bdbuf_remove_from_tree_and_lru_list+0x34><== NEVER TAKEN
  {                                                                   
    case RTEMS_BDBUF_STATE_FREE:                                      
      break;                                                          
    case RTEMS_BDBUF_STATE_CACHED:                                    
      rtems_bdbuf_remove_from_tree (bd);                              
ffc0d708:	4b ff fc 45 	bl      ffc0d34c <rtems_bdbuf_remove_from_tree>
      break;                                                          
ffc0d70c:	48 00 00 14 	b       ffc0d720 <rtems_bdbuf_remove_from_tree_and_lru_list+0x44>
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_10);
ffc0d710:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc0d714:	80 63 00 28 	lwz     r3,40(r3)                              <== NOT EXECUTED
ffc0d718:	60 84 00 08 	ori     r4,r4,8                                <== NOT EXECUTED
ffc0d71c:	4b ff f4 95 	bl      ffc0cbb0 <rtems_bdbuf_fatal>           <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc0d720:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d724:	4b ff c1 0d 	bl      ffc09830 <_Chain_Extract>              
  }                                                                   
                                                                      
  rtems_chain_extract (&bd->link);                                    
}                                                                     
ffc0d728:	39 61 00 10 	addi    r11,r1,16                              
ffc0d72c:	48 00 ae bc 	b       ffc185e8 <_restgpr_31_x>               
                                                                      

ffc0cf3c <rtems_bdbuf_restore_preemption>: static void rtems_bdbuf_restore_preemption (rtems_mode prev_mode) {
ffc0cf3c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0cf40:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_task_mode (prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode); 
ffc0cf44:	38 80 00 00 	li      r4,0                                   
  return prev_mode;                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_restore_preemption (rtems_mode prev_mode)                 
{                                                                     
ffc0cf48:	7c 25 0b 78 	mr      r5,r1                                  
ffc0cf4c:	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); 
ffc0cf50:	60 84 ff ff 	ori     r4,r4,65535                            
  return prev_mode;                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_restore_preemption (rtems_mode prev_mode)                 
{                                                                     
ffc0cf54:	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); 
ffc0cf58:	48 00 40 e9 	bl      ffc11040 <rtems_task_mode>             
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0cf5c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0cf60:	41 be 00 10 	beq+    cr7,ffc0cf70 <rtems_bdbuf_restore_preemption+0x34><== ALWAYS TAKEN
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_PREEMPT_RST);
ffc0cf64:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0cf68:	60 63 00 11 	ori     r3,r3,17                               <== NOT EXECUTED
ffc0cf6c:	4b ff c3 35 	bl      ffc092a0 <rtems_fatal_error_occurred>  <== NOT EXECUTED
}                                                                     
ffc0cf70:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0cf74:	38 21 00 10 	addi    r1,r1,16                               
ffc0cf78:	7c 08 03 a6 	mtlr    r0                                     
ffc0cf7c:	4e 80 00 20 	blr                                            
                                                                      

ffc0cbc8 <rtems_bdbuf_swapout_modified_processing>: rtems_chain_control* chain, rtems_chain_control* transfer, bool sync_active, bool update_timers, uint32_t timer_delta) {
ffc0cbc8:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0cbcc:	7c 08 02 a6 	mflr    r0                                     
ffc0cbd0:	7c 89 23 78 	mr      r9,r4                                  
ffc0cbd4:	7d 80 00 26 	mfcr    r12                                    
ffc0cbd8:	90 01 00 3c 	stw     r0,60(r1)                              
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0cbdc:	38 09 00 04 	addi    r0,r9,4                                
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc0cbe0:	80 84 00 00 	lwz     r4,0(r4)                               
ffc0cbe4:	bf 01 00 18 	stmw    r24,24(r1)                             
ffc0cbe8:	7c 7f 1b 78 	mr      r31,r3                                 
  if (!rtems_chain_is_empty (chain))                                  
ffc0cbec:	7f 84 00 00 	cmpw    cr7,r4,r0                              
                                         rtems_chain_control* chain,  
                                         rtems_chain_control* transfer,
                                         bool                 sync_active,
                                         bool                 update_timers,
                                         uint32_t             timer_delta)
{                                                                     
ffc0cbf0:	91 81 00 14 	stw     r12,20(r1)                             
ffc0cbf4:	7c be 2b 78 	mr      r30,r5                                 
ffc0cbf8:	7d 1b 43 78 	mr      r27,r8                                 
  if (!rtems_chain_is_empty (chain))                                  
ffc0cbfc:	41 9e 01 74 	beq-    cr7,ffc0cd70 <rtems_bdbuf_swapout_modified_processing+0x1a8>
    node = node->next;                                                
                                                                      
    /*                                                                
     * A sync active with no valid dev means sync all.                
     */                                                               
    if (sync_active && (*dev == BDBUF_INVALID_DEV))                   
ffc0cc00:	2f 86 00 00 	cmpwi   cr7,r6,0                               
      sync_all = true;                                                
    else                                                              
      sync_all = false;                                               
ffc0cc04:	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))                   
ffc0cc08:	41 9e 01 30 	beq-    cr7,ffc0cd38 <rtems_bdbuf_swapout_modified_processing+0x170>
 * @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,    
ffc0cc0c:	80 03 00 04 	lwz     r0,4(r3)                               
ffc0cc10:	81 63 00 00 	lwz     r11,0(r3)                              
ffc0cc14:	7d 6b 00 38 	and     r11,r11,r0                             
ffc0cc18:	38 0b 00 01 	addi    r0,r11,1                               
ffc0cc1c:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc0cc20:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc0cc24:	48 00 01 14 	b       ffc0cd38 <rtems_bdbuf_swapout_modified_processing+0x170>
       * 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))              
ffc0cc28:	40 92 00 38 	bne-    cr4,ffc0cc60 <rtems_bdbuf_swapout_modified_processing+0x98>
ffc0cc2c:	41 8e 00 24 	beq-    cr3,ffc0cc50 <rtems_bdbuf_swapout_modified_processing+0x88>
ffc0cc30:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc0cc34:	80 04 00 18 	lwz     r0,24(r4)                              
ffc0cc38:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0cc3c:	40 be 00 14 	bne+    cr7,ffc0cc50 <rtems_bdbuf_swapout_modified_processing+0x88>
ffc0cc40:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc0cc44:	80 04 00 1c 	lwz     r0,28(r4)                              
ffc0cc48:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0cc4c:	41 9e 00 14 	beq-    cr7,ffc0cc60 <rtems_bdbuf_swapout_modified_processing+0x98><== ALWAYS TAKEN
}                                                                     
                                                                      
static bool                                                           
rtems_bdbuf_has_buffer_waiters (void)                                 
{                                                                     
  return bdbuf_cache.buffer_waiters.count;                            
ffc0cc50:	39 39 29 90 	addi    r9,r25,10640                           
ffc0cc54:	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 ())                       
ffc0cc58:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0cc5c:	41 9e 00 08 	beq-    cr7,ffc0cc64 <rtems_bdbuf_swapout_modified_processing+0x9c>
        bd->hold_timer = 0;                                           
ffc0cc60:	93 84 00 34 	stw     r28,52(r4)                             
                                                                      
      if (bd->hold_timer)                                             
ffc0cc64:	80 04 00 34 	lwz     r0,52(r4)                              
ffc0cc68:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0cc6c:	41 9e 00 3c 	beq-    cr7,ffc0cca8 <rtems_bdbuf_swapout_modified_processing+0xe0>
      {                                                               
        if (update_timers)                                            
ffc0cc70:	41 8a 00 24 	beq-    cr2,ffc0cc94 <rtems_bdbuf_swapout_modified_processing+0xcc>
        {                                                             
          if (bd->hold_timer > timer_delta)                           
ffc0cc74:	80 04 00 34 	lwz     r0,52(r4)                              
ffc0cc78:	7f 80 d8 40 	cmplw   cr7,r0,r27                             
ffc0cc7c:	40 9d 00 14 	ble-    cr7,ffc0cc90 <rtems_bdbuf_swapout_modified_processing+0xc8>
            bd->hold_timer -= timer_delta;                            
ffc0cc80:	80 04 00 34 	lwz     r0,52(r4)                              
ffc0cc84:	7c 1b 00 50 	subf    r0,r27,r0                              
ffc0cc88:	90 04 00 34 	stw     r0,52(r4)                              
ffc0cc8c:	48 00 00 08 	b       ffc0cc94 <rtems_bdbuf_swapout_modified_processing+0xcc>
          else                                                        
            bd->hold_timer = 0;                                       
ffc0cc90:	93 84 00 34 	stw     r28,52(r4)                             
        }                                                             
                                                                      
        if (bd->hold_timer)                                           
ffc0cc94:	80 04 00 34 	lwz     r0,52(r4)                              
ffc0cc98:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0cc9c:	41 9e 00 0c 	beq-    cr7,ffc0cca8 <rtems_bdbuf_swapout_modified_processing+0xe0>
        {                                                             
          node = node->next;                                          
ffc0cca0:	80 84 00 00 	lwz     r4,0(r4)                               
          continue;                                                   
ffc0cca4:	48 00 00 b0 	b       ffc0cd54 <rtems_bdbuf_swapout_modified_processing+0x18c>
      /*                                                              
       * 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)                                  
ffc0cca8:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc0ccac:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc0ccb0:	40 be 00 20 	bne+    cr7,ffc0ccd0 <rtems_bdbuf_swapout_modified_processing+0x108>
ffc0ccb4:	80 1f 00 04 	lwz     r0,4(r31)                              
ffc0ccb8:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc0ccbc:	40 be 00 14 	bne+    cr7,ffc0ccd0 <rtems_bdbuf_swapout_modified_processing+0x108><== NEVER TAKEN
        *dev = bd->dev;                                               
ffc0ccc0:	81 44 00 18 	lwz     r10,24(r4)                             
ffc0ccc4:	81 64 00 1c 	lwz     r11,28(r4)                             
ffc0ccc8:	91 5f 00 00 	stw     r10,0(r31)                             
ffc0cccc:	91 7f 00 04 	stw     r11,4(r31)                             
                                                                      
      if (bd->dev == *dev)                                            
ffc0ccd0:	81 24 00 18 	lwz     r9,24(r4)                              
ffc0ccd4:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc0ccd8:	83 a4 00 00 	lwz     r29,0(r4)                              
ffc0ccdc:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0cce0:	40 be 00 88 	bne+    cr7,ffc0cd68 <rtems_bdbuf_swapout_modified_processing+0x1a0><== NEVER TAKEN
ffc0cce4:	81 24 00 1c 	lwz     r9,28(r4)                              
ffc0cce8:	80 1f 00 04 	lwz     r0,4(r31)                              
ffc0ccec:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0ccf0:	40 be 00 78 	bne+    cr7,ffc0cd68 <rtems_bdbuf_swapout_modified_processing+0x1a0><== NEVER TAKEN
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0ccf4:	93 44 00 28 	stw     r26,40(r4)                             
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc0ccf8:	7c 83 23 78 	mr      r3,r4                                  
ffc0ccfc:	90 81 00 08 	stw     r4,8(r1)                               
ffc0cd00:	4b ff cb 31 	bl      ffc09830 <_Chain_Extract>              
                                                                      
        rtems_chain_extract (node);                                   
                                                                      
        tnode = tnode->previous;                                      
                                                                      
        while (node && !rtems_chain_is_head (transfer, tnode))        
ffc0cd04:	80 81 00 08 	lwz     r4,8(r1)                               
                                                                      
        rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_TRANSFER);       
                                                                      
        rtems_chain_extract (node);                                   
                                                                      
        tnode = tnode->previous;                                      
ffc0cd08:	80 7e 00 08 	lwz     r3,8(r30)                              
                                                                      
        while (node && !rtems_chain_is_head (transfer, tnode))        
ffc0cd0c:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0cd10:	48 00 00 18 	b       ffc0cd28 <rtems_bdbuf_swapout_modified_processing+0x160>
        {                                                             
          rtems_bdbuf_buffer* tbd = (rtems_bdbuf_buffer*) tnode;      
                                                                      
          if (bd->block > tbd->block)                                 
ffc0cd14:	81 24 00 20 	lwz     r9,32(r4)                              
ffc0cd18:	80 03 00 20 	lwz     r0,32(r3)                              
ffc0cd1c:	7f 09 00 40 	cmplw   cr6,r9,r0                              
ffc0cd20:	41 99 00 44 	bgt-    cr6,ffc0cd64 <rtems_bdbuf_swapout_modified_processing+0x19c>
          {                                                           
            rtems_chain_insert (tnode, node);                         
            node = NULL;                                              
          }                                                           
          else                                                        
            tnode = tnode->previous;                                  
ffc0cd24:	80 63 00 04 	lwz     r3,4(r3)                               
                                                                      
        rtems_chain_extract (node);                                   
                                                                      
        tnode = tnode->previous;                                      
                                                                      
        while (node && !rtems_chain_is_head (transfer, tnode))        
ffc0cd28:	41 9e 00 40 	beq-    cr7,ffc0cd68 <rtems_bdbuf_swapout_modified_processing+0x1a0><== NEVER TAKEN
ffc0cd2c:	7f 03 f0 00 	cmpw    cr6,r3,r30                             
ffc0cd30:	40 9a ff e4 	bne+    cr6,ffc0cd14 <rtems_bdbuf_swapout_modified_processing+0x14c>
ffc0cd34:	48 00 00 2c 	b       ffc0cd60 <rtems_bdbuf_swapout_modified_processing+0x198>
       * 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))              
ffc0cd38:	2e 00 00 00 	cmpwi   cr4,r0,0                               
ffc0cd3c:	2d 86 00 00 	cmpwi   cr3,r6,0                               
          || rtems_bdbuf_has_buffer_waiters ())                       
        bd->hold_timer = 0;                                           
                                                                      
      if (bd->hold_timer)                                             
      {                                                               
        if (update_timers)                                            
ffc0cd40:	2d 07 00 00 	cmpwi   cr2,r7,0                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
ffc0cd44:	3b 09 00 04 	addi    r24,r9,4                               
       * @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;                                           
ffc0cd48:	3b 80 00 00 	li      r28,0                                  
}                                                                     
                                                                      
static bool                                                           
rtems_bdbuf_has_buffer_waiters (void)                                 
{                                                                     
  return bdbuf_cache.buffer_waiters.count;                            
ffc0cd4c:	3f 20 00 00 	lis     r25,0                                  
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0cd50:	3b 40 00 09 	li      r26,9                                  
    if (sync_active && (*dev == BDBUF_INVALID_DEV))                   
      sync_all = true;                                                
    else                                                              
      sync_all = false;                                               
                                                                      
    while (!rtems_chain_is_tail (chain, node))                        
ffc0cd54:	7f 84 c0 00 	cmpw    cr7,r4,r24                             
ffc0cd58:	40 9e fe d0 	bne+    cr7,ffc0cc28 <rtems_bdbuf_swapout_modified_processing+0x60>
ffc0cd5c:	48 00 00 14 	b       ffc0cd70 <rtems_bdbuf_swapout_modified_processing+0x1a8>
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
ffc0cd60:	7f c3 f3 78 	mr      r3,r30                                 
ffc0cd64:	48 00 48 35 	bl      ffc11598 <_Chain_Insert>               
        }                                                             
                                                                      
        if (node)                                                     
          rtems_chain_prepend (transfer, node);                       
                                                                      
        node = next_node;                                             
ffc0cd68:	7f a4 eb 78 	mr      r4,r29                                 
ffc0cd6c:	4b ff ff e8 	b       ffc0cd54 <rtems_bdbuf_swapout_modified_processing+0x18c>
      {                                                               
        node = node->next;                                            
      }                                                               
    }                                                                 
  }                                                                   
}                                                                     
ffc0cd70:	81 81 00 14 	lwz     r12,20(r1)                             
ffc0cd74:	39 61 00 38 	addi    r11,r1,56                              
ffc0cd78:	7d 83 81 20 	mtcrf   56,r12                                 
ffc0cd7c:	48 00 b8 50 	b       ffc185cc <_restgpr_24_x>               
                                                                      

ffc0dc9c <rtems_bdbuf_swapout_task>: * not this. * @return rtems_task Not used. */ static rtems_task rtems_bdbuf_swapout_task (rtems_task_argument arg) {
ffc0dc9c:	94 21 ff 90 	stwu    r1,-112(r1)                            
ffc0dca0:	7c 08 02 a6 	mflr    r0                                     
ffc0dca4:	be 41 00 38 	stmw    r18,56(r1)                             
  rtems_bdbuf_swapout_transfer transfer;                              
  uint32_t                     period_in_ticks;                       
  const uint32_t               period_in_msecs = bdbuf_config.swapout_period;;
ffc0dca8:	3f 60 ff c2 	lis     r27,-62                                
ffc0dcac:	3b 7b 93 94 	addi    r27,r27,-27756                         
 *            not this.                                               
 * @return rtems_task Not used.                                       
 */                                                                   
static rtems_task                                                     
rtems_bdbuf_swapout_task (rtems_task_argument arg)                    
{                                                                     
ffc0dcb0:	90 01 00 74 	stw     r0,116(r1)                             
                                                                      
    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); 
ffc0dcb4:	3e c0 00 00 	lis     r22,0                                  
ffc0dcb8:	3a d6 29 90 	addi    r22,r22,10640                          
static rtems_task                                                     
rtems_bdbuf_swapout_task (rtems_task_argument arg)                    
{                                                                     
  rtems_bdbuf_swapout_transfer transfer;                              
  uint32_t                     period_in_ticks;                       
  const uint32_t               period_in_msecs = bdbuf_config.swapout_period;;
ffc0dcbc:	83 3b 00 0c 	lwz     r25,12(r27)                            
  uint32_t                     timer_delta;                           
                                                                      
  transfer.write_req = rtems_bdbuf_swapout_writereq_alloc ();         
ffc0dcc0:	4b ff f3 a5 	bl      ffc0d064 <rtems_bdbuf_swapout_writereq_alloc>
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0dcc4:	38 01 00 14 	addi    r0,r1,20                               
ffc0dcc8:	90 61 00 2c 	stw     r3,44(r1)                              
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc0dccc:	39 21 00 10 	addi    r9,r1,16                               
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0dcd0:	90 01 00 10 	stw     r0,16(r1)                              
  head->previous = NULL;                                              
ffc0dcd4:	38 00 00 00 	li      r0,0                                   
  transfer.syncing = false;                                           
                                                                      
  /*                                                                  
   * Localise the period.                                             
   */                                                                 
  period_in_ticks = RTEMS_MICROSECONDS_TO_TICKS (period_in_msecs * 1000);
ffc0dcd8:	1e b9 03 e8 	mulli   r21,r25,1000                           
  tail->previous = head;                                              
ffc0dcdc:	91 21 00 18 	stw     r9,24(r1)                              
ffc0dce0:	3d 20 00 00 	lis     r9,0                                   
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc0dce4:	90 01 00 14 	stw     r0,20(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;                                   
ffc0dce8:	39 40 ff ff 	li      r10,-1                                 
ffc0dcec:	39 60 ff ff 	li      r11,-1                                 
  transfer.syncing = false;                                           
ffc0dcf0:	98 01 00 28 	stb     r0,40(r1)                              
                            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,                                
ffc0dcf4:	3f 40 ff c1 	lis     r26,-63                                
  rtems_status_code sc;                                               
  size_t            w;                                                
                                                                      
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  for (w = 0; w < bdbuf_config.swapout_workers; w++)                  
ffc0dcf8:	3b 80 00 00 	li      r28,0                                  
  transfer.syncing = false;                                           
                                                                      
  /*                                                                  
   * Localise the period.                                             
   */                                                                 
  period_in_ticks = RTEMS_MICROSECONDS_TO_TICKS (period_in_msecs * 1000);
ffc0dcfc:	80 09 20 10 	lwz     r0,8208(r9)                            
                                                                      
    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); 
ffc0dd00:	3a d6 00 08 	addi    r22,r22,8                              
  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;                                   
ffc0dd04:	91 41 00 20 	stw     r10,32(r1)                             
    worker = malloc (sizeof (rtems_bdbuf_swapout_worker));            
    if (!worker)                                                      
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM); 
                                                                      
    rtems_chain_append (&bdbuf_cache.swapout_workers, &worker->link); 
    worker->enabled = true;                                           
ffc0dd08:	3a e0 00 01 	li      r23,1                                  
  transfer.syncing = false;                                           
                                                                      
  /*                                                                  
   * Localise the period.                                             
   */                                                                 
  period_in_ticks = RTEMS_MICROSECONDS_TO_TICKS (period_in_msecs * 1000);
ffc0dd0c:	7e b5 03 96 	divwu   r21,r21,r0                             
  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;                                   
ffc0dd10:	91 61 00 24 	stw     r11,36(r1)                             
rtems_bdbuf_swapout_workers_open (void)                               
{                                                                     
  rtems_status_code sc;                                               
  size_t            w;                                                
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc0dd14:	4b ff ee 15 	bl      ffc0cb28 <rtems_bdbuf_lock_cache>      
                                                                      
  for (w = 0; w < bdbuf_config.swapout_workers; w++)                  
ffc0dd18:	82 9b 00 14 	lwz     r20,20(r27)                            
ffc0dd1c:	3b 00 00 00 	li      r24,0                                  
    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;                         
ffc0dd20:	3b c0 ff ff 	li      r30,-1                                 
ffc0dd24:	3b e0 ff ff 	li      r31,-1                                 
                            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,                                
ffc0dd28:	3b 5a df f0 	addi    r26,r26,-8208                          
ffc0dd2c:	48 00 00 c0 	b       ffc0ddec <rtems_bdbuf_swapout_task+0x150>
                                                                      
  for (w = 0; w < bdbuf_config.swapout_workers; w++)                  
  {                                                                   
    rtems_bdbuf_swapout_worker* worker;                               
                                                                      
    worker = malloc (sizeof (rtems_bdbuf_swapout_worker));            
ffc0dd30:	38 60 00 38 	li      r3,56                                  <== NOT EXECUTED
ffc0dd34:	4b ff 78 e5 	bl      ffc05618 <malloc>                      <== NOT EXECUTED
    if (!worker)                                                      
ffc0dd38:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc0dd3c:	40 a2 00 10 	bne+    ffc0dd4c <rtems_bdbuf_swapout_task+0xb0><== NOT EXECUTED
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM); 
ffc0dd40:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0dd44:	60 63 00 15 	ori     r3,r3,21                               <== NOT EXECUTED
ffc0dd48:	48 00 00 78 	b       ffc0ddc0 <rtems_bdbuf_swapout_task+0x124><== 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 );                               
ffc0dd4c:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc0dd50:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc0dd54:	4b ff ba ad 	bl      ffc09800 <_Chain_Append>               <== NOT EXECUTED
                                                                      
    rtems_chain_append (&bdbuf_cache.swapout_workers, &worker->link); 
    worker->enabled = true;                                           
ffc0dd58:	9a fd 00 0c 	stb     r23,12(r29)                            <== NOT EXECUTED
    worker->transfer.write_req = rtems_bdbuf_swapout_writereq_alloc ();
ffc0dd5c:	4b ff f3 09 	bl      ffc0d064 <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 ?          
ffc0dd60:	80 9b 00 08 	lwz     r4,8(r27)                              <== 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 ();
ffc0dd64:	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), 
ffc0dd68:	38 7c 00 61 	addi    r3,r28,97                              <== NOT EXECUTED
ffc0dd6c:	2f 84 00 00 	cmpwi   cr7,r4,0                               <== 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 );                        
ffc0dd70:	38 1d 00 10 	addi    r0,r29,16                              <== NOT EXECUTED
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc0dd74:	93 1d 00 14 	stw     r24,20(r29)                            <== 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 );                        
ffc0dd78:	39 3d 00 14 	addi    r9,r29,20                              <== NOT EXECUTED
ffc0dd7c:	64 63 42 44 	oris    r3,r3,16964                            <== NOT EXECUTED
                                                                      
  head->next = tail;                                                  
ffc0dd80:	91 3d 00 10 	stw     r9,16(r29)                             <== NOT EXECUTED
ffc0dd84:	60 63 6f 00 	ori     r3,r3,28416                            <== NOT EXECUTED
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc0dd88:	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;                         
ffc0dd8c:	93 dd 00 20 	stw     r30,32(r29)                            <== NOT EXECUTED
ffc0dd90:	93 fd 00 24 	stw     r31,36(r29)                            <== NOT EXECUTED
                                                                      
    sc = rtems_task_create (rtems_build_name('B', 'D', 'o', 'a' + w), 
ffc0dd94:	40 9e 00 08 	bne-    cr7,ffc0dd9c <rtems_bdbuf_swapout_task+0x100><== NOT EXECUTED
ffc0dd98:	38 80 00 0f 	li      r4,15                                  <== NOT EXECUTED
ffc0dd9c:	38 a0 20 00 	li      r5,8192                                <== NOT EXECUTED
ffc0dda0:	38 c0 04 00 	li      r6,1024                                <== NOT EXECUTED
ffc0dda4:	38 e0 00 00 	li      r7,0                                   <== NOT EXECUTED
ffc0dda8:	39 1d 00 08 	addi    r8,r29,8                               <== NOT EXECUTED
ffc0ddac:	4b ff af 51 	bl      ffc08cfc <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)                                       
ffc0ddb0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc0ddb4:	41 be 00 10 	beq+    cr7,ffc0ddc4 <rtems_bdbuf_swapout_task+0x128><== NOT EXECUTED
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WK_CREATE);
ffc0ddb8:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0ddbc:	60 63 00 16 	ori     r3,r3,22                               <== NOT EXECUTED
ffc0ddc0:	4b ff b4 e1 	bl      ffc092a0 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      
    sc = rtems_task_start (worker->id,                                
ffc0ddc4:	80 7d 00 08 	lwz     r3,8(r29)                              <== NOT EXECUTED
ffc0ddc8:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc0ddcc:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc0ddd0:	4b ff b1 f5 	bl      ffc08fc4 <rtems_task_start>            <== NOT EXECUTED
                           rtems_bdbuf_swapout_worker_task,           
                           (rtems_task_argument) worker);             
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc0ddd4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc0ddd8:	41 be 00 10 	beq+    cr7,ffc0dde8 <rtems_bdbuf_swapout_task+0x14c><== NOT EXECUTED
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WK_START);
ffc0dddc:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0dde0:	60 63 00 17 	ori     r3,r3,23                               <== NOT EXECUTED
ffc0dde4:	4b ff ff dc 	b       ffc0ddc0 <rtems_bdbuf_swapout_task+0x124><== NOT EXECUTED
  rtems_status_code sc;                                               
  size_t            w;                                                
                                                                      
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  for (w = 0; w < bdbuf_config.swapout_workers; w++)                  
ffc0dde8:	3b 9c 00 01 	addi    r28,r28,1                              <== NOT EXECUTED
ffc0ddec:	7f 9c a0 40 	cmplw   cr7,r28,r20                            
ffc0ddf0:	41 9c ff 40 	blt+    cr7,ffc0dd30 <rtems_bdbuf_swapout_task+0x94><== NEVER TAKEN
  /*                                                                  
   * Create the worker threads.                                       
   */                                                                 
  rtems_bdbuf_swapout_workers_open ();                                
                                                                      
  while (bdbuf_cache.swapout_enabled)                                 
ffc0ddf4:	3f 80 00 00 	lis     r28,0                                  
                           (rtems_task_argument) worker);             
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WK_START);
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc0ddf8:	4b ff ef 89 	bl      ffc0cd80 <rtems_bdbuf_unlock_cache>    
  /*                                                                  
   * Create the worker threads.                                       
   */                                                                 
  rtems_bdbuf_swapout_workers_open ();                                
                                                                      
  while (bdbuf_cache.swapout_enabled)                                 
ffc0ddfc:	3b 9c 29 90 	addi    r28,r28,10640                          
   * 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;                                                    
ffc0de00:	3a 60 00 00 	li      r19,0                                  
  else                                                                
  {                                                                   
    worker = (rtems_bdbuf_swapout_worker*)                            
      rtems_chain_get (&bdbuf_cache.swapout_workers);                 
ffc0de04:	3a 9c 00 08 	addi    r20,r28,8                              
    if (worker)                                                       
      transfer = &worker->transfer;                                   
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&transfer->bds);                      
  transfer->dev = BDBUF_INVALID_DEV;                                  
ffc0de08:	3b c0 ff ff 	li      r30,-1                                 
ffc0de0c:	3b e0 ff ff 	li      r31,-1                                 
ffc0de10:	7f 9b e3 78 	mr      r27,r28                                
                                                                      
  /*                                                                  
   * 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,            
ffc0de14:	3a dc 00 5c 	addi    r22,r28,92                             
                                           timer_delta);              
                                                                      
  /*                                                                  
   * Process the cache's modified list.                               
   */                                                                 
  rtems_bdbuf_swapout_modified_processing (&transfer->dev,            
ffc0de18:	3a fc 00 50 	addi    r23,r28,80                             
ffc0de1c:	48 00 01 7c 	b       ffc0df98 <rtems_bdbuf_swapout_task+0x2fc>
      /*                                                              
       * 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,                
ffc0de20:	3b 00 00 00 	li      r24,0                                  
ffc0de24:	48 00 00 08 	b       ffc0de2c <rtems_bdbuf_swapout_task+0x190>
  /*                                                                  
   * Create the worker threads.                                       
   */                                                                 
  rtems_bdbuf_swapout_workers_open ();                                
                                                                      
  while (bdbuf_cache.swapout_enabled)                                 
ffc0de28:	3b 00 00 01 	li      r24,1                                  
                                rtems_bdbuf_swapout_transfer* transfer)
{                                                                     
  rtems_bdbuf_swapout_worker* worker;                                 
  bool                        transfered_buffers = false;             
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc0de2c:	4b ff ec fd 	bl      ffc0cb28 <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)                                        
ffc0de30:	88 1c 00 30 	lbz     r0,48(r28)                             
    worker = NULL;                                                    
ffc0de34:	3b 40 00 00 	li      r26,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)                                        
ffc0de38:	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,                
ffc0de3c:	3b a1 00 10 	addi    r29,r1,16                              
   * 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)                                        
ffc0de40:	40 be 00 18 	bne+    cr7,ffc0de58 <rtems_bdbuf_swapout_task+0x1bc>
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc0de44:	7e 83 a3 78 	mr      r3,r20                                 
ffc0de48:	4b ff ba 11 	bl      ffc09858 <_Chain_Get>                  
    worker = NULL;                                                    
  else                                                                
  {                                                                   
    worker = (rtems_bdbuf_swapout_worker*)                            
      rtems_chain_get (&bdbuf_cache.swapout_workers);                 
    if (worker)                                                       
ffc0de4c:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc0de50:	41 82 00 08 	beq-    ffc0de58 <rtems_bdbuf_swapout_task+0x1bc><== ALWAYS TAKEN
      transfer = &worker->transfer;                                   
ffc0de54:	3b ba 00 10 	addi    r29,r26,16                             <== 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 );                        
ffc0de58:	38 1d 00 04 	addi    r0,r29,4                               
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc0de5c:	92 7d 00 04 	stw     r19,4(r29)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0de60:	90 1d 00 00 	stw     r0,0(r29)                              
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&transfer->bds);                      
  transfer->dev = BDBUF_INVALID_DEV;                                  
  transfer->syncing = bdbuf_cache.sync_active;                        
ffc0de64:	88 1c 00 30 	lbz     r0,48(r28)                             
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc0de68:	93 bd 00 08 	stw     r29,8(r29)                             
ffc0de6c:	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)                                        
ffc0de70:	88 1c 00 30 	lbz     r0,48(r28)                             
    if (worker)                                                       
      transfer = &worker->transfer;                                   
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&transfer->bds);                      
  transfer->dev = BDBUF_INVALID_DEV;                                  
ffc0de74:	93 dd 00 10 	stw     r30,16(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)                                        
ffc0de78:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    if (worker)                                                       
      transfer = &worker->transfer;                                   
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&transfer->bds);                      
  transfer->dev = BDBUF_INVALID_DEV;                                  
ffc0de7c:	93 fd 00 14 	stw     r31,20(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)                                        
ffc0de80:	41 9e 00 14 	beq-    cr7,ffc0de94 <rtems_bdbuf_swapout_task+0x1f8>
    transfer->dev = bdbuf_cache.sync_device;                          
ffc0de84:	81 5c 00 38 	lwz     r10,56(r28)                            
ffc0de88:	81 7c 00 3c 	lwz     r11,60(r28)                            
ffc0de8c:	91 5d 00 10 	stw     r10,16(r29)                            
ffc0de90:	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,            
ffc0de94:	3a 5d 00 10 	addi    r18,r29,16                             
ffc0de98:	7e 43 93 78 	mr      r3,r18                                 
ffc0de9c:	7e c4 b3 78 	mr      r4,r22                                 
ffc0dea0:	7f a5 eb 78 	mr      r5,r29                                 
ffc0dea4:	38 c0 00 01 	li      r6,1                                   
ffc0dea8:	38 e0 00 00 	li      r7,0                                   
ffc0deac:	7f 28 cb 78 	mr      r8,r25                                 
ffc0deb0:	4b ff ed 19 	bl      ffc0cbc8 <rtems_bdbuf_swapout_modified_processing>
                                           timer_delta);              
                                                                      
  /*                                                                  
   * Process the cache's modified list.                               
   */                                                                 
  rtems_bdbuf_swapout_modified_processing (&transfer->dev,            
ffc0deb4:	88 db 00 30 	lbz     r6,48(r27)                             
ffc0deb8:	7e 43 93 78 	mr      r3,r18                                 
ffc0debc:	7e e4 bb 78 	mr      r4,r23                                 
ffc0dec0:	7f a5 eb 78 	mr      r5,r29                                 
ffc0dec4:	7f 07 c3 78 	mr      r7,r24                                 
ffc0dec8:	7f 28 cb 78 	mr      r8,r25                                 
ffc0decc:	4b ff ec fd 	bl      ffc0cbc8 <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 ();                                        
ffc0ded0:	4b ff ee b1 	bl      ffc0cd80 <rtems_bdbuf_unlock_cache>    
                                                                      
  /*                                                                  
   * If there are buffers to transfer to the media transfer them.     
   */                                                                 
  if (!rtems_chain_is_empty (&transfer->bds))                         
ffc0ded4:	81 3d 00 00 	lwz     r9,0(r29)                              
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0ded8:	38 1d 00 04 	addi    r0,r29,4                               
ffc0dedc:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0dee0:	41 9e 00 38 	beq-    cr7,ffc0df18 <rtems_bdbuf_swapout_task+0x27c>
  {                                                                   
    if (worker)                                                       
ffc0dee4:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0dee8:	41 9e 00 24 	beq-    cr7,ffc0df0c <rtems_bdbuf_swapout_task+0x270><== ALWAYS TAKEN
    {                                                                 
      rtems_status_code sc = rtems_event_send (worker->id,            
ffc0deec:	80 7a 00 08 	lwz     r3,8(r26)                              <== NOT EXECUTED
ffc0def0:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc0def4:	4b ff a7 71 	bl      ffc08664 <rtems_event_send>            <== NOT EXECUTED
                                               RTEMS_BDBUF_SWAPOUT_SYNC);
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc0def8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc0defc:	41 be 00 24 	beq+    cr7,ffc0df20 <rtems_bdbuf_swapout_task+0x284><== NOT EXECUTED
        rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WAKE);
ffc0df00:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0df04:	60 63 00 14 	ori     r3,r3,20                               <== NOT EXECUTED
ffc0df08:	4b ff fe b8 	b       ffc0ddc0 <rtems_bdbuf_swapout_task+0x124><== NOT EXECUTED
    }                                                                 
    else                                                              
    {                                                                 
      rtems_bdbuf_swapout_write (transfer);                           
ffc0df0c:	7f a3 eb 78 	mr      r3,r29                                 
ffc0df10:	4b ff fb f9 	bl      ffc0db08 <rtems_bdbuf_swapout_write>   
ffc0df14:	48 00 00 0c 	b       ffc0df20 <rtems_bdbuf_swapout_task+0x284>
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;             
ffc0df18:	3b a0 00 00 	li      r29,0                                  
ffc0df1c:	48 00 00 08 	b       ffc0df24 <rtems_bdbuf_swapout_task+0x288>
    else                                                              
    {                                                                 
      rtems_bdbuf_swapout_write (transfer);                           
    }                                                                 
                                                                      
    transfered_buffers = true;                                        
ffc0df20:	3b a0 00 01 	li      r29,1                                  
  }                                                                   
                                                                      
  if (bdbuf_cache.sync_active && !transfered_buffers)                 
ffc0df24:	88 1c 00 30 	lbz     r0,48(r28)                             
ffc0df28:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0df2c:	2f 00 00 00 	cmpwi   cr6,r0,0                               
ffc0df30:	41 9a 00 34 	beq-    cr6,ffc0df64 <rtems_bdbuf_swapout_task+0x2c8>
ffc0df34:	40 9e fe ec 	bne+    cr7,ffc0de20 <rtems_bdbuf_swapout_task+0x184>
  {                                                                   
    rtems_id sync_requester;                                          
    rtems_bdbuf_lock_cache ();                                        
ffc0df38:	4b ff eb f1 	bl      ffc0cb28 <rtems_bdbuf_lock_cache>      
    sync_requester = bdbuf_cache.sync_requester;                      
ffc0df3c:	83 5b 00 34 	lwz     r26,52(r27)                            
    bdbuf_cache.sync_active = false;                                  
ffc0df40:	9b bb 00 30 	stb     r29,48(r27)                            
    bdbuf_cache.sync_requester = 0;                                   
ffc0df44:	93 bb 00 34 	stw     r29,52(r27)                            
    rtems_bdbuf_unlock_cache ();                                      
ffc0df48:	4b ff ee 39 	bl      ffc0cd80 <rtems_bdbuf_unlock_cache>    
    if (sync_requester)                                               
ffc0df4c:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0df50:	41 be 00 18 	beq+    cr7,ffc0df68 <rtems_bdbuf_swapout_task+0x2cc><== NEVER TAKEN
      rtems_event_send (sync_requester, RTEMS_BDBUF_TRANSFER_SYNC);   
ffc0df54:	7f 43 d3 78 	mr      r3,r26                                 
ffc0df58:	38 80 00 02 	li      r4,2                                   
ffc0df5c:	4b ff a7 09 	bl      ffc08664 <rtems_event_send>            
ffc0df60:	48 00 00 08 	b       ffc0df68 <rtems_bdbuf_swapout_task+0x2cc>
      /*                                                              
       * 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,                
ffc0df64:	40 be fe bc 	bne-    cr7,ffc0de20 <rtems_bdbuf_swapout_task+0x184>
       */                                                             
      update_timers = false;                                          
    }                                                                 
    while (transfered_buffers);                                       
                                                                      
    sc = rtems_event_receive (RTEMS_BDBUF_SWAPOUT_SYNC,               
ffc0df68:	38 60 00 04 	li      r3,4                                   
ffc0df6c:	38 80 00 00 	li      r4,0                                   
ffc0df70:	7e a5 ab 78 	mr      r5,r21                                 
ffc0df74:	38 c1 00 08 	addi    r6,r1,8                                
ffc0df78:	4b ff a5 51 	bl      ffc084c8 <rtems_event_receive>         
                              RTEMS_EVENT_ALL | RTEMS_WAIT,           
                              period_in_ticks,                        
                              &out);                                  
                                                                      
    if ((sc != RTEMS_SUCCESSFUL) && (sc != RTEMS_TIMEOUT))            
ffc0df7c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0df80:	41 82 00 18 	beq-    ffc0df98 <rtems_bdbuf_swapout_task+0x2fc>
ffc0df84:	2f 83 00 06 	cmpwi   cr7,r3,6                               
ffc0df88:	41 be 00 10 	beq+    cr7,ffc0df98 <rtems_bdbuf_swapout_task+0x2fc><== ALWAYS TAKEN
      rtems_fatal_error_occurred (BLKDEV_FATAL_BDBUF_SWAPOUT_RE);     
ffc0df8c:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0df90:	60 63 00 18 	ori     r3,r3,24                               <== NOT EXECUTED
ffc0df94:	4b ff fe 2c 	b       ffc0ddc0 <rtems_bdbuf_swapout_task+0x124><== NOT EXECUTED
  /*                                                                  
   * Create the worker threads.                                       
   */                                                                 
  rtems_bdbuf_swapout_workers_open ();                                
                                                                      
  while (bdbuf_cache.swapout_enabled)                                 
ffc0df98:	88 1c 00 04 	lbz     r0,4(r28)                              
ffc0df9c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0dfa0:	40 9e fe 88 	bne+    cr7,ffc0de28 <rtems_bdbuf_swapout_task+0x18c><== ALWAYS TAKEN
static void                                                           
rtems_bdbuf_swapout_workers_close (void)                              
{                                                                     
  rtems_chain_node* node;                                             
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc0dfa4:	4b ff eb 85 	bl      ffc0cb28 <rtems_bdbuf_lock_cache>      <== NOT EXECUTED
                                                                      
  node = rtems_chain_first (&bdbuf_cache.swapout_workers);            
  while (!rtems_chain_is_tail (&bdbuf_cache.swapout_workers, node))   
  {                                                                   
    rtems_bdbuf_swapout_worker* worker = (rtems_bdbuf_swapout_worker*) node;
    worker->enabled = false;                                          
ffc0dfa8:	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;                              
ffc0dfac:	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;                                       
ffc0dfb0:	3b 9c 00 0c 	addi    r28,r28,12                             <== NOT EXECUTED
ffc0dfb4:	48 00 00 18 	b       ffc0dfcc <rtems_bdbuf_swapout_task+0x330><== NOT EXECUTED
ffc0dfb8:	9b be 00 0c 	stb     r29,12(r30)                            <== NOT EXECUTED
    rtems_event_send (worker->id, RTEMS_BDBUF_SWAPOUT_SYNC);          
ffc0dfbc:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc0dfc0:	80 7e 00 08 	lwz     r3,8(r30)                              <== NOT EXECUTED
ffc0dfc4:	4b ff a6 a1 	bl      ffc08664 <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);           
}                                                                     
ffc0dfc8:	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))   
ffc0dfcc:	7f 9e e0 00 	cmpw    cr7,r30,r28                            <== NOT EXECUTED
ffc0dfd0:	40 9e ff e8 	bne+    cr7,ffc0dfb8 <rtems_bdbuf_swapout_task+0x31c><== NOT EXECUTED
    worker->enabled = false;                                          
    rtems_event_send (worker->id, RTEMS_BDBUF_SWAPOUT_SYNC);          
    node = rtems_chain_next (node);                                   
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc0dfd4:	4b ff ed ad 	bl      ffc0cd80 <rtems_bdbuf_unlock_cache>    <== NOT EXECUTED
      rtems_fatal_error_occurred (BLKDEV_FATAL_BDBUF_SWAPOUT_RE);     
  }                                                                   
                                                                      
  rtems_bdbuf_swapout_workers_close ();                               
                                                                      
  free (transfer.write_req);                                          
ffc0dfd8:	80 61 00 2c 	lwz     r3,44(r1)                              <== NOT EXECUTED
ffc0dfdc:	4b ff 72 95 	bl      ffc05270 <free>                        <== NOT EXECUTED
                                                                      
  rtems_task_delete (RTEMS_SELF);                                     
ffc0dfe0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc0dfe4:	4b ff ae 59 	bl      ffc08e3c <rtems_task_delete>           <== NOT EXECUTED
}                                                                     
ffc0dfe8:	39 61 00 70 	addi    r11,r1,112                             <== NOT EXECUTED
ffc0dfec:	48 00 a5 c8 	b       ffc185b4 <_restgpr_18_x>               <== NOT EXECUTED
                                                                      

ffc0dff0 <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) {
ffc0dff0:	94 21 ff d8 	stwu    r1,-40(r1)                             <== NOT EXECUTED
ffc0dff4:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc0dff8:	bf 21 00 0c 	stmw    r25,12(r1)                             <== NOT EXECUTED
    rtems_bdbuf_lock_cache ();                                        
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dev = BDBUF_INVALID_DEV;                         
                                                                      
    rtems_chain_append (&bdbuf_cache.swapout_workers, &worker->link); 
ffc0dffc:	3f 60 00 00 	lis     r27,0                                  <== NOT EXECUTED
ffc0e000:	3b 7b 29 90 	addi    r27,r27,10640                          <== 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)             
{                                                                     
ffc0e004:	90 01 00 2c 	stw     r0,44(r1)                              <== NOT EXECUTED
ffc0e008:	7c 7d 1b 78 	mr      r29,r3                                 <== NOT EXECUTED
                                                                      
  while (worker->enabled)                                             
  {                                                                   
    rtems_bdbuf_wait_for_event (RTEMS_BDBUF_SWAPOUT_SYNC);            
                                                                      
    rtems_bdbuf_swapout_write (&worker->transfer);                    
ffc0e00c:	3b 83 00 10 	addi    r28,r3,16                              <== 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 );                        
ffc0e010:	3b 23 00 14 	addi    r25,r3,20                              <== NOT EXECUTED
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc0e014:	3b 40 00 00 	li      r26,0                                  <== NOT EXECUTED
                                                                      
    rtems_bdbuf_lock_cache ();                                        
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dev = BDBUF_INVALID_DEV;                         
ffc0e018:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc0e01c:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
                                                                      
    rtems_chain_append (&bdbuf_cache.swapout_workers, &worker->link); 
ffc0e020:	3b 7b 00 08 	addi    r27,r27,8                              <== 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)                                             
ffc0e024:	48 00 00 3c 	b       ffc0e060 <rtems_bdbuf_swapout_worker_task+0x70><== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_wait_for_event (RTEMS_BDBUF_SWAPOUT_SYNC);            
ffc0e028:	38 60 00 04 	li      r3,4                                   <== NOT EXECUTED
ffc0e02c:	4b ff ee 6d 	bl      ffc0ce98 <rtems_bdbuf_wait_for_event>  <== NOT EXECUTED
                                                                      
    rtems_bdbuf_swapout_write (&worker->transfer);                    
ffc0e030:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc0e034:	4b ff fa d5 	bl      ffc0db08 <rtems_bdbuf_swapout_write>   <== NOT EXECUTED
                                                                      
    rtems_bdbuf_lock_cache ();                                        
ffc0e038:	4b ff ea f1 	bl      ffc0cb28 <rtems_bdbuf_lock_cache>      <== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0e03c:	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 );                               
ffc0e040:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
  head->previous = NULL;                                              
ffc0e044:	93 5d 00 14 	stw     r26,20(r29)                            <== NOT EXECUTED
ffc0e048:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
  tail->previous = head;                                              
ffc0e04c:	93 9d 00 18 	stw     r28,24(r29)                            <== NOT EXECUTED
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dev = BDBUF_INVALID_DEV;                         
ffc0e050:	93 dd 00 20 	stw     r30,32(r29)                            <== NOT EXECUTED
ffc0e054:	93 fd 00 24 	stw     r31,36(r29)                            <== NOT EXECUTED
ffc0e058:	4b ff b7 a9 	bl      ffc09800 <_Chain_Append>               <== NOT EXECUTED
                                                                      
    rtems_chain_append (&bdbuf_cache.swapout_workers, &worker->link); 
                                                                      
    rtems_bdbuf_unlock_cache ();                                      
ffc0e05c:	4b ff ed 25 	bl      ffc0cd80 <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)                                             
ffc0e060:	88 1d 00 0c 	lbz     r0,12(r29)                             <== NOT EXECUTED
ffc0e064:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc0e068:	40 9e ff c0 	bne+    cr7,ffc0e028 <rtems_bdbuf_swapout_worker_task+0x38><== NOT EXECUTED
    rtems_chain_append (&bdbuf_cache.swapout_workers, &worker->link); 
                                                                      
    rtems_bdbuf_unlock_cache ();                                      
  }                                                                   
                                                                      
  free (worker->transfer.write_req);                                  
ffc0e06c:	80 7d 00 2c 	lwz     r3,44(r29)                             <== NOT EXECUTED
ffc0e070:	4b ff 72 01 	bl      ffc05270 <free>                        <== NOT EXECUTED
  free (worker);                                                      
ffc0e074:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc0e078:	4b ff 71 f9 	bl      ffc05270 <free>                        <== NOT EXECUTED
                                                                      
  rtems_task_delete (RTEMS_SELF);                                     
ffc0e07c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc0e080:	4b ff ad bd 	bl      ffc08e3c <rtems_task_delete>           <== NOT EXECUTED
}                                                                     
ffc0e084:	39 61 00 28 	addi    r11,r1,40                              <== NOT EXECUTED
ffc0e088:	48 00 a5 48 	b       ffc185d0 <_restgpr_25_x>               <== NOT EXECUTED
                                                                      

ffc0db08 <rtems_bdbuf_swapout_write>: * * @param transfer The transfer transaction. */ static void rtems_bdbuf_swapout_write (rtems_bdbuf_swapout_transfer* transfer) {
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)                              
    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))                         
ffc0db14:	80 03 00 00 	lwz     r0,0(r3)                               
 *                                                                    
 * @param transfer The transfer transaction.                          
 */                                                                   
static void                                                           
rtems_bdbuf_swapout_write (rtems_bdbuf_swapout_transfer* transfer)    
{                                                                     
ffc0db18:	bf 01 00 08 	stmw    r24,8(r1)                              
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0db1c:	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))                         
ffc0db20:	7f 80 e0 00 	cmpw    cr7,r0,r28                             
 *                                                                    
 * @param transfer The transfer transaction.                          
 */                                                                   
static void                                                           
rtems_bdbuf_swapout_write (rtems_bdbuf_swapout_transfer* transfer)    
{                                                                     
ffc0db24:	7c 7f 1b 78 	mr      r31,r3                                 
    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))                         
ffc0db28:	41 9e 01 6c 	beq-    cr7,ffc0dc94 <rtems_bdbuf_swapout_write+0x18c><== 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);        
ffc0db2c:	80 63 00 10 	lwz     r3,16(r3)                              
ffc0db30:	80 9f 00 14 	lwz     r4,20(r31)                             
ffc0db34:	4b ff 69 d1 	bl      ffc04504 <rtems_disk_obtain>           
                                                                      
    if (dd == NULL)                                                   
ffc0db38:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc0db3c:	40 a2 00 0c 	bne+    ffc0db48 <rtems_bdbuf_swapout_write+0x40>
      dd = &null_disk;                                                
ffc0db40:	3f c0 00 00 	lis     r30,0                                  
ffc0db44:	3b de 21 a0 	addi    r30,r30,8608                           
                                                                      
    bufs_per_bd = dd->block_size / bdbuf_config.buffer_min;           
ffc0db48:	3f 60 ff c2 	lis     r27,-62                                
ffc0db4c:	83 1e 00 20 	lwz     r24,32(r30)                            
ffc0db50:	39 3b 93 94 	addi    r9,r27,-27756                          
ffc0db54:	80 09 00 20 	lwz     r0,32(r9)                              
  {                                                                   
    /*                                                                
     * The last block number used when the driver only supports       
     * continuous blocks in a single request.                         
     */                                                               
    uint32_t last_block = 0;                                          
ffc0db58:	3b a0 00 00 	li      r29,0                                  
     * 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;              
ffc0db5c:	81 3f 00 1c 	lwz     r9,28(r31)                             
    transfer->write_req->bufnum = 0;                                  
                                                                      
    while ((node = rtems_chain_get(&transfer->bds)) != NULL)          
    {                                                                 
      rtems_bdbuf_buffer* bd = (rtems_bdbuf_buffer*) node;            
      bool                write = false;                              
ffc0db60:	3b 20 00 00 	li      r25,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;           
ffc0db64:	7f 18 03 96 	divwu   r24,r24,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;              
ffc0db68:	38 00 00 0c 	li      r0,12                                  
ffc0db6c:	90 09 00 0c 	stw     r0,12(r9)                              
    transfer->write_req->bufnum = 0;                                  
ffc0db70:	38 00 00 00 	li      r0,0                                   
                                                                      
      if (write)                                                      
      {                                                               
        rtems_bdbuf_execute_transfer_request (dd, transfer->write_req, false);
                                                                      
        transfer->write_req->status = RTEMS_RESOURCE_IN_USE;          
ffc0db74:	3b 40 00 0c 	li      r26,12                                 
     * 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;                                  
ffc0db78:	90 09 00 10 	stw     r0,16(r9)                              
                                                                      
    while ((node = rtems_chain_get(&transfer->bds)) != NULL)          
ffc0db7c:	48 00 00 c0 	b       ffc0dc3c <rtems_bdbuf_swapout_write+0x134>
        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) &&
ffc0db80:	81 3e 00 08 	lwz     r9,8(r30)                              
ffc0db84:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc0db88:	70 09 00 01 	andi.   r9,r0,1                                
ffc0db8c:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc0db90:	41 82 00 30 	beq-    ffc0dbc0 <rtems_bdbuf_swapout_write+0xb8><== ALWAYS TAKEN
ffc0db94:	80 09 00 10 	lwz     r0,16(r9)                              <== NOT EXECUTED
ffc0db98:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc0db9c:	41 9e 00 24 	beq-    cr7,ffc0dbc0 <rtems_bdbuf_swapout_write+0xb8><== NOT EXECUTED
          transfer->write_req->bufnum &&                              
ffc0dba0:	81 64 00 20 	lwz     r11,32(r4)                             <== NOT EXECUTED
          (bd->block != (last_block + bufs_per_bd)))                  
ffc0dba4:	7c 1d c2 14 	add     r0,r29,r24                             <== 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 &&                              
ffc0dba8:	7f 8b 00 00 	cmpw    cr7,r11,r0                             <== NOT EXECUTED
ffc0dbac:	41 9e 00 14 	beq-    cr7,ffc0dbc0 <rtems_bdbuf_swapout_write+0xb8><== NOT EXECUTED
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
ffc0dbb0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0dbb4:	48 00 39 e5 	bl      ffc11598 <_Chain_Insert>               <== NOT EXECUTED
          (bd->block != (last_block + bufs_per_bd)))                  
      {                                                               
        rtems_chain_prepend (&transfer->bds, &bd->link);              
        write = true;                                                 
ffc0dbb8:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0dbbc:	48 00 00 38 	b       ffc0dbf4 <rtems_bdbuf_swapout_write+0xec><== NOT EXECUTED
      }                                                               
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
ffc0dbc0:	81 69 00 10 	lwz     r11,16(r9)                             
        transfer->write_req->bufnum++;                                
        buf->user   = bd;                                             
        buf->block  = bd->block;                                      
ffc0dbc4:	83 a4 00 20 	lwz     r29,32(r4)                             
        write = true;                                                 
      }                                                               
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
ffc0dbc8:	38 0b 00 01 	addi    r0,r11,1                               
        transfer->write_req->bufnum++;                                
ffc0dbcc:	90 09 00 10 	stw     r0,16(r9)                              
        write = true;                                                 
      }                                                               
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
ffc0dbd0:	54 0a 20 36 	rlwinm  r10,r0,4,0,27                          
ffc0dbd4:	7d 49 52 14 	add     r10,r9,r10                             
        transfer->write_req->bufnum++;                                
        buf->user   = bd;                                             
        buf->block  = bd->block;                                      
        buf->length = dd->block_size;                                 
ffc0dbd8:	80 1e 00 20 	lwz     r0,32(r30)                             
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
        transfer->write_req->bufnum++;                                
        buf->user   = bd;                                             
ffc0dbdc:	90 8a 00 14 	stw     r4,20(r10)                             
        buf->block  = bd->block;                                      
        buf->length = dd->block_size;                                 
ffc0dbe0:	90 0a 00 0c 	stw     r0,12(r10)                             
        buf->buffer = bd->buffer;                                     
ffc0dbe4:	80 04 00 24 	lwz     r0,36(r4)                              
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
        transfer->write_req->bufnum++;                                
        buf->user   = bd;                                             
        buf->block  = bd->block;                                      
ffc0dbe8:	93 aa 00 08 	stw     r29,8(r10)                             
        buf->length = dd->block_size;                                 
        buf->buffer = bd->buffer;                                     
ffc0dbec:	90 0a 00 10 	stw     r0,16(r10)                             
    transfer->write_req->bufnum = 0;                                  
                                                                      
    while ((node = rtems_chain_get(&transfer->bds)) != NULL)          
    {                                                                 
      rtems_bdbuf_buffer* bd = (rtems_bdbuf_buffer*) node;            
      bool                write = false;                              
ffc0dbf0:	38 00 00 00 	li      r0,0                                   
      /*                                                              
       * 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) ||                    
ffc0dbf4:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc0dbf8:	7f 89 e0 00 	cmpw    cr7,r9,r28                             
ffc0dbfc:	41 9e 00 24 	beq-    cr7,ffc0dc20 <rtems_bdbuf_swapout_write+0x118>
          (transfer->write_req->bufnum >= bdbuf_config.max_write_blocks))
ffc0dc00:	81 7f 00 1c 	lwz     r11,28(r31)                            
ffc0dc04:	39 3b 93 94 	addi    r9,r27,-27756                          
      /*                                                              
       * 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) ||                    
ffc0dc08:	81 29 00 04 	lwz     r9,4(r9)                               
ffc0dc0c:	81 6b 00 10 	lwz     r11,16(r11)                            
ffc0dc10:	7f 8b 48 40 	cmplw   cr7,r11,r9                             
ffc0dc14:	40 9c 00 0c 	bge-    cr7,ffc0dc20 <rtems_bdbuf_swapout_write+0x118>
          (transfer->write_req->bufnum >= bdbuf_config.max_write_blocks))
        write = true;                                                 
                                                                      
      if (write)                                                      
ffc0dc18:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0dc1c:	41 be 00 20 	beq+    cr7,ffc0dc3c <rtems_bdbuf_swapout_write+0x134><== ALWAYS TAKEN
      {                                                               
        rtems_bdbuf_execute_transfer_request (dd, transfer->write_req, false);
ffc0dc20:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc0dc24:	7f c3 f3 78 	mr      r3,r30                                 
ffc0dc28:	38 a0 00 00 	li      r5,0                                   
ffc0dc2c:	4b ff fd 5d 	bl      ffc0d988 <rtems_bdbuf_execute_transfer_request>
                                                                      
        transfer->write_req->status = RTEMS_RESOURCE_IN_USE;          
ffc0dc30:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc0dc34:	93 49 00 0c 	stw     r26,12(r9)                             
        transfer->write_req->bufnum = 0;                              
ffc0dc38:	93 29 00 10 	stw     r25,16(r9)                             
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc0dc3c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0dc40:	4b ff bc 19 	bl      ffc09858 <_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)          
ffc0dc44:	7c 64 1b 79 	mr.     r4,r3                                  
ffc0dc48:	40 82 ff 38 	bne+    ffc0db80 <rtems_bdbuf_swapout_write+0x78>
        transfer->write_req->status = RTEMS_RESOURCE_IN_USE;          
        transfer->write_req->bufnum = 0;                              
      }                                                               
    }                                                                 
                                                                      
    if (dd != &null_disk)                                             
ffc0dc4c:	3d 20 00 00 	lis     r9,0                                   
ffc0dc50:	38 09 21 a0 	addi    r0,r9,8608                             
ffc0dc54:	7f 9e 00 00 	cmpw    cr7,r30,r0                             
ffc0dc58:	41 9e 00 3c 	beq-    cr7,ffc0dc94 <rtems_bdbuf_swapout_write+0x18c><== NEVER TAKEN
    {                                                                 
      /*                                                              
       * If sync'ing and the deivce is capability of handling a sync IO control
       * call perform the call.                                       
       */                                                             
      if (transfer->syncing &&                                        
ffc0dc5c:	88 1f 00 18 	lbz     r0,24(r31)                             
ffc0dc60:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0dc64:	41 9e 00 28 	beq-    cr7,ffc0dc8c <rtems_bdbuf_swapout_write+0x184>
          (dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_SYNC))       
ffc0dc68:	80 7e 00 08 	lwz     r3,8(r30)                              
ffc0dc6c:	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 &&                                        
ffc0dc70:	70 09 00 02 	andi.   r9,r0,2                                
ffc0dc74:	41 a2 00 18 	beq+    ffc0dc8c <rtems_bdbuf_swapout_write+0x184><== ALWAYS TAKEN
          (dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_SYNC))       
      {                                                               
        /* int result = */ dd->ioctl (dd->phys_dev, RTEMS_BLKDEV_REQ_SYNC, NULL);
ffc0dc78:	80 1e 00 28 	lwz     r0,40(r30)                             <== NOT EXECUTED
ffc0dc7c:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
ffc0dc80:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc0dc84:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc0dc88:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
        /* How should the error be handled ? */                       
      }                                                               
                                                                      
      rtems_disk_release (dd);                                        
ffc0dc8c:	7f c3 f3 78 	mr      r3,r30                                 
ffc0dc90:	4b ff 68 f9 	bl      ffc04588 <rtems_disk_release>          
    }                                                                 
  }                                                                   
}                                                                     
ffc0dc94:	39 61 00 28 	addi    r11,r1,40                              
ffc0dc98:	48 00 a9 34 	b       ffc185cc <_restgpr_24_x>               
                                                                      

ffc0d064 <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)));
ffc0d064:	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)                             
{                                                                     
ffc0d068:	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)));
ffc0d06c:	80 69 93 98 	lwz     r3,-27752(r9)                          
 *                                                                    
 * @return rtems_blkdev_request* The write reference memory.          
 */                                                                   
static rtems_blkdev_request*                                          
rtems_bdbuf_swapout_writereq_alloc (void)                             
{                                                                     
ffc0d070:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0d074:	94 21 ff f0 	stwu    r1,-16(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)));
ffc0d078:	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 =                                   
ffc0d07c:	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)                             
{                                                                     
ffc0d080:	48 00 b5 1d 	bl      ffc1859c <_savegpr_31>                 
ffc0d084:	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 =                                   
ffc0d088:	4b ff 85 91 	bl      ffc05618 <malloc>                      
    malloc (sizeof (rtems_blkdev_request) +                           
            (bdbuf_config.max_write_blocks * sizeof (rtems_blkdev_sg_buffer)));
                                                                      
  if (!write_req)                                                     
ffc0d08c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc0d090:	40 a2 00 10 	bne+    ffc0d0a0 <rtems_bdbuf_swapout_writereq_alloc+0x3c><== ALWAYS TAKEN
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM);   
ffc0d094:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0d098:	60 63 00 15 	ori     r3,r3,21                               <== NOT EXECUTED
ffc0d09c:	4b ff c2 05 	bl      ffc092a0 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      
  write_req->req = RTEMS_BLKDEV_REQ_WRITE;                            
ffc0d0a0:	38 00 00 01 	li      r0,1                                   
  write_req->req_done = rtems_bdbuf_transfer_done;                    
  write_req->done_arg = write_req;                                    
ffc0d0a4:	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;                    
ffc0d0a8:	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;                            
ffc0d0ac:	90 1f 00 00 	stw     r0,0(r31)                              
  write_req->req_done = rtems_bdbuf_transfer_done;                    
ffc0d0b0:	38 09 ce 6c 	addi    r0,r9,-12692                           
ffc0d0b4:	90 1f 00 04 	stw     r0,4(r31)                              
  write_req->done_arg = write_req;                                    
  write_req->io_task = rtems_task_self ();                            
ffc0d0b8:	48 00 41 39 	bl      ffc111f0 <rtems_task_self>             
                                                                      
  return write_req;                                                   
}                                                                     
ffc0d0bc:	39 61 00 10 	addi    r11,r1,16                              
    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 ();                            
ffc0d0c0:	90 7f 00 14 	stw     r3,20(r31)                             
                                                                      
  return write_req;                                                   
}                                                                     
ffc0d0c4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d0c8:	48 00 b5 20 	b       ffc185e8 <_restgpr_31_x>               
                                                                      

ffc0eee0 <rtems_bdbuf_sync>: rtems_status_code rtems_bdbuf_sync (rtems_bdbuf_buffer *bd) {
ffc0eee0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0eee4:	7c 08 02 a6 	mflr    r0                                     
ffc0eee8:	bf c1 00 08 	stmw    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)                                       
ffc0eeec:	3f c0 00 00 	lis     r30,0                                  
ffc0eef0:	3b de 29 90 	addi    r30,r30,10640                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_sync (rtems_bdbuf_buffer *bd)                             
{                                                                     
ffc0eef4:	90 01 00 14 	stw     r0,20(r1)                              
ffc0eef8:	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)                                       
    return RTEMS_NOT_CONFIGURED;                                      
ffc0eefc:	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)                                       
ffc0ef00:	88 1e 00 88 	lbz     r0,136(r30)                            
ffc0ef04:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ef08:	41 9e 01 38 	beq-    cr7,ffc0f040 <rtems_bdbuf_sync+0x160>  <== NEVER TAKEN
    return RTEMS_NOT_CONFIGURED;                                      
  if (bd == NULL)                                                     
ffc0ef0c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0ef10:	41 9e 00 28 	beq-    cr7,ffc0ef38 <rtems_bdbuf_sync+0x58>   <== NEVER TAKEN
  if (rtems_bdbuf_tracer)                                             
  {                                                                   
    printf ("bdbuf:%s: %" PRIu32 "\n", kind, bd->block);              
    rtems_bdbuf_show_users (kind, bd);                                
  }                                                                   
  rtems_bdbuf_lock_cache();                                           
ffc0ef14:	4b ff dc 15 	bl      ffc0cb28 <rtems_bdbuf_lock_cache>      
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "sync");              
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
ffc0ef18:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc0ef1c:	2b 80 00 03 	cmplwi  cr7,r0,3                               
ffc0ef20:	41 9c 01 08 	blt-    cr7,ffc0f028 <rtems_bdbuf_sync+0x148>  <== NEVER TAKEN
ffc0ef24:	2b 80 00 05 	cmplwi  cr7,r0,5                               
ffc0ef28:	40 9d 00 18 	ble-    cr7,ffc0ef40 <rtems_bdbuf_sync+0x60>   
ffc0ef2c:	2f 80 00 06 	cmpwi   cr7,r0,6                               
ffc0ef30:	40 be 00 f8 	bne+    cr7,ffc0f028 <rtems_bdbuf_sync+0x148>  <== NEVER TAKEN
ffc0ef34:	48 00 00 e8 	b       ffc0f01c <rtems_bdbuf_sync+0x13c>      
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;                                     
ffc0ef38:	38 60 00 09 	li      r3,9                                   <== NOT EXECUTED
ffc0ef3c:	48 00 01 04 	b       ffc0f040 <rtems_bdbuf_sync+0x160>      <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0ef40:	38 00 00 08 	li      r0,8                                   
ffc0ef44:	90 1f 00 28 	stw     r0,40(r31)                             
ffc0ef48:	38 7e 00 5c 	addi    r3,r30,92                              
ffc0ef4c:	7f e4 fb 78 	mr      r4,r31                                 
ffc0ef50:	4b ff a8 b1 	bl      ffc09800 <_Chain_Append>               
{                                                                     
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_SYNC);                 
                                                                      
  rtems_chain_append (&bdbuf_cache.sync, &bd->link);                  
                                                                      
  if (bd->waiters)                                                    
ffc0ef54:	80 1f 00 2c 	lwz     r0,44(r31)                             
ffc0ef58:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ef5c:	41 be 00 0c 	beq+    cr7,ffc0ef68 <rtems_bdbuf_sync+0x88>   
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
ffc0ef60:	38 7e 00 68 	addi    r3,r30,104                             
ffc0ef64:	4b ff e1 cd 	bl      ffc0d130 <rtems_bdbuf_wake>            
      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);         
ffc0ef68:	3f c0 00 00 	lis     r30,0                                  
  rtems_chain_append (&bdbuf_cache.sync, &bd->link);                  
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
                                                                      
  rtems_bdbuf_wake_swapper ();                                        
ffc0ef6c:	4b ff de c1 	bl      ffc0ce2c <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);         
ffc0ef70:	3b de 29 90 	addi    r30,r30,10640                          
ffc0ef74:	3b de 00 70 	addi    r30,r30,112                            
static void                                                           
rtems_bdbuf_wait_for_sync_done (rtems_bdbuf_buffer *bd)               
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc0ef78:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc0ef7c:	2b 80 00 01 	cmplwi  cr7,r0,1                               
ffc0ef80:	41 9c 00 24 	blt-    cr7,ffc0efa4 <rtems_bdbuf_sync+0xc4>   <== NEVER TAKEN
ffc0ef84:	2b 80 00 07 	cmplwi  cr7,r0,7                               
ffc0ef88:	40 9d 00 2c 	ble-    cr7,ffc0efb4 <rtems_bdbuf_sync+0xd4>   
ffc0ef8c:	2b 80 00 0a 	cmplwi  cr7,r0,10                              
ffc0ef90:	41 9d 00 14 	bgt-    cr7,ffc0efa4 <rtems_bdbuf_sync+0xc4>   <== 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);         
ffc0ef94:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ef98:	7f c4 f3 78 	mr      r4,r30                                 
ffc0ef9c:	4b ff e0 69 	bl      ffc0d004 <rtems_bdbuf_wait>            
ffc0efa0:	4b ff ff d8 	b       ffc0ef78 <rtems_bdbuf_sync+0x98>       
        break;                                                        
      default:                                                        
        rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_9);
ffc0efa4:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc0efa8:	80 7f 00 28 	lwz     r3,40(r31)                             <== NOT EXECUTED
ffc0efac:	60 84 00 07 	ori     r4,r4,7                                <== NOT EXECUTED
ffc0efb0:	48 00 00 84 	b       ffc0f034 <rtems_bdbuf_sync+0x154>      <== NOT EXECUTED
  rtems_bdbuf_wait_for_sync_done (bd);                                
                                                                      
  /*                                                                  
   * We may have created a cached or empty buffer which may be recycled.
   */                                                                 
  if (bd->waiters == 0                                                
ffc0efb4:	80 1f 00 2c 	lwz     r0,44(r31)                             
ffc0efb8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0efbc:	40 9e 00 7c 	bne-    cr7,ffc0f038 <rtems_bdbuf_sync+0x158>  
        && (bd->state == RTEMS_BDBUF_STATE_CACHED                     
ffc0efc0:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc0efc4:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0efc8:	41 9e 00 10 	beq-    cr7,ffc0efd8 <rtems_bdbuf_sync+0xf8>   
          || bd->state == RTEMS_BDBUF_STATE_EMPTY))                   
ffc0efcc:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc0efd0:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0efd4:	40 be 00 64 	bne+    cr7,ffc0f038 <rtems_bdbuf_sync+0x158>  <== NEVER TAKEN
  {                                                                   
    if (bd->state == RTEMS_BDBUF_STATE_EMPTY)                         
ffc0efd8:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc0efdc:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0efe0:	40 be 00 28 	bne+    cr7,ffc0f008 <rtems_bdbuf_sync+0x128>  
    {                                                                 
      rtems_bdbuf_remove_from_tree (bd);                              
ffc0efe4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0efe8:	4b ff e3 65 	bl      ffc0d34c <rtems_bdbuf_remove_from_tree>
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0efec:	38 00 00 00 	li      r0,0                                   
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
ffc0eff0:	3c 60 00 00 	lis     r3,0                                   
ffc0eff4:	90 1f 00 28 	stw     r0,40(r31)                             
ffc0eff8:	38 63 29 90 	addi    r3,r3,10640                            
ffc0effc:	38 63 00 44 	addi    r3,r3,68                               
ffc0f000:	7f e4 fb 78 	mr      r4,r31                                 
ffc0f004:	48 00 25 95 	bl      ffc11598 <_Chain_Insert>               
    if (bd->state == RTEMS_BDBUF_STATE_EMPTY)                         
    {                                                                 
      rtems_bdbuf_remove_from_tree (bd);                              
      rtems_bdbuf_make_free_and_add_to_lru_list (bd);                 
    }                                                                 
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
ffc0f008:	3c 60 00 00 	lis     r3,0                                   
ffc0f00c:	38 63 29 90 	addi    r3,r3,10640                            
ffc0f010:	38 63 00 78 	addi    r3,r3,120                              
ffc0f014:	4b ff e1 1d 	bl      ffc0d130 <rtems_bdbuf_wake>            
ffc0f018:	48 00 00 20 	b       ffc0f038 <rtems_bdbuf_sync+0x158>      
    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);                   
ffc0f01c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0f020:	4b ff e7 11 	bl      ffc0d730 <rtems_bdbuf_discard_buffer_after_access>
      break;                                                          
ffc0f024:	48 00 00 14 	b       ffc0f038 <rtems_bdbuf_sync+0x158>      
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_5);
ffc0f028:	3c 80 42 00 	lis     r4,16896                               <== NOT EXECUTED
ffc0f02c:	80 7f 00 28 	lwz     r3,40(r31)                             <== NOT EXECUTED
ffc0f030:	60 84 00 03 	ori     r4,r4,3                                <== NOT EXECUTED
ffc0f034:	4b ff db 7d 	bl      ffc0cbb0 <rtems_bdbuf_fatal>           <== NOT EXECUTED
  }                                                                   
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc0f038:	4b ff dd 49 	bl      ffc0cd80 <rtems_bdbuf_unlock_cache>    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0f03c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0f040:	39 61 00 10 	addi    r11,r1,16                              
ffc0f044:	48 00 95 a0 	b       ffc185e4 <_restgpr_30_x>               
                                                                      

ffc0f048 <rtems_bdbuf_syncdev>: rtems_status_code rtems_bdbuf_syncdev (dev_t dev) {
ffc0f048:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0f04c:	7c 08 02 a6 	mflr    r0                                     
ffc0f050:	bf 81 00 18 	stmw    r28,24(r1)                             
                         rtems_blkdev_bnum  *media_block_ptr,         
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
ffc0f054:	3f a0 00 00 	lis     r29,0                                  
ffc0f058:	3b bd 29 90 	addi    r29,r29,10640                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_syncdev (dev_t dev)                                       
{                                                                     
ffc0f05c:	90 01 00 2c 	stw     r0,44(r1)                              
  rtems_status_code  sc = RTEMS_SUCCESSFUL;                           
  rtems_disk_device *dd = NULL;                                       
ffc0f060:	38 00 00 00 	li      r0,0                                   
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_syncdev (dev_t dev)                                       
{                                                                     
ffc0f064:	7c 9f 23 78 	mr      r31,r4                                 
  rtems_status_code  sc = RTEMS_SUCCESSFUL;                           
  rtems_disk_device *dd = NULL;                                       
ffc0f068:	90 01 00 08 	stw     r0,8(r1)                               
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_syncdev (dev_t dev)                                       
{                                                                     
ffc0f06c:	7c 7e 1b 78 	mr      r30,r3                                 
                         size_t             *bds_per_group_ptr)       
{                                                                     
  rtems_disk_device *dd = NULL;                                       
                                                                      
  if (!bdbuf_cache.initialised)                                       
    return RTEMS_NOT_CONFIGURED;                                      
ffc0f070:	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)                                       
ffc0f074:	88 1d 00 88 	lbz     r0,136(r29)                            
ffc0f078:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f07c:	41 be 00 5c 	beq+    cr7,ffc0f0d8 <rtems_bdbuf_syncdev+0x90><== NEVER TAKEN
ffc0f080:	38 a0 00 00 	li      r5,0                                   
ffc0f084:	38 c1 00 08 	addi    r6,r1,8                                
ffc0f088:	38 e0 00 00 	li      r7,0                                   
ffc0f08c:	39 00 00 00 	li      r8,0                                   
ffc0f090:	4b ff e1 c9 	bl      ffc0d258 <rtems_bdbuf_obtain_disk.part.7>
                                                                      
  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)                                         
ffc0f094:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc0f098:	40 82 00 40 	bne-    ffc0f0d8 <rtems_bdbuf_syncdev+0x90>    <== 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 ();                                           
ffc0f09c:	4b ff da d1 	bl      ffc0cb6c <rtems_bdbuf_lock_sync>       
  rtems_bdbuf_lock_cache ();                                          
ffc0f0a0:	4b ff da 89 	bl      ffc0cb28 <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;                                  
ffc0f0a4:	38 00 00 01 	li      r0,1                                   
ffc0f0a8:	98 1d 00 30 	stb     r0,48(r29)                             
  bdbuf_cache.sync_requester = rtems_task_self ();                    
ffc0f0ac:	48 00 21 45 	bl      ffc111f0 <rtems_task_self>             
ffc0f0b0:	90 7d 00 34 	stw     r3,52(r29)                             
  bdbuf_cache.sync_device    = dev;                                   
ffc0f0b4:	93 dd 00 38 	stw     r30,56(r29)                            
ffc0f0b8:	93 fd 00 3c 	stw     r31,60(r29)                            
                                                                      
  rtems_bdbuf_wake_swapper ();                                        
ffc0f0bc:	4b ff dd 71 	bl      ffc0ce2c <rtems_bdbuf_wake_swapper>    
  rtems_bdbuf_unlock_cache ();                                        
ffc0f0c0:	4b ff dc c1 	bl      ffc0cd80 <rtems_bdbuf_unlock_cache>    
  rtems_bdbuf_wait_for_event (RTEMS_BDBUF_TRANSFER_SYNC);             
ffc0f0c4:	38 60 00 02 	li      r3,2                                   
ffc0f0c8:	4b ff dd d1 	bl      ffc0ce98 <rtems_bdbuf_wait_for_event>  
  rtems_bdbuf_unlock_sync ();                                         
ffc0f0cc:	4b ff dc f1 	bl      ffc0cdbc <rtems_bdbuf_unlock_sync>     
  rtems_bdbuf_release_disk (dd);                                      
ffc0f0d0:	80 61 00 08 	lwz     r3,8(r1)                               
ffc0f0d4:	4b ff dd 25 	bl      ffc0cdf8 <rtems_bdbuf_release_disk>    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0f0d8:	39 61 00 28 	addi    r11,r1,40                              
ffc0f0dc:	7f 83 e3 78 	mr      r3,r28                                 
ffc0f0e0:	48 00 94 fc 	b       ffc185dc <_restgpr_28_x>               
                                                                      

ffc0cd80 <rtems_bdbuf_unlock_cache>: * @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);
ffc0cd80:	3d 20 00 00 	lis     r9,0                                   
/**                                                                   
 * Unlock the cache.                                                  
 */                                                                   
static void                                                           
rtems_bdbuf_unlock_cache (void)                                       
{                                                                     
ffc0cd84:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0cd88:	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);              
ffc0cd8c:	80 69 29 b8 	lwz     r3,10680(r9)                           
/**                                                                   
 * Unlock the cache.                                                  
 */                                                                   
static void                                                           
rtems_bdbuf_unlock_cache (void)                                       
{                                                                     
ffc0cd90:	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);              
ffc0cd94:	4b ff be b1 	bl      ffc08c44 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0cd98:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0cd9c:	41 be 00 10 	beq+    cr7,ffc0cdac <rtems_bdbuf_unlock_cache+0x2c><== ALWAYS TAKEN
    rtems_fatal_error_occurred (fatal_error_code);                    
ffc0cda0:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0cda4:	60 63 00 0e 	ori     r3,r3,14                               <== NOT EXECUTED
ffc0cda8:	4b ff c4 f9 	bl      ffc092a0 <rtems_fatal_error_occurred>  <== NOT EXECUTED
 */                                                                   
static void                                                           
rtems_bdbuf_unlock_cache (void)                                       
{                                                                     
  rtems_bdbuf_unlock (bdbuf_cache.lock, RTEMS_BLKDEV_FATAL_BDBUF_CACHE_UNLOCK);
}                                                                     
ffc0cdac:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0cdb0:	38 21 00 08 	addi    r1,r1,8                                
ffc0cdb4:	7c 08 03 a6 	mtlr    r0                                     
ffc0cdb8:	4e 80 00 20 	blr                                            
                                                                      

ffc0cdbc <rtems_bdbuf_unlock_sync>: * @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);
ffc0cdbc:	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)                                        
{                                                                     
ffc0cdc0:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0cdc4:	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);              
ffc0cdc8:	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)                                        
{                                                                     
ffc0cdcc:	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);              
ffc0cdd0:	4b ff be 75 	bl      ffc08c44 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0cdd4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0cdd8:	41 be 00 10 	beq+    cr7,ffc0cde8 <rtems_bdbuf_unlock_sync+0x2c><== ALWAYS TAKEN
    rtems_fatal_error_occurred (fatal_error_code);                    
ffc0cddc:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0cde0:	60 63 00 0c 	ori     r3,r3,12                               <== NOT EXECUTED
ffc0cde4:	4b ff c4 bd 	bl      ffc092a0 <rtems_fatal_error_occurred>  <== NOT EXECUTED
static void                                                           
rtems_bdbuf_unlock_sync (void)                                        
{                                                                     
  rtems_bdbuf_unlock (bdbuf_cache.sync_lock,                          
                      RTEMS_BLKDEV_FATAL_BDBUF_SYNC_UNLOCK);          
}                                                                     
ffc0cde8:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0cdec:	38 21 00 08 	addi    r1,r1,8                                
ffc0cdf0:	7c 08 03 a6 	mtlr    r0                                     
ffc0cdf4:	4e 80 00 20 	blr                                            
                                                                      

ffc0ce98 <rtems_bdbuf_wait_for_event>: return RTEMS_UNSATISFIED; } static void rtems_bdbuf_wait_for_event (rtems_event_set event) {
ffc0ce98:	7c 08 02 a6 	mflr    r0                                     
ffc0ce9c:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0cea0:	94 21 ff e0 	stwu    r1,-32(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_event_set   out = 0;                                          
                                                                      
  sc = rtems_event_receive (event,                                    
ffc0cea4:	38 80 00 00 	li      r4,0                                   
ffc0cea8:	38 a0 00 00 	li      r5,0                                   
  return RTEMS_UNSATISFIED;                                           
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wait_for_event (rtems_event_set event)                    
{                                                                     
ffc0ceac:	90 01 00 24 	stw     r0,36(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_event_set   out = 0;                                          
ffc0ceb0:	7c 26 0b 78 	mr      r6,r1                                  
ffc0ceb4:	38 00 00 00 	li      r0,0                                   
  return RTEMS_UNSATISFIED;                                           
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wait_for_event (rtems_event_set event)                    
{                                                                     
ffc0ceb8:	48 00 b6 e5 	bl      ffc1859c <_savegpr_31>                 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_event_set   out = 0;                                          
ffc0cebc:	94 06 00 08 	stwu    r0,8(r6)                               
  return RTEMS_UNSATISFIED;                                           
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wait_for_event (rtems_event_set event)                    
{                                                                     
ffc0cec0:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_event_set   out = 0;                                          
                                                                      
  sc = rtems_event_receive (event,                                    
ffc0cec4:	4b ff b6 05 	bl      ffc084c8 <rtems_event_receive>         
                            RTEMS_EVENT_ALL | RTEMS_WAIT,             
                            RTEMS_NO_TIMEOUT,                         
                            &out);                                    
                                                                      
  if (sc != RTEMS_SUCCESSFUL || out != event)                         
ffc0cec8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0cecc:	40 9e 00 10 	bne-    cr7,ffc0cedc <rtems_bdbuf_wait_for_event+0x44><== NEVER TAKEN
ffc0ced0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0ced4:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0ced8:	41 be 00 10 	beq+    cr7,ffc0cee8 <rtems_bdbuf_wait_for_event+0x50><== ALWAYS TAKEN
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_WAIT_EVNT);  
ffc0cedc:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0cee0:	60 63 00 1a 	ori     r3,r3,26                               <== NOT EXECUTED
ffc0cee4:	4b ff c3 bd 	bl      ffc092a0 <rtems_fatal_error_occurred>  <== NOT EXECUTED
}                                                                     
ffc0cee8:	39 61 00 20 	addi    r11,r1,32                              
ffc0ceec:	48 00 b6 fc 	b       ffc185e8 <_restgpr_31_x>               
                                                                      

ffc0d130 <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) {
ffc0d130:	7c 08 02 a6 	mflr    r0                                     
ffc0d134:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0d138:	90 01 00 0c 	stw     r0,12(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (waiters->count > 0)                                             
ffc0d13c:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0d140:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0d144:	41 be 00 20 	beq+    cr7,ffc0d164 <rtems_bdbuf_wake+0x34>   
  {                                                                   
    sc = rtems_semaphore_flush (waiters->sema);                       
ffc0d148:	80 63 00 04 	lwz     r3,4(r3)                               
ffc0d14c:	48 00 3e 3d 	bl      ffc10f88 <rtems_semaphore_flush>       
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc0d150:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0d154:	41 be 00 10 	beq+    cr7,ffc0d164 <rtems_bdbuf_wake+0x34>   <== ALWAYS TAKEN
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_CACHE_WAKE);
ffc0d158:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0d15c:	60 63 00 13 	ori     r3,r3,19                               <== NOT EXECUTED
ffc0d160:	4b ff c1 41 	bl      ffc092a0 <rtems_fatal_error_occurred>  <== NOT EXECUTED
  }                                                                   
}                                                                     
ffc0d164:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0d168:	38 21 00 08 	addi    r1,r1,8                                
ffc0d16c:	7c 08 03 a6 	mtlr    r0                                     
ffc0d170:	4e 80 00 20 	blr                                            
                                                                      

ffc0ce2c <rtems_bdbuf_wake_swapper>: } static void rtems_bdbuf_wake_swapper (void) { rtems_status_code sc = rtems_event_send (bdbuf_cache.swapout,
ffc0ce2c:	3d 20 00 00 	lis     r9,0                                   
  }                                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wake_swapper (void)                                       
{                                                                     
ffc0ce30:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0ce34:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = rtems_event_send (bdbuf_cache.swapout,       
ffc0ce38:	38 80 00 04 	li      r4,4                                   
ffc0ce3c:	80 69 29 90 	lwz     r3,10640(r9)                           
  }                                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wake_swapper (void)                                       
{                                                                     
ffc0ce40:	90 01 00 0c 	stw     r0,12(r1)                              
  rtems_status_code sc = rtems_event_send (bdbuf_cache.swapout,       
ffc0ce44:	4b ff b8 21 	bl      ffc08664 <rtems_event_send>            
                                           RTEMS_BDBUF_SWAPOUT_SYNC); 
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0ce48:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ce4c:	41 be 00 10 	beq+    cr7,ffc0ce5c <rtems_bdbuf_wake_swapper+0x30><== ALWAYS TAKEN
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WAKE);    
ffc0ce50:	3c 60 42 00 	lis     r3,16896                               <== NOT EXECUTED
ffc0ce54:	60 63 00 14 	ori     r3,r3,20                               <== NOT EXECUTED
ffc0ce58:	4b ff c4 49 	bl      ffc092a0 <rtems_fatal_error_occurred>  <== NOT EXECUTED
}                                                                     
ffc0ce5c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0ce60:	38 21 00 08 	addi    r1,r1,8                                
ffc0ce64:	7c 08 03 a6 	mtlr    r0                                     
ffc0ce68:	4e 80 00 20 	blr                                            
                                                                      

ffc0f37c <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) {
ffc0f37c:	7c 08 02 a6 	mflr    r0                                     
ffc0f380:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0f384:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0f388:	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)                                            
ffc0f38c:	3c 00 40 04 	lis     r0,16388                               
ffc0f390:	60 00 42 03 	ori     r0,r0,16899                            
rtems_device_driver                                                   
rtems_blkdev_generic_ioctl(                                           
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc0f394:	48 00 92 09 	bl      ffc1859c <_savegpr_31>                 
    rtems_libio_ioctl_args_t *args = arg;                             
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
    int rc;                                                           
                                                                      
    switch (args->command)                                            
ffc0f398:	80 85 00 04 	lwz     r4,4(r5)                               
rtems_device_driver                                                   
rtems_blkdev_generic_ioctl(                                           
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc0f39c:	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;                               
ffc0f3a0:	81 25 00 00 	lwz     r9,0(r5)                               
    int rc;                                                           
                                                                      
    switch (args->command)                                            
ffc0f3a4:	7f 84 00 00 	cmpw    cr7,r4,r0                              
    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;                               
ffc0f3a8:	81 29 00 38 	lwz     r9,56(r9)                              
    int rc;                                                           
                                                                      
    switch (args->command)                                            
ffc0f3ac:	41 9e 00 58 	beq-    cr7,ffc0f404 <rtems_blkdev_generic_ioctl+0x88><== NEVER TAKEN
ffc0f3b0:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc0f3b4:	41 9d 00 20 	bgt-    cr7,ffc0f3d4 <rtems_blkdev_generic_ioctl+0x58><== ALWAYS TAKEN
ffc0f3b8:	6c 80 20 00 	xoris   r0,r4,8192                             <== NOT EXECUTED
ffc0f3bc:	2f 80 42 06 	cmpwi   cr7,r0,16902                           <== NOT EXECUTED
ffc0f3c0:	41 9e 00 74 	beq-    cr7,ffc0f434 <rtems_blkdev_generic_ioctl+0xb8><== NOT EXECUTED
ffc0f3c4:	6c 80 40 04 	xoris   r0,r4,16388                            <== NOT EXECUTED
ffc0f3c8:	2f 80 42 02 	cmpwi   cr7,r0,16898                           <== NOT EXECUTED
ffc0f3cc:	40 9e 00 8c 	bne-    cr7,ffc0f458 <rtems_blkdev_generic_ioctl+0xdc><== NOT EXECUTED
ffc0f3d0:	48 00 00 2c 	b       ffc0f3fc <rtems_blkdev_generic_ioctl+0x80><== NOT EXECUTED
ffc0f3d4:	6c 80 80 04 	xoris   r0,r4,32772                            
ffc0f3d8:	2f 80 42 04 	cmpwi   cr7,r0,16900                           
ffc0f3dc:	41 9e 00 40 	beq-    cr7,ffc0f41c <rtems_blkdev_generic_ioctl+0xa0><== ALWAYS TAKEN
ffc0f3e0:	6c 80 c0 18 	xoris   r0,r4,49176                            <== NOT EXECUTED
ffc0f3e4:	2f 80 42 01 	cmpwi   cr7,r0,16897                           <== NOT EXECUTED
ffc0f3e8:	41 9e 00 68 	beq-    cr7,ffc0f450 <rtems_blkdev_generic_ioctl+0xd4><== NOT EXECUTED
ffc0f3ec:	6c 80 40 04 	xoris   r0,r4,16388                            <== NOT EXECUTED
ffc0f3f0:	2f 80 42 05 	cmpwi   cr7,r0,16901                           <== NOT EXECUTED
ffc0f3f4:	40 9e 00 64 	bne-    cr7,ffc0f458 <rtems_blkdev_generic_ioctl+0xdc><== NOT EXECUTED
ffc0f3f8:	48 00 00 34 	b       ffc0f42c <rtems_blkdev_generic_ioctl+0xb0><== NOT EXECUTED
    {                                                                 
        case RTEMS_BLKIO_GETMEDIABLKSIZE:                             
            *((uint32_t *) args->buffer) = dd->media_block_size;      
ffc0f3fc:	80 09 00 24 	lwz     r0,36(r9)                              <== NOT EXECUTED
ffc0f400:	48 00 00 08 	b       ffc0f408 <rtems_blkdev_generic_ioctl+0x8c><== NOT EXECUTED
            args->ioctl_return = 0;                                   
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETBLKSIZE:                                  
            *((uint32_t *) args->buffer) = dd->block_size;            
ffc0f404:	80 09 00 20 	lwz     r0,32(r9)                              <== NOT EXECUTED
ffc0f408:	81 3f 00 08 	lwz     r9,8(r31)                              <== NOT EXECUTED
ffc0f40c:	90 09 00 00 	stw     r0,0(r9)                               <== NOT EXECUTED
            args->ioctl_return = 0;                                   
ffc0f410:	38 00 00 00 	li      r0,0                                   
ffc0f414:	90 1f 00 0c 	stw     r0,12(r31)                             
            break;                                                    
ffc0f418:	48 00 00 58 	b       ffc0f470 <rtems_blkdev_generic_ioctl+0xf4>
                                                                      
        case RTEMS_BLKIO_SETBLKSIZE:                                  
            dd->block_size = *((uint32_t *) args->buffer);            
ffc0f41c:	81 65 00 08 	lwz     r11,8(r5)                              
ffc0f420:	80 0b 00 00 	lwz     r0,0(r11)                              
ffc0f424:	90 09 00 20 	stw     r0,32(r9)                              
ffc0f428:	4b ff ff e8 	b       ffc0f410 <rtems_blkdev_generic_ioctl+0x94>
            args->ioctl_return = 0;                                   
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETSIZE:                                     
            *((rtems_blkdev_bnum *) args->buffer) = dd->size;         
ffc0f42c:	80 09 00 1c 	lwz     r0,28(r9)                              <== NOT EXECUTED
ffc0f430:	4b ff ff d8 	b       ffc0f408 <rtems_blkdev_generic_ioctl+0x8c><== NOT EXECUTED
            args->ioctl_return = 0;                                   
            break;                                                    
                                                                      
        case RTEMS_BLKIO_SYNCDEV:                                     
            rc = rtems_bdbuf_syncdev(dd->dev);                        
ffc0f434:	80 69 00 00 	lwz     r3,0(r9)                               <== NOT EXECUTED
ffc0f438:	80 89 00 04 	lwz     r4,4(r9)                               <== NOT EXECUTED
ffc0f43c:	4b ff fc 0d 	bl      ffc0f048 <rtems_bdbuf_syncdev>         <== NOT EXECUTED
            args->ioctl_return = (uint32_t) (rc == RTEMS_SUCCESSFUL ? 0 : -1);
ffc0f440:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc0f444:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc0f448:	40 9e ff cc 	bne+    cr7,ffc0f414 <rtems_blkdev_generic_ioctl+0x98><== NOT EXECUTED
ffc0f44c:	4b ff ff c4 	b       ffc0f410 <rtems_blkdev_generic_ioctl+0x94><== NOT EXECUTED
        case RTEMS_BLKIO_REQUEST:                                     
            /*                                                        
             * It is not allowed to directly access the driver circumventing
             * the cache.                                             
             */                                                       
            args->ioctl_return = (uint32_t) -1;                       
ffc0f450:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc0f454:	4b ff ff c0 	b       ffc0f414 <rtems_blkdev_generic_ioctl+0x98><== NOT EXECUTED
            break;                                                    
                                                                      
        default:                                                      
            args->ioctl_return = (uint32_t) dd->ioctl(dd->phys_dev,   
ffc0f458:	80 09 00 28 	lwz     r0,40(r9)                              <== NOT EXECUTED
ffc0f45c:	80 69 00 08 	lwz     r3,8(r9)                               <== NOT EXECUTED
ffc0f460:	80 bf 00 08 	lwz     r5,8(r31)                              <== NOT EXECUTED
ffc0f464:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc0f468:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc0f46c:	90 7f 00 0c 	stw     r3,12(r31)                             <== NOT EXECUTED
                                                      args->buffer);  
            break;                                                    
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc0f470:	39 61 00 10 	addi    r11,r1,16                              
ffc0f474:	38 60 00 00 	li      r3,0                                   
ffc0f478:	48 00 91 70 	b       ffc185e8 <_restgpr_31_x>               
                                                                      

ffc0f10c <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) {
ffc0f10c:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc0f110:	7c 08 02 a6 	mflr    r0                                     
ffc0f114:	90 01 00 44 	stw     r0,68(r1)                              
    rtems_status_code rc = RTEMS_SUCCESSFUL;                          
    rtems_libio_rw_args_t *args = arg;                                
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
ffc0f118:	81 25 00 00 	lwz     r9,0(r5)                               
rtems_device_driver                                                   
rtems_blkdev_generic_read(                                            
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc0f11c:	be c1 00 18 	stmw    r22,24(r1)                             
ffc0f120:	7c bd 2b 78 	mr      r29,r5                                 
    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;                               
ffc0f124:	83 69 00 38 	lwz     r27,56(r9)                             
    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);
ffc0f128:	83 c5 00 08 	lwz     r30,8(r5)                              
{                                                                     
    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;                             
ffc0f12c:	83 3b 00 20 	lwz     r25,32(r27)                            
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
ffc0f130:	83 e5 00 0c 	lwz     r31,12(r5)                             
ffc0f134:	7f c3 f3 78 	mr      r3,r30                                 
ffc0f138:	7f 26 cb 78 	mr      r6,r25                                 
    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;                                         
ffc0f13c:	83 05 00 10 	lwz     r24,16(r5)                             
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
ffc0f140:	7f e4 fb 78 	mr      r4,r31                                 
    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;                                     
ffc0f144:	83 85 00 14 	lwz     r28,20(r5)                             
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
ffc0f148:	38 a0 00 00 	li      r5,0                                   
ffc0f14c:	48 00 83 ed 	bl      ffc17538 <__divdi3>                    
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
ffc0f150:	7f c3 f3 78 	mr      r3,r30                                 
    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);
ffc0f154:	7c 97 23 78 	mr      r23,r4                                 
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
ffc0f158:	38 a0 00 00 	li      r5,0                                   
ffc0f15c:	7f e4 fb 78 	mr      r4,r31                                 
ffc0f160:	7f 26 cb 78 	mr      r6,r25                                 
ffc0f164:	48 00 88 15 	bl      ffc17978 <__moddi3>                    
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
ffc0f168:	38 00 00 00 	li      r0,0                                   
    uint32_t block_size = dd->block_size;                             
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
    dev_t dev = dd->dev;                                              
ffc0f16c:	83 db 00 00 	lwz     r30,0(r27)                             
    rtems_disk_device *dd = iop->data1;                               
    uint32_t block_size = dd->block_size;                             
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
ffc0f170:	7c 9a 23 78 	mr      r26,r4                                 
    dev_t dev = dd->dev;                                              
ffc0f174:	83 fb 00 04 	lwz     r31,4(r27)                             
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
ffc0f178:	3b 60 00 00 	li      r27,0                                  
    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;                                            
ffc0f17c:	90 1d 00 1c 	stw     r0,28(r29)                             
                                                                      
    while (count > 0)                                                 
ffc0f180:	48 00 00 70 	b       ffc0f1f0 <rtems_blkdev_generic_read+0xe4>
    {                                                                 
        rtems_bdbuf_buffer *diskbuf;                                  
        uint32_t            copy;                                     
                                                                      
        rc = rtems_bdbuf_read(dev, block, &diskbuf);                  
ffc0f184:	7f c3 f3 78 	mr      r3,r30                                 
ffc0f188:	7f e4 fb 78 	mr      r4,r31                                 
ffc0f18c:	38 c1 00 08 	addi    r6,r1,8                                
ffc0f190:	4b ff f9 59 	bl      ffc0eae8 <rtems_bdbuf_read>            
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc0f194:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0f198:	40 82 00 68 	bne-    ffc0f200 <rtems_blkdev_generic_read+0xf4><== NEVER TAKEN
            break;                                                    
        copy = block_size - blkofs;                                   
ffc0f19c:	7e da c8 50 	subf    r22,r26,r25                            
ffc0f1a0:	7f 96 e0 40 	cmplw   cr7,r22,r28                            
ffc0f1a4:	40 9d 00 08 	ble-    cr7,ffc0f1ac <rtems_blkdev_generic_read+0xa0><== ALWAYS TAKEN
ffc0f1a8:	7f 96 e3 78 	mr      r22,r28                                <== NOT EXECUTED
        if (copy > count)                                             
            copy = count;                                             
        memcpy(buf, (char *)diskbuf->buffer + blkofs, copy);          
ffc0f1ac:	81 21 00 08 	lwz     r9,8(r1)                               
ffc0f1b0:	7e c5 b3 78 	mr      r5,r22                                 
ffc0f1b4:	7f 03 c3 78 	mr      r3,r24                                 
ffc0f1b8:	80 89 00 24 	lwz     r4,36(r9)                              
        rc = rtems_bdbuf_release(diskbuf);                            
        args->bytes_moved += copy;                                    
ffc0f1bc:	3b 7b 00 01 	addi    r27,r27,1                              
        if (rc != RTEMS_SUCCESSFUL)                                   
            break;                                                    
        copy = block_size - blkofs;                                   
        if (copy > count)                                             
            copy = count;                                             
        memcpy(buf, (char *)diskbuf->buffer + blkofs, copy);          
ffc0f1c0:	7c 84 d2 14 	add     r4,r4,r26                              
ffc0f1c4:	48 00 51 75 	bl      ffc14338 <memcpy>                      
        rc = rtems_bdbuf_release(diskbuf);                            
ffc0f1c8:	80 61 00 08 	lwz     r3,8(r1)                               
ffc0f1cc:	4b ff fb 99 	bl      ffc0ed64 <rtems_bdbuf_release>         
        args->bytes_moved += copy;                                    
ffc0f1d0:	80 1d 00 1c 	lwz     r0,28(r29)                             
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc0f1d4:	2c 03 00 00 	cmpwi   r3,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;                                    
ffc0f1d8:	7c 00 b2 14 	add     r0,r0,r22                              
ffc0f1dc:	90 1d 00 1c 	stw     r0,28(r29)                             
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc0f1e0:	40 82 00 20 	bne-    ffc0f200 <rtems_blkdev_generic_read+0xf4><== NEVER TAKEN
            break;                                                    
        count -= copy;                                                
ffc0f1e4:	7f 96 e0 50 	subf    r28,r22,r28                            
        buf += copy;                                                  
ffc0f1e8:	7f 18 b2 14 	add     r24,r24,r22                            
        blkofs = 0;                                                   
ffc0f1ec:	3b 40 00 00 	li      r26,0                                  
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
ffc0f1f0:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
/* rtems_blkdev_generic_read --                                       
 *     Generic block device read primitive. Implemented using block device
 *     buffer management primitives.                                  
 */                                                                   
rtems_device_driver                                                   
rtems_blkdev_generic_read(                                            
ffc0f1f4:	7c bb ba 14 	add     r5,r27,r23                             
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
ffc0f1f8:	40 9e ff 8c 	bne+    cr7,ffc0f184 <rtems_blkdev_generic_read+0x78>
ffc0f1fc:	38 60 00 00 	li      r3,0                                   
        blkofs = 0;                                                   
        block++;                                                      
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc0f200:	39 61 00 40 	addi    r11,r1,64                              
ffc0f204:	48 00 93 c0 	b       ffc185c4 <_restgpr_22_x>               
                                                                      

ffc0f208 <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) {
ffc0f208:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc0f20c:	7c 08 02 a6 	mflr    r0                                     
ffc0f210:	90 01 00 44 	stw     r0,68(r1)                              
    rtems_status_code rc = RTEMS_SUCCESSFUL;                          
    rtems_libio_rw_args_t *args = arg;                                
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
ffc0f214:	81 25 00 00 	lwz     r9,0(r5)                               
rtems_device_driver                                                   
rtems_blkdev_generic_write(                                           
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc0f218:	be c1 00 18 	stmw    r22,24(r1)                             
ffc0f21c:	7c bd 2b 78 	mr      r29,r5                                 
    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;                               
ffc0f220:	83 29 00 38 	lwz     r25,56(r9)                             
    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);
ffc0f224:	83 c5 00 08 	lwz     r30,8(r5)                              
{                                                                     
    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;                             
ffc0f228:	83 59 00 20 	lwz     r26,32(r25)                            
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
ffc0f22c:	83 e5 00 0c 	lwz     r31,12(r5)                             
ffc0f230:	7f c3 f3 78 	mr      r3,r30                                 
ffc0f234:	7f 46 d3 78 	mr      r6,r26                                 
    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;                                         
ffc0f238:	83 05 00 10 	lwz     r24,16(r5)                             
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
ffc0f23c:	7f e4 fb 78 	mr      r4,r31                                 
    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;                                     
ffc0f240:	83 85 00 14 	lwz     r28,20(r5)                             
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
ffc0f244:	38 a0 00 00 	li      r5,0                                   
ffc0f248:	48 00 82 f1 	bl      ffc17538 <__divdi3>                    
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
ffc0f24c:	7f c3 f3 78 	mr      r3,r30                                 
    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);
ffc0f250:	7c 97 23 78 	mr      r23,r4                                 
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
ffc0f254:	38 a0 00 00 	li      r5,0                                   
ffc0f258:	7f e4 fb 78 	mr      r4,r31                                 
ffc0f25c:	7f 46 d3 78 	mr      r6,r26                                 
ffc0f260:	48 00 87 19 	bl      ffc17978 <__moddi3>                    
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
ffc0f264:	38 00 00 00 	li      r0,0                                   
    uint32_t block_size = dd->block_size;                             
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
    dev_t dev = dd->dev;                                              
ffc0f268:	83 d9 00 00 	lwz     r30,0(r25)                             
    rtems_disk_device *dd = iop->data1;                               
    uint32_t block_size = dd->block_size;                             
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
ffc0f26c:	7c 9b 23 78 	mr      r27,r4                                 
    dev_t dev = dd->dev;                                              
ffc0f270:	83 f9 00 04 	lwz     r31,4(r25)                             
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
ffc0f274:	3b 20 00 00 	li      r25,0                                  
    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;                                            
ffc0f278:	90 1d 00 1c 	stw     r0,28(r29)                             
                                                                      
    while (count > 0)                                                 
ffc0f27c:	48 00 00 88 	b       ffc0f304 <rtems_blkdev_generic_write+0xfc>
    {                                                                 
        rtems_bdbuf_buffer *diskbuf;                                  
        uint32_t            copy;                                     
                                                                      
        if ((blkofs == 0) && (count >= block_size))                   
ffc0f280:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
            rc = rtems_bdbuf_get(dev, block, &diskbuf);               
ffc0f284:	7f c3 f3 78 	mr      r3,r30                                 
ffc0f288:	7f e4 fb 78 	mr      r4,r31                                 
ffc0f28c:	38 c1 00 08 	addi    r6,r1,8                                
    while (count > 0)                                                 
    {                                                                 
        rtems_bdbuf_buffer *diskbuf;                                  
        uint32_t            copy;                                     
                                                                      
        if ((blkofs == 0) && (count >= block_size))                   
ffc0f290:	40 9e 00 14 	bne-    cr7,ffc0f2a4 <rtems_blkdev_generic_write+0x9c><== NEVER TAKEN
ffc0f294:	7f 9c d0 40 	cmplw   cr7,r28,r26                            
ffc0f298:	41 bc 00 0c 	blt+    cr7,ffc0f2a4 <rtems_blkdev_generic_write+0x9c><== NEVER TAKEN
            rc = rtems_bdbuf_get(dev, block, &diskbuf);               
ffc0f29c:	4b ff f7 71 	bl      ffc0ea0c <rtems_bdbuf_get>             
ffc0f2a0:	48 00 00 08 	b       ffc0f2a8 <rtems_blkdev_generic_write+0xa0>
        else                                                          
            rc = rtems_bdbuf_read(dev, block, &diskbuf);              
ffc0f2a4:	4b ff f8 45 	bl      ffc0eae8 <rtems_bdbuf_read>            <== NOT EXECUTED
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc0f2a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f2ac:	40 9e 00 68 	bne-    cr7,ffc0f314 <rtems_blkdev_generic_write+0x10c><== NEVER TAKEN
            break;                                                    
                                                                      
        copy = block_size - blkofs;                                   
ffc0f2b0:	7e db d0 50 	subf    r22,r27,r26                            
ffc0f2b4:	7f 96 e0 40 	cmplw   cr7,r22,r28                            
ffc0f2b8:	40 9d 00 08 	ble-    cr7,ffc0f2c0 <rtems_blkdev_generic_write+0xb8><== ALWAYS TAKEN
ffc0f2bc:	7f 96 e3 78 	mr      r22,r28                                <== NOT EXECUTED
        if (copy > count)                                             
            copy = count;                                             
        memcpy((char *)diskbuf->buffer + blkofs, buf, copy);          
ffc0f2c0:	81 21 00 08 	lwz     r9,8(r1)                               
ffc0f2c4:	7f 04 c3 78 	mr      r4,r24                                 
ffc0f2c8:	7e c5 b3 78 	mr      r5,r22                                 
ffc0f2cc:	80 69 00 24 	lwz     r3,36(r9)                              
        args->bytes_moved += copy;                                    
                                                                      
        rc = rtems_bdbuf_release_modified(diskbuf);                   
ffc0f2d0:	3b 39 00 01 	addi    r25,r25,1                              
            break;                                                    
                                                                      
        copy = block_size - blkofs;                                   
        if (copy > count)                                             
            copy = count;                                             
        memcpy((char *)diskbuf->buffer + blkofs, buf, copy);          
ffc0f2d4:	7c 63 da 14 	add     r3,r3,r27                              
ffc0f2d8:	48 00 50 61 	bl      ffc14338 <memcpy>                      
        args->bytes_moved += copy;                                    
ffc0f2dc:	80 1d 00 1c 	lwz     r0,28(r29)                             
                                                                      
        rc = rtems_bdbuf_release_modified(diskbuf);                   
ffc0f2e0:	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;                                    
ffc0f2e4:	7c 00 b2 14 	add     r0,r0,r22                              
ffc0f2e8:	90 1d 00 1c 	stw     r0,28(r29)                             
                                                                      
        rc = rtems_bdbuf_release_modified(diskbuf);                   
ffc0f2ec:	4b ff fb 5d 	bl      ffc0ee48 <rtems_bdbuf_release_modified>
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc0f2f0:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0f2f4:	40 82 00 20 	bne-    ffc0f314 <rtems_blkdev_generic_write+0x10c><== NEVER TAKEN
            break;                                                    
                                                                      
        count -= copy;                                                
ffc0f2f8:	7f 96 e0 50 	subf    r28,r22,r28                            
        buf += copy;                                                  
ffc0f2fc:	7f 18 b2 14 	add     r24,r24,r22                            
        blkofs = 0;                                                   
ffc0f300:	3b 60 00 00 	li      r27,0                                  
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
ffc0f304:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
/* rtems_blkdev_generic_write --                                      
 *     Generic block device write primitive. Implemented using block device
 *     buffer management primitives.                                  
 */                                                                   
rtems_device_driver                                                   
rtems_blkdev_generic_write(                                           
ffc0f308:	7c b9 ba 14 	add     r5,r25,r23                             
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
    dev_t dev = dd->dev;                                              
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
ffc0f30c:	40 9e ff 74 	bne+    cr7,ffc0f280 <rtems_blkdev_generic_write+0x78>
ffc0f310:	38 60 00 00 	li      r3,0                                   
        blkofs = 0;                                                   
        block++;                                                      
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc0f314:	39 61 00 40 	addi    r11,r1,64                              
ffc0f318:	48 00 92 ac 	b       ffc185c4 <_restgpr_22_x>               
                                                                      

ffc0f47c <rtems_blkdev_ioctl>: int rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp) {
ffc0f47c:	7c 08 02 a6 	mflr    r0                                     
ffc0f480:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0f484:	90 01 00 0c 	stw     r0,12(r1)                              
    size_t            *arg_size = argp;                               
    int                rc = 0;                                        
                                                                      
    switch (req)                                                      
ffc0f488:	3c 00 40 04 	lis     r0,16388                               
ffc0f48c:	60 00 42 03 	ori     r0,r0,16899                            
ffc0f490:	7f 84 00 00 	cmpw    cr7,r4,r0                              
ffc0f494:	41 9e 00 44 	beq-    cr7,ffc0f4d8 <rtems_blkdev_ioctl+0x5c> <== NEVER TAKEN
ffc0f498:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc0f49c:	3c 00 40 04 	lis     r0,16388                               
ffc0f4a0:	41 9d 00 14 	bgt-    cr7,ffc0f4b4 <rtems_blkdev_ioctl+0x38> 
ffc0f4a4:	60 00 42 02 	ori     r0,r0,16898                            
ffc0f4a8:	7f 84 00 00 	cmpw    cr7,r4,r0                              
ffc0f4ac:	40 be 00 50 	bne+    cr7,ffc0f4fc <rtems_blkdev_ioctl+0x80> <== ALWAYS TAKEN
ffc0f4b0:	48 00 00 20 	b       ffc0f4d0 <rtems_blkdev_ioctl+0x54>     <== NOT EXECUTED
ffc0f4b4:	60 00 42 05 	ori     r0,r0,16901                            
ffc0f4b8:	7f 84 00 00 	cmpw    cr7,r4,r0                              
ffc0f4bc:	41 9e 00 38 	beq-    cr7,ffc0f4f4 <rtems_blkdev_ioctl+0x78> <== NEVER TAKEN
ffc0f4c0:	6c 80 80 04 	xoris   r0,r4,32772                            
ffc0f4c4:	2f 80 42 04 	cmpwi   cr7,r0,16900                           
ffc0f4c8:	40 9e 00 34 	bne-    cr7,ffc0f4fc <rtems_blkdev_ioctl+0x80> <== NEVER TAKEN
ffc0f4cc:	48 00 00 1c 	b       ffc0f4e8 <rtems_blkdev_ioctl+0x6c>     
    {                                                                 
        case RTEMS_BLKIO_GETMEDIABLKSIZE:                             
            *arg_size = dd->media_block_size;                         
ffc0f4d0:	80 03 00 24 	lwz     r0,36(r3)                              <== NOT EXECUTED
ffc0f4d4:	48 00 00 08 	b       ffc0f4dc <rtems_blkdev_ioctl+0x60>     <== NOT EXECUTED
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETBLKSIZE:                                  
            *arg_size = dd->block_size;                               
ffc0f4d8:	80 03 00 20 	lwz     r0,32(r3)                              <== NOT EXECUTED
ffc0f4dc:	90 05 00 00 	stw     r0,0(r5)                               <== NOT EXECUTED
                                                                      
int                                                                   
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    size_t            *arg_size = argp;                               
    int                rc = 0;                                        
ffc0f4e0:	38 60 00 00 	li      r3,0                                   
            *arg_size = dd->media_block_size;                         
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETBLKSIZE:                                  
            *arg_size = dd->block_size;                               
            break;                                                    
ffc0f4e4:	48 00 00 28 	b       ffc0f50c <rtems_blkdev_ioctl+0x90>     
                                                                      
        case RTEMS_BLKIO_SETBLKSIZE:                                  
            dd->block_size = *arg_size;                               
ffc0f4e8:	80 05 00 00 	lwz     r0,0(r5)                               
ffc0f4ec:	90 03 00 20 	stw     r0,32(r3)                              
ffc0f4f0:	4b ff ff f0 	b       ffc0f4e0 <rtems_blkdev_ioctl+0x64>     
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETSIZE:                                     
            *arg_size = dd->size;                                     
ffc0f4f4:	80 03 00 1c 	lwz     r0,28(r3)                              <== NOT EXECUTED
ffc0f4f8:	4b ff ff e4 	b       ffc0f4dc <rtems_blkdev_ioctl+0x60>     <== NOT EXECUTED
            break;                                                    
                                                                      
        default:                                                      
            errno = EINVAL;                                           
ffc0f4fc:	48 00 42 11 	bl      ffc1370c <__errno>                     
ffc0f500:	38 00 00 16 	li      r0,22                                  
ffc0f504:	90 03 00 00 	stw     r0,0(r3)                               
            rc = -1;                                                  
ffc0f508:	38 60 ff ff 	li      r3,-1                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc0f50c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0f510:	38 21 00 08 	addi    r1,r1,8                                
ffc0f514:	7c 08 03 a6 	mtlr    r0                                     
ffc0f518:	4e 80 00 20 	blr                                            
                                                                      

ffc0897c <rtems_chain_get_with_wait>: rtems_chain_control *chain, rtems_event_set events, rtems_interval timeout, rtems_chain_node **node_ptr ) {
ffc0897c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc08980:	7c 08 02 a6 	mflr    r0                                     
ffc08984:	bf 61 00 1c 	stmw    r27,28(r1)                             
ffc08988:	7c 7b 1b 78 	mr      r27,r3                                 
ffc0898c:	7c 9c 23 78 	mr      r28,r4                                 
ffc08990:	90 01 00 34 	stw     r0,52(r1)                              
ffc08994:	7c bd 2b 78 	mr      r29,r5                                 
ffc08998:	7c df 33 78 	mr      r31,r6                                 
ffc0899c:	48 00 00 20 	b       ffc089bc <rtems_chain_get_with_wait+0x40>
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
ffc089a0:	7f 83 e3 78 	mr      r3,r28                                 
ffc089a4:	38 80 00 00 	li      r4,0                                   
ffc089a8:	7f a5 eb 78 	mr      r5,r29                                 
ffc089ac:	38 c1 00 08 	addi    r6,r1,8                                
ffc089b0:	4b ff f2 bd 	bl      ffc07c6c <rtems_event_receive>         
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
ffc089b4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc089b8:	40 82 00 18 	bne-    ffc089d0 <rtems_chain_get_with_wait+0x54><== ALWAYS TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc089bc:	7f 63 db 78 	mr      r3,r27                                 
ffc089c0:	48 00 06 29 	bl      ffc08fe8 <_Chain_Get>                  
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
ffc089c4:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc089c8:	41 82 ff d8 	beq+    ffc089a0 <rtems_chain_get_with_wait+0x24>
ffc089cc:	38 60 00 00 	li      r3,0                                   
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc089d0:	39 61 00 30 	addi    r11,r1,48                              
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
ffc089d4:	93 df 00 00 	stw     r30,0(r31)                             
                                                                      
  return sc;                                                          
}                                                                     
ffc089d8:	48 00 c4 b0 	b       ffc14e88 <_restgpr_27_x>               
                                                                      

ffc04a20 <rtems_cpu_usage_report_with_plugin>: */ void rtems_cpu_usage_report_with_plugin( void *context, rtems_printk_plugin_t print ) {
ffc04a20:	94 21 ff 78 	stwu    r1,-136(r1)                            
ffc04a24:	7c 08 02 a6 	mflr    r0                                     
ffc04a28:	90 01 00 8c 	stw     r0,140(r1)                             
    Timestamp_Control  uptime, total, ran, uptime_at_last_reset;      
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
ffc04a2c:	7c 80 23 79 	mr.     r0,r4                                  
 */                                                                   
void rtems_cpu_usage_report_with_plugin(                              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
ffc04a30:	be e1 00 64 	stmw    r23,100(r1)                            
ffc04a34:	7c 7d 1b 78 	mr      r29,r3                                 
    Timestamp_Control  uptime, total, ran, uptime_at_last_reset;      
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
ffc04a38:	90 01 00 58 	stw     r0,88(r1)                              
ffc04a3c:	41 82 01 c4 	beq-    ffc04c00 <rtems_cpu_usage_report_with_plugin+0x1e0><== 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;            
ffc04a40:	3d 20 00 00 	lis     r9,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 );                                 
ffc04a44:	38 00 00 00 	li      r0,0                                   
    uptime_at_last_reset = CPU_usage_Uptime_at_last_reset;            
ffc04a48:	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 );                                 
ffc04a4c:	90 01 00 30 	stw     r0,48(r1)                              
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc04a50:	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 );                                 
ffc04a54:	90 01 00 34 	stw     r0,52(r1)                              
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc04a58:	38 84 e1 d3 	addi    r4,r4,-7725                            
ffc04a5c:	3f e0 00 00 	lis     r31,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;            
ffc04a60:	81 49 00 00 	lwz     r10,0(r9)                              
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc04a64:	3b ff 30 00 	addi    r31,r31,12288                          
   *  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;            
ffc04a68:	81 69 00 04 	lwz     r11,4(r9)                              
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
                                                                      
        (*print)(                                                     
ffc04a6c:	3f 20 ff c2 	lis     r25,-62                                
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc04a70:	80 01 00 58 	lwz     r0,88(r1)                              
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
ffc04a74:	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;            
ffc04a78:	91 41 00 20 	stw     r10,32(r1)                             
#endif                                                                
                                                                      
/*                                                                    
 *  rtems_cpu_usage_report                                            
 */                                                                   
void rtems_cpu_usage_report_with_plugin(                              
ffc04a7c:	3b 1f 00 0c 	addi    r24,r31,12                             
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc04a80:	7c 09 03 a6 	mtctr   r0                                     
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
                                                                      
        (*print)(                                                     
ffc04a84:	3b 39 e3 45 	addi    r25,r25,-7355                          
   *  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;            
ffc04a88:	91 61 00 24 	stw     r11,36(r1)                             
    Thread_Control    *the_thread,                                    
    Timestamp_Control *time_of_context_switch                         
  )                                                                   
  {                                                                   
    #ifndef RTEMS_SMP                                                 
      if ( _Thread_Executing->Object.id == the_thread->Object.id ) {  
ffc04a8c:	3f 40 00 00 	lis     r26,0                                  
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
ffc04a90:	3b 7b e3 58 	addi    r27,r27,-7336                          
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc04a94:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04a98:	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 ] )                 
ffc04a9c:	85 3f 00 04 	lwzu    r9,4(r31)                              
ffc04aa0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc04aa4:	41 9e 01 28 	beq-    cr7,ffc04bcc <rtems_cpu_usage_report_with_plugin+0x1ac>
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
ffc04aa8:	83 89 00 04 	lwz     r28,4(r9)                              
    if ( information ) {                                              
ffc04aac:	3b c0 00 01 	li      r30,1                                  
ffc04ab0:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc04ab4:	40 be 01 0c 	bne+    cr7,ffc04bc0 <rtems_cpu_usage_report_with_plugin+0x1a0><== ALWAYS TAKEN
ffc04ab8:	48 00 01 14 	b       ffc04bcc <rtems_cpu_usage_report_with_plugin+0x1ac><== NOT EXECUTED
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
        the_thread = (Thread_Control *)information->local_table[ i ]; 
ffc04abc:	81 3c 00 1c 	lwz     r9,28(r28)                             
ffc04ac0:	57 c0 10 3a 	rlwinm  r0,r30,2,0,29                          
ffc04ac4:	7e e9 00 2e 	lwzx    r23,r9,r0                              
                                                                      
        if ( !the_thread )                                            
ffc04ac8:	2f 97 00 00 	cmpwi   cr7,r23,0                              
ffc04acc:	41 9e 00 f0 	beq-    cr7,ffc04bbc <rtems_cpu_usage_report_with_plugin+0x19c><== NEVER TAKEN
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
ffc04ad0:	80 77 00 08 	lwz     r3,8(r23)                              
ffc04ad4:	38 80 00 0d 	li      r4,13                                  
ffc04ad8:	38 a1 00 40 	addi    r5,r1,64                               
ffc04adc:	48 00 46 fd 	bl      ffc091d8 <rtems_object_get_name>       
                                                                      
        (*print)(                                                     
ffc04ae0:	80 01 00 58 	lwz     r0,88(r1)                              
ffc04ae4:	7f a3 eb 78 	mr      r3,r29                                 
ffc04ae8:	80 b7 00 08 	lwz     r5,8(r23)                              
ffc04aec:	7c 09 03 a6 	mtctr   r0                                     
ffc04af0:	7f 24 cb 78 	mr      r4,r25                                 
ffc04af4:	38 c1 00 40 	addi    r6,r1,64                               
ffc04af8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04afc:	4e 80 04 21 	bctrl                                          
                                                                      
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
ffc04b00:	81 77 00 88 	lwz     r11,136(r23)                           
    Thread_Control    *the_thread,                                    
    Timestamp_Control *time_of_context_switch                         
  )                                                                   
  {                                                                   
    #ifndef RTEMS_SMP                                                 
      if ( _Thread_Executing->Object.id == the_thread->Object.id ) {  
ffc04b04:	39 3a 32 18 	addi    r9,r26,12824                           
ffc04b08:	80 17 00 08 	lwz     r0,8(r23)                              
                                                                      
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
ffc04b0c:	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 ) {  
ffc04b10:	81 69 00 0c 	lwz     r11,12(r9)                             
                                                                      
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
ffc04b14:	81 57 00 84 	lwz     r10,132(r23)                           
    Thread_Control    *the_thread,                                    
    Timestamp_Control *time_of_context_switch                         
  )                                                                   
  {                                                                   
    #ifndef RTEMS_SMP                                                 
      if ( _Thread_Executing->Object.id == the_thread->Object.id ) {  
ffc04b18:	81 6b 00 08 	lwz     r11,8(r11)                             
                                                                      
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
ffc04b1c:	91 41 00 28 	stw     r10,40(r1)                             
    Thread_Control    *the_thread,                                    
    Timestamp_Control *time_of_context_switch                         
  )                                                                   
  {                                                                   
    #ifndef RTEMS_SMP                                                 
      if ( _Thread_Executing->Object.id == the_thread->Object.id ) {  
ffc04b20:	7f 8b 00 00 	cmpw    cr7,r11,r0                             
ffc04b24:	40 be 00 3c 	bne+    cr7,ffc04b60 <rtems_cpu_usage_report_with_plugin+0x140>
        *time_of_context_switch = _Thread_Time_of_last_context_switch;
ffc04b28:	81 49 00 1c 	lwz     r10,28(r9)                             
           * 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 );                               
ffc04b2c:	38 61 00 38 	addi    r3,r1,56                               
    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;
ffc04b30:	81 69 00 20 	lwz     r11,32(r9)                             
ffc04b34:	91 41 00 18 	stw     r10,24(r1)                             
ffc04b38:	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 );                               
ffc04b3c:	48 00 5c a5 	bl      ffc0a7e0 <_TOD_Get_uptime>             
            _Timestamp_Subtract( &last, &uptime, &used );             
ffc04b40:	38 61 00 18 	addi    r3,r1,24                               
ffc04b44:	38 81 00 38 	addi    r4,r1,56                               
ffc04b48:	38 a1 00 10 	addi    r5,r1,16                               
ffc04b4c:	48 00 84 11 	bl      ffc0cf5c <_Timespec_Subtract>          
            _Timestamp_Add_to( &ran, &used );                         
ffc04b50:	38 61 00 28 	addi    r3,r1,40                               
ffc04b54:	38 81 00 10 	addi    r4,r1,16                               
ffc04b58:	48 00 82 e5 	bl      ffc0ce3c <_Timespec_Add_to>            
ffc04b5c:	48 00 00 0c 	b       ffc04b68 <rtems_cpu_usage_report_with_plugin+0x148>
          } else {                                                    
            _TOD_Get_uptime( &uptime );                               
ffc04b60:	38 61 00 38 	addi    r3,r1,56                               
ffc04b64:	48 00 5c 7d 	bl      ffc0a7e0 <_TOD_Get_uptime>             
          }                                                           
          _Timestamp_Subtract( &uptime_at_last_reset, &uptime, &total );
ffc04b68:	38 61 00 20 	addi    r3,r1,32                               
ffc04b6c:	38 81 00 38 	addi    r4,r1,56                               
ffc04b70:	38 a1 00 30 	addi    r5,r1,48                               
ffc04b74:	48 00 83 e9 	bl      ffc0cf5c <_Timespec_Subtract>          
          _Timestamp_Divide( &ran, &total, &ival, &fval );            
ffc04b78:	38 61 00 28 	addi    r3,r1,40                               
ffc04b7c:	38 81 00 30 	addi    r4,r1,48                               
ffc04b80:	38 a1 00 0c 	addi    r5,r1,12                               
ffc04b84:	38 c1 00 08 	addi    r6,r1,8                                
ffc04b88:	48 00 83 11 	bl      ffc0ce98 <_Timespec_Divide>            
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
ffc04b8c:	80 c1 00 2c 	lwz     r6,44(r1)                              
ffc04b90:	38 00 03 e8 	li      r0,1000                                
ffc04b94:	80 a1 00 28 	lwz     r5,40(r1)                              
ffc04b98:	7c c6 03 96 	divwu   r6,r6,r0                               
ffc04b9c:	80 01 00 58 	lwz     r0,88(r1)                              
ffc04ba0:	80 e1 00 0c 	lwz     r7,12(r1)                              
ffc04ba4:	81 01 00 08 	lwz     r8,8(r1)                               
ffc04ba8:	7c 09 03 a6 	mtctr   r0                                     
ffc04bac:	7f a3 eb 78 	mr      r3,r29                                 
ffc04bb0:	7f 64 db 78 	mr      r4,r27                                 
ffc04bb4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04bb8:	4e 80 04 21 	bctrl                                          
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
ffc04bbc:	3b de 00 01 	addi    r30,r30,1                              
ffc04bc0:	a0 1c 00 10 	lhz     r0,16(r28)                             
ffc04bc4:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc04bc8:	40 9d fe f4 	ble+    cr7,ffc04abc <rtems_cpu_usage_report_with_plugin+0x9c>
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
ffc04bcc:	7f 9f c0 00 	cmpw    cr7,r31,r24                            
ffc04bd0:	40 9e fe cc 	bne+    cr7,ffc04a9c <rtems_cpu_usage_report_with_plugin+0x7c>
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)(                                                         
ffc04bd4:	80 c1 00 34 	lwz     r6,52(r1)                              
ffc04bd8:	38 00 03 e8 	li      r0,1000                                
ffc04bdc:	3c 80 ff c2 	lis     r4,-62                                 
ffc04be0:	80 a1 00 30 	lwz     r5,48(r1)                              
ffc04be4:	7c c6 03 96 	divwu   r6,r6,r0                               
ffc04be8:	80 01 00 58 	lwz     r0,88(r1)                              
ffc04bec:	7c 09 03 a6 	mtctr   r0                                     
ffc04bf0:	7f a3 eb 78 	mr      r3,r29                                 
ffc04bf4:	38 84 e3 70 	addi    r4,r4,-7312                            
ffc04bf8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04bfc:	4e 80 04 21 	bctrl                                          
       "-------------------------------------------------------------------------------\n",
       _Watchdog_Ticks_since_boot - CPU_usage_Ticks_at_last_reset,    
       total_units                                                    
    );                                                                
  #endif                                                              
}                                                                     
ffc04c00:	39 61 00 88 	addi    r11,r1,136                             
ffc04c04:	4b ff c7 28 	b       ffc0132c <_restgpr_23_x>               
                                                                      

ffc0fc14 <rtems_deviceio_errno>: [RTEMS_PROXY_BLOCKING] = EIO }; int rtems_deviceio_errno(rtems_status_code sc) { if (sc == RTEMS_SUCCESSFUL) {
ffc0fc14:	2c 03 00 00 	cmpwi   r3,0                                   
  [RTEMS_IO_ERROR]                 = EIO,                             
  [RTEMS_PROXY_BLOCKING]           = EIO                              
};                                                                    
                                                                      
int rtems_deviceio_errno(rtems_status_code sc)                        
{                                                                     
ffc0fc18:	7c 08 02 a6 	mflr    r0                                     
ffc0fc1c:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0fc20:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0fc24:	90 01 00 14 	stw     r0,20(r1)                              
ffc0fc28:	48 00 a7 f5 	bl      ffc1a41c <_savegpr_31>                 
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
ffc0fc2c:	38 00 00 00 	li      r0,0                                   
  [RTEMS_PROXY_BLOCKING]           = EIO                              
};                                                                    
                                                                      
int rtems_deviceio_errno(rtems_status_code sc)                        
{                                                                     
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc0fc30:	41 a2 00 2c 	beq+    ffc0fc5c <rtems_deviceio_errno+0x48>   
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
ffc0fc34:	2b 83 00 1c 	cmplwi  cr7,r3,28                              
int rtems_deviceio_errno(rtems_status_code sc)                        
{                                                                     
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
ffc0fc38:	3b e0 00 16 	li      r31,22                                 
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
ffc0fc3c:	41 9d 00 14 	bgt-    cr7,ffc0fc50 <rtems_deviceio_errno+0x3c><== NEVER TAKEN
      eno = status_code_to_errno [sc];                                
ffc0fc40:	3d 20 ff c2 	lis     r9,-62                                 
ffc0fc44:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
ffc0fc48:	39 29 c6 d4 	addi    r9,r9,-14636                           
ffc0fc4c:	7f e9 18 2e 	lwzx    r31,r9,r3                              
    }                                                                 
                                                                      
    errno = eno;                                                      
ffc0fc50:	48 00 00 35 	bl      ffc0fc84 <__errno>                     
                                                                      
    return -1;                                                        
ffc0fc54:	38 00 ff ff 	li      r0,-1                                  
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
      eno = status_code_to_errno [sc];                                
    }                                                                 
                                                                      
    errno = eno;                                                      
ffc0fc58:	93 e3 00 00 	stw     r31,0(r3)                              
                                                                      
    return -1;                                                        
  }                                                                   
}                                                                     
ffc0fc5c:	39 61 00 10 	addi    r11,r1,16                              
ffc0fc60:	7c 03 03 78 	mr      r3,r0                                  
ffc0fc64:	4b ff 08 e0 	b       ffc00544 <_restgpr_31_x>               
                                                                      

ffc04274 <rtems_disk_create_log>: dev_t phys, rtems_blkdev_bnum begin_block, rtems_blkdev_bnum block_count, const char *name ) {
ffc04274:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc04278:	7c 08 02 a6 	mflr    r0                                     
ffc0427c:	90 01 00 3c 	stw     r0,60(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *physical_disk = NULL;                            
  rtems_disk_device *dd = NULL;                                       
ffc04280:	38 00 00 00 	li      r0,0                                   
  dev_t phys,                                                         
  rtems_blkdev_bnum begin_block,                                      
  rtems_blkdev_bnum block_count,                                      
  const char *name                                                    
)                                                                     
{                                                                     
ffc04284:	bf 01 00 18 	stmw    r24,24(r1)                             
ffc04288:	7c 9f 23 78 	mr      r31,r4                                 
ffc0428c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc04290:	7c db 33 78 	mr      r27,r6                                 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *physical_disk = NULL;                            
  rtems_disk_device *dd = NULL;                                       
ffc04294:	90 01 00 08 	stw     r0,8(r1)                               
  dev_t phys,                                                         
  rtems_blkdev_bnum begin_block,                                      
  rtems_blkdev_bnum block_count,                                      
  const char *name                                                    
)                                                                     
{                                                                     
ffc04298:	7c ba 2b 78 	mr      r26,r5                                 
ffc0429c:	7c fd 3b 78 	mr      r29,r7                                 
ffc042a0:	7d 1c 43 78 	mr      r28,r8                                 
ffc042a4:	7d 39 4b 78 	mr      r25,r9                                 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *physical_disk = NULL;                            
  rtems_disk_device *dd = NULL;                                       
  rtems_blkdev_bnum end_block = begin_block + block_count;            
                                                                      
  sc = disk_lock();                                                   
ffc042a8:	4b ff fc a5 	bl      ffc03f4c <disk_lock>                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc042ac:	7c 78 1b 79 	mr.     r24,r3                                 
ffc042b0:	40 a2 00 b8 	bne+    ffc04368 <rtems_disk_create_log+0xf4>  <== NEVER TAKEN
    return sc;                                                        
  }                                                                   
                                                                      
  physical_disk = get_disk_entry(phys, true);                         
ffc042b4:	7f 43 d3 78 	mr      r3,r26                                 
ffc042b8:	7f 64 db 78 	mr      r4,r27                                 
ffc042bc:	38 a0 00 01 	li      r5,1                                   
ffc042c0:	4b ff fb a5 	bl      ffc03e64 <get_disk_entry>              
  if (physical_disk == NULL || !is_physical_disk(physical_disk)) {    
ffc042c4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc042c8:	41 82 00 10 	beq-    ffc042d8 <rtems_disk_create_log+0x64>  
}                                                                     
                                                                      
static bool                                                           
is_physical_disk(const rtems_disk_device *dd)                         
{                                                                     
  return dd->phys_dev == dd;                                          
ffc042cc:	83 43 00 08 	lwz     r26,8(r3)                              
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
                                                                      
  physical_disk = get_disk_entry(phys, true);                         
  if (physical_disk == NULL || !is_physical_disk(physical_disk)) {    
ffc042d0:	7f 9a 18 00 	cmpw    cr7,r26,r3                             
ffc042d4:	41 9e 00 10 	beq-    cr7,ffc042e4 <rtems_disk_create_log+0x70>
    disk_unlock();                                                    
ffc042d8:	4b ff fc c5 	bl      ffc03f9c <disk_unlock>                 
                                                                      
    return RTEMS_INVALID_ID;                                          
ffc042dc:	3b 00 00 04 	li      r24,4                                  
ffc042e0:	48 00 00 88 	b       ffc04368 <rtems_disk_create_log+0xf4>  
  }                                                                   
                                                                      
  if (                                                                
    begin_block >= physical_disk->size                                
ffc042e4:	80 1a 00 1c 	lwz     r0,28(r26)                             
    disk_unlock();                                                    
                                                                      
    return RTEMS_INVALID_ID;                                          
  }                                                                   
                                                                      
  if (                                                                
ffc042e8:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc042ec:	40 9c 00 18 	bge-    cr7,ffc04304 <rtems_disk_create_log+0x90>
)                                                                     
{                                                                     
  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;            
ffc042f0:	7d 3c ea 14 	add     r9,r28,r29                             
    return RTEMS_INVALID_ID;                                          
  }                                                                   
                                                                      
  if (                                                                
    begin_block >= physical_disk->size                                
      || end_block <= begin_block                                     
ffc042f4:	7f 89 e8 40 	cmplw   cr7,r9,r29                             
ffc042f8:	40 bd 00 0c 	ble+    cr7,ffc04304 <rtems_disk_create_log+0x90><== NEVER TAKEN
      || end_block > physical_disk->size                              
ffc042fc:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc04300:	40 9d 00 10 	ble-    cr7,ffc04310 <rtems_disk_create_log+0x9c>
  ) {                                                                 
    disk_unlock();                                                    
ffc04304:	4b ff fc 99 	bl      ffc03f9c <disk_unlock>                 
                                                                      
    return RTEMS_INVALID_NUMBER;                                      
ffc04308:	3b 00 00 0a 	li      r24,10                                 
ffc0430c:	48 00 00 5c 	b       ffc04368 <rtems_disk_create_log+0xf4>  
  }                                                                   
                                                                      
  sc = create_disk(dev, name, &dd);                                   
ffc04310:	7f c3 f3 78 	mr      r3,r30                                 
ffc04314:	7f e4 fb 78 	mr      r4,r31                                 
ffc04318:	7f 25 cb 78 	mr      r5,r25                                 
ffc0431c:	38 c1 00 08 	addi    r6,r1,8                                
ffc04320:	4b ff fc c5 	bl      ffc03fe4 <create_disk>                 
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04324:	7c 78 1b 79 	mr.     r24,r3                                 
ffc04328:	40 82 00 3c 	bne-    ffc04364 <rtems_disk_create_log+0xf0>  
    disk_unlock();                                                    
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  dd->phys_dev = physical_disk;                                       
ffc0432c:	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;  
ffc04330:	80 1a 00 20 	lwz     r0,32(r26)                             
    disk_unlock();                                                    
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  dd->phys_dev = physical_disk;                                       
ffc04334:	93 49 00 08 	stw     r26,8(r9)                              
  dd->start = begin_block;                                            
  dd->size = block_count;                                             
  dd->block_size = dd->media_block_size = physical_disk->block_size;  
ffc04338:	90 09 00 24 	stw     r0,36(r9)                              
ffc0433c:	90 09 00 20 	stw     r0,32(r9)                              
  dd->ioctl = physical_disk->ioctl;                                   
ffc04340:	80 1a 00 28 	lwz     r0,40(r26)                             
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  dd->phys_dev = physical_disk;                                       
  dd->start = begin_block;                                            
ffc04344:	93 a9 00 18 	stw     r29,24(r9)                             
  dd->size = block_count;                                             
  dd->block_size = dd->media_block_size = physical_disk->block_size;  
  dd->ioctl = physical_disk->ioctl;                                   
ffc04348:	90 09 00 28 	stw     r0,40(r9)                              
  dd->driver_data = physical_disk->driver_data;                       
ffc0434c:	80 1a 00 2c 	lwz     r0,44(r26)                             
    return sc;                                                        
  }                                                                   
                                                                      
  dd->phys_dev = physical_disk;                                       
  dd->start = begin_block;                                            
  dd->size = block_count;                                             
ffc04350:	93 89 00 1c 	stw     r28,28(r9)                             
  dd->block_size = dd->media_block_size = physical_disk->block_size;  
  dd->ioctl = physical_disk->ioctl;                                   
  dd->driver_data = physical_disk->driver_data;                       
ffc04354:	90 09 00 2c 	stw     r0,44(r9)                              
                                                                      
  ++physical_disk->uses;                                              
ffc04358:	81 3a 00 14 	lwz     r9,20(r26)                             
ffc0435c:	38 09 00 01 	addi    r0,r9,1                                
ffc04360:	90 1a 00 14 	stw     r0,20(r26)                             
                                                                      
  disk_unlock();                                                      
ffc04364:	4b ff fc 39 	bl      ffc03f9c <disk_unlock>                 
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04368:	39 61 00 38 	addi    r11,r1,56                              
ffc0436c:	7f 03 c3 78 	mr      r3,r24                                 
ffc04370:	48 01 42 5c 	b       ffc185cc <_restgpr_24_x>               
                                                                      

ffc041b0 <rtems_disk_create_phys>: rtems_blkdev_bnum block_count, rtems_block_device_ioctl handler, void *driver_data, const char *name ) {
ffc041b0:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc041b4:	7c 08 02 a6 	mflr    r0                                     
ffc041b8:	bf 01 00 18 	stmw    r24,24(r1)                             
  rtems_disk_device *dd = NULL;                                       
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (handler == NULL) {                                              
ffc041bc:	7c f9 3b 79 	mr.     r25,r7                                 
  rtems_blkdev_bnum block_count,                                      
  rtems_block_device_ioctl handler,                                   
  void *driver_data,                                                  
  const char *name                                                    
)                                                                     
{                                                                     
ffc041c0:	7c 9d 23 78 	mr      r29,r4                                 
ffc041c4:	90 01 00 3c 	stw     r0,60(r1)                              
  rtems_disk_device *dd = NULL;                                       
ffc041c8:	38 00 00 00 	li      r0,0                                   
  rtems_blkdev_bnum block_count,                                      
  rtems_block_device_ioctl handler,                                   
  void *driver_data,                                                  
  const char *name                                                    
)                                                                     
{                                                                     
ffc041cc:	7c 7c 1b 78 	mr      r28,r3                                 
ffc041d0:	7c bf 2b 78 	mr      r31,r5                                 
  rtems_disk_device *dd = NULL;                                       
ffc041d4:	90 01 00 08 	stw     r0,8(r1)                               
  rtems_blkdev_bnum block_count,                                      
  rtems_block_device_ioctl handler,                                   
  void *driver_data,                                                  
  const char *name                                                    
)                                                                     
{                                                                     
ffc041d8:	7c de 33 78 	mr      r30,r6                                 
ffc041dc:	7d 1b 43 78 	mr      r27,r8                                 
ffc041e0:	7d 38 4b 78 	mr      r24,r9                                 
  rtems_disk_device *dd = NULL;                                       
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (handler == NULL) {                                              
    return RTEMS_INVALID_ADDRESS;                                     
ffc041e4:	3b 40 00 09 	li      r26,9                                  
)                                                                     
{                                                                     
  rtems_disk_device *dd = NULL;                                       
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (handler == NULL) {                                              
ffc041e8:	41 82 00 80 	beq-    ffc04268 <rtems_disk_create_phys+0xb8> 
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  if (block_size == 0) {                                              
ffc041ec:	2f 85 00 00 	cmpwi   cr7,r5,0                               
    return RTEMS_INVALID_NUMBER;                                      
ffc041f0:	3b 40 00 0a 	li      r26,10                                 
                                                                      
  if (handler == NULL) {                                              
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  if (block_size == 0) {                                              
ffc041f4:	41 be 00 74 	beq+    cr7,ffc04268 <rtems_disk_create_phys+0xb8>
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
                                                                      
  sc = disk_lock();                                                   
ffc041f8:	4b ff fd 55 	bl      ffc03f4c <disk_lock>                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc041fc:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc04200:	40 a2 00 68 	bne+    ffc04268 <rtems_disk_create_phys+0xb8> <== NEVER TAKEN
    return sc;                                                        
  }                                                                   
                                                                      
  sc = create_disk(dev, name, &dd);                                   
ffc04204:	7f 83 e3 78 	mr      r3,r28                                 
ffc04208:	7f a4 eb 78 	mr      r4,r29                                 
ffc0420c:	7f 05 c3 78 	mr      r5,r24                                 
ffc04210:	38 c1 00 08 	addi    r6,r1,8                                
ffc04214:	4b ff fd d1 	bl      ffc03fe4 <create_disk>                 
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04218:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc0421c:	40 82 00 48 	bne-    ffc04264 <rtems_disk_create_phys+0xb4> 
    disk_unlock();                                                    
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  dd->phys_dev = dd;                                                  
ffc04220:	80 61 00 08 	lwz     r3,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) {
ffc04224:	3c 80 20 00 	lis     r4,8192                                
ffc04228:	60 84 42 08 	ori     r4,r4,16904                            
ffc0422c:	7f 29 03 a6 	mtctr   r25                                    
    disk_unlock();                                                    
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  dd->phys_dev = dd;                                                  
ffc04230:	90 63 00 08 	stw     r3,8(r3)                               
  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) {
ffc04234:	38 a3 00 0c 	addi    r5,r3,12                               
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  dd->phys_dev = dd;                                                  
  dd->start = 0;                                                      
ffc04238:	93 43 00 18 	stw     r26,24(r3)                             
  dd->size = block_count;                                             
ffc0423c:	93 c3 00 1c 	stw     r30,28(r3)                             
  dd->block_size = dd->media_block_size = block_size;                 
ffc04240:	93 e3 00 24 	stw     r31,36(r3)                             
ffc04244:	93 e3 00 20 	stw     r31,32(r3)                             
  dd->ioctl = handler;                                                
ffc04248:	93 23 00 28 	stw     r25,40(r3)                             
  dd->driver_data = driver_data;                                      
ffc0424c:	93 63 00 2c 	stw     r27,44(r3)                             
                                                                      
  if ((*handler)(dd, RTEMS_BLKIO_CAPABILITIES, &dd->capabilities) < 0) {
ffc04250:	4e 80 04 21 	bctrl                                          
ffc04254:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04258:	40 bc 00 0c 	bge+    cr7,ffc04264 <rtems_disk_create_phys+0xb4><== NEVER TAKEN
    dd->capabilities = 0;                                             
ffc0425c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc04260:	93 49 00 0c 	stw     r26,12(r9)                             
  }                                                                   
                                                                      
  disk_unlock();                                                      
ffc04264:	4b ff fd 39 	bl      ffc03f9c <disk_unlock>                 
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04268:	39 61 00 38 	addi    r11,r1,56                              
ffc0426c:	7f 43 d3 78 	mr      r3,r26                                 
ffc04270:	48 01 43 5c 	b       ffc185cc <_restgpr_24_x>               
                                                                      

ffc04374 <rtems_disk_delete>: } } rtems_status_code rtems_disk_delete(dev_t dev) {
ffc04374:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc04378:	7c 08 02 a6 	mflr    r0                                     
ffc0437c:	be c1 00 08 	stmw    r22,8(r1)                              
ffc04380:	7c 9d 23 78 	mr      r29,r4                                 
ffc04384:	7c 7c 1b 78 	mr      r28,r3                                 
ffc04388:	90 01 00 34 	stw     r0,52(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *dd = NULL;                                       
                                                                      
  sc = disk_lock();                                                   
ffc0438c:	4b ff fb c1 	bl      ffc03f4c <disk_lock>                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04390:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc04394:	40 a2 01 64 	bne+    ffc044f8 <rtems_disk_delete+0x184>     <== NEVER TAKEN
    return sc;                                                        
  }                                                                   
                                                                      
  dd = get_disk_entry(dev, true);                                     
ffc04398:	7f 83 e3 78 	mr      r3,r28                                 
ffc0439c:	7f a4 eb 78 	mr      r4,r29                                 
ffc043a0:	38 a0 00 01 	li      r5,1                                   
ffc043a4:	4b ff fa c1 	bl      ffc03e64 <get_disk_entry>              
  if (dd == NULL) {                                                   
ffc043a8:	7c 69 1b 79 	mr.     r9,r3                                  
ffc043ac:	40 a2 00 10 	bne+    ffc043bc <rtems_disk_delete+0x48>      <== ALWAYS TAKEN
    disk_unlock();                                                    
ffc043b0:	4b ff fb ed 	bl      ffc03f9c <disk_unlock>                 <== NOT EXECUTED
                                                                      
    return RTEMS_INVALID_ID;                                          
ffc043b4:	3b e0 00 04 	li      r31,4                                  <== NOT EXECUTED
ffc043b8:	48 00 01 40 	b       ffc044f8 <rtems_disk_delete+0x184>     <== NOT EXECUTED
  }                                                                   
                                                                      
  dd->deleted = true;                                                 
ffc043bc:	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;  
ffc043c0:	83 89 00 08 	lwz     r28,8(r9)                              
    disk_unlock();                                                    
                                                                      
    return RTEMS_INVALID_ID;                                          
  }                                                                   
                                                                      
  dd->deleted = true;                                                 
ffc043c4:	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) {                                       
ffc043c8:	88 1c 00 30 	lbz     r0,48(r28)                             
ffc043cc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc043d0:	41 9e 00 e8 	beq-    cr7,ffc044b8 <rtems_disk_delete+0x144> 
    dev_t dev = physical_disk->dev;                                   
ffc043d4:	82 dc 00 00 	lwz     r22,0(r28)                             
    unsigned deleted_count = 0;                                       
ffc043d8:	3b 60 00 00 	li      r27,0                                  
  rtems_disk_device *const physical_disk = disk_to_remove->phys_dev;  
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  if (physical_disk->deleted) {                                       
    dev_t dev = physical_disk->dev;                                   
ffc043dc:	82 fc 00 04 	lwz     r23,4(r28)                             
    unsigned deleted_count = 0;                                       
                                                                      
    for (major = 0; major < disktab_size; ++major) {                  
ffc043e0:	3b c0 00 00 	li      r30,0                                  
ffc043e4:	3f 40 00 00 	lis     r26,0                                  
          if (dd->uses == 0) {                                        
            ++deleted_count;                                          
            dtab->minor [minor] = NULL;                               
            free_disk_device(dd);                                     
          } else {                                                    
            dd->deleted = true;                                       
ffc043e8:	3b 00 00 01 	li      r24,1                                  
ffc043ec:	48 00 00 84 	b       ffc04470 <rtems_disk_delete+0xfc>      
  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;                
ffc043f0:	83 29 00 04 	lwz     r25,4(r9)                              
ffc043f4:	57 c0 18 38 	rlwinm  r0,r30,3,0,28                          
                                                                      
      for (minor = 0; minor < dtab->size; ++minor) {                  
ffc043f8:	3b a0 00 00 	li      r29,0                                  
  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;                
ffc043fc:	7f 39 02 14 	add     r25,r25,r0                             
ffc04400:	48 00 00 60 	b       ffc04460 <rtems_disk_delete+0xec>      
                                                                      
      for (minor = 0; minor < dtab->size; ++minor) {                  
        rtems_disk_device *dd = dtab->minor [minor];                  
ffc04404:	81 39 00 00 	lwz     r9,0(r25)                              
ffc04408:	57 a0 10 3a 	rlwinm  r0,r29,2,0,29                          
ffc0440c:	7c 69 00 2e 	lwzx    r3,r9,r0                               
                                                                      
        if (dd != NULL && dd->phys_dev->dev == dev && dd != physical_disk) {
ffc04410:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04414:	41 9e 00 48 	beq-    cr7,ffc0445c <rtems_disk_delete+0xe8>  
ffc04418:	81 63 00 08 	lwz     r11,8(r3)                              
ffc0441c:	81 4b 00 00 	lwz     r10,0(r11)                             
ffc04420:	7f 8a b0 00 	cmpw    cr7,r10,r22                            
ffc04424:	40 be 00 38 	bne+    cr7,ffc0445c <rtems_disk_delete+0xe8>  <== NEVER TAKEN
ffc04428:	81 6b 00 04 	lwz     r11,4(r11)                             
ffc0442c:	7f 8b b8 00 	cmpw    cr7,r11,r23                            
ffc04430:	40 be 00 2c 	bne+    cr7,ffc0445c <rtems_disk_delete+0xe8>  <== NEVER TAKEN
ffc04434:	7f 83 e0 00 	cmpw    cr7,r3,r28                             
ffc04438:	41 9e 00 24 	beq-    cr7,ffc0445c <rtems_disk_delete+0xe8>  
          if (dd->uses == 0) {                                        
ffc0443c:	81 63 00 14 	lwz     r11,20(r3)                             
ffc04440:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc04444:	40 be 00 14 	bne+    cr7,ffc04458 <rtems_disk_delete+0xe4>  
            ++deleted_count;                                          
            dtab->minor [minor] = NULL;                               
ffc04448:	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;                                          
ffc0444c:	3b 7b 00 01 	addi    r27,r27,1                              
            dtab->minor [minor] = NULL;                               
            free_disk_device(dd);                                     
ffc04450:	4b ff fa 99 	bl      ffc03ee8 <free_disk_device>            
ffc04454:	48 00 00 08 	b       ffc0445c <rtems_disk_delete+0xe8>      
          } else {                                                    
            dd->deleted = true;                                       
ffc04458:	9b 03 00 30 	stb     r24,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) {                  
ffc0445c:	3b bd 00 01 	addi    r29,r29,1                              
ffc04460:	80 19 00 04 	lwz     r0,4(r25)                              
ffc04464:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc04468:	41 9c ff 9c 	blt+    cr7,ffc04404 <rtems_disk_delete+0x90>  
                                                                      
  if (physical_disk->deleted) {                                       
    dev_t dev = physical_disk->dev;                                   
    unsigned deleted_count = 0;                                       
                                                                      
    for (major = 0; major < disktab_size; ++major) {                  
ffc0446c:	3b de 00 01 	addi    r30,r30,1                              
ffc04470:	80 1a 28 70 	lwz     r0,10352(r26)                          
ffc04474:	39 3a 28 70 	addi    r9,r26,10352                           
ffc04478:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc0447c:	41 9c ff 74 	blt+    cr7,ffc043f0 <rtems_disk_delete+0x7c>  
          }                                                           
        }                                                             
      }                                                               
    }                                                                 
                                                                      
    physical_disk->uses -= deleted_count;                             
ffc04480:	80 1c 00 14 	lwz     r0,20(r28)                             
ffc04484:	7f 7b 00 50 	subf    r27,r27,r0                             
    if (physical_disk->uses == 0) {                                   
ffc04488:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
          }                                                           
        }                                                             
      }                                                               
    }                                                                 
                                                                      
    physical_disk->uses -= deleted_count;                             
ffc0448c:	93 7c 00 14 	stw     r27,20(r28)                            
    if (physical_disk->uses == 0) {                                   
ffc04490:	40 be 00 64 	bne+    cr7,ffc044f4 <rtems_disk_delete+0x180> 
      rtems_filesystem_split_dev_t(physical_disk->dev, major, minor); 
ffc04494:	81 5c 00 00 	lwz     r10,0(r28)                             
      disktab [major].minor [minor] = NULL;                           
      free_disk_device(physical_disk);                                
ffc04498:	7f 83 e3 78 	mr      r3,r28                                 
    }                                                                 
                                                                      
    physical_disk->uses -= deleted_count;                             
    if (physical_disk->uses == 0) {                                   
      rtems_filesystem_split_dev_t(physical_disk->dev, major, minor); 
      disktab [major].minor [minor] = NULL;                           
ffc0449c:	81 69 00 04 	lwz     r11,4(r9)                              
      }                                                               
    }                                                                 
                                                                      
    physical_disk->uses -= deleted_count;                             
    if (physical_disk->uses == 0) {                                   
      rtems_filesystem_split_dev_t(physical_disk->dev, major, minor); 
ffc044a0:	80 1c 00 04 	lwz     r0,4(r28)                              
      disktab [major].minor [minor] = NULL;                           
ffc044a4:	55 49 18 38 	rlwinm  r9,r10,3,0,28                          
ffc044a8:	7d 2b 48 2e 	lwzx    r9,r11,r9                              
ffc044ac:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc044b0:	7f 69 01 2e 	stwx    r27,r9,r0                              
ffc044b4:	48 00 00 3c 	b       ffc044f0 <rtems_disk_delete+0x17c>     
      free_disk_device(physical_disk);                                
    }                                                                 
  } else {                                                            
    if (disk_to_remove->uses == 0) {                                  
ffc044b8:	80 09 00 14 	lwz     r0,20(r9)                              
ffc044bc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc044c0:	40 be 00 34 	bne+    cr7,ffc044f4 <rtems_disk_delete+0x180> <== NEVER TAKEN
      --physical_disk->uses;                                          
ffc044c4:	81 7c 00 14 	lwz     r11,20(r28)                            
      rtems_filesystem_split_dev_t(disk_to_remove->dev, major, minor);
ffc044c8:	81 49 00 00 	lwz     r10,0(r9)                              
      disktab [major].minor [minor] = NULL;                           
      free_disk_device(physical_disk);                                
    }                                                                 
  } else {                                                            
    if (disk_to_remove->uses == 0) {                                  
      --physical_disk->uses;                                          
ffc044cc:	38 0b ff ff 	addi    r0,r11,-1                              
ffc044d0:	90 1c 00 14 	stw     r0,20(r28)                             
      rtems_filesystem_split_dev_t(disk_to_remove->dev, major, minor);
ffc044d4:	80 09 00 04 	lwz     r0,4(r9)                               
      disktab [major].minor [minor] = NULL;                           
ffc044d8:	3d 20 00 00 	lis     r9,0                                   
ffc044dc:	81 69 28 74 	lwz     r11,10356(r9)                          
ffc044e0:	55 49 18 38 	rlwinm  r9,r10,3,0,28                          
ffc044e4:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc044e8:	7d 2b 48 2e 	lwzx    r9,r11,r9                              
ffc044ec:	7f e9 01 2e 	stwx    r31,r9,r0                              
      free_disk_device(disk_to_remove);                               
ffc044f0:	4b ff f9 f9 	bl      ffc03ee8 <free_disk_device>            
  }                                                                   
                                                                      
  dd->deleted = true;                                                 
  rtems_disk_cleanup(dd);                                             
                                                                      
  disk_unlock();                                                      
ffc044f4:	4b ff fa a9 	bl      ffc03f9c <disk_unlock>                 
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc044f8:	39 61 00 30 	addi    r11,r1,48                              
ffc044fc:	7f e3 fb 78 	mr      r3,r31                                 
ffc04500:	48 01 40 c4 	b       ffc185c4 <_restgpr_22_x>               
                                                                      

ffc046f4 <rtems_disk_io_initialize>: rtems_status_code rtems_disk_io_initialize(void) {
ffc046f4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc046f8:	7c 08 02 a6 	mflr    r0                                     
ffc046fc:	bf 81 00 08 	stmw    r28,8(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number size = DISKTAB_INITIAL_SIZE;              
                                                                      
  if (disktab_size > 0) {                                             
ffc04700:	3f a0 00 00 	lis     r29,0                                  
ffc04704:	3b fd 28 70 	addi    r31,r29,10352                          
ffc04708:	83 9d 28 70 	lwz     r28,10352(r29)                         
    return RTEMS_SUCCESSFUL;                                          
ffc0470c:	3b c0 00 00 	li      r30,0                                  
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_io_initialize(void)                                        
{                                                                     
ffc04710:	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) {                                             
ffc04714:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc04718:	40 be 00 84 	bne+    cr7,ffc0479c <rtems_disk_io_initialize+0xa8><== NEVER TAKEN
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  disktab = calloc(size, sizeof(rtems_disk_device_table));            
ffc0471c:	38 60 00 08 	li      r3,8                                   
ffc04720:	38 80 00 08 	li      r4,8                                   
ffc04724:	48 00 09 4d 	bl      ffc05070 <calloc>                      
  if (disktab == NULL) {                                              
    return RTEMS_NO_MEMORY;                                           
ffc04728:	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) {                                              
ffc0472c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
  if (disktab_size > 0) {                                             
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  disktab = calloc(size, sizeof(rtems_disk_device_table));            
ffc04730:	90 7f 00 04 	stw     r3,4(r31)                              
  if (disktab == NULL) {                                              
ffc04734:	41 9e 00 68 	beq-    cr7,ffc0479c <rtems_disk_io_initialize+0xa8><== NEVER TAKEN
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  diskdevs_protected = false;                                         
ffc04738:	9b 9f 00 0c 	stb     r28,12(r31)                            
  sc = rtems_semaphore_create(                                        
ffc0473c:	3c 60 44 44 	lis     r3,17476                               
ffc04740:	60 63 45 56 	ori     r3,r3,17750                            
ffc04744:	38 80 00 01 	li      r4,1                                   
ffc04748:	38 a0 00 10 	li      r5,16                                  
ffc0474c:	38 c0 00 00 	li      r6,0                                   
ffc04750:	38 ff 00 08 	addi    r7,r31,8                               
ffc04754:	48 00 41 51 	bl      ffc088a4 <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) {                                       
ffc04758:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0475c:	41 9e 00 10 	beq-    cr7,ffc0476c <rtems_disk_io_initialize+0x78><== ALWAYS TAKEN
    free(disktab);                                                    
ffc04760:	80 7f 00 04 	lwz     r3,4(r31)                              <== NOT EXECUTED
ffc04764:	48 00 0b 0d 	bl      ffc05270 <free>                        <== NOT EXECUTED
                                                                      
    return RTEMS_NO_MEMORY;                                           
ffc04768:	48 00 00 34 	b       ffc0479c <rtems_disk_io_initialize+0xa8><== NOT EXECUTED
  }                                                                   
                                                                      
  sc = rtems_bdbuf_init();                                            
ffc0476c:	48 00 9e f1 	bl      ffc0e65c <rtems_bdbuf_init>            
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04770:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04774:	41 9e 00 1c 	beq-    cr7,ffc04790 <rtems_disk_io_initialize+0x9c><== ALWAYS TAKEN
    rtems_semaphore_delete(diskdevs_mutex);                           
ffc04778:	80 7f 00 08 	lwz     r3,8(r31)                              <== NOT EXECUTED
    free(disktab);                                                    
                                                                      
    return RTEMS_UNSATISFIED;                                         
ffc0477c:	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);                           
ffc04780:	48 00 42 e1 	bl      ffc08a60 <rtems_semaphore_delete>      <== NOT EXECUTED
    free(disktab);                                                    
ffc04784:	80 7f 00 04 	lwz     r3,4(r31)                              <== NOT EXECUTED
ffc04788:	48 00 0a e9 	bl      ffc05270 <free>                        <== NOT EXECUTED
                                                                      
    return RTEMS_UNSATISFIED;                                         
ffc0478c:	48 00 00 10 	b       ffc0479c <rtems_disk_io_initialize+0xa8><== NOT EXECUTED
  }                                                                   
                                                                      
  disktab_size = size;                                                
ffc04790:	38 00 00 08 	li      r0,8                                   
ffc04794:	90 1d 28 70 	stw     r0,10352(r29)                          
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc04798:	3b c0 00 00 	li      r30,0                                  
}                                                                     
ffc0479c:	39 61 00 18 	addi    r11,r1,24                              
ffc047a0:	7f c3 f3 78 	mr      r3,r30                                 
ffc047a4:	48 01 3e 38 	b       ffc185dc <_restgpr_28_x>               
                                                                      

ffc045f0 <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) {
ffc045f0:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_disk_device *                                                   
rtems_disk_next(dev_t dev)                                            
{                                                                     
ffc045f4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc045f8:	7c 08 02 a6 	mflr    r0                                     
ffc045fc:	bf 81 00 08 	stmw    r28,8(r1)                              
ffc04600:	90 01 00 1c 	stw     r0,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) {                                            
ffc04604:	40 be 00 0c 	bne+    cr7,ffc04610 <rtems_disk_next+0x20>    
ffc04608:	2f 84 ff ff 	cmpwi   cr7,r4,-1                              
ffc0460c:	41 9e 00 2c 	beq-    cr7,ffc04638 <rtems_disk_next+0x48>    <== ALWAYS TAKEN
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
    /* If minor wraps around */                                       
    if ((minor + 1) < minor) {                                        
ffc04610:	3b c4 00 01 	addi    r30,r4,1                               
ffc04614:	7f 9e 20 40 	cmplw   cr7,r30,r4                             
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.device = device;                                               
  return temp.__overlay.major;                                        
ffc04618:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0461c:	40 9c 00 24 	bge-    cr7,ffc04640 <rtems_disk_next+0x50>    <== ALWAYS TAKEN
      /* If major wraps around */                                     
      if ((major + 1) < major) {                                      
ffc04620:	3b e3 00 01 	addi    r31,r3,1                               <== NOT EXECUTED
ffc04624:	7f 9f 18 40 	cmplw   cr7,r31,r3                             <== NOT EXECUTED
        return NULL;                                                  
ffc04628:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
      }                                                               
      ++major;                                                        
      minor = 0;                                                      
ffc0462c:	3b c0 00 00 	li      r30,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) {                                      
ffc04630:	40 bc 00 10 	bge+    cr7,ffc04640 <rtems_disk_next+0x50>    <== NOT EXECUTED
ffc04634:	48 00 00 b4 	b       ffc046e8 <rtems_disk_next+0xf8>        <== NOT EXECUTED
rtems_disk_next(dev_t dev)                                            
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device_table *dtab = NULL;                               
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
ffc04638:	3b c0 00 00 	li      r30,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;                                
ffc0463c:	3b e0 00 00 	li      r31,0                                  
    } else {                                                          
      ++minor;                                                        
    }                                                                 
  }                                                                   
                                                                      
  sc = disk_lock();                                                   
ffc04640:	4b ff f9 0d 	bl      ffc03f4c <disk_lock>                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return NULL;                                                      
ffc04644:	3b a0 00 00 	li      r29,0                                  
      ++minor;                                                        
    }                                                                 
  }                                                                   
                                                                      
  sc = disk_lock();                                                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04648:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0464c:	40 9e 00 9c 	bne-    cr7,ffc046e8 <rtems_disk_next+0xf8>    <== NEVER TAKEN
    return NULL;                                                      
  }                                                                   
                                                                      
  if (major >= disktab_size) {                                        
ffc04650:	3d 20 00 00 	lis     r9,0                                   
ffc04654:	81 69 28 70 	lwz     r11,10352(r9)                          
ffc04658:	39 49 28 70 	addi    r10,r9,10352                           
ffc0465c:	7f 9f 58 40 	cmplw   cr7,r31,r11                            
ffc04660:	41 bc 00 0c 	blt+    cr7,ffc0466c <rtems_disk_next+0x7c>    <== ALWAYS TAKEN
    disk_unlock();                                                    
ffc04664:	4b ff f9 39 	bl      ffc03f9c <disk_unlock>                 <== NOT EXECUTED
                                                                      
    return NULL;                                                      
ffc04668:	48 00 00 80 	b       ffc046e8 <rtems_disk_next+0xf8>        <== NOT EXECUTED
  }                                                                   
                                                                      
  dtab = disktab + major;                                             
ffc0466c:	80 0a 00 04 	lwz     r0,4(r10)                              
ffc04670:	57 fd 18 38 	rlwinm  r29,r31,3,0,28                         
ffc04674:	7f a0 ea 14 	add     r29,r0,r29                             
  while (true) {                                                      
    if (dtab->minor == NULL || minor >= dtab->size) {                 
ffc04678:	81 3d 00 00 	lwz     r9,0(r29)                              
ffc0467c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc04680:	41 9e 00 10 	beq-    cr7,ffc04690 <rtems_disk_next+0xa0>    
ffc04684:	81 5d 00 04 	lwz     r10,4(r29)                             
ffc04688:	7f 9e 50 40 	cmplw   cr7,r30,r10                            
ffc0468c:	41 9c 00 2c 	blt-    cr7,ffc046b8 <rtems_disk_next+0xc8>    
       minor = 0;                                                     
       ++major;                                                       
ffc04690:	3b ff 00 01 	addi    r31,r31,1                              
       if (major >= disktab_size) {                                   
ffc04694:	7f 9f 58 40 	cmplw   cr7,r31,r11                            
ffc04698:	41 bc 00 10 	blt+    cr7,ffc046a8 <rtems_disk_next+0xb8>    
         disk_unlock();                                               
ffc0469c:	4b ff f9 01 	bl      ffc03f9c <disk_unlock>                 
                                                                      
         return NULL;                                                 
ffc046a0:	3b a0 00 00 	li      r29,0                                  
ffc046a4:	48 00 00 44 	b       ffc046e8 <rtems_disk_next+0xf8>        
       }                                                              
       dtab = disktab + major;                                        
ffc046a8:	57 fd 18 38 	rlwinm  r29,r31,3,0,28                         
ffc046ac:	7f a0 ea 14 	add     r29,r0,r29                             
  }                                                                   
                                                                      
  dtab = disktab + major;                                             
  while (true) {                                                      
    if (dtab->minor == NULL || minor >= dtab->size) {                 
       minor = 0;                                                     
ffc046b0:	3b c0 00 00 	li      r30,0                                  
       if (major >= disktab_size) {                                   
         disk_unlock();                                               
                                                                      
         return NULL;                                                 
       }                                                              
       dtab = disktab + major;                                        
ffc046b4:	4b ff ff c4 	b       ffc04678 <rtems_disk_next+0x88>        
    } else if (dtab->minor [minor] == NULL) {                         
ffc046b8:	57 dc 10 3a 	rlwinm  r28,r30,2,0,29                         
ffc046bc:	7d 29 e0 2e 	lwzx    r9,r9,r28                              
ffc046c0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc046c4:	40 9e 00 0c 	bne-    cr7,ffc046d0 <rtems_disk_next+0xe0>    
      ++minor;                                                        
ffc046c8:	3b de 00 01 	addi    r30,r30,1                              
ffc046cc:	4b ff ff ac 	b       ffc04678 <rtems_disk_next+0x88>        
    } else {                                                          
      ++dtab->minor [minor]->uses;                                    
ffc046d0:	81 69 00 14 	lwz     r11,20(r9)                             
ffc046d4:	38 0b 00 01 	addi    r0,r11,1                               
ffc046d8:	90 09 00 14 	stw     r0,20(r9)                              
      disk_unlock();                                                  
ffc046dc:	4b ff f8 c1 	bl      ffc03f9c <disk_unlock>                 
                                                                      
      return dtab->minor [minor];                                     
ffc046e0:	81 3d 00 00 	lwz     r9,0(r29)                              
ffc046e4:	7f a9 e0 2e 	lwzx    r29,r9,r28                             
    }                                                                 
  }                                                                   
}                                                                     
ffc046e8:	39 61 00 18 	addi    r11,r1,24                              
ffc046ec:	7f a3 eb 78 	mr      r3,r29                                 
ffc046f0:	48 01 3e ec 	b       ffc185dc <_restgpr_28_x>               
                                                                      

ffc04504 <rtems_disk_obtain>: rtems_disk_device * rtems_disk_obtain(dev_t dev) {
ffc04504:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc04508:	7c 08 02 a6 	mflr    r0                                     
ffc0450c:	bf 81 00 08 	stmw    r28,8(r1)                              
ffc04510:	7c 9d 23 78 	mr      r29,r4                                 
ffc04514:	7c 7c 1b 78 	mr      r28,r3                                 
ffc04518:	90 01 00 1c 	stw     r0,28(r1)                              
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0451c:	7f e0 00 a6 	mfmsr   r31                                    
ffc04520:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc04524:	7f e0 00 78 	andc    r0,r31,r0                              
ffc04528:	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) {                                          
ffc0452c:	3d 20 00 00 	lis     r9,0                                   
ffc04530:	88 09 28 7c 	lbz     r0,10364(r9)                           
ffc04534:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04538:	40 be 00 18 	bne+    cr7,ffc04550 <rtems_disk_obtain+0x4c>  <== NEVER TAKEN
    /* Frequent and quickest case */                                  
    dd = get_disk_entry(dev, false);                                  
ffc0453c:	38 a0 00 00 	li      r5,0                                   
ffc04540:	4b ff f9 25 	bl      ffc03e64 <get_disk_entry>              
ffc04544:	7c 7e 1b 78 	mr      r30,r3                                 
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc04548:	7f e0 01 24 	mtmsr   r31                                    
ffc0454c:	48 00 00 30 	b       ffc0457c <rtems_disk_obtain+0x78>      
ffc04550:	7f e0 01 24 	mtmsr   r31                                    <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
  } else {                                                            
    rtems_interrupt_enable(level);                                    
                                                                      
    sc = disk_lock();                                                 
ffc04554:	4b ff f9 f9 	bl      ffc03f4c <disk_lock>                   <== NOT EXECUTED
                                                                      
rtems_disk_device *                                                   
rtems_disk_obtain(dev_t dev)                                          
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *dd = NULL;                                       
ffc04558:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
  } else {                                                            
    rtems_interrupt_enable(level);                                    
                                                                      
    sc = disk_lock();                                                 
    if (sc == RTEMS_SUCCESSFUL) {                                     
ffc0455c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc04560:	40 9e 00 1c 	bne-    cr7,ffc0457c <rtems_disk_obtain+0x78>  <== NOT EXECUTED
      dd = get_disk_entry(dev, false);                                
ffc04564:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc04568:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc0456c:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc04570:	4b ff f8 f5 	bl      ffc03e64 <get_disk_entry>              <== NOT EXECUTED
ffc04574:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
      disk_unlock();                                                  
ffc04578:	4b ff fa 25 	bl      ffc03f9c <disk_unlock>                 <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  return dd;                                                          
}                                                                     
ffc0457c:	39 61 00 18 	addi    r11,r1,24                              
ffc04580:	7f c3 f3 78 	mr      r3,r30                                 
ffc04584:	48 01 40 58 	b       ffc185dc <_restgpr_28_x>               
                                                                      

ffc0464c <rtems_error>: int rtems_error( rtems_error_code_t error_flag, const char *printf_format, ... ) {
ffc0464c:	7c 2b 0b 78 	mr      r11,r1                                 
ffc04650:	7c 08 02 a6 	mflr    r0                                     
ffc04654:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc04658:	48 01 5d c5 	bl      ffc1a41c <_savegpr_31>                 
ffc0465c:	90 01 00 7c 	stw     r0,124(r1)                             
ffc04660:	7c 7f 1b 78 	mr      r31,r3                                 
ffc04664:	90 a1 00 18 	stw     r5,24(r1)                              
ffc04668:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc0466c:	90 e1 00 20 	stw     r7,32(r1)                              
ffc04670:	91 01 00 24 	stw     r8,36(r1)                              
ffc04674:	91 21 00 28 	stw     r9,40(r1)                              
ffc04678:	91 41 00 2c 	stw     r10,44(r1)                             
ffc0467c:	40 86 00 24 	bne-    cr1,ffc046a0 <rtems_error+0x54>        <== ALWAYS TAKEN
ffc04680:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc04684:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc04688:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc0468c:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc04690:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc04694:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc04698:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc0469c:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  va_list arglist;                                                    
  int chars_written;                                                  
                                                                      
  va_start(arglist, printf_format);                                   
ffc046a0:	38 00 00 02 	li      r0,2                                   
ffc046a4:	98 01 00 08 	stb     r0,8(r1)                               
ffc046a8:	38 00 00 00 	li      r0,0                                   
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
ffc046ac:	7f e3 fb 78 	mr      r3,r31                                 
)                                                                     
{                                                                     
  va_list arglist;                                                    
  int chars_written;                                                  
                                                                      
  va_start(arglist, printf_format);                                   
ffc046b0:	98 01 00 09 	stb     r0,9(r1)                               
ffc046b4:	38 01 00 80 	addi    r0,r1,128                              
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
ffc046b8:	38 a1 00 08 	addi    r5,r1,8                                
)                                                                     
{                                                                     
  va_list arglist;                                                    
  int chars_written;                                                  
                                                                      
  va_start(arglist, printf_format);                                   
ffc046bc:	90 01 00 0c 	stw     r0,12(r1)                              
ffc046c0:	38 01 00 10 	addi    r0,r1,16                               
ffc046c4:	90 01 00 10 	stw     r0,16(r1)                              
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
ffc046c8:	4b ff fe 05 	bl      ffc044cc <rtems_verror>                
  va_end(arglist);                                                    
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
ffc046cc:	77 e0 20 00 	andis.  r0,r31,8192                            
ffc046d0:	41 a2 00 24 	beq+    ffc046f4 <rtems_error+0xa8>            
    rtems_error(0, "fatal error, exiting");                           
ffc046d4:	3c 80 ff c2 	lis     r4,-62                                 
ffc046d8:	38 84 c0 c7 	addi    r4,r4,-16185                           
ffc046dc:	38 60 00 00 	li      r3,0                                   
ffc046e0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc046e4:	4b ff ff 69 	bl      ffc0464c <rtems_error>                 
    _exit(errno);                                                     
ffc046e8:	48 00 b5 9d 	bl      ffc0fc84 <__errno>                     
ffc046ec:	80 63 00 00 	lwz     r3,0(r3)                               
ffc046f0:	48 00 0c 11 	bl      ffc05300 <_exit>                       
  }                                                                   
  if (error_flag & RTEMS_ERROR_ABORT) {                               
ffc046f4:	77 e0 10 00 	andis.  r0,r31,4096                            
ffc046f8:	41 a2 00 1c 	beq+    ffc04714 <rtems_error+0xc8>            
    rtems_error(0, "fatal error, aborting");                          
ffc046fc:	3c 80 ff c2 	lis     r4,-62                                 
ffc04700:	38 84 c0 dc 	addi    r4,r4,-16164                           
ffc04704:	38 60 00 00 	li      r3,0                                   
ffc04708:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0470c:	4b ff ff 41 	bl      ffc0464c <rtems_error>                 
    abort();                                                          
ffc04710:	48 00 b5 59 	bl      ffc0fc68 <abort>                       
  }                                                                   
                                                                      
  return chars_written;                                               
}                                                                     
ffc04714:	39 61 00 78 	addi    r11,r1,120                             
ffc04718:	4b ff be 2c 	b       ffc00544 <_restgpr_31_x>               
                                                                      

ffc0d378 <rtems_filesystem_get_mount_handler>: find_arg fa = { .type = type, .mount_h = NULL }; if ( type != NULL ) {
ffc0d378:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
rtems_filesystem_fsmount_me_t                                         
rtems_filesystem_get_mount_handler(                                   
  const char *type                                                    
)                                                                     
{                                                                     
ffc0d37c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0d380:	7c 08 02 a6 	mflr    r0                                     
  find_arg fa = {                                                     
ffc0d384:	90 61 00 08 	stw     r3,8(r1)                               
                                                                      
rtems_filesystem_fsmount_me_t                                         
rtems_filesystem_get_mount_handler(                                   
  const char *type                                                    
)                                                                     
{                                                                     
ffc0d388:	90 01 00 1c 	stw     r0,28(r1)                              
  find_arg fa = {                                                     
ffc0d38c:	38 00 00 00 	li      r0,0                                   
ffc0d390:	90 01 00 0c 	stw     r0,12(r1)                              
    .type = type,                                                     
    .mount_h = NULL                                                   
  };                                                                  
                                                                      
  if ( type != NULL ) {                                               
ffc0d394:	41 9e 00 14 	beq-    cr7,ffc0d3a8 <rtems_filesystem_get_mount_handler+0x30><== NEVER TAKEN
    rtems_filesystem_iterate( find_handler, &fa );                    
ffc0d398:	3c 60 ff c1 	lis     r3,-63                                 
ffc0d39c:	38 63 d2 24 	addi    r3,r3,-11740                           
ffc0d3a0:	38 81 00 08 	addi    r4,r1,8                                
ffc0d3a4:	4b ff ff 21 	bl      ffc0d2c4 <rtems_filesystem_iterate>    
  }                                                                   
                                                                      
  return fa.mount_h;                                                  
}                                                                     
ffc0d3a8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0d3ac:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc0d3b0:	38 21 00 18 	addi    r1,r1,24                               
ffc0d3b4:	7c 08 03 a6 	mtlr    r0                                     
ffc0d3b8:	4e 80 00 20 	blr                                            
                                                                      

ffc04344 <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 ) {
ffc04344:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc04348:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
ffc0434c:	3c 60 ab cd 	lis     r3,-21555                              
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
ffc04350:	bf a1 00 2c 	stmw    r29,44(r1)                             
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
ffc04354:	3f c0 00 00 	lis     r30,0                                  
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
ffc04358:	60 63 00 01 	ori     r3,r3,1                                
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
ffc0435c:	81 3e 27 3c 	lwz     r9,10044(r30)                          
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
ffc04360:	90 01 00 3c 	stw     r0,60(r1)                              
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
ffc04364:	38 00 00 12 	li      r0,18                                  
ffc04368:	90 09 00 2c 	stw     r0,44(r9)                              
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
ffc0436c:	3d 20 00 00 	lis     r9,0                                   
ffc04370:	80 09 26 f0 	lwz     r0,9968(r9)                            
ffc04374:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04378:	41 9e 00 34 	beq-    cr7,ffc043ac <rtems_filesystem_initialize+0x68><== NEVER TAKEN
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
ffc0437c:	3d 20 00 00 	lis     r9,0                                   
ffc04380:	81 29 26 f4 	lwz     r9,9972(r9)                            
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
ffc04384:	38 e0 00 00 	li      r7,0                                   
ffc04388:	80 69 00 08 	lwz     r3,8(r9)                               
ffc0438c:	80 89 00 0c 	lwz     r4,12(r9)                              
ffc04390:	80 a9 00 00 	lwz     r5,0(r9)                               
ffc04394:	80 c9 00 04 	lwz     r6,4(r9)                               
ffc04398:	48 00 0c 35 	bl      ffc04fcc <mount>                       
  if ( status == -1 )                                                 
ffc0439c:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc043a0:	40 be 00 10 	bne+    cr7,ffc043b0 <rtems_filesystem_initialize+0x6c><== ALWAYS TAKEN
    rtems_fatal_error_occurred( 0xABCD0002 );                         
ffc043a4:	3c 60 ab cd 	lis     r3,-21555                              <== NOT EXECUTED
ffc043a8:	60 63 00 02 	ori     r3,r3,2                                <== NOT EXECUTED
ffc043ac:	48 00 44 cd 	bl      ffc08878 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      
  rtems_filesystem_link_counts = 0;                                   
ffc043b0:	81 3e 27 3c 	lwz     r9,10044(r30)                          
ffc043b4:	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);                 
ffc043b8:	3f a0 ff c2 	lis     r29,-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;                                   
ffc043bc:	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);                 
ffc043c0:	3b e1 00 08 	addi    r31,r1,8                               
ffc043c4:	3b bd bf 28 	addi    r29,r29,-16600                         
ffc043c8:	38 a0 00 00 	li      r5,0                                   
ffc043cc:	7f e6 fb 78 	mr      r6,r31                                 
ffc043d0:	38 e0 00 00 	li      r7,0                                   
ffc043d4:	38 80 00 01 	li      r4,1                                   
ffc043d8:	7f a3 eb 78 	mr      r3,r29                                 
ffc043dc:	48 00 04 61 	bl      ffc0483c <rtems_filesystem_evaluate_path>
  rtems_filesystem_root        = loc;                                 
ffc043e0:	81 7e 27 3c 	lwz     r11,10044(r30)                         
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
ffc043e4:	38 80 00 01 	li      r4,1                                   
   *                                                                  
   *       Till Straumann, 10/25/2002                                 
   */                                                                 
  /* Clone the root pathloc */                                        
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
  rtems_filesystem_root        = loc;                                 
ffc043e8:	39 6b 00 18 	addi    r11,r11,24                             
ffc043ec:	7c bf a4 aa 	lswi    r5,r31,20                              
ffc043f0:	7c ab a5 aa 	stswi   r5,r11,20                              
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
ffc043f4:	7f a3 eb 78 	mr      r3,r29                                 
ffc043f8:	38 a0 00 00 	li      r5,0                                   
ffc043fc:	7f e6 fb 78 	mr      r6,r31                                 
ffc04400:	38 e0 00 00 	li      r7,0                                   
ffc04404:	48 00 04 39 	bl      ffc0483c <rtems_filesystem_evaluate_path>
  rtems_filesystem_current     = loc;                                 
ffc04408:	81 7e 27 3c 	lwz     r11,10044(r30)                         
   *                                                                  
   *  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);                                      
ffc0440c:	3c 60 ff c2 	lis     r3,-62                                 
  /* 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;                                 
ffc04410:	39 6b 00 04 	addi    r11,r11,4                              
ffc04414:	7c bf a4 aa 	lswi    r5,r31,20                              
ffc04418:	7c ab a5 aa 	stswi   r5,r11,20                              
   *                                                                  
   *  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);                                      
ffc0441c:	38 63 bf 2a 	addi    r3,r3,-16598                           
ffc04420:	38 80 01 ff 	li      r4,511                                 
ffc04424:	48 00 09 dd 	bl      ffc04e00 <mkdir>                       
  if ( status != 0 )                                                  
ffc04428:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0442c:	41 be 00 10 	beq+    cr7,ffc0443c <rtems_filesystem_initialize+0xf8><== ALWAYS TAKEN
    rtems_fatal_error_occurred( 0xABCD0003 );                         
ffc04430:	3c 60 ab cd 	lis     r3,-21555                              <== NOT EXECUTED
ffc04434:	60 63 00 03 	ori     r3,r3,3                                <== NOT EXECUTED
ffc04438:	4b ff ff 74 	b       ffc043ac <rtems_filesystem_initialize+0x68><== NOT EXECUTED
   *  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.        
   */                                                                 
}                                                                     
ffc0443c:	39 61 00 38 	addi    r11,r1,56                              
ffc04440:	4b ff c0 fc 	b       ffc0053c <_restgpr_29_x>               
                                                                      

ffc0d2c4 <rtems_filesystem_iterate>: bool rtems_filesystem_iterate( rtems_per_filesystem_routine routine, void *routine_arg ) {
ffc0d2c4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0d2c8:	7c 08 02 a6 	mflr    r0                                     
ffc0d2cc:	bf 81 00 10 	stmw    r28,16(r1)                             
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
ffc0d2d0:	3f e0 ff c2 	lis     r31,-62                                
                                                                      
bool rtems_filesystem_iterate(                                        
  rtems_per_filesystem_routine routine,                               
  void *routine_arg                                                   
)                                                                     
{                                                                     
ffc0d2d4:	7c 9e 23 78 	mr      r30,r4                                 
ffc0d2d8:	90 01 00 24 	stw     r0,36(r1)                              
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
ffc0d2dc:	3b 80 00 00 	li      r28,0                                  
bool rtems_filesystem_iterate(                                        
  rtems_per_filesystem_routine routine,                               
  void *routine_arg                                                   
)                                                                     
{                                                                     
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
ffc0d2e0:	3b ff b2 a8 	addi    r31,r31,-19800                         
                                                                      
bool rtems_filesystem_iterate(                                        
  rtems_per_filesystem_routine routine,                               
  void *routine_arg                                                   
)                                                                     
{                                                                     
ffc0d2e4:	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 ) {                              
ffc0d2e8:	48 00 00 20 	b       ffc0d308 <rtems_filesystem_iterate+0x44>
    stop = (*routine)( table_entry, routine_arg );                    
ffc0d2ec:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0d2f0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d2f4:	7f c4 f3 78 	mr      r4,r30                                 
ffc0d2f8:	7c 09 03 a6 	mtctr   r0                                     
    ++table_entry;                                                    
ffc0d2fc:	3b ff 00 08 	addi    r31,r31,8                              
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
    stop = (*routine)( table_entry, routine_arg );                    
ffc0d300:	4e 80 04 21 	bctrl                                          
ffc0d304:	7c 7c 1b 78 	mr      r28,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 ) {                              
ffc0d308:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc0d30c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0d310:	2f 00 00 00 	cmpwi   cr6,r0,0                               
ffc0d314:	41 9a 00 0c 	beq-    cr6,ffc0d320 <rtems_filesystem_iterate+0x5c>
ffc0d318:	41 9e ff d4 	beq+    cr7,ffc0d2ec <rtems_filesystem_iterate+0x28>
ffc0d31c:	48 00 00 50 	b       ffc0d36c <rtems_filesystem_iterate+0xa8>
    stop = (*routine)( table_entry, routine_arg );                    
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
ffc0d320:	40 9e 00 4c 	bne-    cr7,ffc0d36c <rtems_filesystem_iterate+0xa8>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0d324:	3f a0 00 00 	lis     r29,0                                  
    rtems_libio_lock();                                               
ffc0d328:	4b ff ff 45 	bl      ffc0d26c <rtems_libio_lock>            
ffc0d32c:	83 fd 21 c0 	lwz     r31,8640(r29)                          
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
ffc0d330:	3b bd 21 c0 	addi    r29,r29,8640                           
ffc0d334:	3b bd 00 04 	addi    r29,r29,4                              
    for (                                                             
ffc0d338:	48 00 00 20 	b       ffc0d358 <rtems_filesystem_iterate+0x94>
      !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 );                  
ffc0d33c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0d340:	38 7f 00 08 	addi    r3,r31,8                               
ffc0d344:	7f c4 f3 78 	mr      r4,r30                                 
ffc0d348:	7c 09 03 a6 	mtctr   r0                                     
ffc0d34c:	4e 80 04 21 	bctrl                                          
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0d350:	83 ff 00 00 	lwz     r31,0(r31)                             
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
      node = rtems_chain_next( node )                                 
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
ffc0d354:	7c 7c 1b 78 	mr      r28,r3                                 
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
ffc0d358:	7f 9f e8 00 	cmpw    cr7,r31,r29                            
ffc0d35c:	41 9e 00 0c 	beq-    cr7,ffc0d368 <rtems_filesystem_iterate+0xa4>
      node = rtems_chain_first( &filesystem_chain );                  
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
ffc0d360:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0d364:	41 9e ff d8 	beq+    cr7,ffc0d33c <rtems_filesystem_iterate+0x78><== ALWAYS TAKEN
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
    }                                                                 
    rtems_libio_unlock();                                             
ffc0d368:	4b ff ff 35 	bl      ffc0d29c <rtems_libio_unlock>          
  }                                                                   
                                                                      
  return stop;                                                        
}                                                                     
ffc0d36c:	39 61 00 20 	addi    r11,r1,32                              
ffc0d370:	7f 83 e3 78 	mr      r3,r28                                 
ffc0d374:	4b ff 31 c4 	b       ffc00538 <_restgpr_28_x>               
                                                                      

ffc04f58 <rtems_filesystem_mount_iterate>: bool rtems_filesystem_mount_iterate( rtems_per_filesystem_mount_routine routine, void *routine_arg ) {
ffc04f58:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc04f5c:	7c 08 02 a6 	mflr    r0                                     
ffc04f60:	bf 61 00 0c 	stmw    r27,12(r1)                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc04f64:	3f c0 00 00 	lis     r30,0                                  
ffc04f68:	7c 7c 1b 78 	mr      r28,r3                                 
ffc04f6c:	90 01 00 24 	stw     r0,36(r1)                              
ffc04f70:	7c 9d 23 78 	mr      r29,r4                                 
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
ffc04f74:	4b ff ff b5 	bl      ffc04f28 <rtems_libio_lock>            
  rtems_per_filesystem_mount_routine routine,                         
  void *routine_arg                                                   
)                                                                     
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
ffc04f78:	3b 60 00 00 	li      r27,0                                  
ffc04f7c:	83 fe 21 a4 	lwz     r31,8612(r30)                          
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  Chain_Control *the_chain,                                           
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Tail(the_chain));                        
ffc04f80:	3b de 21 a4 	addi    r30,r30,8612                           
ffc04f84:	3b de 00 04 	addi    r30,r30,4                              
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
ffc04f88:	48 00 00 1c 	b       ffc04fa4 <rtems_filesystem_mount_iterate+0x4c>
    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 );                       
ffc04f8c:	7f e3 fb 78 	mr      r3,r31                                 
ffc04f90:	7f 89 03 a6 	mtctr   r28                                    
ffc04f94:	7f a4 eb 78 	mr      r4,r29                                 
ffc04f98:	4e 80 04 21 	bctrl                                          
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
ffc04f9c:	83 ff 00 00 	lwz     r31,0(r31)                             
    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 );                       
ffc04fa0:	7c 7b 1b 78 	mr      r27,r3                                 
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
ffc04fa4:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc04fa8:	41 9e 00 0c 	beq-    cr7,ffc04fb4 <rtems_filesystem_mount_iterate+0x5c>
    node = rtems_chain_first( &mount_chain );                         
    !rtems_chain_is_tail( &mount_chain, node ) && !stop;              
ffc04fac:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc04fb0:	41 9e ff dc 	beq+    cr7,ffc04f8c <rtems_filesystem_mount_iterate+0x34><== ALWAYS TAKEN
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc04fb4:	3d 20 00 00 	lis     r9,0                                   
ffc04fb8:	80 69 27 b4 	lwz     r3,10164(r9)                           
ffc04fbc:	48 00 32 15 	bl      ffc081d0 <rtems_semaphore_release>     
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
ffc04fc0:	39 61 00 20 	addi    r11,r1,32                              
ffc04fc4:	7f 63 db 78 	mr      r3,r27                                 
ffc04fc8:	4b ff b5 6c 	b       ffc00534 <_restgpr_27_x>               
                                                                      

ffc04f14 <rtems_gxx_key_create>: int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *)) {
ffc04f14:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc04f18:	7c 08 02 a6 	mflr    r0                                     
ffc04f1c:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc04f20:	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 ) );
ffc04f24:	38 60 00 08 	li      r3,8                                   
  }                                                                   
  return 0;                                                           
}                                                                     
                                                                      
int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *))
{                                                                     
ffc04f28:	7c 9e 23 78 	mr      r30,r4                                 
ffc04f2c:	90 01 00 1c 	stw     r0,28(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 ) );
ffc04f30:	48 00 05 31 	bl      ffc05460 <malloc>                      
  *key = new_key;                                                     
  new_key->val  = NULL;                                               
ffc04f34:	38 00 00 00 	li      r0,0                                   
   * We have to to this, because the others functions on this interface
   * deal with the value of the key, as used with the POSIX API.      
   */                                                                 
   /* Do not pull your hair, trust me this works. :-) */              
  __gthread_key_t new_key = (__gthread_key_t) malloc( sizeof( *new_key ) );
  *key = new_key;                                                     
ffc04f38:	90 7d 00 00 	stw     r3,0(r29)                              
   * 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 ) );
ffc04f3c:	7c 7f 1b 78 	mr      r31,r3                                 
      "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 );
ffc04f40:	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;                                               
ffc04f44:	90 03 00 00 	stw     r0,0(r3)                               
      "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 );
ffc04f48:	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;                                               
ffc04f4c:	93 c3 00 04 	stw     r30,4(r3)                              
      "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 );
ffc04f50:	38 60 00 00 	li      r3,0                                   
ffc04f54:	48 00 3f 51 	bl      ffc08ea4 <rtems_task_variable_add>     
  if ( status == RTEMS_SUCCESSFUL )                                   
    return 0;                                                         
ffc04f58:	38 00 00 00 	li      r0,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 )                                   
ffc04f5c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04f60:	41 be 00 10 	beq+    cr7,ffc04f70 <rtems_gxx_key_create+0x5c><== ALWAYS TAKEN
    return 0;                                                         
                                                                      
  free( new_key );                                                    
ffc04f64:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc04f68:	4b ff fe 09 	bl      ffc04d70 <free>                        <== NOT EXECUTED
  return -1;                                                          
ffc04f6c:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
}                                                                     
ffc04f70:	39 61 00 18 	addi    r11,r1,24                              
ffc04f74:	7c 03 03 78 	mr      r3,r0                                  
ffc04f78:	4b ff bc f0 	b       ffc00c68 <_restgpr_29_x>               
                                                                      

ffc04f8c <rtems_gxx_key_delete>: int rtems_gxx_key_delete (__gthread_key_t key) {
ffc04f8c:	7c 2b 0b 78 	mr      r11,r1                                 
ffc04f90:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc04f94:	7c 08 02 a6 	mflr    r0                                     
ffc04f98:	48 01 03 09 	bl      ffc152a0 <_savegpr_31>                 
ffc04f9c:	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 );    
ffc04fa0:	7f e4 fb 78 	mr      r4,r31                                 
  key->val  = 0;                                                      
  return 0;                                                           
}                                                                     
                                                                      
int rtems_gxx_key_delete (__gthread_key_t key)                        
{                                                                     
ffc04fa4:	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 );    
ffc04fa8:	38 60 00 00 	li      r3,0                                   
ffc04fac:	48 00 3f ad 	bl      ffc08f58 <rtems_task_variable_delete>  
  if ( status == RTEMS_SUCCESSFUL ) {                                 
ffc04fb0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04fb4:	40 9e 00 14 	bne-    cr7,ffc04fc8 <rtems_gxx_key_delete+0x3c><== NEVER TAKEN
    /* Hmm - hopefully all tasks using this key have gone away... */  
    if ( key ) free( *(void **)key );                                 
ffc04fb8:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc04fbc:	41 9e 00 0c 	beq-    cr7,ffc04fc8 <rtems_gxx_key_delete+0x3c><== NEVER TAKEN
ffc04fc0:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc04fc4:	4b ff fd ad 	bl      ffc04d70 <free>                        
    return 0;                                                         
  }                                                                   
  key = NULL;                                                         
  return 0;                                                           
}                                                                     
ffc04fc8:	39 61 00 10 	addi    r11,r1,16                              
ffc04fcc:	38 60 00 00 	li      r3,0                                   
ffc04fd0:	4b ff bc a0 	b       ffc00c70 <_restgpr_31_x>               
                                                                      

ffc050e8 <rtems_gxx_mutex_lock>: int rtems_gxx_mutex_lock (__gthread_mutex_t *mutex) {
ffc050e8:	7c 08 02 a6 	mflr    r0                                     
ffc050ec:	94 21 ff f8 	stwu    r1,-8(r1)                              
                                                                      
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: lock mutex=%X\n", *mutex );                
  #endif                                                              
                                                                      
  status = rtems_semaphore_obtain(                                    
ffc050f0:	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)                   
{                                                                     
ffc050f4:	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(                                    
ffc050f8:	38 a0 00 00 	li      r5,0                                   
ffc050fc:	80 63 00 00 	lwz     r3,0(r3)                               
ffc05100:	48 00 36 71 	bl      ffc08770 <rtems_semaphore_obtain>      
    RTEMS_WAIT,                                                       
    RTEMS_NO_TIMEOUT                                                  
  );                                                                  
  if ( status == RTEMS_SUCCESSFUL )                                   
    return 0;                                                         
  return -1;                                                          
ffc05104:	38 00 ff ff 	li      r0,-1                                  
  status = rtems_semaphore_obtain(                                    
    *(rtems_id *)mutex,                                               
    RTEMS_WAIT,                                                       
    RTEMS_NO_TIMEOUT                                                  
  );                                                                  
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc05108:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0510c:	40 9e 00 08 	bne-    cr7,ffc05114 <rtems_gxx_mutex_lock+0x2c><== NEVER TAKEN
    return 0;                                                         
ffc05110:	38 00 00 00 	li      r0,0                                   
  return -1;                                                          
}                                                                     
ffc05114:	7c 03 03 78 	mr      r3,r0                                  
ffc05118:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0511c:	38 21 00 08 	addi    r1,r1,8                                
ffc05120:	7c 08 03 a6 	mtlr    r0                                     
ffc05124:	4e 80 00 20 	blr                                            
                                                                      

ffc05160 <rtems_gxx_mutex_trylock>: int rtems_gxx_mutex_trylock (__gthread_mutex_t *mutex) {
ffc05160:	7c 08 02 a6 	mflr    r0                                     
ffc05164:	94 21 ff f8 	stwu    r1,-8(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);
ffc05168:	38 80 00 01 	li      r4,1                                   
    return 0;                                                         
  return -1;                                                          
}                                                                     
                                                                      
int rtems_gxx_mutex_trylock (__gthread_mutex_t *mutex)                
{                                                                     
ffc0516c:	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);
ffc05170:	38 a0 00 00 	li      r5,0                                   
ffc05174:	80 63 00 00 	lwz     r3,0(r3)                               
ffc05178:	48 00 35 f9 	bl      ffc08770 <rtems_semaphore_obtain>      
  if ( status == RTEMS_SUCCESSFUL )                                   
    return 0;                                                         
  return -1;                                                          
ffc0517c:	38 00 ff ff 	li      r0,-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 )                                   
ffc05180:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05184:	40 9e 00 08 	bne-    cr7,ffc0518c <rtems_gxx_mutex_trylock+0x2c><== NEVER TAKEN
    return 0;                                                         
ffc05188:	38 00 00 00 	li      r0,0                                   
  return -1;                                                          
}                                                                     
ffc0518c:	7c 03 03 78 	mr      r3,r0                                  
ffc05190:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc05194:	38 21 00 08 	addi    r1,r1,8                                
ffc05198:	7c 08 03 a6 	mtlr    r0                                     
ffc0519c:	4e 80 00 20 	blr                                            
                                                                      

ffc051a0 <rtems_gxx_mutex_unlock>: int rtems_gxx_mutex_unlock (__gthread_mutex_t *mutex) {
ffc051a0:	7c 08 02 a6 	mflr    r0                                     
ffc051a4:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc051a8:	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 );             
ffc051ac:	80 63 00 00 	lwz     r3,0(r3)                               
ffc051b0:	48 00 36 ed 	bl      ffc0889c <rtems_semaphore_release>     
  if ( status == RTEMS_SUCCESSFUL )                                   
    return 0;                                                         
  return -1;                                                          
ffc051b4:	38 00 ff ff 	li      r0,-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 )                                   
ffc051b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc051bc:	40 9e 00 08 	bne-    cr7,ffc051c4 <rtems_gxx_mutex_unlock+0x24><== NEVER TAKEN
    return 0;                                                         
ffc051c0:	38 00 00 00 	li      r0,0                                   
  return -1;                                                          
}                                                                     
ffc051c4:	7c 03 03 78 	mr      r3,r0                                  
ffc051c8:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc051cc:	38 21 00 08 	addi    r1,r1,8                                
ffc051d0:	7c 08 03 a6 	mtlr    r0                                     
ffc051d4:	4e 80 00 20 	blr                                            
                                                                      

ffc04ea0 <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)) {
ffc04ea0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc04ea4:	7c 08 02 a6 	mflr    r0                                     
ffc04ea8:	90 01 00 2c 	stw     r0,44(r1)                              
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: once=%x, func=%x\n", *once, func );        
  #endif                                                              
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
ffc04eac:	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))       
{                                                                     
ffc04eb0:	bf a1 00 1c 	stmw    r29,28(r1)                             
ffc04eb4:	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 ) {                    
ffc04eb8:	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))       
{                                                                     
ffc04ebc:	7c 9d 23 78 	mr      r29,r4                                 
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: once=%x, func=%x\n", *once, func );        
  #endif                                                              
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
ffc04ec0:	40 be 00 48 	bne+    cr7,ffc04f08 <rtems_gxx_once+0x68>     
    rtems_mode saveMode;                                              
    __gthread_once_t o;                                               
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
ffc04ec4:	38 60 01 00 	li      r3,256                                 
ffc04ec8:	38 80 01 00 	li      r4,256                                 
ffc04ecc:	38 a1 00 08 	addi    r5,r1,8                                
ffc04ed0:	48 00 3d 4d 	bl      ffc08c1c <rtems_task_mode>             
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
ffc04ed4:	83 df 00 00 	lwz     r30,0(r31)                             
ffc04ed8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc04edc:	40 9e 00 0c 	bne-    cr7,ffc04ee8 <rtems_gxx_once+0x48>     <== NEVER TAKEN
      *(volatile __gthread_once_t *)once = 1;                         
ffc04ee0:	38 00 00 01 	li      r0,1                                   
ffc04ee4:	90 1f 00 00 	stw     r0,0(r31)                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
ffc04ee8:	7c 25 0b 78 	mr      r5,r1                                  
ffc04eec:	84 65 00 08 	lwzu    r3,8(r5)                               
ffc04ef0:	38 80 01 00 	li      r4,256                                 
ffc04ef4:	48 00 3d 29 	bl      ffc08c1c <rtems_task_mode>             
    if ( o == 0 )                                                     
ffc04ef8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc04efc:	40 be 00 0c 	bne+    cr7,ffc04f08 <rtems_gxx_once+0x68>     <== NEVER TAKEN
      (*func)();                                                      
ffc04f00:	7f a9 03 a6 	mtctr   r29                                    
ffc04f04:	4e 80 04 21 	bctrl                                          
  }                                                                   
  return 0;                                                           
}                                                                     
ffc04f08:	39 61 00 28 	addi    r11,r1,40                              
ffc04f0c:	38 60 00 00 	li      r3,0                                   
ffc04f10:	4b ff bd 58 	b       ffc00c68 <_restgpr_29_x>               
                                                                      

ffc05050 <rtems_gxx_setspecific>: int rtems_gxx_setspecific(__gthread_key_t key, const void *ptr) {
ffc05050:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc05054:	7c 08 02 a6 	mflr    r0                                     
ffc05058:	90 01 00 14 	stw     r0,20(r1)                              
ffc0505c:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc05060:	7c 7f 1b 78 	mr      r31,r3                                 
ffc05064:	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 );
ffc05068:	80 bf 00 04 	lwz     r5,4(r31)                              
ffc0506c:	38 60 00 00 	li      r3,0                                   
ffc05070:	7f e4 fb 78 	mr      r4,r31                                 
ffc05074:	48 00 3e 31 	bl      ffc08ea4 <rtems_task_variable_add>     
  if ( status == RTEMS_SUCCESSFUL ) {                                 
    /* now let's set the proper value */                              
    key->val =  (void *)ptr;                                          
    return 0;                                                         
  }                                                                   
  return -1;                                                          
ffc05078:	38 00 ff ff 	li      r0,-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 ) {                                 
ffc0507c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05080:	40 9e 00 0c 	bne-    cr7,ffc0508c <rtems_gxx_setspecific+0x3c><== NEVER TAKEN
    /* now let's set the proper value */                              
    key->val =  (void *)ptr;                                          
ffc05084:	93 df 00 00 	stw     r30,0(r31)                             
    return 0;                                                         
ffc05088:	38 00 00 00 	li      r0,0                                   
  }                                                                   
  return -1;                                                          
}                                                                     
ffc0508c:	39 61 00 10 	addi    r11,r1,16                              
ffc05090:	7c 03 03 78 	mr      r3,r0                                  
ffc05094:	4b ff bb d8 	b       ffc00c6c <_restgpr_30_x>               
                                                                      

ffc08c68 <rtems_heap_allocate_aligned_with_boundary>: void *rtems_heap_allocate_aligned_with_boundary( size_t size, uintptr_t alignment, uintptr_t boundary ) {
ffc08c68:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc08c6c:	7c 08 02 a6 	mflr    r0                                     
  if (                                                                
ffc08c70:	3d 20 00 00 	lis     r9,0                                   
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc08c74:	90 01 00 1c 	stw     r0,28(r1)                              
  if (                                                                
ffc08c78:	80 09 28 80 	lwz     r0,10368(r9)                           
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc08c7c:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc08c80:	7c 7d 1b 78 	mr      r29,r3                                 
  if (                                                                
ffc08c84:	2f 80 00 03 	cmpwi   cr7,r0,3                               
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc08c88:	7c 9e 23 78 	mr      r30,r4                                 
ffc08c8c:	7c bf 2b 78 	mr      r31,r5                                 
  if (                                                                
ffc08c90:	40 be 00 14 	bne+    cr7,ffc08ca4 <rtems_heap_allocate_aligned_with_boundary+0x3c><== NEVER TAKEN
    _System_state_Is_up( _System_state_Get() )                        
      && !malloc_is_system_state_OK()                                 
ffc08c94:	4b ff ed 31 	bl      ffc079c4 <malloc_is_system_state_OK>   
  ) {                                                                 
    return NULL;                                                      
ffc08c98:	38 00 00 00 	li      r0,0                                   
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  if (                                                                
    _System_state_Is_up( _System_state_Get() )                        
      && !malloc_is_system_state_OK()                                 
ffc08c9c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08ca0:	41 9e 00 24 	beq-    cr7,ffc08cc4 <rtems_heap_allocate_aligned_with_boundary+0x5c>
  ) {                                                                 
    return NULL;                                                      
  }                                                                   
                                                                      
  malloc_deferred_frees_process();                                    
ffc08ca4:	4b ff ed 69 	bl      ffc07a0c <malloc_deferred_frees_process>
                                                                      
  /* FIXME: Statistics, boundary checks */                            
                                                                      
  return _Protected_heap_Allocate_aligned_with_boundary(              
ffc08ca8:	3d 20 00 00 	lis     r9,0                                   
ffc08cac:	80 69 27 50 	lwz     r3,10064(r9)                           
ffc08cb0:	7f a4 eb 78 	mr      r4,r29                                 
ffc08cb4:	7f c5 f3 78 	mr      r5,r30                                 
ffc08cb8:	7f e6 fb 78 	mr      r6,r31                                 
ffc08cbc:	48 00 53 d5 	bl      ffc0e090 <_Protected_heap_Allocate_aligned_with_boundary>
ffc08cc0:	7c 60 1b 78 	mr      r0,r3                                  
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment,                                                        
    boundary                                                          
  );                                                                  
}                                                                     
ffc08cc4:	39 61 00 18 	addi    r11,r1,24                              
ffc08cc8:	7c 03 03 78 	mr      r3,r0                                  
ffc08ccc:	4b ff a6 d8 	b       ffc033a4 <_restgpr_29_x>               
                                                                      

ffc04248 <rtems_io_lookup_name>: rtems_status_code rtems_io_lookup_name( const char *name, rtems_driver_name_t *device_info ) {
ffc04248:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0424c:	7c 08 02 a6 	mflr    r0                                     
ffc04250:	bf 81 00 28 	stmw    r28,40(r1)                             
ffc04254:	7c 7e 1b 78 	mr      r30,r3                                 
ffc04258:	7c 9f 23 78 	mr      r31,r4                                 
ffc0425c:	90 01 00 3c 	stw     r0,60(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(                            
ffc04260:	48 00 d3 51 	bl      ffc115b0 <strlen>                      
ffc04264:	7c 64 1b 78 	mr      r4,r3                                  
ffc04268:	38 a0 00 00 	li      r5,0                                   
ffc0426c:	38 c1 00 08 	addi    r6,r1,8                                
ffc04270:	38 e0 00 01 	li      r7,1                                   
ffc04274:	7f c3 f3 78 	mr      r3,r30                                 
ffc04278:	48 00 05 c5 	bl      ffc0483c <rtems_filesystem_evaluate_path>
      name, strlen( name ), 0x00, &loc, true );                       
  the_jnode = loc.node_access;                                        
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
ffc0427c:	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(                            
ffc04280:	7c 7c 1b 78 	mr      r28,r3                                 
      name, strlen( name ), 0x00, &loc, true );                       
  the_jnode = loc.node_access;                                        
ffc04284:	83 a1 00 08 	lwz     r29,8(r1)                              
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
ffc04288:	80 09 00 10 	lwz     r0,16(r9)                              
ffc0428c:	38 61 00 08 	addi    r3,r1,8                                
ffc04290:	7c 09 03 a6 	mtctr   r0                                     
ffc04294:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
ffc04298:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0429c:	40 9e 00 0c 	bne-    cr7,ffc042a8 <rtems_io_lookup_name+0x60><== NEVER TAKEN
ffc042a0:	2f 83 00 02 	cmpwi   cr7,r3,2                               
ffc042a4:	41 9e 00 14 	beq-    cr7,ffc042b8 <rtems_io_lookup_name+0x70>
    rtems_filesystem_freenode( &loc );                                
ffc042a8:	38 61 00 08 	addi    r3,r1,8                                
ffc042ac:	48 00 06 85 	bl      ffc04930 <rtems_filesystem_freenode>   
    return RTEMS_UNSATISFIED;                                         
ffc042b0:	38 60 00 0d 	li      r3,13                                  
ffc042b4:	48 00 00 30 	b       ffc042e4 <rtems_io_lookup_name+0x9c>   
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
ffc042b8:	93 df 00 00 	stw     r30,0(r31)                             
  device_info->device_name_length = strlen( name );                   
ffc042bc:	7f c3 f3 78 	mr      r3,r30                                 
ffc042c0:	48 00 d2 f1 	bl      ffc115b0 <strlen>                      
ffc042c4:	90 7f 00 04 	stw     r3,4(r31)                              
  device_info->major              = the_jnode->info.device.major;     
  device_info->minor              = the_jnode->info.device.minor;     
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc042c8:	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;     
ffc042cc:	80 1d 00 50 	lwz     r0,80(r29)                             
ffc042d0:	90 1f 00 08 	stw     r0,8(r31)                              
  device_info->minor              = the_jnode->info.device.minor;     
ffc042d4:	80 1d 00 54 	lwz     r0,84(r29)                             
ffc042d8:	90 1f 00 0c 	stw     r0,12(r31)                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc042dc:	48 00 06 55 	bl      ffc04930 <rtems_filesystem_freenode>   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc042e0:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc042e4:	39 61 00 38 	addi    r11,r1,56                              
ffc042e8:	4b ff c2 50 	b       ffc00538 <_restgpr_28_x>               
                                                                      

ffc0adf4 <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) {
ffc0adf4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0adf8:	7c 08 02 a6 	mflr    r0                                     
ffc0adfc:	bf 61 00 0c 	stmw    r27,12(r1)                             
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
ffc0ae00:	7c 7b 1b 79 	mr.     r27,r3                                 
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/thread.h>                                       
                                                                      
void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) 
{                                                                     
ffc0ae04:	90 01 00 24 	stw     r0,36(r1)                              
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
ffc0ae08:	41 82 00 64 	beq-    ffc0ae6c <rtems_iterate_over_all_threads+0x78><== NEVER TAKEN
ffc0ae0c:	3f e0 00 00 	lis     r31,0                                  
ffc0ae10:	3b ff 30 00 	addi    r31,r31,12288                          
#endif                                                                
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/thread.h>                                       
                                                                      
void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) 
ffc0ae14:	3b 9f 00 0c 	addi    r28,r31,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 ] )                 
ffc0ae18:	85 3f 00 04 	lwzu    r9,4(r31)                              
ffc0ae1c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ae20:	41 9e 00 44 	beq-    cr7,ffc0ae64 <rtems_iterate_over_all_threads+0x70>
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
ffc0ae24:	83 a9 00 04 	lwz     r29,4(r9)                              
    if ( !information )                                               
ffc0ae28:	3b c0 00 01 	li      r30,1                                  
ffc0ae2c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0ae30:	40 be 00 28 	bne+    cr7,ffc0ae58 <rtems_iterate_over_all_threads+0x64>
ffc0ae34:	48 00 00 30 	b       ffc0ae64 <rtems_iterate_over_all_threads+0x70>
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
      the_thread = (Thread_Control *)information->local_table[ i ];   
ffc0ae38:	81 3d 00 1c 	lwz     r9,28(r29)                             
ffc0ae3c:	57 c0 10 3a 	rlwinm  r0,r30,2,0,29                          
ffc0ae40:	7c 69 00 2e 	lwzx    r3,r9,r0                               
                                                                      
      if ( !the_thread )                                              
ffc0ae44:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ae48:	41 9e 00 0c 	beq-    cr7,ffc0ae54 <rtems_iterate_over_all_threads+0x60>
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
ffc0ae4c:	7f 69 03 a6 	mtctr   r27                                    
ffc0ae50:	4e 80 04 21 	bctrl                                          
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
ffc0ae54:	3b de 00 01 	addi    r30,r30,1                              
ffc0ae58:	a0 1d 00 10 	lhz     r0,16(r29)                             
ffc0ae5c:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc0ae60:	40 9d ff d8 	ble+    cr7,ffc0ae38 <rtems_iterate_over_all_threads+0x44>
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
ffc0ae64:	7f 9f e0 00 	cmpw    cr7,r31,r28                            
ffc0ae68:	40 9e ff b0 	bne+    cr7,ffc0ae18 <rtems_iterate_over_all_threads+0x24>
                                                                      
      (*routine)(the_thread);                                         
    }                                                                 
  }                                                                   
                                                                      
}                                                                     
ffc0ae6c:	39 61 00 20 	addi    r11,r1,32                              
ffc0ae70:	4b ff 64 cc 	b       ffc0133c <_restgpr_27_x>               
                                                                      

ffc0d0e0 <rtems_libio_free>: */ void rtems_libio_free( rtems_libio_t *iop ) {
ffc0d0e0:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0d0e4:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0d0e8:	7c 08 02 a6 	mflr    r0                                     
ffc0d0ec:	48 00 d3 31 	bl      ffc1a41c <_savegpr_31>                 
ffc0d0f0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0d0f4:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_libio_lock();                                                 
ffc0d0f8:	4b ff fe 69 	bl      ffc0cf60 <rtems_libio_lock>            
                                                                      
    if (iop->sem)                                                     
ffc0d0fc:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc0d100:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0d104:	41 be 00 08 	beq+    cr7,ffc0d10c <rtems_libio_free+0x2c>   <== NEVER TAKEN
      rtems_semaphore_delete(iop->sem);                               
ffc0d108:	4b ff ae e5 	bl      ffc07fec <rtems_semaphore_delete>      
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
ffc0d10c:	80 1f 00 18 	lwz     r0,24(r31)                             
    iop->data1 = rtems_libio_iop_freelist;                            
ffc0d110:	3d 20 00 00 	lis     r9,0                                   
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
ffc0d114:	54 00 06 2c 	rlwinm  r0,r0,0,24,22                          
ffc0d118:	90 1f 00 18 	stw     r0,24(r31)                             
    iop->data1 = rtems_libio_iop_freelist;                            
ffc0d11c:	80 09 27 b0 	lwz     r0,10160(r9)                           
    rtems_libio_iop_freelist = iop;                                   
ffc0d120:	93 e9 27 b0 	stw     r31,10160(r9)                          
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
    iop->data1 = rtems_libio_iop_freelist;                            
ffc0d124:	90 1f 00 38 	stw     r0,56(r31)                             
    rtems_libio_iop_freelist = iop;                                   
                                                                      
  rtems_libio_unlock();                                               
}                                                                     
ffc0d128:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0d12c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0d130:	38 21 00 10 	addi    r1,r1,16                               
ffc0d134:	7c 08 03 a6 	mtlr    r0                                     
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
    iop->data1 = rtems_libio_iop_freelist;                            
    rtems_libio_iop_freelist = iop;                                   
                                                                      
  rtems_libio_unlock();                                               
ffc0d138:	4b ff fe 58 	b       ffc0cf90 <rtems_libio_unlock>          
                                                                      

ffc04a8c <rtems_libio_init>: * * Called by BSP startup code to initialize the libio subsystem. */ void rtems_libio_init( void ) {
ffc04a8c:	7c 2b 0b 78 	mr      r11,r1                                 
ffc04a90:	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)                                  
ffc04a94:	3d 20 00 00 	lis     r9,0                                   
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
ffc04a98:	7c 08 02 a6 	mflr    r0                                     
ffc04a9c:	48 01 59 81 	bl      ffc1a41c <_savegpr_31>                 
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
ffc04aa0:	83 e9 26 fc 	lwz     r31,9980(r9)                           
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
ffc04aa4:	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)                                  
ffc04aa8:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc04aac:	41 9e 00 64 	beq-    cr7,ffc04b10 <rtems_libio_init+0x84>   <== NEVER TAKEN
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
ffc04ab0:	7f e3 fb 78 	mr      r3,r31                                 
ffc04ab4:	38 80 00 40 	li      r4,64                                  
ffc04ab8:	4b ff f9 8d 	bl      ffc04444 <calloc>                      
ffc04abc:	3d 20 00 00 	lis     r9,0                                   
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
ffc04ac0:	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,
ffc04ac4:	90 69 27 ac 	stw     r3,10156(r9)                           
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
ffc04ac8:	40 be 00 0c 	bne+    cr7,ffc04ad4 <rtems_libio_init+0x48>   
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
ffc04acc:	38 60 00 1a 	li      r3,26                                  
ffc04ad0:	48 00 00 68 	b       ffc04b38 <rtems_libio_init+0xac>       
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
ffc04ad4:	3d 20 00 00 	lis     r9,0                                   
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
ffc04ad8:	7f e9 03 a6 	mtctr   r31                                    
        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;            
ffc04adc:	90 69 27 b0 	stw     r3,10160(r9)                           
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
ffc04ae0:	39 60 00 00 	li      r11,0                                  
ffc04ae4:	7c 69 1b 78 	mr      r9,r3                                  
ffc04ae8:	48 00 00 0c 	b       ffc04af4 <rtems_libio_init+0x68>       
          iop->data1 = iop + 1;                                       
ffc04aec:	39 29 00 40 	addi    r9,r9,64                               
ffc04af0:	91 29 ff f8 	stw     r9,-8(r9)                              
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
ffc04af4:	39 6b 00 01 	addi    r11,r11,1                              
ffc04af8:	42 00 ff f4 	bdnz+   ffc04aec <rtems_libio_init+0x60>       
 *  rtems_libio_init                                                  
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
ffc04afc:	55 6b 30 32 	rlwinm  r11,r11,6,0,25                         
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
          iop->data1 = iop + 1;                                       
        iop->data1 = NULL;                                            
ffc04b00:	39 6b ff c0 	addi    r11,r11,-64                            
ffc04b04:	7c 63 5a 14 	add     r3,r3,r11                              
ffc04b08:	38 00 00 00 	li      r0,0                                   
ffc04b0c:	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(                                        
ffc04b10:	3c 60 4c 42 	lis     r3,19522                               
ffc04b14:	3c e0 00 00 	lis     r7,0                                   
ffc04b18:	60 63 49 4f 	ori     r3,r3,18767                            
ffc04b1c:	38 80 00 01 	li      r4,1                                   
ffc04b20:	38 a0 00 54 	li      r5,84                                  
ffc04b24:	38 c0 00 00 	li      r6,0                                   
ffc04b28:	38 e7 27 b4 	addi    r7,r7,10164                            
ffc04b2c:	48 00 33 05 	bl      ffc07e30 <rtems_semaphore_create>      
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
ffc04b30:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04b34:	41 be 00 08 	beq+    cr7,ffc04b3c <rtems_libio_init+0xb0>   <== ALWAYS TAKEN
    rtems_fatal_error_occurred( rc );                                 
ffc04b38:	48 00 3d 41 	bl      ffc08878 <rtems_fatal_error_occurred>  
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
ffc04b3c:	3d 20 00 00 	lis     r9,0                                   
ffc04b40:	80 09 27 00 	lwz     r0,9984(r9)                            
ffc04b44:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04b48:	41 9e 00 0c 	beq-    cr7,ffc04b54 <rtems_libio_init+0xc8>   <== NEVER TAKEN
     (* rtems_fs_init_helper)();                                      
ffc04b4c:	7c 09 03 a6 	mtctr   r0                                     
ffc04b50:	4e 80 04 21 	bctrl                                          
}                                                                     
ffc04b54:	39 61 00 10 	addi    r11,r1,16                              
ffc04b58:	4b ff b9 ec 	b       ffc00544 <_restgpr_31_x>               
                                                                      

ffc07fc4 <rtems_libio_set_private_env>: rtems_status_code rtems_libio_set_private_env(void) {
ffc07fc4:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc07fc8:	7c 08 02 a6 	mflr    r0                                     
ffc07fcc:	bf a1 00 3c 	stmw    r29,60(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);       
ffc07fd0:	3f e0 ff c2 	lis     r31,-62                                
ffc07fd4:	3b ff 22 f6 	addi    r31,r31,8950                           
    free(env);                                                        
  }                                                                   
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void)                   
{                                                                     
ffc07fd8:	90 01 00 4c 	stw     r0,76(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_id task_id = rtems_task_self();                               
ffc07fdc:	48 00 32 c9 	bl      ffc0b2a4 <rtems_task_self>             
ffc07fe0:	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);       
ffc07fe4:	38 80 00 01 	li      r4,1                                   
ffc07fe8:	7f e3 fb 78 	mr      r3,r31                                 
ffc07fec:	38 a0 00 00 	li      r5,0                                   
ffc07ff0:	38 c1 00 1c 	addi    r6,r1,28                               
ffc07ff4:	38 e0 00 00 	li      r7,0                                   
ffc07ff8:	4b ff ea 7d 	bl      ffc06a74 <rtems_filesystem_evaluate_path>
                                                                      
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
ffc07ffc:	38 00 00 1a 	li      r0,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)                                                        
ffc08000:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08004:	40 be 00 e0 	bne+    cr7,ffc080e4 <rtems_libio_set_private_env+0x120><== NEVER TAKEN
    goto error_0;                                                     
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, ¤t_loc, 0);    
ffc08008:	7f e3 fb 78 	mr      r3,r31                                 
ffc0800c:	38 80 00 01 	li      r4,1                                   
ffc08010:	38 a0 00 00 	li      r5,0                                   
ffc08014:	38 c1 00 08 	addi    r6,r1,8                                
ffc08018:	38 e0 00 00 	li      r7,0                                   
ffc0801c:	4b ff ea 59 	bl      ffc06a74 <rtems_filesystem_evaluate_path>
  if (rv != 0)                                                        
ffc08020:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08024:	40 9e 00 b4 	bne-    cr7,ffc080d8 <rtems_libio_set_private_env+0x114><== 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                  
ffc08028:	3d 20 00 00 	lis     r9,0                                   
ffc0802c:	81 29 27 1c 	lwz     r9,10012(r9)                           
  /*                                                                  
   * Bharath: I'm not sure if the check can be reduced to             
   * if( rtems_current_user_env->task_id != task_id ) {               
   */                                                                 
                                                                      
  if (                                                                
ffc08030:	3d 60 00 00 	lis     r11,0                                  
ffc08034:	38 0b 2a f8 	addi    r0,r11,11000                           
ffc08038:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0803c:	41 9e 00 10 	beq-    cr7,ffc0804c <rtems_libio_set_private_env+0x88>
    rtems_current_user_env == &rtems_global_user_env                  
      || rtems_current_user_env->task_id != task_id                   
ffc08040:	80 09 00 00 	lwz     r0,0(r9)                               
ffc08044:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc08048:	41 9e 00 38 	beq-    cr7,ffc08080 <rtems_libio_set_private_env+0xbc>
  ) {                                                                 
    new_env = malloc(sizeof(rtems_user_env_t));                       
ffc0804c:	38 60 00 48 	li      r3,72                                  
ffc08050:	4b ff f3 ad 	bl      ffc073fc <malloc>                      
    if (new_env == NULL)                                              
ffc08054:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc08058:	41 82 00 78 	beq-    ffc080d0 <rtems_libio_set_private_env+0x10c>
                                                                      
    #ifdef HAVE_USERENV_REFCNT                                        
      new_env->refcnt = 1;                                            
    #endif                                                            
                                                                      
    sc = rtems_task_variable_add(                                     
ffc0805c:	3f a0 00 00 	lis     r29,0                                  
ffc08060:	3c a0 ff c0 	lis     r5,-64                                 
ffc08064:	38 60 00 00 	li      r3,0                                   
ffc08068:	38 9d 27 1c 	addi    r4,r29,10012                           
ffc0806c:	38 a5 7f 7c 	addi    r5,r5,32636                            
ffc08070:	48 00 33 1d 	bl      ffc0b38c <rtems_task_variable_add>     
      RTEMS_SELF,                                                     
      (void*)&rtems_current_user_env,                                 
      (void(*)(void *))free_user_env                                  
    );                                                                
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc08074:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08078:	40 9e 00 50 	bne-    cr7,ffc080c8 <rtems_libio_set_private_env+0x104>
      goto error_3;                                                   
                                                                      
    rtems_current_user_env = new_env;                                 
ffc0807c:	93 fd 27 1c 	stw     r31,10012(r29)                         
  }                                                                   
                                                                      
  /* Inherit the global values */                                     
  *rtems_current_user_env = rtems_global_user_env;                    
ffc08080:	3d 20 00 00 	lis     r9,0                                   
ffc08084:	83 e9 27 1c 	lwz     r31,10012(r9)                          
ffc08088:	3c 80 00 00 	lis     r4,0                                   
ffc0808c:	38 a0 00 48 	li      r5,72                                  
ffc08090:	7f e3 fb 78 	mr      r3,r31                                 
ffc08094:	38 84 2a f8 	addi    r4,r4,11000                            
ffc08098:	48 00 b3 89 	bl      ffc13420 <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;                                   
ffc0809c:	39 7f 00 18 	addi    r11,r31,24                             
ffc080a0:	38 81 00 1c 	addi    r4,r1,28                               
  }                                                                   
                                                                      
  /* Inherit the global values */                                     
  *rtems_current_user_env = rtems_global_user_env;                    
                                                                      
  rtems_current_user_env->task_id = task_id;                          
ffc080a4:	93 df 00 00 	stw     r30,0(r31)                             
   * 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;                                   
  rtems_filesystem_current = current_loc;                             
ffc080a8:	3b ff 00 04 	addi    r31,r31,4                              
   * 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;                                   
ffc080ac:	7c a4 a4 aa 	lswi    r5,r4,20                               
ffc080b0:	7c ab a5 aa 	stswi   r5,r11,20                              
  rtems_filesystem_current = current_loc;                             
ffc080b4:	39 61 00 08 	addi    r11,r1,8                               
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc080b8:	38 00 00 00 	li      r0,0                                   
   * 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;                                   
  rtems_filesystem_current = current_loc;                             
ffc080bc:	7c ab a4 aa 	lswi    r5,r11,20                              
ffc080c0:	7c bf a5 aa 	stswi   r5,r31,20                              
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc080c4:	48 00 00 20 	b       ffc080e4 <rtems_libio_set_private_env+0x120>
                                                                      
error_3:                                                              
  free(new_env);                                                      
ffc080c8:	7f e3 fb 78 	mr      r3,r31                                 
ffc080cc:	4b ff eb c5 	bl      ffc06c90 <free>                        
                                                                      
error_2:                                                              
  rtems_filesystem_freenode(¤t_loc);                            
ffc080d0:	38 61 00 08 	addi    r3,r1,8                                
ffc080d4:	4b ff eb 91 	bl      ffc06c64 <rtems_filesystem_freenode>   
                                                                      
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
ffc080d8:	38 61 00 1c 	addi    r3,r1,28                               
ffc080dc:	4b ff eb 89 	bl      ffc06c64 <rtems_filesystem_freenode>   
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
ffc080e0:	38 00 00 1a 	li      r0,26                                  
}                                                                     
ffc080e4:	39 61 00 48 	addi    r11,r1,72                              
ffc080e8:	7c 03 03 78 	mr      r3,r0                                  
ffc080ec:	4b ff a7 8c 	b       ffc02878 <_restgpr_29_x>               
                                                                      

ffc080f0 <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) {
ffc080f0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc080f4:	7c 08 02 a6 	mflr    r0                                     
ffc080f8:	bf 81 00 18 	stmw    r28,24(r1)                             
ffc080fc:	7c 7c 1b 78 	mr      r28,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 )                                    
    return RTEMS_SUCCESSFUL;                                          
ffc08100:	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)     
{                                                                     
ffc08104:	90 01 00 2c 	stw     r0,44(r1)                              
  rtems_id           current_task_id;                                 
                                                                      
  /*                                                                  
   * get current task id                                              
   */                                                                 
  current_task_id = rtems_task_self();                                
ffc08108:	48 00 31 9d 	bl      ffc0b2a4 <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 )                                    
ffc0810c:	7f 9c 18 00 	cmpw    cr7,r28,r3                             
  rtems_id           current_task_id;                                 
                                                                      
  /*                                                                  
   * get current task id                                              
   */                                                                 
  current_task_id = rtems_task_self();                                
ffc08110:	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 )                                    
ffc08114:	41 9e 00 3c 	beq-    cr7,ffc08150 <rtems_libio_share_private_env+0x60><== NEVER TAKEN
    return RTEMS_SUCCESSFUL;                                          
  /*                                                                  
   * Try to get the requested user environment                        
   */                                                                 
  sc = rtems_task_variable_get(                                       
ffc08118:	3f c0 00 00 	lis     r30,0                                  
ffc0811c:	7f 83 e3 78 	mr      r3,r28                                 
ffc08120:	38 9e 27 1c 	addi    r4,r30,10012                           
ffc08124:	38 a1 00 08 	addi    r5,r1,8                                
ffc08128:	48 00 33 19 	bl      ffc0b440 <rtems_task_variable_get>     
	 (void*)&shared_user_env );                                          
                                                                      
  /*                                                                  
   * If it was not successful, return the error code                  
   */                                                                 
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc0812c:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc08130:	40 82 00 20 	bne-    ffc08150 <rtems_libio_share_private_env+0x60>
     * 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) {             
ffc08134:	80 7e 27 1c 	lwz     r3,10012(r30)                          
ffc08138:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0813c:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc08140:	40 be 00 08 	bne+    cr7,ffc08148 <rtems_libio_share_private_env+0x58>
    rtems_user_env_t  *tmp = rtems_current_user_env;                  
    free_user_env( tmp );                                             
ffc08144:	4b ff fe 39 	bl      ffc07f7c <free_user_env>               
  }                                                                   
                                                                      
  /* the current_user_env is the same pointer that remote env */      
  rtems_current_user_env = shared_user_env;                           
ffc08148:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0814c:	90 1e 27 1c 	stw     r0,10012(r30)                          
#ifdef HAVE_USERENV_REFCNT                                            
  rtems_current_user_env->refcnt++;                                   
#endif                                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc08150:	39 61 00 28 	addi    r11,r1,40                              
ffc08154:	7f a3 eb 78 	mr      r3,r29                                 
ffc08158:	4b ff a7 1c 	b       ffc02874 <_restgpr_28_x>               
                                                                      

ffc0cffc <rtems_libio_to_fcntl_flags>: uint32_t flags ) { uint32_t fcntl_flags = 0; if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) {
ffc0cffc:	54 69 07 7c 	rlwinm  r9,r3,0,29,30                          
ffc0d000:	2f 89 00 06 	cmpwi   cr7,r9,6                               
    fcntl_flags |= O_RDWR;                                            
ffc0d004:	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 ) { 
ffc0d008:	41 9e 00 14 	beq-    cr7,ffc0d01c <rtems_libio_to_fcntl_flags+0x20><== NEVER TAKEN
    fcntl_flags |= O_RDWR;                                            
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
ffc0d00c:	70 69 00 02 	andi.   r9,r3,2                                
    fcntl_flags |= O_RDONLY;                                          
ffc0d010:	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) {       
ffc0d014:	40 82 00 08 	bne-    ffc0d01c <rtems_libio_to_fcntl_flags+0x20><== ALWAYS TAKEN
)                                                                     
{                                                                     
  uint32_t   fcntl_flags = 0;                                         
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
    fcntl_flags |= O_RDWR;                                            
ffc0d018:	54 60 f7 fe 	rlwinm  r0,r3,30,31,31                         <== NOT EXECUTED
    fcntl_flags |= O_RDONLY;                                          
  } else if ( (flags & LIBIO_FLAGS_WRITE) == LIBIO_FLAGS_WRITE) {     
    fcntl_flags |= O_WRONLY;                                          
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_NO_DELAY) == LIBIO_FLAGS_NO_DELAY ) {     
ffc0d01c:	70 69 00 01 	andi.   r9,r3,1                                
ffc0d020:	41 82 00 08 	beq-    ffc0d028 <rtems_libio_to_fcntl_flags+0x2c>
    fcntl_flags |= O_NONBLOCK;                                        
ffc0d024:	60 00 40 00 	ori     r0,r0,16384                            
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_APPEND) == LIBIO_FLAGS_APPEND ) {         
ffc0d028:	70 69 02 00 	andi.   r9,r3,512                              
ffc0d02c:	41 82 00 08 	beq-    ffc0d034 <rtems_libio_to_fcntl_flags+0x38>
    fcntl_flags |= O_APPEND;                                          
ffc0d030:	60 00 00 08 	ori     r0,r0,8                                
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_CREATE) == LIBIO_FLAGS_CREATE ) {         
ffc0d034:	70 69 04 00 	andi.   r9,r3,1024                             
ffc0d038:	41 82 00 08 	beq-    ffc0d040 <rtems_libio_to_fcntl_flags+0x44>
    fcntl_flags |= O_CREAT;                                           
ffc0d03c:	60 00 02 00 	ori     r0,r0,512                              
  }                                                                   
                                                                      
  return fcntl_flags;                                                 
}                                                                     
ffc0d040:	7c 03 03 78 	mr      r3,r0                                  
ffc0d044:	4e 80 00 20 	blr                                            
                                                                      

ffc07dd8 <rtems_malloc_statistics_at_free>: * size and thus we skip updating the statistics. */ static void rtems_malloc_statistics_at_free( void *pointer ) {
ffc07dd8:	94 21 ff e8 	stwu    r1,-24(r1)                             
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
ffc07ddc:	3d 20 00 00 	lis     r9,0                                   
 *  size and thus we skip updating the statistics.                    
 */                                                                   
static void rtems_malloc_statistics_at_free(                          
  void *pointer                                                       
)                                                                     
{                                                                     
ffc07de0:	7c 08 02 a6 	mflr    r0                                     
ffc07de4:	7c 64 1b 78 	mr      r4,r3                                  
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
ffc07de8:	80 69 27 50 	lwz     r3,10064(r9)                           
ffc07dec:	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                                                       
)                                                                     
{                                                                     
ffc07df0:	90 01 00 1c 	stw     r0,28(r1)                              
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
ffc07df4:	48 00 63 91 	bl      ffc0e184 <_Protected_heap_Get_block_size>
ffc07df8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07dfc:	41 9e 00 2c 	beq-    cr7,ffc07e28 <rtems_malloc_statistics_at_free+0x50><== NEVER TAKEN
    MSBUMP(lifetime_freed, size);                                     
ffc07e00:	3c e0 00 00 	lis     r7,0                                   
ffc07e04:	81 61 00 08 	lwz     r11,8(r1)                              
ffc07e08:	38 e7 33 f0 	addi    r7,r7,13296                            
ffc07e0c:	81 07 00 28 	lwz     r8,40(r7)                              
ffc07e10:	39 40 00 00 	li      r10,0                                  
ffc07e14:	81 27 00 2c 	lwz     r9,44(r7)                              
ffc07e18:	7d 6b 48 14 	addc    r11,r11,r9                             
ffc07e1c:	7d 4a 41 14 	adde    r10,r10,r8                             
ffc07e20:	91 47 00 28 	stw     r10,40(r7)                             
ffc07e24:	91 67 00 2c 	stw     r11,44(r7)                             
  }                                                                   
}                                                                     
ffc07e28:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc07e2c:	38 21 00 18 	addi    r1,r1,24                               
ffc07e30:	7c 08 03 a6 	mtlr    r0                                     
ffc07e34:	4e 80 00 20 	blr                                            
                                                                      

ffc07e38 <rtems_malloc_statistics_at_malloc>: { uintptr_t actual_size = 0; uint32_t current_depth; rtems_malloc_statistics_t *s = &rtems_malloc_statistics; if ( !pointer )
ffc07e38:	7c 64 1b 79 	mr.     r4,r3                                  
}                                                                     
                                                                      
static void rtems_malloc_statistics_at_malloc(                        
  void *pointer                                                       
)                                                                     
{                                                                     
ffc07e3c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc07e40:	7c 08 02 a6 	mflr    r0                                     
ffc07e44:	90 01 00 1c 	stw     r0,28(r1)                              
  uintptr_t actual_size = 0;                                          
ffc07e48:	38 00 00 00 	li      r0,0                                   
ffc07e4c:	90 01 00 08 	stw     r0,8(r1)                               
  uint32_t current_depth;                                             
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
ffc07e50:	41 82 00 54 	beq-    ffc07ea4 <rtems_malloc_statistics_at_malloc+0x6c><== NEVER TAKEN
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
ffc07e54:	3d 20 00 00 	lis     r9,0                                   
ffc07e58:	80 69 27 50 	lwz     r3,10064(r9)                           
ffc07e5c:	38 a1 00 08 	addi    r5,r1,8                                
ffc07e60:	48 00 63 25 	bl      ffc0e184 <_Protected_heap_Get_block_size>
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
ffc07e64:	3c e0 00 00 	lis     r7,0                                   
ffc07e68:	38 e7 33 f0 	addi    r7,r7,13296                            
ffc07e6c:	81 61 00 08 	lwz     r11,8(r1)                              
ffc07e70:	81 27 00 24 	lwz     r9,36(r7)                              
ffc07e74:	39 40 00 00 	li      r10,0                                  
ffc07e78:	81 07 00 20 	lwz     r8,32(r7)                              
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
ffc07e7c:	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);                            
ffc07e80:	7d 6b 48 14 	addc    r11,r11,r9                             
ffc07e84:	7d 4a 41 14 	adde    r10,r10,r8                             
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  if (current_depth > s->max_depth)                                   
ffc07e88:	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);                            
ffc07e8c:	91 47 00 20 	stw     r10,32(r7)                             
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
ffc07e90:	7c 00 58 50 	subf    r0,r0,r11                              
  if (current_depth > s->max_depth)                                   
ffc07e94:	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);                            
ffc07e98:	91 67 00 24 	stw     r11,36(r7)                             
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  if (current_depth > s->max_depth)                                   
ffc07e9c:	40 9d 00 08 	ble-    cr7,ffc07ea4 <rtems_malloc_statistics_at_malloc+0x6c>
      s->max_depth = current_depth;                                   
ffc07ea0:	90 07 00 18 	stw     r0,24(r7)                              
}                                                                     
ffc07ea4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc07ea8:	38 21 00 18 	addi    r1,r1,24                               
ffc07eac:	7c 08 03 a6 	mtlr    r0                                     
ffc07eb0:	4e 80 00 20 	blr                                            
                                                                      

ffc10c98 <rtems_memalign>: int rtems_memalign( void **pointer, size_t alignment, size_t size ) {
ffc10c98:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc10c9c:	7c 08 02 a6 	mflr    r0                                     
ffc10ca0:	bf 81 00 08 	stmw    r28,8(r1)                              
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
ffc10ca4:	7c 7f 1b 79 	mr.     r31,r3                                 
int rtems_memalign(                                                   
  void   **pointer,                                                   
  size_t   alignment,                                                 
  size_t   size                                                       
)                                                                     
{                                                                     
ffc10ca8:	7c 9e 23 78 	mr      r30,r4                                 
ffc10cac:	90 01 00 1c 	stw     r0,28(r1)                              
ffc10cb0:	7c bc 2b 78 	mr      r28,r5                                 
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
    return EINVAL;                                                    
ffc10cb4:	3b a0 00 16 	li      r29,22                                 
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
ffc10cb8:	41 82 00 78 	beq-    ffc10d30 <rtems_memalign+0x98>         
    return EINVAL;                                                    
                                                                      
  *pointer = NULL;                                                    
ffc10cbc:	38 00 00 00 	li      r0,0                                   
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
ffc10cc0:	3d 20 00 00 	lis     r9,0                                   
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
    return EINVAL;                                                    
                                                                      
  *pointer = NULL;                                                    
ffc10cc4:	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()) &&                    
ffc10cc8:	80 09 27 fc 	lwz     r0,10236(r9)                           
ffc10ccc:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc10cd0:	40 be 00 10 	bne+    cr7,ffc10ce0 <rtems_memalign+0x48>     <== NEVER TAKEN
       !malloc_is_system_state_OK() )                                 
ffc10cd4:	4b ff 47 9d 	bl      ffc05470 <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()) &&                    
ffc10cd8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10cdc:	41 be 00 54 	beq+    cr7,ffc10d30 <rtems_memalign+0x98>     <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
ffc10ce0:	4b ff 47 d9 	bl      ffc054b8 <malloc_deferred_frees_process>
  Heap_Control *heap,                                                 
  uintptr_t size,                                                     
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return                                                              
ffc10ce4:	3d 20 00 00 	lis     r9,0                                   
ffc10ce8:	80 69 26 ec 	lwz     r3,9964(r9)                            
ffc10cec:	7f c5 f3 78 	mr      r5,r30                                 
ffc10cf0:	7f 84 e3 78 	mr      r4,r28                                 
ffc10cf4:	38 c0 00 00 	li      r6,0                                   
ffc10cf8:	4b ff 9c ed 	bl      ffc0a9e4 <_Protected_heap_Allocate_aligned_with_boundary>
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
    return ENOMEM;                                                    
ffc10cfc:	3b a0 00 0c 	li      r29,12                                 
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
ffc10d00:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc10d04:	41 82 00 2c 	beq-    ffc10d30 <rtems_memalign+0x98>         
    return ENOMEM;                                                    
                                                                      
  /*                                                                  
   *  If configured, update the more involved statistics              
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
ffc10d08:	3d 20 00 00 	lis     r9,0                                   
ffc10d0c:	81 29 27 68 	lwz     r9,10088(r9)                           
ffc10d10:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10d14:	41 9e 00 14 	beq-    cr7,ffc10d28 <rtems_memalign+0x90>     
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
ffc10d18:	80 09 00 04 	lwz     r0,4(r9)                               
ffc10d1c:	7f e3 fb 78 	mr      r3,r31                                 
ffc10d20:	7c 09 03 a6 	mtctr   r0                                     
ffc10d24:	4e 80 04 21 	bctrl                                          
                                                                      
  *pointer = return_this;                                             
ffc10d28:	93 df 00 00 	stw     r30,0(r31)                             
  return 0;                                                           
ffc10d2c:	3b a0 00 00 	li      r29,0                                  
}                                                                     
ffc10d30:	39 61 00 18 	addi    r11,r1,24                              
ffc10d34:	7f a3 eb 78 	mr      r3,r29                                 
ffc10d38:	48 00 78 a4 	b       ffc185dc <_restgpr_28_x>               
                                                                      

ffc0f290 <rtems_mkdir>: return (retval); } int rtems_mkdir(const char *path, mode_t mode) {
ffc0f290:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc0f294:	7c 08 02 a6 	mflr    r0                                     
ffc0f298:	bf 01 00 58 	stmw    r24,88(r1)                             
ffc0f29c:	7c 98 23 78 	mr      r24,r4                                 
ffc0f2a0:	90 01 00 7c 	stw     r0,124(r1)                             
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
ffc0f2a4:	48 00 2c ed 	bl      ffc11f90 <strdup>                      
                                                                      
  if (dup_path != NULL) {                                             
ffc0f2a8:	7c 7c 1b 79 	mr.     r28,r3                                 
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
ffc0f2ac:	38 00 ff ff 	li      r0,-1                                  
rtems_mkdir(const char *path, mode_t mode)                            
{                                                                     
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
ffc0f2b0:	41 82 01 8c 	beq-    ffc0f43c <rtems_mkdir+0x1ac>           <== NEVER TAKEN
  char *p;                                                            
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
ffc0f2b4:	88 1c 00 00 	lbz     r0,0(r28)                              
ffc0f2b8:	3b c0 00 01 	li      r30,1                                  
ffc0f2bc:	3b 60 00 00 	li      r27,0                                  
    ++p;                                                              
ffc0f2c0:	68 1d 00 2f 	xori    r29,r0,47                              
ffc0f2c4:	23 bd 00 00 	subfic  r29,r29,0                              
ffc0f2c8:	7f bc 01 94 	addze   r29,r28                                
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
      last = 1;                                                       
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
ffc0f2cc:	3b 20 00 00 	li      r25,0                                  
  char *p;                                                            
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
ffc0f2d0:	38 00 00 01 	li      r0,1                                   
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
ffc0f2d4:	3b 40 00 2f 	li      r26,47                                 
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
ffc0f2d8:	89 7d 00 00 	lbz     r11,0(r29)                             
      last = 1;                                                       
ffc0f2dc:	39 20 00 01 	li      r9,1                                   
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
ffc0f2e0:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0f2e4:	41 9e 00 10 	beq-    cr7,ffc0f2f4 <rtems_mkdir+0x64>        
      last = 1;                                                       
    else if (p[0] != '/')                                             
ffc0f2e8:	2f 8b 00 2f 	cmpwi   cr7,r11,47                             
ffc0f2ec:	39 20 00 00 	li      r9,0                                   
ffc0f2f0:	40 be 01 08 	bne+    cr7,ffc0f3f8 <rtems_mkdir+0x168>       
      continue;                                                       
    *p = '\0';                                                        
    if (!last && p[1] == '\0')                                        
ffc0f2f4:	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';                                                        
ffc0f2f8:	9b 3d 00 00 	stb     r25,0(r29)                             
    if (!last && p[1] == '\0')                                        
ffc0f2fc:	3b e0 00 01 	li      r31,1                                  
ffc0f300:	40 9e 00 10 	bne-    cr7,ffc0f310 <rtems_mkdir+0x80>        
ffc0f304:	8b fd 00 01 	lbz     r31,1(r29)                             
ffc0f308:	7f ff 00 34 	cntlzw  r31,r31                                
ffc0f30c:	57 ff d9 7e 	rlwinm  r31,r31,27,5,31                        
      last = 1;                                                       
    if (first) {                                                      
ffc0f310:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f314:	41 be 00 18 	beq+    cr7,ffc0f32c <rtems_mkdir+0x9c>        
       *    mkdir [-m mode] dir                                       
       *                                                              
       * We change the user's umask and then restore it,              
       * instead of doing chmod's.                                    
       */                                                             
      oumask = umask(0);                                              
ffc0f318:	38 60 00 00 	li      r3,0                                   
ffc0f31c:	48 00 01 d1 	bl      ffc0f4ec <umask>                       
ffc0f320:	7c 7b 1b 78 	mr      r27,r3                                 
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
ffc0f324:	54 63 06 ae 	rlwinm  r3,r3,0,26,23                          
ffc0f328:	48 00 01 c5 	bl      ffc0f4ec <umask>                       
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
ffc0f32c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
ffc0f330:	38 80 01 ff 	li      r4,511                                 
      oumask = umask(0);                                              
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
ffc0f334:	41 be 00 10 	beq+    cr7,ffc0f344 <rtems_mkdir+0xb4>        
      (void)umask(oumask);                                            
ffc0f338:	7f 63 db 78 	mr      r3,r27                                 
ffc0f33c:	48 00 01 b1 	bl      ffc0f4ec <umask>                       
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
ffc0f340:	7f 04 c3 78 	mr      r4,r24                                 
ffc0f344:	7f 83 e3 78 	mr      r3,r28                                 
ffc0f348:	4b ff 6b 81 	bl      ffc05ec8 <mkdir>                       
ffc0f34c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f350:	40 bc 00 80 	bge+    cr7,ffc0f3d0 <rtems_mkdir+0x140>       
      if (errno == EEXIST || errno == EISDIR) {                       
ffc0f354:	48 00 19 d1 	bl      ffc10d24 <__errno>                     
ffc0f358:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0f35c:	2f 80 00 11 	cmpwi   cr7,r0,17                              
ffc0f360:	41 9e 00 14 	beq-    cr7,ffc0f374 <rtems_mkdir+0xe4>        
ffc0f364:	48 00 19 c1 	bl      ffc10d24 <__errno>                     
ffc0f368:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0f36c:	2f 80 00 15 	cmpwi   cr7,r0,21                              
ffc0f370:	40 9e 00 9c 	bne-    cr7,ffc0f40c <rtems_mkdir+0x17c>       <== ALWAYS TAKEN
        if (stat(path, &sb) < 0) {                                    
ffc0f374:	7f 83 e3 78 	mr      r3,r28                                 
ffc0f378:	38 81 00 08 	addi    r4,r1,8                                
ffc0f37c:	48 00 00 cd 	bl      ffc0f448 <stat>                        
ffc0f380:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f384:	41 9c 00 88 	blt-    cr7,ffc0f40c <rtems_mkdir+0x17c>       <== NEVER TAKEN
          retval = 0;                                                 
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
ffc0f388:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0f38c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0f390:	54 00 04 26 	rlwinm  r0,r0,0,16,19                          
ffc0f394:	2f 00 40 00 	cmpwi   cr6,r0,16384                           
ffc0f398:	41 ba 00 30 	beq+    cr6,ffc0f3c8 <rtems_mkdir+0x138>       
          if (last)                                                   
ffc0f39c:	41 9e 00 1c 	beq-    cr7,ffc0f3b8 <rtems_mkdir+0x128>       
            errno = EEXIST;                                           
ffc0f3a0:	48 00 19 85 	bl      ffc10d24 <__errno>                     
ffc0f3a4:	38 00 00 11 	li      r0,17                                  
ffc0f3a8:	90 03 00 00 	stw     r0,0(r3)                               
          else                                                        
            errno = ENOTDIR;                                          
          retval = 0;                                                 
ffc0f3ac:	3b c0 00 00 	li      r30,0                                  
        if (stat(path, &sb) < 0) {                                    
          retval = 0;                                                 
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
          if (last)                                                   
            errno = EEXIST;                                           
ffc0f3b0:	3b e0 00 01 	li      r31,1                                  
ffc0f3b4:	48 00 00 5c 	b       ffc0f410 <rtems_mkdir+0x180>           
          else                                                        
            errno = ENOTDIR;                                          
ffc0f3b8:	48 00 19 6d 	bl      ffc10d24 <__errno>                     
ffc0f3bc:	38 00 00 14 	li      r0,20                                  
ffc0f3c0:	90 03 00 00 	stw     r0,0(r3)                               
ffc0f3c4:	48 00 00 48 	b       ffc0f40c <rtems_mkdir+0x17c>           
          retval = 0;                                                 
          break;                                                      
        }                                                             
        if (last)                                                     
ffc0f3c8:	40 9e 00 24 	bne-    cr7,ffc0f3ec <rtems_mkdir+0x15c>       
ffc0f3cc:	48 00 00 14 	b       ffc0f3e0 <rtems_mkdir+0x150>           
      } else {                                                        
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
ffc0f3d0:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0f3d4:	39 20 00 01 	li      r9,1                                   
ffc0f3d8:	38 00 00 00 	li      r0,0                                   
ffc0f3dc:	40 9e 00 1c 	bne-    cr7,ffc0f3f8 <rtems_mkdir+0x168>       
        *p = '/';                                                     
ffc0f3e0:	9b 5d 00 00 	stb     r26,0(r29)                             
ffc0f3e4:	39 20 00 00 	li      r9,0                                   
ffc0f3e8:	48 00 00 0c 	b       ffc0f3f4 <rtems_mkdir+0x164>           
            errno = ENOTDIR;                                          
          retval = 0;                                                 
          break;                                                      
        }                                                             
        if (last)                                                     
          retval = 2;                                                 
ffc0f3ec:	3b c0 00 02 	li      r30,2                                  
          else                                                        
            errno = ENOTDIR;                                          
          retval = 0;                                                 
          break;                                                      
        }                                                             
        if (last)                                                     
ffc0f3f0:	39 20 00 01 	li      r9,1                                   
ffc0f3f4:	38 00 00 00 	li      r0,0                                   
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
ffc0f3f8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0f3fc:	3b bd 00 01 	addi    r29,r29,1                              
ffc0f400:	41 9e fe d8 	beq+    cr7,ffc0f2d8 <rtems_mkdir+0x48>        
ffc0f404:	3b e0 00 01 	li      r31,1                                  
ffc0f408:	48 00 00 0c 	b       ffc0f414 <rtems_mkdir+0x184>           
    if (last)                                                         
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
      if (errno == EEXIST || errno == EISDIR) {                       
        if (stat(path, &sb) < 0) {                                    
          retval = 0;                                                 
ffc0f40c:	3b c0 00 00 	li      r30,0                                  
    }                                                                 
    if (last)                                                         
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
      if (errno == EEXIST || errno == EISDIR) {                       
        if (stat(path, &sb) < 0) {                                    
ffc0f410:	38 00 00 00 	li      r0,0                                   
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
  }                                                                   
  if (!first && !last)                                                
ffc0f414:	7f e9 03 79 	or.     r9,r31,r0                              
ffc0f418:	40 a2 00 0c 	bne+    ffc0f424 <rtems_mkdir+0x194>           
    (void)umask(oumask);                                              
ffc0f41c:	7f 63 db 78 	mr      r3,r27                                 
ffc0f420:	48 00 00 cd 	bl      ffc0f4ec <umask>                       
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
ffc0f424:	7f 83 e3 78 	mr      r3,r28                                 
ffc0f428:	4b ff 63 09 	bl      ffc05730 <free>                        
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
ffc0f42c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0f430:	38 00 00 00 	li      r0,0                                   
ffc0f434:	40 be 00 08 	bne+    cr7,ffc0f43c <rtems_mkdir+0x1ac>       
ffc0f438:	38 00 ff ff 	li      r0,-1                                  
}                                                                     
ffc0f43c:	39 61 00 78 	addi    r11,r1,120                             
ffc0f440:	7c 03 03 78 	mr      r3,r0                                  
ffc0f444:	48 00 d1 0c 	b       ffc1c550 <_restgpr_24_x>               
                                                                      

ffc0471c <rtems_panic>: void rtems_panic( const char *printf_format, ... ) {
ffc0471c:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc04720:	7c 08 02 a6 	mflr    r0                                     
ffc04724:	90 81 00 1c 	stw     r4,28(r1)                              
ffc04728:	90 01 00 7c 	stw     r0,124(r1)                             
ffc0472c:	90 a1 00 20 	stw     r5,32(r1)                              
ffc04730:	90 c1 00 24 	stw     r6,36(r1)                              
ffc04734:	90 e1 00 28 	stw     r7,40(r1)                              
ffc04738:	91 01 00 2c 	stw     r8,44(r1)                              
ffc0473c:	91 21 00 30 	stw     r9,48(r1)                              
ffc04740:	91 41 00 34 	stw     r10,52(r1)                             
ffc04744:	40 86 00 24 	bne-    cr1,ffc04768 <rtems_panic+0x4c>        <== ALWAYS TAKEN
ffc04748:	d8 21 00 38 	stfd    f1,56(r1)                              <== NOT EXECUTED
ffc0474c:	d8 41 00 40 	stfd    f2,64(r1)                              <== NOT EXECUTED
ffc04750:	d8 61 00 48 	stfd    f3,72(r1)                              <== NOT EXECUTED
ffc04754:	d8 81 00 50 	stfd    f4,80(r1)                              <== NOT EXECUTED
ffc04758:	d8 a1 00 58 	stfd    f5,88(r1)                              <== NOT EXECUTED
ffc0475c:	d8 c1 00 60 	stfd    f6,96(r1)                              <== NOT EXECUTED
ffc04760:	d8 e1 00 68 	stfd    f7,104(r1)                             <== NOT EXECUTED
ffc04764:	d9 01 00 70 	stfd    f8,112(r1)                             <== NOT EXECUTED
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc04768:	38 00 00 01 	li      r0,1                                   
ffc0476c:	98 01 00 08 	stb     r0,8(r1)                               
ffc04770:	38 00 00 00 	li      r0,0                                   
                                                                      
void rtems_panic(                                                     
  const char *printf_format,                                          
  ...                                                                 
)                                                                     
{                                                                     
ffc04774:	7c 64 1b 78 	mr      r4,r3                                  
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc04778:	98 01 00 09 	stb     r0,9(r1)                               
ffc0477c:	38 01 00 80 	addi    r0,r1,128                              
  (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);     
ffc04780:	38 a1 00 08 	addi    r5,r1,8                                
  ...                                                                 
)                                                                     
{                                                                     
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc04784:	90 01 00 0c 	stw     r0,12(r1)                              
  (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);     
ffc04788:	3c 60 20 00 	lis     r3,8192                                
  ...                                                                 
)                                                                     
{                                                                     
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc0478c:	38 01 00 18 	addi    r0,r1,24                               
ffc04790:	90 01 00 10 	stw     r0,16(r1)                              
  (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);     
ffc04794:	4b ff fd 39 	bl      ffc044cc <rtems_verror>                
  va_end(arglist);                                                    
                                                                      
  rtems_error(0, "fatal error, exiting");                             
ffc04798:	3c 80 ff c2 	lis     r4,-62                                 
ffc0479c:	38 84 c0 c7 	addi    r4,r4,-16185                           
ffc047a0:	38 60 00 00 	li      r3,0                                   
ffc047a4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc047a8:	4b ff fe a5 	bl      ffc0464c <rtems_error>                 
  _exit(errno);                                                       
ffc047ac:	48 00 b4 d9 	bl      ffc0fc84 <__errno>                     
ffc047b0:	80 63 00 00 	lwz     r3,0(r3)                               
ffc047b4:	48 00 0b 4d 	bl      ffc05300 <_exit>                       
                                                                      

ffc16528 <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
ffc16528:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc1652c:	7c 08 02 a6 	mflr    r0                                     
ffc16530:	bf 21 00 14 	stmw    r25,20(r1)                             
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
ffc16534:	7c 7b 1b 79 	mr.     r27,r3                                 
  uint32_t         length,                                            
  uint32_t         buffer_size,                                       
  rtems_attribute  attribute_set,                                     
  rtems_id        *id                                                 
)                                                                     
{                                                                     
ffc16538:	7c bf 2b 78 	mr      r31,r5                                 
ffc1653c:	90 01 00 34 	stw     r0,52(r1)                              
ffc16540:	7c fa 3b 78 	mr      r26,r7                                 
ffc16544:	7d 1d 43 78 	mr      r29,r8                                 
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
ffc16548:	38 00 00 03 	li      r0,3                                   
  rtems_id        *id                                                 
)                                                                     
{                                                                     
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
ffc1654c:	41 a2 00 d0 	beq+    ffc1661c <rtems_partition_create+0xf4> 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
ffc16550:	2f 84 00 00 	cmpwi   cr7,r4,0                               
    return RTEMS_INVALID_ADDRESS;                                     
ffc16554:	38 00 00 09 	li      r0,9                                   
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
ffc16558:	41 9e 00 c4 	beq-    cr7,ffc1661c <rtems_partition_create+0xf4>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
ffc1655c:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc16560:	41 9e 00 bc 	beq-    cr7,ffc1661c <rtems_partition_create+0xf4><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
ffc16564:	2f 85 00 00 	cmpwi   cr7,r5,0                               
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
ffc16568:	38 00 00 08 	li      r0,8                                   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
ffc1656c:	41 be 00 b0 	beq+    cr7,ffc1661c <rtems_partition_create+0xf4>
ffc16570:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc16574:	41 be 00 a8 	beq+    cr7,ffc1661c <rtems_partition_create+0xf4>
ffc16578:	7f 85 30 40 	cmplw   cr7,r5,r6                              
ffc1657c:	41 bc 00 a0 	blt+    cr7,ffc1661c <rtems_partition_create+0xf4>
ffc16580:	70 c9 00 07 	andi.   r9,r6,7                                
ffc16584:	40 a2 00 98 	bne+    ffc1661c <rtems_partition_create+0xf4> 
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
ffc16588:	70 99 00 07 	andi.   r25,r4,7                               
     return RTEMS_INVALID_ADDRESS;                                    
ffc1658c:	38 00 00 09 	li      r0,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 ) )                   
ffc16590:	40 a2 00 8c 	bne+    ffc1661c <rtems_partition_create+0xf4> 
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
ffc16594:	3d 20 00 00 	lis     r9,0                                   
ffc16598:	81 69 28 9c 	lwz     r11,10396(r9)                          
ffc1659c:	38 0b 00 01 	addi    r0,r11,1                               
ffc165a0:	90 09 28 9c 	stw     r0,10396(r9)                           
    return _Thread_Dispatch_disable_level;                            
ffc165a4:	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 );
ffc165a8:	3f 80 00 00 	lis     r28,0                                  
ffc165ac:	90 81 00 08 	stw     r4,8(r1)                               
ffc165b0:	3b 9c 6e c0 	addi    r28,r28,28352                          
ffc165b4:	7f 83 e3 78 	mr      r3,r28                                 
ffc165b8:	90 c1 00 0c 	stw     r6,12(r1)                              
ffc165bc:	48 00 4e 11 	bl      ffc1b3cc <_Objects_Allocate>           
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
ffc165c0:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc165c4:	80 81 00 08 	lwz     r4,8(r1)                               
ffc165c8:	80 c1 00 0c 	lwz     r6,12(r1)                              
ffc165cc:	40 a2 00 10 	bne+    ffc165dc <rtems_partition_create+0xb4> 
    _Thread_Enable_dispatch();                                        
ffc165d0:	48 00 61 a9 	bl      ffc1c778 <_Thread_Enable_dispatch>     
    return RTEMS_TOO_MANY;                                            
ffc165d4:	38 00 00 05 	li      r0,5                                   
ffc165d8:	48 00 00 44 	b       ffc1661c <rtems_partition_create+0xf4> 
  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,        
ffc165dc:	7c bf 33 96 	divwu   r5,r31,r6                              
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
ffc165e0:	90 9e 00 10 	stw     r4,16(r30)                             
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
ffc165e4:	90 de 00 18 	stw     r6,24(r30)                             
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  the_partition->length                = length;                      
ffc165e8:	93 fe 00 14 	stw     r31,20(r30)                            
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
ffc165ec:	93 5e 00 1c 	stw     r26,28(r30)                            
  the_partition->number_of_used_blocks = 0;                           
ffc165f0:	93 3e 00 20 	stw     r25,32(r30)                            
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
ffc165f4:	38 7e 00 24 	addi    r3,r30,36                              
ffc165f8:	48 00 35 65 	bl      ffc19b5c <_Chain_Initialize>           
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
ffc165fc:	80 1e 00 08 	lwz     r0,8(r30)                              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc16600:	81 7c 00 1c 	lwz     r11,28(r28)                            
ffc16604:	54 09 13 ba 	rlwinm  r9,r0,2,14,29                          
ffc16608:	7f cb 49 2e 	stwx    r30,r11,r9                             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
ffc1660c:	93 7e 00 0c 	stw     r27,12(r30)                            
    &_Partition_Information,                                          
    &the_partition->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_partition->Object.id;                                     
ffc16610:	90 1d 00 00 	stw     r0,0(r29)                              
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
ffc16614:	48 00 61 65 	bl      ffc1c778 <_Thread_Enable_dispatch>     
  return RTEMS_SUCCESSFUL;                                            
ffc16618:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc1661c:	39 61 00 30 	addi    r11,r1,48                              
ffc16620:	7c 03 03 78 	mr      r3,r0                                  
ffc16624:	4b ff 7b 64 	b       ffc0e188 <_restgpr_25_x>               
                                                                      

ffc16774 <rtems_partition_return_buffer>: rtems_status_code rtems_partition_return_buffer( rtems_id id, void *buffer ) {
ffc16774:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc16778:	7c 08 02 a6 	mflr    r0                                     
ffc1677c:	90 01 00 24 	stw     r0,36(r1)                              
ffc16780:	7c 60 1b 78 	mr      r0,r3                                  
RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Get (              
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Partition_Control *)                                        
ffc16784:	3c 60 00 00 	lis     r3,0                                   
ffc16788:	bf c1 00 18 	stmw    r30,24(r1)                             
ffc1678c:	38 63 6e c0 	addi    r3,r3,28352                            
ffc16790:	7c 9f 23 78 	mr      r31,r4                                 
ffc16794:	38 a1 00 08 	addi    r5,r1,8                                
ffc16798:	7c 04 03 78 	mr      r4,r0                                  
ffc1679c:	48 00 51 91 	bl      ffc1b92c <_Objects_Get>                
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
ffc167a0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc167a4:	7c 7e 1b 78 	mr      r30,r3                                 
ffc167a8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc167ac:	38 60 00 04 	li      r3,4                                   
{                                                                     
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
ffc167b0:	40 9e 00 58 	bne-    cr7,ffc16808 <rtems_partition_return_buffer+0x94>
)                                                                     
{                                                                     
  void *starting;                                                     
  void *ending;                                                       
                                                                      
  starting = the_partition->starting_address;                         
ffc167b4:	80 1e 00 10 	lwz     r0,16(r30)                             
  ending   = _Addresses_Add_offset( starting, the_partition->length );
ffc167b8:	81 3e 00 14 	lwz     r9,20(r30)                             
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
ffc167bc:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc167c0:	41 9c 00 50 	blt-    cr7,ffc16810 <rtems_partition_return_buffer+0x9c>
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
ffc167c4:	7d 20 4a 14 	add     r9,r0,r9                               
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
ffc167c8:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc167cc:	41 9d 00 44 	bgt-    cr7,ffc16810 <rtems_partition_return_buffer+0x9c><== NEVER TAKEN
  offset = (uint32_t) _Addresses_Subtract(                            
    the_buffer,                                                       
    the_partition->starting_address                                   
  );                                                                  
                                                                      
  return ((offset % the_partition->buffer_size) == 0);                
ffc167d0:	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);      
ffc167d4:	7c 00 f8 50 	subf    r0,r0,r31                              
ffc167d8:	7d 60 4b 96 	divwu   r11,r0,r9                              
ffc167dc:	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 ) &&         
ffc167e0:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc167e4:	40 9e 00 2c 	bne-    cr7,ffc16810 <rtems_partition_return_buffer+0x9c>
RTEMS_INLINE_ROUTINE void _Partition_Free_buffer (                    
  Partition_Control *the_partition,                                   
  Chain_Node        *the_buffer                                       
)                                                                     
{                                                                     
  _Chain_Append( &the_partition->Memory, the_buffer );                
ffc167e8:	38 7e 00 24 	addi    r3,r30,36                              
ffc167ec:	7f e4 fb 78 	mr      r4,r31                                 
ffc167f0:	48 00 32 d5 	bl      ffc19ac4 <_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;                    
ffc167f4:	81 3e 00 20 	lwz     r9,32(r30)                             
ffc167f8:	38 09 ff ff 	addi    r0,r9,-1                               
ffc167fc:	90 1e 00 20 	stw     r0,32(r30)                             
        _Thread_Enable_dispatch();                                    
ffc16800:	48 00 5f 79 	bl      ffc1c778 <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc16804:	38 60 00 00 	li      r3,0                                   
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc16808:	39 61 00 20 	addi    r11,r1,32                              
ffc1680c:	4b ff 79 90 	b       ffc0e19c <_restgpr_30_x>               
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc16810:	48 00 5f 69 	bl      ffc1c778 <_Thread_Enable_dispatch>     
      return RTEMS_INVALID_ADDRESS;                                   
ffc16814:	38 60 00 09 	li      r3,9                                   
ffc16818:	4b ff ff f0 	b       ffc16808 <rtems_partition_return_buffer+0x94>
                                                                      

ffc08e6c <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
ffc08e6c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc08e70:	7c 08 02 a6 	mflr    r0                                     
ffc08e74:	bf 81 00 18 	stmw    r28,24(r1)                             
ffc08e78:	7c 7e 1b 78 	mr      r30,r3                                 
RTEMS_INLINE_ROUTINE Rate_monotonic_Control *_Rate_monotonic_Get (    
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
ffc08e7c:	3c 60 00 00 	lis     r3,0                                   
ffc08e80:	7c 9f 23 78 	mr      r31,r4                                 
ffc08e84:	90 01 00 2c 	stw     r0,44(r1)                              
ffc08e88:	38 63 2c 00 	addi    r3,r3,11264                            
ffc08e8c:	7f c4 f3 78 	mr      r4,r30                                 
ffc08e90:	38 a1 00 08 	addi    r5,r1,8                                
ffc08e94:	48 00 25 f1 	bl      ffc0b484 <_Objects_Get>                
  rtems_rate_monotonic_period_states   local_state;                   
  ISR_Level                            level;                         
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
ffc08e98:	80 01 00 08 	lwz     r0,8(r1)                               
ffc08e9c:	7c 7d 1b 78 	mr      r29,r3                                 
ffc08ea0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08ea4:	40 9e 01 88 	bne-    cr7,ffc0902c <rtems_rate_monotonic_period+0x1c0>
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
ffc08ea8:	3d 60 00 00 	lis     r11,0                                  
ffc08eac:	81 23 00 40 	lwz     r9,64(r3)                              
ffc08eb0:	80 0b 2e a4 	lwz     r0,11940(r11)                          
ffc08eb4:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc08eb8:	41 9e 00 10 	beq-    cr7,ffc08ec8 <rtems_rate_monotonic_period+0x5c>
        _Thread_Enable_dispatch();                                    
ffc08ebc:	48 00 34 15 	bl      ffc0c2d0 <_Thread_Enable_dispatch>     
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
ffc08ec0:	3b c0 00 17 	li      r30,23                                 
ffc08ec4:	48 00 01 6c 	b       ffc09030 <rtems_rate_monotonic_period+0x1c4>
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
ffc08ec8:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc08ecc:	40 9e 00 28 	bne-    cr7,ffc08ef4 <rtems_rate_monotonic_period+0x88>
        switch ( the_period->state ) {                                
ffc08ed0:	80 03 00 38 	lwz     r0,56(r3)                              
ffc08ed4:	3b c0 00 00 	li      r30,0                                  
ffc08ed8:	2b 80 00 04 	cmplwi  cr7,r0,4                               
ffc08edc:	41 9d 00 10 	bgt-    cr7,ffc08eec <rtems_rate_monotonic_period+0x80><== NEVER TAKEN
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc08ee0:	3d 20 ff c2 	lis     r9,-62                                 
ffc08ee4:	39 29 e0 70 	addi    r9,r9,-8080                            
ffc08ee8:	7f c9 00 ae 	lbzx    r30,r9,r0                              
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
ffc08eec:	48 00 33 e5 	bl      ffc0c2d0 <_Thread_Enable_dispatch>     
        return( return_value );                                       
ffc08ef0:	48 00 01 40 	b       ffc09030 <rtems_rate_monotonic_period+0x1c4>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc08ef4:	7f 80 00 a6 	mfmsr   r28                                    
ffc08ef8:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc08efc:	7f 80 00 78 	andc    r0,r28,r0                              
ffc08f00:	7c 00 01 24 	mtmsr   r0                                     
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
      if ( the_period->state == RATE_MONOTONIC_INACTIVE ) {           
ffc08f04:	80 03 00 38 	lwz     r0,56(r3)                              
ffc08f08:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08f0c:	40 be 00 4c 	bne+    cr7,ffc08f58 <rtems_rate_monotonic_period+0xec>
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc08f10:	7f 80 01 24 	mtmsr   r28                                    
        _ISR_Enable( level );                                         
                                                                      
        the_period->next_length = length;                             
ffc08f14:	93 e3 00 3c 	stw     r31,60(r3)                             
                                                                      
        /*                                                            
         *  Baseline statistics information for the beginning of a period.
         */                                                           
        _Rate_monotonic_Initiate_statistics( the_period );            
ffc08f18:	4b ff fd c1 	bl      ffc08cd8 <_Rate_monotonic_Initiate_statistics>
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
ffc08f1c:	38 00 00 02 	li      r0,2                                   
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
ffc08f20:	3d 20 ff c1 	lis     r9,-63                                 
ffc08f24:	90 1d 00 38 	stw     r0,56(r29)                             
ffc08f28:	39 29 93 24 	addi    r9,r9,-27868                           
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc08f2c:	38 00 00 00 	li      r0,0                                   
  the_watchdog->routine   = routine;                                  
ffc08f30:	91 3d 00 2c 	stw     r9,44(r29)                             
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc08f34:	3c 60 00 00 	lis     r3,0                                   
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc08f38:	90 1d 00 18 	stw     r0,24(r29)                             
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc08f3c:	38 63 2d c8 	addi    r3,r3,11720                            
ffc08f40:	38 9d 00 10 	addi    r4,r29,16                              
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
ffc08f44:	93 dd 00 30 	stw     r30,48(r29)                            
  the_watchdog->user_data = user_data;                                
ffc08f48:	90 1d 00 34 	stw     r0,52(r29)                             
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc08f4c:	93 fd 00 1c 	stw     r31,28(r29)                            
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc08f50:	48 00 43 bd 	bl      ffc0d30c <_Watchdog_Insert>            
ffc08f54:	48 00 00 74 	b       ffc08fc8 <rtems_rate_monotonic_period+0x15c>
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_ACTIVE ) {             
ffc08f58:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc08f5c:	40 be 00 78 	bne+    cr7,ffc08fd4 <rtems_rate_monotonic_period+0x168>
        /*                                                            
         *  Update statistics from the concluding period.             
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
ffc08f60:	4b ff fe 09 	bl      ffc08d68 <_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;         
ffc08f64:	38 00 00 01 	li      r0,1                                   
ffc08f68:	90 1d 00 38 	stw     r0,56(r29)                             
        the_period->next_length = length;                             
ffc08f6c:	93 fd 00 3c 	stw     r31,60(r29)                            
ffc08f70:	7f 80 01 24 	mtmsr   r28                                    
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        _Thread_Executing->Wait.id = the_period->Object.id;           
ffc08f74:	3d 20 00 00 	lis     r9,0                                   
ffc08f78:	80 1d 00 08 	lwz     r0,8(r29)                              
ffc08f7c:	80 69 2e a4 	lwz     r3,11940(r9)                           
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
ffc08f80:	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;           
ffc08f84:	90 03 00 20 	stw     r0,32(r3)                              
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
ffc08f88:	48 00 3c 85 	bl      ffc0cc0c <_Thread_Set_state>           
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc08f8c:	7d 20 00 a6 	mfmsr   r9                                     
ffc08f90:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc08f94:	7d 20 00 78 	andc    r0,r9,r0                               
ffc08f98:	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;                  
ffc08f9c:	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;                            
ffc08fa0:	80 1d 00 38 	lwz     r0,56(r29)                             
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
ffc08fa4:	91 7d 00 38 	stw     r11,56(r29)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc08fa8:	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 )   
ffc08fac:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc08fb0:	40 be 00 18 	bne+    cr7,ffc08fc8 <rtems_rate_monotonic_period+0x15c><== ALWAYS TAKEN
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
ffc08fb4:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc08fb8:	39 29 2e 98 	addi    r9,r9,11928                            <== NOT EXECUTED
ffc08fbc:	80 69 00 0c 	lwz     r3,12(r9)                              <== NOT EXECUTED
ffc08fc0:	38 80 40 00 	li      r4,16384                               <== NOT EXECUTED
ffc08fc4:	48 00 2f 49 	bl      ffc0bf0c <_Thread_Clear_state>         <== NOT EXECUTED
                                                                      
        _Thread_Enable_dispatch();                                    
ffc08fc8:	48 00 33 09 	bl      ffc0c2d0 <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc08fcc:	3b c0 00 00 	li      r30,0                                  
ffc08fd0:	48 00 00 60 	b       ffc09030 <rtems_rate_monotonic_period+0x1c4>
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
ffc08fd4:	2f 80 00 04 	cmpwi   cr7,r0,4                               
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc08fd8:	3b c0 00 04 	li      r30,4                                  
                                                                      
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
ffc08fdc:	40 be 00 54 	bne+    cr7,ffc09030 <rtems_rate_monotonic_period+0x1c4><== NEVER TAKEN
        /*                                                            
         *  Update statistics from the concluding period              
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
ffc08fe0:	4b ff fd 89 	bl      ffc08d68 <_Rate_monotonic_Update_statistics>
ffc08fe4:	7f 80 01 24 	mtmsr   r28                                    
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
ffc08fe8:	38 00 00 02 	li      r0,2                                   
        the_period->next_length = length;                             
ffc08fec:	93 fd 00 3c 	stw     r31,60(r29)                            
ffc08ff0:	3c 60 00 00 	lis     r3,0                                   
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
ffc08ff4:	90 1d 00 38 	stw     r0,56(r29)                             
ffc08ff8:	38 63 2d c8 	addi    r3,r3,11720                            
ffc08ffc:	38 9d 00 10 	addi    r4,r29,16                              
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc09000:	93 fd 00 1c 	stw     r31,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;                                         
ffc09004:	3b c0 00 06 	li      r30,6                                  
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc09008:	48 00 43 05 	bl      ffc0d30c <_Watchdog_Insert>            
ffc0900c:	3d 20 00 00 	lis     r9,0                                   
ffc09010:	80 09 21 14 	lwz     r0,8468(r9)                            
ffc09014:	80 7d 00 40 	lwz     r3,64(r29)                             
ffc09018:	80 9d 00 3c 	lwz     r4,60(r29)                             
ffc0901c:	7c 09 03 a6 	mtctr   r0                                     
ffc09020:	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();                                    
ffc09024:	48 00 32 ad 	bl      ffc0c2d0 <_Thread_Enable_dispatch>     
        return RTEMS_TIMEOUT;                                         
ffc09028:	48 00 00 08 	b       ffc09030 <rtems_rate_monotonic_period+0x1c4>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc0902c:	3b c0 00 04 	li      r30,4                                  
}                                                                     
ffc09030:	39 61 00 28 	addi    r11,r1,40                              
ffc09034:	7f c3 f3 78 	mr      r3,r30                                 
ffc09038:	4b ff 81 c8 	b       ffc01200 <_restgpr_28_x>               
                                                                      

ffc0903c <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
ffc0903c:	94 21 ff 70 	stwu    r1,-144(r1)                            
ffc09040:	7c 08 02 a6 	mflr    r0                                     
ffc09044:	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 )                                                       
ffc09048:	7c 80 23 79 	mr.     r0,r4                                  
 */                                                                   
void rtems_rate_monotonic_report_statistics_with_plugin(              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
ffc0904c:	bf 01 00 70 	stmw    r24,112(r1)                            
ffc09050:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
ffc09054:	90 01 00 68 	stw     r0,104(r1)                             
ffc09058:	41 82 01 e4 	beq-    ffc0923c <rtems_rate_monotonic_report_statistics_with_plugin+0x200><== NEVER TAKEN
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
ffc0905c:	3c 80 ff c2 	lis     r4,-62                                 
ffc09060:	7c 09 03 a6 	mtctr   r0                                     
ffc09064:	38 84 e0 75 	addi    r4,r4,-8075                            
                                                                      
  /*                                                                  
   * 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 ;                   
ffc09068:	3f 00 00 00 	lis     r24,0                                  
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
ffc0906c:	3f 20 ff c2 	lis     r25,-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,                                              
ffc09070:	3f 40 ff c2 	lis     r26,-62                                
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
ffc09074:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09078:	4e 80 04 21 	bctrl                                          
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
ffc0907c:	80 01 00 68 	lwz     r0,104(r1)                             
ffc09080:	3c 80 ff c2 	lis     r4,-62                                 
ffc09084:	7c 09 03 a6 	mtctr   r0                                     
ffc09088:	38 84 e0 93 	addi    r4,r4,-8045                            
ffc0908c:	7f e3 fb 78 	mr      r3,r31                                 
      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,                                              
ffc09090:	3f 60 ff c2 	lis     r27,-62                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
ffc09094:	3f 80 ff c2 	lis     r28,-62                                
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
ffc09098:	3b 39 e1 6f 	addi    r25,r25,-7825                          
  if ( !print )                                                       
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
ffc0909c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc090a0:	4e 80 04 21 	bctrl                                          
    (*print)( context, "--- Wall times are in seconds ---\n" );       
ffc090a4:	80 01 00 68 	lwz     r0,104(r1)                             
ffc090a8:	3c 80 ff c2 	lis     r4,-62                                 
ffc090ac:	7c 09 03 a6 	mtctr   r0                                     
ffc090b0:	38 84 e0 b5 	addi    r4,r4,-8011                            
ffc090b4:	7f e3 fb 78 	mr      r3,r31                                 
      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,                                              
ffc090b8:	3b 5a e1 86 	addi    r26,r26,-7802                          
      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,                                              
ffc090bc:	3b 7b e1 a5 	addi    r27,r27,-7771                          
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
ffc090c0:	3b 9c e0 22 	addi    r28,r28,-8158                          
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
    (*print)( context, "--- Wall times are in seconds ---\n" );       
ffc090c4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc090c8:	4e 80 04 21 	bctrl                                          
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
ffc090cc:	80 01 00 68 	lwz     r0,104(r1)                             
ffc090d0:	3c 80 ff c2 	lis     r4,-62                                 
ffc090d4:	7c 09 03 a6 	mtctr   r0                                     
ffc090d8:	38 84 e0 d8 	addi    r4,r4,-7976                            
ffc090dc:	7f e3 fb 78 	mr      r3,r31                                 
ffc090e0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc090e4:	4e 80 04 21 	bctrl                                          
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
ffc090e8:	80 01 00 68 	lwz     r0,104(r1)                             
ffc090ec:	3c 80 ff c2 	lis     r4,-62                                 
ffc090f0:	7f e3 fb 78 	mr      r3,r31                                 
ffc090f4:	7c 09 03 a6 	mtctr   r0                                     
ffc090f8:	38 84 e1 23 	addi    r4,r4,-7901                            
ffc090fc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09100:	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 ;                   
ffc09104:	39 38 2c 00 	addi    r9,r24,11264                           
ffc09108:	83 c9 00 08 	lwz     r30,8(r9)                              
ffc0910c:	48 00 01 20 	b       ffc0922c <rtems_rate_monotonic_report_statistics_with_plugin+0x1f0>
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
ffc09110:	7f c3 f3 78 	mr      r3,r30                                 
ffc09114:	38 81 00 30 	addi    r4,r1,48                               
ffc09118:	48 00 5f d9 	bl      ffc0f0f0 <rtems_rate_monotonic_get_statistics>
    if ( status != RTEMS_SUCCESSFUL )                                 
ffc0911c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc09120:	40 be 01 08 	bne+    cr7,ffc09228 <rtems_rate_monotonic_report_statistics_with_plugin+0x1ec>
    #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 );      
ffc09124:	38 81 00 18 	addi    r4,r1,24                               
ffc09128:	7f c3 f3 78 	mr      r3,r30                                 
ffc0912c:	48 00 60 91 	bl      ffc0f1bc <rtems_rate_monotonic_get_status>
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
ffc09130:	80 61 00 18 	lwz     r3,24(r1)                              
ffc09134:	38 80 00 05 	li      r4,5                                   
ffc09138:	38 a1 00 08 	addi    r5,r1,8                                
ffc0913c:	48 00 02 ad 	bl      ffc093e8 <rtems_object_get_name>       
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
ffc09140:	80 01 00 68 	lwz     r0,104(r1)                             
ffc09144:	7f 24 cb 78 	mr      r4,r25                                 
ffc09148:	80 e1 00 30 	lwz     r7,48(r1)                              
ffc0914c:	7f e3 fb 78 	mr      r3,r31                                 
ffc09150:	81 01 00 34 	lwz     r8,52(r1)                              
ffc09154:	7f c5 f3 78 	mr      r5,r30                                 
ffc09158:	7c 09 03 a6 	mtctr   r0                                     
ffc0915c:	38 c1 00 08 	addi    r6,r1,8                                
ffc09160:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09164:	4e 80 04 21 	bctrl                                          
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
ffc09168:	80 81 00 30 	lwz     r4,48(r1)                              
ffc0916c:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc09170:	40 9e 00 20 	bne-    cr7,ffc09190 <rtems_rate_monotonic_report_statistics_with_plugin+0x154>
      (*print)( context, "\n" );                                      
ffc09174:	80 01 00 68 	lwz     r0,104(r1)                             
ffc09178:	7f e3 fb 78 	mr      r3,r31                                 
ffc0917c:	7f 84 e3 78 	mr      r4,r28                                 
ffc09180:	7c 09 03 a6 	mtctr   r0                                     
ffc09184:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09188:	4e 80 04 21 	bctrl                                          
      continue;                                                       
ffc0918c:	48 00 00 9c 	b       ffc09228 <rtems_rate_monotonic_report_statistics_with_plugin+0x1ec>
      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 );
ffc09190:	38 61 00 48 	addi    r3,r1,72                               
ffc09194:	38 a1 00 10 	addi    r5,r1,16                               
ffc09198:	48 00 3c fd 	bl      ffc0ce94 <_Timespec_Divide_by_integer> 
      (*print)( context,                                              
ffc0919c:	80 01 00 68 	lwz     r0,104(r1)                             
ffc091a0:	80 c1 00 3c 	lwz     r6,60(r1)                              
ffc091a4:	3b a0 03 e8 	li      r29,1000                               
ffc091a8:	81 01 00 44 	lwz     r8,68(r1)                              
ffc091ac:	7c 09 03 a6 	mtctr   r0                                     
ffc091b0:	81 41 00 14 	lwz     r10,20(r1)                             
ffc091b4:	7c c6 eb d6 	divw    r6,r6,r29                              
ffc091b8:	80 e1 00 40 	lwz     r7,64(r1)                              
ffc091bc:	81 21 00 10 	lwz     r9,16(r1)                              
ffc091c0:	80 a1 00 38 	lwz     r5,56(r1)                              
ffc091c4:	7d 08 eb d6 	divw    r8,r8,r29                              
ffc091c8:	7d 4a eb d6 	divw    r10,r10,r29                            
ffc091cc:	7f 44 d3 78 	mr      r4,r26                                 
ffc091d0:	7f e3 fb 78 	mr      r3,r31                                 
ffc091d4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc091d8:	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);
ffc091dc:	80 81 00 30 	lwz     r4,48(r1)                              
ffc091e0:	38 61 00 60 	addi    r3,r1,96                               
ffc091e4:	38 a1 00 10 	addi    r5,r1,16                               
ffc091e8:	48 00 3c ad 	bl      ffc0ce94 <_Timespec_Divide_by_integer> 
      (*print)( context,                                              
ffc091ec:	80 c1 00 54 	lwz     r6,84(r1)                              
ffc091f0:	81 01 00 5c 	lwz     r8,92(r1)                              
ffc091f4:	7f e3 fb 78 	mr      r3,r31                                 
ffc091f8:	81 41 00 14 	lwz     r10,20(r1)                             
ffc091fc:	7f 64 db 78 	mr      r4,r27                                 
ffc09200:	80 01 00 68 	lwz     r0,104(r1)                             
ffc09204:	7c c6 eb d6 	divw    r6,r6,r29                              
ffc09208:	80 a1 00 50 	lwz     r5,80(r1)                              
ffc0920c:	80 e1 00 58 	lwz     r7,88(r1)                              
ffc09210:	7c 09 03 a6 	mtctr   r0                                     
ffc09214:	81 21 00 10 	lwz     r9,16(r1)                              
ffc09218:	7d 08 eb d6 	divw    r8,r8,r29                              
ffc0921c:	7d 4a eb d6 	divw    r10,r10,r29                            
ffc09220:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09224:	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 ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
ffc09228:	3b de 00 01 	addi    r30,r30,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 ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
ffc0922c:	39 38 2c 00 	addi    r9,r24,11264                           
                                                                      
  /*                                                                  
   * 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 ;                   
ffc09230:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc09234:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc09238:	40 9d fe d8 	ble+    cr7,ffc09110 <rtems_rate_monotonic_report_statistics_with_plugin+0xd4>
        the_stats.min_wall_time, the_stats.max_wall_time, ival_wall, fval_wall
      );                                                              
    #endif                                                            
    }                                                                 
  }                                                                   
}                                                                     
ffc0923c:	39 61 00 90 	addi    r11,r1,144                             
ffc09240:	4b ff 7f b0 	b       ffc011f0 <_restgpr_24_x>               
                                                                      

ffc1a09c <rtems_rfs_bitmap_create_search>: int rtems_rfs_bitmap_create_search (rtems_rfs_bitmap_control* control) {
ffc1a09c:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc1a0a0:	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);                     
ffc1a0a4:	38 81 00 08 	addi    r4,r1,8                                
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_create_search (rtems_rfs_bitmap_control* control)    
{                                                                     
ffc1a0a8:	bf 21 00 1c 	stmw    r25,28(r1)                             
ffc1a0ac:	7c 7e 1b 78 	mr      r30,r3                                 
ffc1a0b0:	90 01 00 3c 	stw     r0,60(r1)                              
  rtems_rfs_bitmap_map map;                                           
  size_t               size;                                          
  rtems_rfs_bitmap_bit bit;                                           
  int                  rc;                                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc1a0b4:	4b ff f9 41 	bl      ffc199f4 <rtems_rfs_bitmap_load_map>   
  if (rc > 0)                                                         
ffc1a0b8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1a0bc:	41 a1 00 cc 	bgt+    ffc1a188 <rtems_rfs_bitmap_create_search+0xec><== NEVER TAKEN
    return rc;                                                        
                                                                      
  control->free = 0;                                                  
ffc1a0c0:	38 00 00 00 	li      r0,0                                   
  search_map = control->search_bits;                                  
ffc1a0c4:	83 7e 00 14 	lwz     r27,20(r30)                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  control->free = 0;                                                  
ffc1a0c8:	90 1e 00 10 	stw     r0,16(r30)                             
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
                                                                      
  *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                       
ffc1a0cc:	38 00 ff ff 	li      r0,-1                                  
    return rc;                                                        
                                                                      
  control->free = 0;                                                  
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
ffc1a0d0:	3b a0 00 00 	li      r29,0                                  
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  control->free = 0;                                                  
  search_map = control->search_bits;                                  
  size = control->size;                                               
ffc1a0d4:	83 fe 00 0c 	lwz     r31,12(r30)                            
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
ffc1a0d8:	3b 20 00 01 	li      r25,1                                  
  control->free = 0;                                                  
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
                                                                      
  *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                       
ffc1a0dc:	90 1b 00 00 	stw     r0,0(r27)                              
                                                                      
    if (bit == rtems_rfs_bitmap_element_bits ())                      
    {                                                                 
      bit = 0;                                                        
      search_map++;                                                   
      *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                   
ffc1a0e0:	3b 40 ff ff 	li      r26,-1                                 
  control->free = 0;                                                  
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
                                                                      
  *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                       
ffc1a0e4:	83 81 00 08 	lwz     r28,8(r1)                              
  while (size)                                                        
ffc1a0e8:	48 00 00 94 	b       ffc1a17c <rtems_rfs_bitmap_create_search+0xe0>
  {                                                                   
    rtems_rfs_bitmap_element bits;                                    
    int                      available;                               
    if (size < rtems_rfs_bitmap_element_bits ())                      
ffc1a0ec:	2b 9f 00 1f 	cmplwi  cr7,r31,31                             
ffc1a0f0:	41 9d 00 20 	bgt-    cr7,ffc1a110 <rtems_rfs_bitmap_create_search+0x74>
    {                                                                 
      bits = rtems_rfs_bitmap_merge (*map,                            
ffc1a0f4:	38 60 00 00 	li      r3,0                                   
ffc1a0f8:	7f e4 fb 78 	mr      r4,r31                                 
ffc1a0fc:	4b ff fb 71 	bl      ffc19c6c <rtems_rfs_bitmap_mask_section>
{                                                                     
  /*                                                                  
   * Use the normal bit operators because we do not change the bits just merge
   * the 2 separate parts.                                            
   */                                                                 
  bits1 &= mask;                                                      
ffc1a100:	80 1c 00 00 	lwz     r0,0(r28)                              
    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;                                               
ffc1a104:	7f e9 fb 78 	mr      r9,r31                                 
{                                                                     
  /*                                                                  
   * Use the normal bit operators because we do not change the bits just merge
   * the 2 separate parts.                                            
   */                                                                 
  bits1 &= mask;                                                      
ffc1a108:	7c 60 00 38 	and     r0,r3,r0                               
ffc1a10c:	48 00 00 0c 	b       ffc1a118 <rtems_rfs_bitmap_create_search+0x7c>
                                     rtems_rfs_bitmap_mask_section (0, size));
      available = size;                                               
    }                                                                 
    else                                                              
    {                                                                 
      bits      = *map;                                               
ffc1a110:	80 1c 00 00 	lwz     r0,0(r28)                              
      available = rtems_rfs_bitmap_element_bits ();                   
ffc1a114:	39 20 00 20 	li      r9,32                                  
    }                                                                 
                                                                      
    if (rtems_rfs_bitmap_match (bits, RTEMS_RFS_BITMAP_ELEMENT_SET))  
ffc1a118:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1a11c:	41 9e 00 3c 	beq-    cr7,ffc1a158 <rtems_rfs_bitmap_create_search+0xbc>
ffc1a120:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1a124:	39 40 00 00 	li      r10,0                                  
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
ffc1a128:	7d 2b 4b 78 	mr      r11,r9                                 
ffc1a12c:	41 bd 00 08 	bgt+    cr7,ffc1a134 <rtems_rfs_bitmap_create_search+0x98><== ALWAYS TAKEN
ffc1a130:	39 60 00 01 	li      r11,1                                  <== NOT EXECUTED
ffc1a134:	7f 28 50 30 	slw     r8,r25,r10                             
      rtems_rfs_bitmap_set (*search_map, bit);                        
    else                                                              
    {                                                                 
      int b;                                                          
      for (b = 0; b < available; b++)                                 
        if (!rtems_rfs_bitmap_test (bits, b))                         
ffc1a138:	7d 07 00 39 	and.    r7,r8,r0                               
ffc1a13c:	41 82 00 10 	beq-    ffc1a14c <rtems_rfs_bitmap_create_search+0xb0>
          control->free++;                                            
ffc1a140:	81 1e 00 10 	lwz     r8,16(r30)                             
ffc1a144:	39 08 00 01 	addi    r8,r8,1                                
ffc1a148:	91 1e 00 10 	stw     r8,16(r30)                             
    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++)                                 
ffc1a14c:	35 6b ff ff 	addic.  r11,r11,-1                             
ffc1a150:	39 4a 00 01 	addi    r10,r10,1                              
ffc1a154:	40 82 ff e0 	bne+    ffc1a134 <rtems_rfs_bitmap_create_search+0x98>
          control->free++;                                            
    }                                                                 
                                                                      
    size -= available;                                                
                                                                      
    if (bit == rtems_rfs_bitmap_element_bits ())                      
ffc1a158:	2f 9d 00 20 	cmpwi   cr7,r29,32                             
      for (b = 0; b < available; b++)                                 
        if (!rtems_rfs_bitmap_test (bits, b))                         
          control->free++;                                            
    }                                                                 
                                                                      
    size -= available;                                                
ffc1a15c:	7f e9 f8 50 	subf    r31,r9,r31                             
                                                                      
    if (bit == rtems_rfs_bitmap_element_bits ())                      
ffc1a160:	40 be 00 14 	bne+    cr7,ffc1a174 <rtems_rfs_bitmap_create_search+0xd8><== ALWAYS TAKEN
    {                                                                 
      bit = 0;                                                        
      search_map++;                                                   
      *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                   
ffc1a164:	93 5b 00 04 	stw     r26,4(r27)                             <== NOT EXECUTED
                                                                      
    size -= available;                                                
                                                                      
    if (bit == rtems_rfs_bitmap_element_bits ())                      
    {                                                                 
      bit = 0;                                                        
ffc1a168:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
      search_map++;                                                   
ffc1a16c:	3b 7b 00 04 	addi    r27,r27,4                              <== NOT EXECUTED
ffc1a170:	48 00 00 08 	b       ffc1a178 <rtems_rfs_bitmap_create_search+0xdc><== NOT EXECUTED
      *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                   
    }                                                                 
    else                                                              
      bit++;                                                          
ffc1a174:	3b bd 00 01 	addi    r29,r29,1                              
ffc1a178:	3b 9c 00 04 	addi    r28,r28,4                              
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
                                                                      
  *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                       
  while (size)                                                        
ffc1a17c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc1a180:	40 9e ff 6c 	bne+    cr7,ffc1a0ec <rtems_rfs_bitmap_create_search+0x50>
    else                                                              
      bit++;                                                          
    map++;                                                            
  }                                                                   
                                                                      
  return 0;                                                           
ffc1a184:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1a188:	39 61 00 38 	addi    r11,r1,56                              
ffc1a18c:	4b fe 89 54 	b       ffc02ae0 <_restgpr_25_x>               
                                                                      

ffc199f4 <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) {
ffc199f4:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc199f8:	7c 08 02 a6 	mflr    r0                                     
ffc199fc:	90 01 00 14 	stw     r0,20(r1)                              
  int rc;                                                             
                                                                      
  if (!control->buffer)                                               
ffc19a00:	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)             
{                                                                     
ffc19a04:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc19a08:	7c 7f 1b 78 	mr      r31,r3                                 
  int rc;                                                             
                                                                      
  if (!control->buffer)                                               
ffc19a0c:	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)             
{                                                                     
ffc19a10:	7c 9e 23 78 	mr      r30,r4                                 
  int rc;                                                             
                                                                      
  if (!control->buffer)                                               
    return ENXIO;                                                     
ffc19a14:	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)                                               
ffc19a18:	41 9e 00 38 	beq-    cr7,ffc19a50 <rtems_rfs_bitmap_load_map+0x5c><== NEVER TAKEN
    return ENXIO;                                                     
                                                                      
  *map = NULL;                                                        
ffc19a1c:	38 00 00 00 	li      r0,0                                   
                                                                      
  rc = rtems_rfs_buffer_handle_request (control->fs,                  
ffc19a20:	80 bf 00 08 	lwz     r5,8(r31)                              
  int rc;                                                             
                                                                      
  if (!control->buffer)                                               
    return ENXIO;                                                     
                                                                      
  *map = NULL;                                                        
ffc19a24:	90 04 00 00 	stw     r0,0(r4)                               
                                                                      
  rc = rtems_rfs_buffer_handle_request (control->fs,                  
ffc19a28:	38 c0 00 01 	li      r6,1                                   
ffc19a2c:	80 7f 00 04 	lwz     r3,4(r31)                              
ffc19a30:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc19a34:	48 00 1c 31 	bl      ffc1b664 <rtems_rfs_buffer_handle_request>
                                        control->buffer,              
                                        control->block,               
                                        true);                        
  if (rc)                                                             
ffc19a38:	2c 03 00 00 	cmpwi   r3,0                                   
ffc19a3c:	40 82 00 14 	bne-    ffc19a50 <rtems_rfs_bitmap_load_map+0x5c><== NEVER TAKEN
    return rc;                                                        
                                                                      
  *map = rtems_rfs_buffer_data (control->buffer);                     
ffc19a40:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc19a44:	81 29 00 08 	lwz     r9,8(r9)                               
ffc19a48:	80 09 00 24 	lwz     r0,36(r9)                              
ffc19a4c:	90 1e 00 00 	stw     r0,0(r30)                              
  return 0;                                                           
}                                                                     
ffc19a50:	39 61 00 10 	addi    r11,r1,16                              
ffc19a54:	4b fe 90 a0 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

ffc19fb0 <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) {
ffc19fb0:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc19fb4:	7c 08 02 a6 	mflr    r0                                     
ffc19fb8:	90 01 00 24 	stw     r0,36(r1)                              
  int                  rc = 0;                                        
                                                                      
  /*                                                                  
   * By default we assume the allocation failed.                      
   */                                                                 
  *allocated = false;                                                 
ffc19fbc:	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)            
{                                                                     
ffc19fc0:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc19fc4:	7c 7d 1b 78 	mr      r29,r3                                 
ffc19fc8:	7c bc 2b 78 	mr      r28,r5                                 
ffc19fcc:	7c db 33 78 	mr      r27,r6                                 
  int                  rc = 0;                                        
                                                                      
  /*                                                                  
   * By default we assume the allocation failed.                      
   */                                                                 
  *allocated = false;                                                 
ffc19fd0:	98 05 00 00 	stb     r0,0(r5)                               
   * 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;                                                  
ffc19fd4:	7c 9f 23 78 	mr      r31,r4                                 
   * 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;                                                  
ffc19fd8:	7c 9e 23 78 	mr      r30,r4                                 
   * 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))          
ffc19fdc:	48 00 00 8c 	b       ffc1a068 <rtems_rfs_bitmap_map_alloc+0xb8>
         || ((lower_seed >= 0) && (lower_seed < control->size)))      
  {                                                                   
    /*                                                                
     * Search up first so bits allocated in succession are grouped together.
     */                                                               
    if (upper_seed < control->size)                                   
ffc19fe0:	80 1d 00 0c 	lwz     r0,12(r29)                             
ffc19fe4:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc19fe8:	40 bc 00 30 	bge+    cr7,ffc1a018 <rtems_rfs_bitmap_map_alloc+0x68><== NEVER TAKEN
    {                                                                 
      *bit = upper_seed;                                              
ffc19fec:	93 db 00 00 	stw     r30,0(r27)                             
      rc = rtems_rfs_search_map_for_clear_bit (control, bit, allocated,
ffc19ff0:	7f a3 eb 78 	mr      r3,r29                                 
ffc19ff4:	7f 64 db 78 	mr      r4,r27                                 
ffc19ff8:	7f 85 e3 78 	mr      r5,r28                                 
ffc19ffc:	38 c0 00 01 	li      r6,1                                   
ffc1a000:	4b ff fa 59 	bl      ffc19a58 <rtems_rfs_search_map_for_clear_bit.constprop.1>
                                               window, 1);            
      if ((rc > 0) || *allocated)                                     
ffc1a004:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1a008:	41 9d 00 88 	bgt-    cr7,ffc1a090 <rtems_rfs_bitmap_map_alloc+0xe0><== NEVER TAKEN
ffc1a00c:	88 1c 00 00 	lbz     r0,0(r28)                              
ffc1a010:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1a014:	40 9e 00 7c 	bne-    cr7,ffc1a090 <rtems_rfs_bitmap_map_alloc+0xe0>
        break;                                                        
    }                                                                 
                                                                      
    if (lower_seed >= 0)                                              
ffc1a018:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc1a01c:	41 9c 00 30 	blt-    cr7,ffc1a04c <rtems_rfs_bitmap_map_alloc+0x9c><== NEVER TAKEN
    {                                                                 
      *bit = lower_seed;                                              
ffc1a020:	93 fb 00 00 	stw     r31,0(r27)                             
      rc = rtems_rfs_search_map_for_clear_bit (control, bit, allocated,
ffc1a024:	7f a3 eb 78 	mr      r3,r29                                 
ffc1a028:	7f 64 db 78 	mr      r4,r27                                 
ffc1a02c:	7f 85 e3 78 	mr      r5,r28                                 
ffc1a030:	38 c0 ff ff 	li      r6,-1                                  
ffc1a034:	4b ff fa 25 	bl      ffc19a58 <rtems_rfs_search_map_for_clear_bit.constprop.1>
                                               window, -1);           
      if ((rc > 0) || *allocated)                                     
ffc1a038:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1a03c:	41 9d 00 54 	bgt-    cr7,ffc1a090 <rtems_rfs_bitmap_map_alloc+0xe0><== NEVER TAKEN
ffc1a040:	88 1c 00 00 	lbz     r0,0(r28)                              
ffc1a044:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1a048:	40 9e 00 48 	bne-    cr7,ffc1a090 <rtems_rfs_bitmap_map_alloc+0xe0><== NEVER TAKEN
                                                                      
    /*                                                                
     * 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)                                   
ffc1a04c:	80 1d 00 0c 	lwz     r0,12(r29)                             
ffc1a050:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc1a054:	40 9c 00 08 	bge-    cr7,ffc1a05c <rtems_rfs_bitmap_map_alloc+0xac><== NEVER TAKEN
      upper_seed += window;                                           
ffc1a058:	3b de 08 00 	addi    r30,r30,2048                           
    if (lower_seed >= 0)                                              
ffc1a05c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc1a060:	41 9c 00 08 	blt-    cr7,ffc1a068 <rtems_rfs_bitmap_map_alloc+0xb8><== NEVER TAKEN
      lower_seed -= window;                                           
ffc1a064:	3b ff f8 00 	addi    r31,r31,-2048                          
   * we have searched all of the map. The seed may not be aligned to a window
   * boundary so we may need to search a partial window and this may also not
   * be balanced for the upper or lower seeds. We move to the limits, search
   * then return false if no clear bits are found.                    
   */                                                                 
  while (((upper_seed >= 0) && (upper_seed < control->size))          
ffc1a068:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc1a06c:	41 9c 00 10 	blt-    cr7,ffc1a07c <rtems_rfs_bitmap_map_alloc+0xcc><== NEVER TAKEN
ffc1a070:	80 1d 00 0c 	lwz     r0,12(r29)                             
ffc1a074:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc1a078:	41 bc ff 68 	blt-    cr7,ffc19fe0 <rtems_rfs_bitmap_map_alloc+0x30>
         || ((lower_seed >= 0) && (lower_seed < control->size)))      
ffc1a07c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc1a080:	41 9c 00 10 	blt-    cr7,ffc1a090 <rtems_rfs_bitmap_map_alloc+0xe0>
ffc1a084:	80 1d 00 0c 	lwz     r0,12(r29)                             
ffc1a088:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc1a08c:	41 9c ff 54 	blt+    cr7,ffc19fe0 <rtems_rfs_bitmap_map_alloc+0x30><== NEVER TAKEN
    if (lower_seed >= 0)                                              
      lower_seed -= window;                                           
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc1a090:	39 61 00 20 	addi    r11,r1,32                              
ffc1a094:	38 60 00 00 	li      r3,0                                   
ffc1a098:	4b fe 8a 50 	b       ffc02ae8 <_restgpr_27_x>               
                                                                      

ffc19d38 <rtems_rfs_bitmap_map_clear>: int rtems_rfs_bitmap_map_clear (rtems_rfs_bitmap_control* control, rtems_rfs_bitmap_bit bit) {
ffc19d38:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc19d3c:	7c 08 02 a6 	mflr    r0                                     
ffc19d40:	bf c1 00 18 	stmw    r30,24(r1)                             
ffc19d44:	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);                     
ffc19d48:	38 81 00 08 	addi    r4,r1,8                                
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_map_clear (rtems_rfs_bitmap_control* control,        
                            rtems_rfs_bitmap_bit      bit)            
{                                                                     
ffc19d4c:	90 01 00 24 	stw     r0,36(r1)                              
ffc19d50:	7c 7f 1b 78 	mr      r31,r3                                 
  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);                     
ffc19d54:	4b ff fc a1 	bl      ffc199f4 <rtems_rfs_bitmap_load_map>   
  if (rc > 0)                                                         
ffc19d58:	2c 03 00 00 	cmpwi   r3,0                                   
ffc19d5c:	41 a1 00 70 	bgt+    ffc19dcc <rtems_rfs_bitmap_map_clear+0x94><== NEVER TAKEN
    return rc;                                                        
  if (bit >= control->size)                                           
ffc19d60:	80 1f 00 0c 	lwz     r0,12(r31)                             
    return EINVAL;                                                    
ffc19d64:	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)                                           
ffc19d68:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc19d6c:	40 bc 00 60 	bge+    cr7,ffc19dcc <rtems_rfs_bitmap_map_clear+0x94><== 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);
ffc19d70:	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);               
ffc19d74:	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);
ffc19d78:	55 6a 10 3a 	rlwinm  r10,r11,2,0,29                         
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  search_map        = control->search_bits;                           
ffc19d7c:	81 3f 00 14 	lwz     r9,20(r31)                             
 */                                                                   
static rtems_rfs_bitmap_element                                       
rtems_rfs_bitmap_clear (rtems_rfs_bitmap_element target,              
                        rtems_rfs_bitmap_element bits)                
{                                                                     
  return RTEMS_RFS_BITMAP_CLEAR_BITS (target, bits);                  
ffc19d80:	7c c8 50 2e 	lwzx    r6,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);
ffc19d84:	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);              
ffc19d88:	57 c7 06 fe 	clrlwi  r7,r30,27                              
  map[index]        = rtems_rfs_bitmap_clear (map[index], 1 << offset);
ffc19d8c:	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);                  
ffc19d90:	7c c7 3b 78 	or      r7,r6,r7                               
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  search_map        = control->search_bits;                           
  index             = rtems_rfs_bitmap_map_index (bit);               
  offset            = rtems_rfs_bitmap_map_offset (bit);              
  map[index]        = rtems_rfs_bitmap_clear (map[index], 1 << offset);
ffc19d94:	7c e8 51 2e 	stwx    r7,r8,r10                              
  bit               = index;                                          
  index             = rtems_rfs_bitmap_map_index (bit);               
ffc19d98:	7f de 56 70 	srawi   r30,r30,10                             
  offset            = rtems_rfs_bitmap_map_offset(bit);               
  search_map[index] = rtems_rfs_bitmap_clear (search_map[index], 1 << offset);
ffc19d9c:	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);                  
ffc19da0:	7d 49 f0 2e 	lwzx    r10,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);               
ffc19da4:	55 6b 06 fe 	clrlwi  r11,r11,27                             
  search_map[index] = rtems_rfs_bitmap_clear (search_map[index], 1 << offset);
ffc19da8:	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);                  
ffc19dac:	7d 4b 5b 78 	or      r11,r10,r11                            
  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);
ffc19db0:	7d 69 f1 2e 	stwx    r11,r9,r30                             
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
  control->free++;                                                    
  return 0;                                                           
ffc19db4:	38 60 00 00 	li      r3,0                                   
  map[index]        = rtems_rfs_bitmap_clear (map[index], 1 << offset);
  bit               = index;                                          
  index             = rtems_rfs_bitmap_map_index (bit);               
  offset            = rtems_rfs_bitmap_map_offset(bit);               
  search_map[index] = rtems_rfs_bitmap_clear (search_map[index], 1 << offset);
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
ffc19db8:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc19dbc:	98 09 00 00 	stb     r0,0(r9)                               
  control->free++;                                                    
ffc19dc0:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc19dc4:	38 09 00 01 	addi    r0,r9,1                                
ffc19dc8:	90 1f 00 10 	stw     r0,16(r31)                             
  return 0;                                                           
}                                                                     
ffc19dcc:	39 61 00 20 	addi    r11,r1,32                              
ffc19dd0:	4b fe 8d 24 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

ffc19ee8 <rtems_rfs_bitmap_map_clear_all>: int rtems_rfs_bitmap_map_clear_all (rtems_rfs_bitmap_control* control) {
ffc19ee8:	7c 2b 0b 78 	mr      r11,r1                                 
ffc19eec:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc19ef0:	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);                     
ffc19ef4:	38 81 00 08 	addi    r4,r1,8                                
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_map_clear_all (rtems_rfs_bitmap_control* control)    
{                                                                     
ffc19ef8:	4b fe 8b b5 	bl      ffc02aac <_savegpr_31>                 
ffc19efc:	90 01 00 24 	stw     r0,36(r1)                              
ffc19f00:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_rfs_bitmap_bit last_search_bit;                               
  size_t               elements;                                      
  int                  e;                                             
  int                  rc;                                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc19f04:	4b ff fa f1 	bl      ffc199f4 <rtems_rfs_bitmap_load_map>   
  if (rc > 0)                                                         
ffc19f08:	2c 03 00 00 	cmpwi   r3,0                                   
ffc19f0c:	41 a1 00 9c 	bgt+    ffc19fa8 <rtems_rfs_bitmap_map_clear_all+0xc0><== NEVER TAKEN
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
ffc19f10:	81 1f 00 0c 	lwz     r8,12(r31)                             
                                                                      
  control->free = elements;                                           
                                                                      
  for (e = 0; e < elements; e++)                                      
ffc19f14:	39 60 00 00 	li      r11,0                                  
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                          
ffc19f18:	81 41 00 08 	lwz     r10,8(r1)                              
ffc19f1c:	38 00 ff ff 	li      r0,-1                                  
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
ffc19f20:	39 08 ff ff 	addi    r8,r8,-1                               
ffc19f24:	55 08 d9 7e 	rlwinm  r8,r8,27,5,31                          
ffc19f28:	39 28 00 01 	addi    r9,r8,1                                
                                                                      
  control->free = elements;                                           
                                                                      
  for (e = 0; e < elements; e++)                                      
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                          
ffc19f2c:	38 e9 00 01 	addi    r7,r9,1                                
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
                                                                      
  control->free = elements;                                           
ffc19f30:	91 3f 00 10 	stw     r9,16(r31)                             
                                                                      
  for (e = 0; e < elements; e++)                                      
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                          
ffc19f34:	7c e9 03 a6 	mtctr   r7                                     
ffc19f38:	48 00 00 10 	b       ffc19f48 <rtems_rfs_bitmap_map_clear_all+0x60>
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_map_clear_all (rtems_rfs_bitmap_control* control)    
ffc19f3c:	55 67 10 3a 	rlwinm  r7,r11,2,0,29                          
  elements = rtems_rfs_bitmap_elements (control->size);               
                                                                      
  control->free = elements;                                           
                                                                      
  for (e = 0; e < elements; e++)                                      
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                          
ffc19f40:	7c 0a 39 2e 	stwx    r0,r10,r7                              
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
                                                                      
  control->free = elements;                                           
                                                                      
  for (e = 0; e < elements; e++)                                      
ffc19f44:	39 6b 00 01 	addi    r11,r11,1                              
ffc19f48:	42 00 ff f4 	bdnz+   ffc19f3c <rtems_rfs_bitmap_map_clear_all+0x54>
   * 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)                                           
ffc19f4c:	71 29 00 1f 	andi.   r9,r9,31                               
ffc19f50:	40 82 00 08 	bne-    ffc19f58 <rtems_rfs_bitmap_map_clear_all+0x70><== NEVER TAKEN
    last_search_bit = rtems_rfs_bitmap_element_bits ();               
ffc19f54:	39 20 00 20 	li      r9,32                                  
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
ffc19f58:	55 08 d9 7e 	rlwinm  r8,r8,27,5,31                          
                                                                      
  for (e = 0; e < (elements - 1); e++)                                
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;         
ffc19f5c:	39 48 00 01 	addi    r10,r8,1                               
  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++)                                
ffc19f60:	39 60 00 00 	li      r11,0                                  
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;         
ffc19f64:	7d 49 03 a6 	mtctr   r10                                    
ffc19f68:	38 00 ff ff 	li      r0,-1                                  
  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++)                                
ffc19f6c:	48 00 00 10 	b       ffc19f7c <rtems_rfs_bitmap_map_clear_all+0x94>
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;         
ffc19f70:	55 67 10 3a 	rlwinm  r7,r11,2,0,29                          <== NOT EXECUTED
ffc19f74:	7c 0a 39 2e 	stwx    r0,r10,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++)                                
ffc19f78:	39 6b 00 01 	addi    r11,r11,1                              <== NOT EXECUTED
ffc19f7c:	81 5f 00 14 	lwz     r10,20(r31)                            
ffc19f80:	42 00 ff f0 	bdnz+   ffc19f70 <rtems_rfs_bitmap_map_clear_all+0x88>
                                                                      
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);                 
ffc19f84:	38 00 ff ff 	li      r0,-1                                  
ffc19f88:	21 29 00 20 	subfic  r9,r9,32                               
ffc19f8c:	7c 09 4c 30 	srw     r9,r0,r9                               
  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] =                                
ffc19f90:	55 08 10 3a 	rlwinm  r8,r8,2,0,29                           
ffc19f94:	7d 2a 41 2e 	stwx    r9,r10,r8                              
    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);                      
ffc19f98:	38 00 00 01 	li      r0,1                                   
                                                                      
  return 0;                                                           
ffc19f9c:	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);                      
ffc19fa0:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc19fa4:	98 09 00 00 	stb     r0,0(r9)                               
                                                                      
  return 0;                                                           
}                                                                     
ffc19fa8:	39 61 00 20 	addi    r11,r1,32                              
ffc19fac:	4b fe 8b 4c 	b       ffc02af8 <_restgpr_31_x>               
                                                                      

ffc19c94 <rtems_rfs_bitmap_map_set>: int rtems_rfs_bitmap_map_set (rtems_rfs_bitmap_control* control, rtems_rfs_bitmap_bit bit) {
ffc19c94:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc19c98:	7c 08 02 a6 	mflr    r0                                     
ffc19c9c:	bf c1 00 18 	stmw    r30,24(r1)                             
ffc19ca0:	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);                     
ffc19ca4:	38 81 00 08 	addi    r4,r1,8                                
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_map_set (rtems_rfs_bitmap_control* control,          
                          rtems_rfs_bitmap_bit      bit)              
{                                                                     
ffc19ca8:	90 01 00 24 	stw     r0,36(r1)                              
ffc19cac:	7c 7f 1b 78 	mr      r31,r3                                 
  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);                     
ffc19cb0:	4b ff fd 45 	bl      ffc199f4 <rtems_rfs_bitmap_load_map>   
  if (rc > 0)                                                         
ffc19cb4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc19cb8:	41 a1 00 78 	bgt+    ffc19d30 <rtems_rfs_bitmap_map_set+0x9c><== NEVER TAKEN
    return rc;                                                        
  if (bit >= control->size)                                           
ffc19cbc:	80 1f 00 0c 	lwz     r0,12(r31)                             
    return EINVAL;                                                    
ffc19cc0:	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)                                           
ffc19cc4:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc19cc8:	40 bc 00 68 	bge+    cr7,ffc19d30 <rtems_rfs_bitmap_map_set+0x9c><== 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);        
ffc19ccc:	80 e1 00 08 	lwz     r7,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);                      
ffc19cd0:	7f cb 2e 70 	srawi   r11,r30,5                              
  offset     = rtems_rfs_bitmap_map_offset (bit);                     
  map[index] = rtems_rfs_bitmap_set (map[index], 1 << offset);        
ffc19cd4:	55 68 10 3a 	rlwinm  r8,r11,2,0,29                          
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  search_map = control->search_bits;                                  
ffc19cd8:	81 3f 00 14 	lwz     r9,20(r31)                             
 */                                                                   
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);                    
ffc19cdc:	7c c7 40 2e 	lwzx    r6,r7,r8                               
    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);                     
ffc19ce0:	57 ca 06 fe 	clrlwi  r10,r30,27                             
  map[index] = rtems_rfs_bitmap_set (map[index], 1 << offset);        
ffc19ce4:	38 00 00 01 	li      r0,1                                   
ffc19ce8:	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);                    
ffc19cec:	7c ca 50 78 	andc    r10,r6,r10                             
    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))
ffc19cf0:	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);        
ffc19cf4:	7d 47 41 2e 	stwx    r10,r7,r8                              
    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;                                                           
ffc19cf8:	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))
ffc19cfc:	40 9e 00 34 	bne-    cr7,ffc19d30 <rtems_rfs_bitmap_map_set+0x9c><== ALWAYS TAKEN
  {                                                                   
    bit = index;                                                      
    index  = rtems_rfs_bitmap_map_index (bit);                        
ffc19d00:	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);
ffc19d04:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         <== 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);                    
ffc19d08:	7d 49 f0 2e 	lwzx    r10,r9,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);                       
ffc19d0c:	55 6b 06 fe 	clrlwi  r11,r11,27                             <== NOT EXECUTED
    search_map[index] = rtems_rfs_bitmap_set (search_map[index], 1 << offset);
ffc19d10:	7c 0b 58 30 	slw     r11,r0,r11                             <== 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);                    
ffc19d14:	7d 4b 58 78 	andc    r11,r10,r11                            <== 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);
ffc19d18:	7d 69 f1 2e 	stwx    r11,r9,r30                             <== NOT EXECUTED
    control->free--;                                                  
ffc19d1c:	81 3f 00 10 	lwz     r9,16(r31)                             <== NOT EXECUTED
ffc19d20:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc19d24:	91 3f 00 10 	stw     r9,16(r31)                             <== NOT EXECUTED
    rtems_rfs_buffer_mark_dirty (control->buffer);                    
ffc19d28:	81 3f 00 00 	lwz     r9,0(r31)                              <== NOT EXECUTED
ffc19d2c:	98 09 00 00 	stb     r0,0(r9)                               <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
ffc19d30:	39 61 00 20 	addi    r11,r1,32                              
ffc19d34:	4b fe 8d c0 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

ffc19e44 <rtems_rfs_bitmap_map_set_all>: int rtems_rfs_bitmap_map_set_all (rtems_rfs_bitmap_control* control) {
ffc19e44:	7c 2b 0b 78 	mr      r11,r1                                 <== NOT EXECUTED
ffc19e48:	94 21 ff e0 	stwu    r1,-32(r1)                             <== NOT EXECUTED
ffc19e4c:	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);                     
ffc19e50:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_map_set_all (rtems_rfs_bitmap_control* control)      
{                                                                     
ffc19e54:	4b fe 8c 59 	bl      ffc02aac <_savegpr_31>                 <== NOT EXECUTED
ffc19e58:	90 01 00 24 	stw     r0,36(r1)                              <== NOT EXECUTED
ffc19e5c:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
  rtems_rfs_bitmap_map map;                                           
  size_t               elements;                                      
  int                  e;                                             
  int                  rc;                                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc19e60:	4b ff fb 95 	bl      ffc199f4 <rtems_rfs_bitmap_load_map>   <== NOT EXECUTED
  if (rc > 0)                                                         
ffc19e64:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc19e68:	41 a1 00 78 	bgt+    ffc19ee0 <rtems_rfs_bitmap_map_set_all+0x9c><== NOT EXECUTED
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
ffc19e6c:	81 7f 00 0c 	lwz     r11,12(r31)                            <== NOT EXECUTED
                                                                      
  control->free = 0;                                                  
ffc19e70:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc19e74:	90 1f 00 10 	stw     r0,16(r31)                             <== NOT EXECUTED
                                                                      
  for (e = 0; e < elements; e++)                                      
ffc19e78:	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);               
ffc19e7c:	39 6b ff ff 	addi    r11,r11,-1                             <== NOT EXECUTED
ffc19e80:	55 6b d9 7e 	rlwinm  r11,r11,27,5,31                        <== NOT EXECUTED
                                                                      
  control->free = 0;                                                  
                                                                      
  for (e = 0; e < elements; e++)                                      
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;                            
ffc19e84:	81 41 00 08 	lwz     r10,8(r1)                              <== NOT EXECUTED
ffc19e88:	39 0b 00 02 	addi    r8,r11,2                               <== NOT EXECUTED
ffc19e8c:	7d 09 03 a6 	mtctr   r8                                     <== NOT EXECUTED
ffc19e90:	48 00 00 10 	b       ffc19ea0 <rtems_rfs_bitmap_map_set_all+0x5c><== NOT EXECUTED
  *state = rtems_rfs_bitmap_test (map[index], bit);                   
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_map_set_all (rtems_rfs_bitmap_control* control)      
ffc19e94:	55 28 10 3a 	rlwinm  r8,r9,2,0,29                           <== NOT EXECUTED
  elements = rtems_rfs_bitmap_elements (control->size);               
                                                                      
  control->free = 0;                                                  
                                                                      
  for (e = 0; e < elements; e++)                                      
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;                            
ffc19e98:	7c 0a 41 2e 	stwx    r0,r10,r8                              <== NOT EXECUTED
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
                                                                      
  control->free = 0;                                                  
                                                                      
  for (e = 0; e < elements; e++)                                      
ffc19e9c:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
ffc19ea0:	42 00 ff f4 	bdnz+   ffc19e94 <rtems_rfs_bitmap_map_set_all+0x50><== NOT EXECUTED
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;                            
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
ffc19ea4:	55 6b d9 7e 	rlwinm  r11,r11,27,5,31                        <== NOT EXECUTED
                                                                      
  for (e = 0; e < elements; e++)                                      
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;           
ffc19ea8:	39 6b 00 02 	addi    r11,r11,2                              <== 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++)                                      
ffc19eac:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;           
ffc19eb0:	7d 69 03 a6 	mtctr   r11                                    <== NOT EXECUTED
ffc19eb4:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc19eb8:	48 00 00 14 	b       ffc19ecc <rtems_rfs_bitmap_map_set_all+0x88><== NOT EXECUTED
ffc19ebc:	81 5f 00 14 	lwz     r10,20(r31)                            <== NOT EXECUTED
ffc19ec0:	55 2b 10 3a 	rlwinm  r11,r9,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++)                                      
ffc19ec4:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;           
ffc19ec8:	7c 0a 59 2e 	stwx    r0,r10,r11                             <== 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++)                                      
ffc19ecc:	42 00 ff f0 	bdnz+   ffc19ebc <rtems_rfs_bitmap_map_set_all+0x78><== NOT EXECUTED
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;           
                                                                      
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
ffc19ed0:	81 3f 00 00 	lwz     r9,0(r31)                              <== NOT EXECUTED
ffc19ed4:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
                                                                      
  return 0;                                                           
ffc19ed8:	38 60 00 00 	li      r3,0                                   <== 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);                      
ffc19edc:	98 09 00 00 	stb     r0,0(r9)                               <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
ffc19ee0:	39 61 00 20 	addi    r11,r1,32                              <== NOT EXECUTED
ffc19ee4:	4b fe 8c 14 	b       ffc02af8 <_restgpr_31_x>               <== NOT EXECUTED
                                                                      

ffc19dd4 <rtems_rfs_bitmap_map_test>: int rtems_rfs_bitmap_map_test (rtems_rfs_bitmap_control* control, rtems_rfs_bitmap_bit bit, bool* state) {
ffc19dd4:	94 21 ff d8 	stwu    r1,-40(r1)                             <== NOT EXECUTED
ffc19dd8:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc19ddc:	bf a1 00 1c 	stmw    r29,28(r1)                             <== NOT EXECUTED
ffc19de0:	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);                     
ffc19de4:	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)           
{                                                                     
ffc19de8:	90 01 00 2c 	stw     r0,44(r1)                              <== NOT EXECUTED
ffc19dec:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
ffc19df0:	7c bd 2b 78 	mr      r29,r5                                 <== NOT EXECUTED
  rtems_rfs_bitmap_map map;                                           
  int                  index;                                         
  int                  rc;                                            
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc19df4:	4b ff fc 01 	bl      ffc199f4 <rtems_rfs_bitmap_load_map>   <== NOT EXECUTED
  if (rc > 0)                                                         
ffc19df8:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc19dfc:	41 a1 00 40 	bgt+    ffc19e3c <rtems_rfs_bitmap_map_test+0x68><== NOT EXECUTED
    return rc;                                                        
  if (bit >= control->size)                                           
ffc19e00:	80 1e 00 0c 	lwz     r0,12(r30)                             <== NOT EXECUTED
    return EINVAL;                                                    
ffc19e04:	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)                                           
ffc19e08:	7f 9f 00 40 	cmplw   cr7,r31,r0                             <== NOT EXECUTED
ffc19e0c:	40 bc 00 30 	bge+    cr7,ffc19e3c <rtems_rfs_bitmap_map_test+0x68><== 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);                     
ffc19e10:	39 20 00 01 	li      r9,1                                   <== 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);                           
ffc19e14:	7f e0 2e 70 	srawi   r0,r31,5                               <== 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);                     
ffc19e18:	7d 3f f8 30 	slw     r31,r9,r31                             <== NOT EXECUTED
ffc19e1c:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  index = rtems_rfs_bitmap_map_index (bit);                           
  *state = rtems_rfs_bitmap_test (map[index], bit);                   
ffc19e20:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           <== 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);                     
ffc19e24:	7c 09 00 2e 	lwzx    r0,r9,r0                               <== 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;                                                           
ffc19e28:	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);                     
ffc19e2c:	7f e9 00 39 	and.    r9,r31,r0                              <== NOT EXECUTED
ffc19e30:	7c 00 00 26 	mfcr    r0                                     <== NOT EXECUTED
ffc19e34:	54 00 1f fe 	rlwinm  r0,r0,3,31,31                          <== NOT EXECUTED
ffc19e38:	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;                                                           
}                                                                     
ffc19e3c:	39 61 00 28 	addi    r11,r1,40                              <== NOT EXECUTED
ffc19e40:	4b fe 8c b0 	b       ffc02af0 <_restgpr_29_x>               <== NOT EXECUTED
                                                                      

ffc19c5c <rtems_rfs_bitmap_mask>: rtems_rfs_bitmap_mask (unsigned int size) { rtems_rfs_bitmap_element mask = RTEMS_RFS_BITMAP_ELEMENT_FULL_MASK; mask >>= (rtems_rfs_bitmap_element_bits () - size); return mask; }
ffc19c5c:	38 00 ff ff 	li      r0,-1                                  <== 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);                 
ffc19c60:	20 63 00 20 	subfic  r3,r3,32                               <== NOT EXECUTED
  return mask;                                                        
}                                                                     
ffc19c64:	7c 03 1c 30 	srw     r3,r0,r3                               <== NOT EXECUTED
ffc19c68:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1a190 <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) {
ffc1a190:	7c 2b 0b 78 	mr      r11,r1                                 
ffc1a194:	7c 08 02 a6 	mflr    r0                                     
ffc1a198:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1a19c:	4b fe 89 11 	bl      ffc02aac <_savegpr_31>                 
ffc1a1a0:	90 01 00 14 	stw     r0,20(r1)                              
ffc1a1a4:	7c 7f 1b 78 	mr      r31,r3                                 
  size_t elements = rtems_rfs_bitmap_elements (size);                 
                                                                      
  control->buffer = buffer;                                           
  control->fs = fs;                                                   
  control->block = block;                                             
  control->size = size;                                               
ffc1a1a8:	90 c3 00 0c 	stw     r6,12(r3)                              
                       rtems_rfs_file_system*    fs,                  
                       rtems_rfs_buffer_handle*  buffer,              
                       size_t                    size,                
                       rtems_rfs_buffer_block    block)               
{                                                                     
  size_t elements = rtems_rfs_bitmap_elements (size);                 
ffc1a1ac:	38 c6 ff ff 	addi    r6,r6,-1                               
                                                                      
  control->buffer = buffer;                                           
ffc1a1b0:	90 a3 00 00 	stw     r5,0(r3)                               
  control->fs = fs;                                                   
ffc1a1b4:	90 83 00 04 	stw     r4,4(r3)                               
  control->block = block;                                             
ffc1a1b8:	90 e3 00 08 	stw     r7,8(r3)                               
  control->size = size;                                               
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
ffc1a1bc:	54 c3 c2 3a 	rlwinm  r3,r6,24,8,29                          
  control->search_bits = malloc (elements * sizeof (rtems_rfs_bitmap_element));
ffc1a1c0:	38 63 00 04 	addi    r3,r3,4                                
ffc1a1c4:	4b fe de 91 	bl      ffc08054 <malloc>                      
                                                                      
  if (!control->search_bits)                                          
ffc1a1c8:	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));
ffc1a1cc:	90 7f 00 14 	stw     r3,20(r31)                             
                                                                      
  if (!control->search_bits)                                          
ffc1a1d0:	41 9e 00 1c 	beq-    cr7,ffc1a1ec <rtems_rfs_bitmap_open+0x5c><== NEVER TAKEN
    return ENOMEM;                                                    
                                                                      
  return rtems_rfs_bitmap_create_search (control);                    
}                                                                     
ffc1a1d4:	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);                    
ffc1a1d8:	7f e3 fb 78 	mr      r3,r31                                 
}                                                                     
ffc1a1dc:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc1a1e0:	38 21 00 10 	addi    r1,r1,16                               
ffc1a1e4:	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);                    
ffc1a1e8:	4b ff fe b4 	b       ffc1a09c <rtems_rfs_bitmap_create_search>
}                                                                     
ffc1a1ec:	39 61 00 10 	addi    r11,r1,16                              <== NOT EXECUTED
ffc1a1f0:	38 60 00 0c 	li      r3,12                                  <== NOT EXECUTED
ffc1a1f4:	4b fe 89 04 	b       ffc02af8 <_restgpr_31_x>               <== NOT EXECUTED
                                                                      

ffc1a378 <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) {
ffc1a378:	94 21 ff e0 	stwu    r1,-32(r1)                             <== NOT EXECUTED
ffc1a37c:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1a380:	bf 61 00 0c 	stmw    r27,12(r1)                             <== NOT EXECUTED
ffc1a384:	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);     
ffc1a388:	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)       
{                                                                     
ffc1a38c:	90 01 00 24 	stw     r0,36(r1)                              <== NOT EXECUTED
ffc1a390:	7c 7d 1b 78 	mr      r29,r3                                 <== NOT EXECUTED
ffc1a394:	7c 9c 23 78 	mr      r28,r4                                 <== NOT EXECUTED
ffc1a398:	7c be 2b 78 	mr      r30,r5                                 <== NOT EXECUTED
ffc1a39c:	7c fb 3b 78 	mr      r27,r7                                 <== 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);     
ffc1a3a0:	48 00 12 c5 	bl      ffc1b664 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
  if (rc > 0)                                                         
ffc1a3a4:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1a3a8:	41 a1 00 98 	bgt+    ffc1a440 <rtems_rfs_block_find_indirect+0xc8><== NOT EXECUTED
    return rc;                                                        
                                                                      
  *result = rtems_rfs_block_get_number (buffer, offset);              
ffc1a3ac:	81 3c 00 08 	lwz     r9,8(r28)                              <== NOT EXECUTED
ffc1a3b0:	57 eb 10 3a 	rlwinm  r11,r31,2,0,29                         <== NOT EXECUTED
ffc1a3b4:	81 49 00 24 	lwz     r10,36(r9)                             <== NOT EXECUTED
ffc1a3b8:	7d 2a 5a 14 	add     r9,r10,r11                             <== NOT EXECUTED
ffc1a3bc:	7c 0a 58 ae 	lbzx    r0,r10,r11                             <== NOT EXECUTED
ffc1a3c0:	89 09 00 03 	lbz     r8,3(r9)                               <== NOT EXECUTED
ffc1a3c4:	89 69 00 01 	lbz     r11,1(r9)                              <== NOT EXECUTED
ffc1a3c8:	54 00 c0 0e 	rlwinm  r0,r0,24,0,7                           <== NOT EXECUTED
ffc1a3cc:	89 29 00 02 	lbz     r9,2(r9)                               <== NOT EXECUTED
ffc1a3d0:	7d 00 03 78 	or      r0,r8,r0                               <== NOT EXECUTED
ffc1a3d4:	55 6b 80 1e 	rlwinm  r11,r11,16,0,15                        <== NOT EXECUTED
ffc1a3d8:	7c 00 5b 78 	or      r0,r0,r11                              <== NOT EXECUTED
ffc1a3dc:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           <== NOT EXECUTED
ffc1a3e0:	7c 00 4b 78 	or      r0,r0,r9                               <== NOT EXECUTED
  if ((*result + 1) == 0)                                             
ffc1a3e4:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              <== NOT EXECUTED
ffc1a3e8:	40 be 00 08 	bne+    cr7,ffc1a3f0 <rtems_rfs_block_find_indirect+0x78><== NOT EXECUTED
    *result = 0;                                                      
ffc1a3ec:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
                                                                      
  if (*result >= rtems_rfs_fs_blocks (fs))                            
ffc1a3f0:	81 3d 00 04 	lwz     r9,4(r29)                              <== NOT EXECUTED
ffc1a3f4:	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)                                             
ffc1a3f8:	90 1b 00 00 	stw     r0,0(r27)                              <== NOT EXECUTED
    *result = 0;                                                      
                                                                      
  if (*result >= rtems_rfs_fs_blocks (fs))                            
ffc1a3fc:	7f 80 48 40 	cmplw   cr7,r0,r9                              <== NOT EXECUTED
ffc1a400:	41 bc 00 40 	blt+    cr7,ffc1a440 <rtems_rfs_block_find_indirect+0xc8><== NOT EXECUTED
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_FIND))                 
ffc1a404:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1a408:	38 80 10 00 	li      r4,4096                                <== NOT EXECUTED
ffc1a40c:	4b ff 8c ad 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1a410:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1a414:	41 be 00 20 	beq+    cr7,ffc1a434 <rtems_rfs_block_find_indirect+0xbc><== NOT EXECUTED
      printf ("rtems-rfs: block-find: invalid block in table:"        
ffc1a418:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1a41c:	80 9b 00 00 	lwz     r4,0(r27)                              <== NOT EXECUTED
ffc1a420:	38 63 2b 13 	addi    r3,r3,11027                            <== NOT EXECUTED
ffc1a424:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc1a428:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc1a42c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1a430:	48 00 76 5d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
              " block=%" PRId32 ", indirect=%" PRId32 "/%d\n", *result, block, offset);
    *result = 0;                                                      
ffc1a434:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1a438:	90 1b 00 00 	stw     r0,0(r27)                              <== NOT EXECUTED
ffc1a43c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc1a440:	39 61 00 20 	addi    r11,r1,32                              <== NOT EXECUTED
ffc1a444:	4b fe 86 a4 	b       ffc02ae8 <_restgpr_27_x>               <== NOT EXECUTED
                                                                      

ffc1a598 <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) {
ffc1a598:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc1a59c:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1a5a0:	bf 81 00 08 	stmw    r28,8(r1)                              <== NOT EXECUTED
ffc1a5a4:	7c be 2b 78 	mr      r30,r5                                 <== NOT EXECUTED
ffc1a5a8:	7c df 33 78 	mr      r31,r6                                 <== NOT EXECUTED
ffc1a5ac:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
  if (pos == 0)                                                       
ffc1a5b0:	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)          
{                                                                     
ffc1a5b4:	7c fd 3b 78 	mr      r29,r7                                 <== NOT EXECUTED
  if (pos == 0)                                                       
ffc1a5b8:	40 a2 00 10 	bne+    ffc1a5c8 <rtems_rfs_block_get_block_size+0x30><== 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;                                                    
ffc1a5bc:	90 07 00 00 	stw     r0,0(r7)                               <== NOT EXECUTED
  size->offset = 0;                                                   
ffc1a5c0:	90 07 00 04 	stw     r0,4(r7)                               <== NOT EXECUTED
ffc1a5c4:	48 00 00 3c 	b       ffc1a600 <rtems_rfs_block_get_block_size+0x68><== NOT EXECUTED
    rtems_rfs_block_set_size_zero (size);                             
  else                                                                
  {                                                                   
    size->count  = pos / rtems_rfs_fs_block_size (fs) + 1;            
ffc1a5c8:	83 83 00 08 	lwz     r28,8(r3)                              <== NOT EXECUTED
ffc1a5cc:	7c c4 33 78 	mr      r4,r6                                  <== NOT EXECUTED
ffc1a5d0:	7c a3 2b 78 	mr      r3,r5                                  <== NOT EXECUTED
ffc1a5d4:	7f 86 e3 78 	mr      r6,r28                                 <== NOT EXECUTED
ffc1a5d8:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc1a5dc:	48 01 4a 09 	bl      ffc2efe4 <__udivdi3>                   <== NOT EXECUTED
    size->offset = pos % rtems_rfs_fs_block_size (fs);                
ffc1a5e0:	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;            
ffc1a5e4:	38 84 00 01 	addi    r4,r4,1                                <== NOT EXECUTED
ffc1a5e8:	90 9d 00 00 	stw     r4,0(r29)                              <== NOT EXECUTED
    size->offset = pos % rtems_rfs_fs_block_size (fs);                
ffc1a5ec:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc1a5f0:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1a5f4:	7f 86 e3 78 	mr      r6,r28                                 <== NOT EXECUTED
ffc1a5f8:	48 01 4d e1 	bl      ffc2f3d8 <__umoddi3>                   <== NOT EXECUTED
ffc1a5fc:	90 9d 00 04 	stw     r4,4(r29)                              <== NOT EXECUTED
  }                                                                   
}                                                                     
ffc1a600:	39 61 00 18 	addi    r11,r1,24                              <== NOT EXECUTED
ffc1a604:	4b fe 84 e8 	b       ffc02aec <_restgpr_28_x>               <== NOT EXECUTED
                                                                      

ffc1a80c <rtems_rfs_block_map_close>: int rtems_rfs_block_map_close (rtems_rfs_file_system* fs, rtems_rfs_block_map* map) {
ffc1a80c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1a810:	7c 08 02 a6 	mflr    r0                                     
ffc1a814:	90 01 00 1c 	stw     r0,28(r1)                              
  int rc = 0;                                                         
  int brc;                                                            
                                                                      
  if (map->dirty && map->inode)                                       
ffc1a818:	88 04 00 00 	lbz     r0,0(r4)                               
}                                                                     
                                                                      
int                                                                   
rtems_rfs_block_map_close (rtems_rfs_file_system* fs,                 
                           rtems_rfs_block_map*   map)                
{                                                                     
ffc1a81c:	bf 81 00 08 	stmw    r28,8(r1)                              
ffc1a820:	7c 7e 1b 78 	mr      r30,r3                                 
  int rc = 0;                                                         
  int brc;                                                            
                                                                      
  if (map->dirty && map->inode)                                       
ffc1a824:	2f 80 00 00 	cmpwi   cr7,r0,0                               
}                                                                     
                                                                      
int                                                                   
rtems_rfs_block_map_close (rtems_rfs_file_system* fs,                 
                           rtems_rfs_block_map*   map)                
{                                                                     
ffc1a828:	7c 9f 23 78 	mr      r31,r4                                 
  int rc = 0;                                                         
ffc1a82c:	3b a0 00 00 	li      r29,0                                  
  int brc;                                                            
                                                                      
  if (map->dirty && map->inode)                                       
ffc1a830:	41 9e 01 84 	beq-    cr7,ffc1a9b4 <rtems_rfs_block_map_close+0x1a8>
ffc1a834:	80 84 00 04 	lwz     r4,4(r4)                               
ffc1a838:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc1a83c:	41 9e 01 78 	beq-    cr7,ffc1a9b4 <rtems_rfs_block_map_close+0x1a8><== NEVER TAKEN
  {                                                                   
    brc = rtems_rfs_inode_load (fs, map->inode);                      
ffc1a840:	4b ff 68 dd 	bl      ffc1111c <rtems_rfs_inode_load>        
    if (brc > 0)                                                      
ffc1a844:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1a848:	7c 7d 1b 78 	mr      r29,r3                                 
ffc1a84c:	41 bd 01 68 	bgt+    cr7,ffc1a9b4 <rtems_rfs_block_map_close+0x1a8><== NEVER TAKEN
 */                                                                   
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);                      
ffc1a850:	38 00 00 05 	li      r0,5                                   
ffc1a854:	7c 09 03 a6 	mtctr   r0                                     
ffc1a858:	39 20 00 01 	li      r9,1                                   
ffc1a85c:	39 40 00 00 	li      r10,0                                  
ffc1a860:	39 00 00 01 	li      r8,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]);    
ffc1a864:	81 7f 00 04 	lwz     r11,4(r31)                             
                                                                      
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_block_map_close (rtems_rfs_file_system* fs,                 
ffc1a868:	7c ff 4a 14 	add     r7,r31,r9                              
    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]);    
ffc1a86c:	80 07 00 23 	lwz     r0,35(r7)                              
 * @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);       
ffc1a870:	38 ea 00 04 	addi    r7,r10,4                               
ffc1a874:	80 cb 00 0c 	lwz     r6,12(r11)                             
ffc1a878:	54 e7 10 3a 	rlwinm  r7,r7,2,0,29                           
                                                                      
    if (rc == 0)                                                      
    {                                                                 
      int b;                                                          
                                                                      
      for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                    
ffc1a87c:	39 4a 00 01 	addi    r10,r10,1                              
ffc1a880:	7c e6 3a 14 	add     r7,r6,r7                               
ffc1a884:	54 06 46 3e 	rlwinm  r6,r0,8,24,31                          
ffc1a888:	98 c7 00 0c 	stb     r6,12(r7)                              
ffc1a88c:	54 06 84 3e 	rlwinm  r6,r0,16,16,31                         
ffc1a890:	80 eb 00 0c 	lwz     r7,12(r11)                             
ffc1a894:	7c e7 4a 14 	add     r7,r7,r9                               
ffc1a898:	98 c7 00 1c 	stb     r6,28(r7)                              
ffc1a89c:	54 06 c2 3e 	rlwinm  r6,r0,24,8,31                          
ffc1a8a0:	80 eb 00 0c 	lwz     r7,12(r11)                             
ffc1a8a4:	7c e7 4a 14 	add     r7,r7,r9                               
ffc1a8a8:	98 c7 00 1d 	stb     r6,29(r7)                              
ffc1a8ac:	80 eb 00 0c 	lwz     r7,12(r11)                             
ffc1a8b0:	7c e7 4a 14 	add     r7,r7,r9                               
ffc1a8b4:	98 07 00 1e 	stb     r0,30(r7)                              
ffc1a8b8:	39 29 00 04 	addi    r9,r9,4                                
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc1a8bc:	38 00 00 01 	li      r0,1                                   
ffc1a8c0:	99 0b 00 10 	stb     r8,16(r11)                             
ffc1a8c4:	42 00 ff a0 	bdnz+   ffc1a864 <rtems_rfs_block_map_close+0x58>
        rtems_rfs_inode_set_block (map->inode, b, map->blocks[b]);    
      rtems_rfs_inode_set_block_count (map->inode, map->size.count);  
ffc1a8c8:	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);            
ffc1a8cc:	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);  
ffc1a8d0:	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);            
ffc1a8d4:	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);      
ffc1a8d8:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc1a8dc:	55 68 46 3e 	rlwinm  r8,r11,8,24,31                         
ffc1a8e0:	99 0a 00 0c 	stb     r8,12(r10)                             
ffc1a8e4:	55 68 84 3e 	rlwinm  r8,r11,16,16,31                        
ffc1a8e8:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc1a8ec:	99 0a 00 0d 	stb     r8,13(r10)                             
ffc1a8f0:	55 68 c2 3e 	rlwinm  r8,r11,24,8,31                         
ffc1a8f4:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc1a8f8:	99 0a 00 0e 	stb     r8,14(r10)                             
ffc1a8fc:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc1a900:	99 6a 00 0f 	stb     r11,15(r10)                            
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc1a904:	98 09 00 10 	stb     r0,16(r9)                              
      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);
ffc1a908:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc1a90c:	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);    
ffc1a910:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc1a914:	55 68 c2 3e 	rlwinm  r8,r11,24,8,31                         
ffc1a918:	99 0a 00 0a 	stb     r8,10(r10)                             
ffc1a91c:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc1a920:	99 6a 00 0b 	stb     r11,11(r10)                            
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc1a924:	98 09 00 10 	stb     r0,16(r9)                              
      rtems_rfs_inode_set_last_map_block (map->inode, map->last_map_block);
ffc1a928:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc1a92c:	81 7f 00 1c 	lwz     r11,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);
ffc1a930:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc1a934:	55 68 46 3e 	rlwinm  r8,r11,8,24,31                         
ffc1a938:	99 0a 00 30 	stb     r8,48(r10)                             
ffc1a93c:	55 68 84 3e 	rlwinm  r8,r11,16,16,31                        
ffc1a940:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc1a944:	99 0a 00 31 	stb     r8,49(r10)                             
ffc1a948:	55 68 c2 3e 	rlwinm  r8,r11,24,8,31                         
ffc1a94c:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc1a950:	99 0a 00 32 	stb     r8,50(r10)                             
ffc1a954:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc1a958:	99 6a 00 33 	stb     r11,51(r10)                            
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc1a95c:	98 09 00 10 	stb     r0,16(r9)                              
      rtems_rfs_inode_set_last_data_block (map->inode, map->last_data_block);
ffc1a960:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc1a964:	81 7f 00 20 	lwz     r11,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);
ffc1a968:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc1a96c:	55 68 46 3e 	rlwinm  r8,r11,8,24,31                         
ffc1a970:	99 0a 00 34 	stb     r8,52(r10)                             
ffc1a974:	55 68 84 3e 	rlwinm  r8,r11,16,16,31                        
ffc1a978:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc1a97c:	99 0a 00 35 	stb     r8,53(r10)                             
ffc1a980:	55 68 c2 3e 	rlwinm  r8,r11,24,8,31                         
ffc1a984:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc1a988:	99 0a 00 36 	stb     r8,54(r10)                             
ffc1a98c:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc1a990:	99 6a 00 37 	stb     r11,55(r10)                            
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc1a994:	98 09 00 10 	stb     r0,16(r9)                              
                                                                      
      brc = rtems_rfs_inode_unload (fs, map->inode, true);            
ffc1a998:	80 9f 00 04 	lwz     r4,4(r31)                              
ffc1a99c:	4b ff 69 29 	bl      ffc112c4 <rtems_rfs_inode_unload>      
ffc1a9a0:	7c 60 18 f8 	not     r0,r3                                  
ffc1a9a4:	7c 00 fe 70 	srawi   r0,r0,31                               
ffc1a9a8:	7c 7d 00 38 	and     r29,r3,r0                              
      if (brc > 0)                                                    
        rc = brc;                                                     
                                                                      
      map->dirty = false;                                             
ffc1a9ac:	38 00 00 00 	li      r0,0                                   
ffc1a9b0:	98 1f 00 00 	stb     r0,0(r31)                              
    }                                                                 
  }                                                                   
                                                                      
  map->inode = NULL;                                                  
ffc1a9b4:	3b 80 00 00 	li      r28,0                                  
ffc1a9b8:	93 9f 00 04 	stw     r28,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);                       
ffc1a9bc:	38 9f 00 38 	addi    r4,r31,56                              
ffc1a9c0:	7f c3 f3 78 	mr      r3,r30                                 
ffc1a9c4:	48 00 0a c1 	bl      ffc1b484 <rtems_rfs_buffer_handle_release>
  handle->dirty = false;                                              
ffc1a9c8:	9b 9f 00 38 	stb     r28,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);                       
ffc1a9cc:	7f c3 f3 78 	mr      r3,r30                                 
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc1a9d0:	93 9f 00 3c 	stw     r28,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);                       
ffc1a9d4:	38 9f 00 44 	addi    r4,r31,68                              
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc1a9d8:	93 9f 00 40 	stw     r28,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);                       
ffc1a9dc:	48 00 0a a9 	bl      ffc1b484 <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;                                                          
}                                                                     
ffc1a9e0:	39 61 00 18 	addi    r11,r1,24                              
ffc1a9e4:	7f a3 eb 78 	mr      r3,r29                                 
  handle->dirty = false;                                              
ffc1a9e8:	9b 9f 00 44 	stb     r28,68(r31)                            
  handle->bnum  = 0;                                                  
ffc1a9ec:	93 9f 00 48 	stw     r28,72(r31)                            
  handle->buffer = NULL;                                              
ffc1a9f0:	93 9f 00 4c 	stw     r28,76(r31)                            
ffc1a9f4:	4b fe 80 f8 	b       ffc02aec <_restgpr_28_x>               
                                                                      

ffc1a9f8 <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) {
ffc1a9f8:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc1a9fc:	7c 08 02 a6 	mflr    r0                                     
ffc1aa00:	90 01 00 34 	stw     r0,52(r1)                              
  int rc = 0;                                                         
                                                                      
  *block = 0;                                                         
ffc1aa04:	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)               
{                                                                     
ffc1aa08:	bf 61 00 1c 	stmw    r27,28(r1)                             
ffc1aa0c:	7c 7d 1b 78 	mr      r29,r3                                 
ffc1aa10:	7c 9f 23 78 	mr      r31,r4                                 
  int rc = 0;                                                         
                                                                      
  *block = 0;                                                         
ffc1aa14:	90 06 00 00 	stw     r0,0(r6)                               
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)               
{                                                                     
ffc1aa18:	7c bc 2b 78 	mr      r28,r5                                 
ffc1aa1c:	7c de 33 78 	mr      r30,r6                                 
  *block = 0;                                                         
                                                                      
  /*                                                                  
   * Range checking here makes the remaining logic simpler.           
   */                                                                 
  if (rtems_rfs_block_pos_block_past_end (bpos, &map->size))          
ffc1aa20:	83 65 00 00 	lwz     r27,0(r5)                              
ffc1aa24:	80 04 00 08 	lwz     r0,8(r4)                               
ffc1aa28:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc1aa2c:	41 9e 00 10 	beq-    cr7,ffc1aa3c <rtems_rfs_block_map_find+0x44>
ffc1aa30:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return ENXIO;                                                     
ffc1aa34:	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))          
ffc1aa38:	41 be 01 18 	beq+    cr7,ffc1ab50 <rtems_rfs_block_map_find+0x158><== NEVER TAKEN
ffc1aa3c:	7f 9b 00 40 	cmplw   cr7,r27,r0                             
    return ENXIO;                                                     
ffc1aa40:	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))          
ffc1aa44:	40 bc 01 0c 	bge+    cr7,ffc1ab50 <rtems_rfs_block_map_find+0x158>
    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))         
ffc1aa48:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc1aa4c:	7f 9b 48 00 	cmpw    cr7,r27,r9                             
ffc1aa50:	40 be 00 18 	bne+    cr7,ffc1aa68 <rtems_rfs_block_map_find+0x70><== NEVER TAKEN
ffc1aa54:	81 3f 00 18 	lwz     r9,24(r31)                             
ffc1aa58:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1aa5c:	41 9e 00 0c 	beq-    cr7,ffc1aa68 <rtems_rfs_block_map_find+0x70><== ALWAYS TAKEN
  {                                                                   
    *block = map->bpos.block;                                         
ffc1aa60:	91 3e 00 00 	stw     r9,0(r30)                              <== NOT EXECUTED
ffc1aa64:	48 00 00 c8 	b       ffc1ab2c <rtems_rfs_block_map_find+0x134><== NOT EXECUTED
    /*                                                                
     * Determine the type of access we need to perform. If the number of blocks
     * is less than or equal to the number of slots in the inode the blocks are
     * directly accessed.                                             
     */                                                               
    if (map->size.count <= RTEMS_RFS_INODE_BLOCKS)                    
ffc1aa68:	2b 80 00 05 	cmplwi  cr7,r0,5                               
ffc1aa6c:	41 9d 00 1c 	bgt-    cr7,ffc1aa88 <rtems_rfs_block_map_find+0x90><== NEVER TAKEN
    {                                                                 
      *block = map->blocks[bpos->bno];                                
ffc1aa70:	3b 7b 00 08 	addi    r27,r27,8                              
ffc1aa74:	57 7b 10 3a 	rlwinm  r27,r27,2,0,29                         
ffc1aa78:	7f 7f da 14 	add     r27,r31,r27                            
ffc1aa7c:	80 1b 00 04 	lwz     r0,4(r27)                              
ffc1aa80:	90 1e 00 00 	stw     r0,0(r30)                              
ffc1aa84:	48 00 00 a8 	b       ffc1ab2c <rtems_rfs_block_map_find+0x134>
       * 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;                      
ffc1aa88:	80 dd 00 30 	lwz     r6,48(r29)                             <== NOT EXECUTED
ffc1aa8c:	7d 7b 33 96 	divwu   r11,r27,r6                             <== NOT EXECUTED
ffc1aa90:	7d 2b 31 d6 	mullw   r9,r11,r6                              <== NOT EXECUTED
      singly = bpos->bno / fs->blocks_per_block;                      
ffc1aa94:	91 61 00 08 	stw     r11,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;                      
ffc1aa98:	7f 69 d8 50 	subf    r27,r9,r27                             <== NOT EXECUTED
      singly = bpos->bno / fs->blocks_per_block;                      
                                                                      
      if (map->size.count <= fs->block_map_singly_blocks)             
ffc1aa9c:	81 3d 00 34 	lwz     r9,52(r29)                             <== NOT EXECUTED
ffc1aaa0:	7f 80 48 40 	cmplw   cr7,r0,r9                              <== NOT EXECUTED
ffc1aaa4:	41 bd 00 20 	bgt+    cr7,ffc1aac4 <rtems_rfs_block_map_find+0xcc><== NOT EXECUTED
      {                                                               
        /*                                                            
         * This is a single indirect table of blocks anchored off a slot in the
         * inode.                                                     
         */                                                           
        rc = rtems_rfs_block_find_indirect (fs,                       
ffc1aaa8:	38 cb 00 08 	addi    r6,r11,8                               <== NOT EXECUTED
ffc1aaac:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           <== NOT EXECUTED
ffc1aab0:	7c df 32 14 	add     r6,r31,r6                              <== NOT EXECUTED
ffc1aab4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1aab8:	80 a6 00 04 	lwz     r5,4(r6)                               <== NOT EXECUTED
ffc1aabc:	38 9f 00 38 	addi    r4,r31,56                              <== NOT EXECUTED
ffc1aac0:	48 00 00 58 	b       ffc1ab18 <rtems_rfs_block_map_find+0x120><== NOT EXECUTED
         * The map is doubly indirect.                                
         */                                                           
        rtems_rfs_block_no doubly;                                    
                                                                      
        doubly  = singly / fs->blocks_per_block;                      
        singly %= fs->blocks_per_block;                               
ffc1aac4:	7d 2b 33 96 	divwu   r9,r11,r6                              <== NOT EXECUTED
ffc1aac8:	7c c9 31 d6 	mullw   r6,r9,r6                               <== NOT EXECUTED
        {                                                             
          /*                                                          
           * This should never happen. Here so Joel can remove once his coverage
           * testing gets to the file systems.                        
           */                                                         
          rc = ENXIO;                                                 
ffc1aacc:	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;                               
ffc1aad0:	7c c6 58 50 	subf    r6,r6,r11                              <== NOT EXECUTED
                                                                      
        if (map->size.count < fs->block_map_doubly_blocks)            
ffc1aad4:	81 7d 00 38 	lwz     r11,56(r29)                            <== NOT EXECUTED
         * The map is doubly indirect.                                
         */                                                           
        rtems_rfs_block_no doubly;                                    
                                                                      
        doubly  = singly / fs->blocks_per_block;                      
        singly %= fs->blocks_per_block;                               
ffc1aad8:	90 c1 00 08 	stw     r6,8(r1)                               <== NOT EXECUTED
                                                                      
        if (map->size.count < fs->block_map_doubly_blocks)            
ffc1aadc:	7f 80 58 40 	cmplw   cr7,r0,r11                             <== NOT EXECUTED
ffc1aae0:	40 bc 00 70 	bge+    cr7,ffc1ab50 <rtems_rfs_block_map_find+0x158><== NOT EXECUTED
        {                                                             
          rc = rtems_rfs_block_find_indirect (fs,                     
ffc1aae4:	39 29 00 08 	addi    r9,r9,8                                <== NOT EXECUTED
ffc1aae8:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           <== NOT EXECUTED
ffc1aaec:	7d 3f 4a 14 	add     r9,r31,r9                              <== NOT EXECUTED
ffc1aaf0:	80 a9 00 04 	lwz     r5,4(r9)                               <== NOT EXECUTED
ffc1aaf4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1aaf8:	38 9f 00 44 	addi    r4,r31,68                              <== NOT EXECUTED
ffc1aafc:	38 e1 00 08 	addi    r7,r1,8                                <== NOT EXECUTED
ffc1ab00:	4b ff f8 79 	bl      ffc1a378 <rtems_rfs_block_find_indirect><== NOT EXECUTED
                                              &map->doubly_buffer,    
                                              map->blocks[doubly],    
                                              singly, &singly);       
          if (rc == 0)                                                
ffc1ab04:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1ab08:	40 a2 00 48 	bne+    ffc1ab50 <rtems_rfs_block_map_find+0x158><== NOT EXECUTED
          {                                                           
            rc = rtems_rfs_block_find_indirect (fs,                   
ffc1ab0c:	80 a1 00 08 	lwz     r5,8(r1)                               <== NOT EXECUTED
ffc1ab10:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1ab14:	38 9f 00 38 	addi    r4,r31,56                              <== NOT EXECUTED
ffc1ab18:	7f 66 db 78 	mr      r6,r27                                 <== NOT EXECUTED
ffc1ab1c:	7f c7 f3 78 	mr      r7,r30                                 <== NOT EXECUTED
ffc1ab20:	4b ff f8 59 	bl      ffc1a378 <rtems_rfs_block_find_indirect><== NOT EXECUTED
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (rc == 0)                                                        
ffc1ab24:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1ab28:	40 be 00 28 	bne+    cr7,ffc1ab50 <rtems_rfs_block_map_find+0x158><== NOT EXECUTED
  {                                                                   
    rtems_rfs_block_copy_bpos (&map->bpos, bpos);                     
ffc1ab2c:	80 1c 00 00 	lwz     r0,0(r28)                              
    map->bpos.block = *block;                                         
ffc1ab30:	38 60 00 00 	li      r3,0                                   
    }                                                                 
  }                                                                   
                                                                      
  if (rc == 0)                                                        
  {                                                                   
    rtems_rfs_block_copy_bpos (&map->bpos, bpos);                     
ffc1ab34:	90 1f 00 10 	stw     r0,16(r31)                             
ffc1ab38:	80 1c 00 04 	lwz     r0,4(r28)                              
ffc1ab3c:	90 1f 00 14 	stw     r0,20(r31)                             
ffc1ab40:	80 1c 00 08 	lwz     r0,8(r28)                              
ffc1ab44:	90 1f 00 18 	stw     r0,24(r31)                             
    map->bpos.block = *block;                                         
ffc1ab48:	80 1e 00 00 	lwz     r0,0(r30)                              
ffc1ab4c:	90 1f 00 18 	stw     r0,24(r31)                             
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc1ab50:	39 61 00 30 	addi    r11,r1,48                              
ffc1ab54:	4b fe 7f 94 	b       ffc02ae8 <_restgpr_27_x>               
                                                                      

ffc1ac28 <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) {
ffc1ac28:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc1ac2c:	7c 08 02 a6 	mflr    r0                                     
ffc1ac30:	be 81 00 18 	stmw    r20,24(r1)                             
ffc1ac34:	7c 7e 1b 78 	mr      r30,r3                                 
ffc1ac38:	7c 9f 23 78 	mr      r31,r4                                 
  int b;                                                              
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))               
ffc1ac3c:	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)           
{                                                                     
ffc1ac40:	90 01 00 4c 	stw     r0,76(r1)                              
  int b;                                                              
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))               
ffc1ac44:	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)           
{                                                                     
ffc1ac48:	7c b7 2b 78 	mr      r23,r5                                 
ffc1ac4c:	7c d5 33 78 	mr      r21,r6                                 
  int b;                                                              
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))               
ffc1ac50:	4b ff 84 69 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1ac54:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1ac58:	41 be 00 1c 	beq+    cr7,ffc1ac74 <rtems_rfs_block_map_grow+0x4c><== ALWAYS TAKEN
    printf ("rtems-rfs: block-map-grow: entry: blocks=%zd count=%" PRIu32 "\n",
ffc1ac5c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1ac60:	80 bf 00 08 	lwz     r5,8(r31)                              <== NOT EXECUTED
ffc1ac64:	38 63 2b 5e 	addi    r3,r3,11102                            <== NOT EXECUTED
ffc1ac68:	7e e4 bb 78 	mr      r4,r23                                 <== NOT EXECUTED
ffc1ac6c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1ac70:	48 00 6e 1d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            blocks, map->size.count);                                 
                                                                      
  if ((map->size.count + blocks) >= rtems_rfs_fs_max_block_map_blocks (fs))
ffc1ac74:	81 3f 00 08 	lwz     r9,8(r31)                              
    return EFBIG;                                                     
ffc1ac78:	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))
ffc1ac7c:	80 1e 00 38 	lwz     r0,56(r30)                             
ffc1ac80:	7d 37 4a 14 	add     r9,r23,r9                              
ffc1ac84:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc1ac88:	40 bc 03 24 	bge+    cr7,ffc1afac <rtems_rfs_block_map_grow+0x384><== NEVER TAKEN
  map->last_map_block = new_block;                                    
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_block_map_grow (rtems_rfs_file_system* fs,                  
ffc1ac8c:	3b 60 00 00 	li      r27,0                                  
            return rc;                                                
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_block_set_number (&map->singly_buffer, direct, block);
ffc1ac90:	3b 00 00 01 	li      r24,1                                  
                                      singly,                         
                                      singly_block);                  
        }                                                             
        else                                                          
        {                                                             
          rc = rtems_rfs_buffer_handle_request (fs,                   
ffc1ac94:	3b 3f 00 44 	addi    r25,r31,68                             
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc1ac98:	3b 9f 00 38 	addi    r28,r31,56                             
ffc1ac9c:	48 00 03 04 	b       ffc1afa0 <rtems_rfs_block_map_grow+0x378>
    /*                                                                
     * 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,      
ffc1aca0:	80 9f 00 20 	lwz     r4,32(r31)                             
ffc1aca4:	7f c3 f3 78 	mr      r3,r30                                 
ffc1aca8:	38 a0 00 00 	li      r5,0                                   
ffc1acac:	38 c1 00 0c 	addi    r6,r1,12                               
ffc1acb0:	4b ff 5f c1 	bl      ffc10c70 <rtems_rfs_group_bitmap_alloc>
                                       false, &block);                
    if (rc > 0)                                                       
ffc1acb4:	7c 74 1b 79 	mr.     r20,r3                                 
ffc1acb8:	41 81 02 f4 	bgt-    ffc1afac <rtems_rfs_block_map_grow+0x384>
      return rc;                                                      
                                                                      
    if (map->size.count < RTEMS_RFS_INODE_BLOCKS)                     
ffc1acbc:	80 ff 00 08 	lwz     r7,8(r31)                              
ffc1acc0:	2b 87 00 04 	cmplwi  cr7,r7,4                               
ffc1acc4:	41 9d 00 1c 	bgt-    cr7,ffc1ace0 <rtems_rfs_block_map_grow+0xb8>
      map->blocks[map->size.count] = block;                           
ffc1acc8:	38 e7 00 08 	addi    r7,r7,8                                
ffc1accc:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc1acd0:	54 e7 10 3a 	rlwinm  r7,r7,2,0,29                           
ffc1acd4:	7c ff 3a 14 	add     r7,r31,r7                              
ffc1acd8:	90 07 00 04 	stw     r0,4(r7)                               
ffc1acdc:	48 00 02 94 	b       ffc1af70 <rtems_rfs_block_map_grow+0x348>
       * 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;                
ffc1ace0:	83 5e 00 30 	lwz     r26,48(r30)                            
      singly = map->size.count / fs->blocks_per_block;                
                                                                      
      if (map->size.count < fs->block_map_singly_blocks)              
ffc1ace4:	80 1e 00 34 	lwz     r0,52(r30)                             
       * 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;                
ffc1ace8:	7c c7 d3 96 	divwu   r6,r7,r26                              
      singly = map->size.count / fs->blocks_per_block;                
                                                                      
      if (map->size.count < fs->block_map_singly_blocks)              
ffc1acec:	7f 87 00 40 	cmplw   cr7,r7,r0                              
       * 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;                
ffc1acf0:	7e c6 d1 d6 	mullw   r22,r6,r26                             
ffc1acf4:	7e d6 38 51 	subf.   r22,r22,r7                             
      singly = map->size.count / fs->blocks_per_block;                
                                                                      
      if (map->size.count < fs->block_map_singly_blocks)              
ffc1acf8:	40 9c 00 78 	bge-    cr7,ffc1ad70 <rtems_rfs_block_map_grow+0x148>
         * 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) ||                                          
ffc1acfc:	41 82 00 14 	beq-    ffc1ad10 <rtems_rfs_block_map_grow+0xe8>
ffc1ad00:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc1ad04:	40 9e 00 3c 	bne-    cr7,ffc1ad40 <rtems_rfs_block_map_grow+0x118>
            ((singly == 0) && (direct == RTEMS_RFS_INODE_BLOCKS)))    
ffc1ad08:	2f 96 00 05 	cmpwi   cr7,r22,5                              
ffc1ad0c:	40 be 00 34 	bne+    cr7,ffc1ad40 <rtems_rfs_block_map_grow+0x118>
          /*                                                          
           * 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,           
ffc1ad10:	38 c6 00 08 	addi    r6,r6,8                                
ffc1ad14:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           
ffc1ad18:	68 e7 00 05 	xori    r7,r7,5                                
ffc1ad1c:	7c df 32 14 	add     r6,r31,r6                              
ffc1ad20:	7c e7 00 34 	cntlzw  r7,r7                                  
ffc1ad24:	7f c3 f3 78 	mr      r3,r30                                 
ffc1ad28:	7f e4 fb 78 	mr      r4,r31                                 
ffc1ad2c:	7f 85 e3 78 	mr      r5,r28                                 
ffc1ad30:	38 c6 00 04 	addi    r6,r6,4                                
ffc1ad34:	54 e7 d9 7e 	rlwinm  r7,r7,27,5,31                          
ffc1ad38:	4b ff f4 e9 	bl      ffc1a220 <rtems_rfs_block_map_indirect_alloc>
ffc1ad3c:	48 00 00 24 	b       ffc1ad60 <rtems_rfs_block_map_grow+0x138>
                                                   &map->blocks[singly],
                                                   upping);           
        }                                                             
        else                                                          
        {                                                             
          rc = rtems_rfs_buffer_handle_request (fs,  &map->singly_buffer,
ffc1ad40:	3b 46 00 08 	addi    r26,r6,8                               
ffc1ad44:	57 5a 10 3a 	rlwinm  r26,r26,2,0,29                         
ffc1ad48:	7f 5f d2 14 	add     r26,r31,r26                            
ffc1ad4c:	80 ba 00 04 	lwz     r5,4(r26)                              
ffc1ad50:	7f c3 f3 78 	mr      r3,r30                                 
ffc1ad54:	7f 84 e3 78 	mr      r4,r28                                 
ffc1ad58:	38 c0 00 01 	li      r6,1                                   
ffc1ad5c:	48 00 09 09 	bl      ffc1b664 <rtems_rfs_buffer_handle_request>
                                                map->blocks[singly], true);
        }                                                             
                                                                      
        if (rc > 0)                                                   
ffc1ad60:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                   &map->blocks[singly],
                                                   upping);           
        }                                                             
        else                                                          
        {                                                             
          rc = rtems_rfs_buffer_handle_request (fs,  &map->singly_buffer,
ffc1ad64:	7c 74 1b 78 	mr      r20,r3                                 
                                                map->blocks[singly], true);
        }                                                             
                                                                      
        if (rc > 0)                                                   
ffc1ad68:	40 bd 01 b0 	ble+    cr7,ffc1af18 <rtems_rfs_block_map_grow+0x2f0><== ALWAYS TAKEN
ffc1ad6c:	48 00 01 98 	b       ffc1af04 <rtems_rfs_block_map_grow+0x2dc><== 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;                      
ffc1ad70:	7f a6 d3 96 	divwu   r29,r6,r26                             
        singly %= fs->blocks_per_block;                               
ffc1ad74:	7f 5d d1 d6 	mullw   r26,r29,r26                            
ffc1ad78:	7f 5a 30 50 	subf    r26,r26,r6                             
         * 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)                                              
ffc1ad7c:	40 82 01 0c 	bne-    ffc1ae88 <rtems_rfs_block_map_grow+0x260>
        {                                                             
          rc = rtems_rfs_block_map_indirect_alloc (fs, map,           
ffc1ad80:	7f c3 f3 78 	mr      r3,r30                                 
ffc1ad84:	7f e4 fb 78 	mr      r4,r31                                 
ffc1ad88:	7f 85 e3 78 	mr      r5,r28                                 
ffc1ad8c:	38 c1 00 08 	addi    r6,r1,8                                
ffc1ad90:	38 e0 00 00 	li      r7,0                                   
ffc1ad94:	4b ff f4 8d 	bl      ffc1a220 <rtems_rfs_block_map_indirect_alloc>
                                                   &map->singly_buffer,
                                                   &singly_block,     
                                                   false);            
          if (rc > 0)                                                 
ffc1ad98:	7c 74 1b 79 	mr.     r20,r3                                 
ffc1ad9c:	41 81 01 68 	bgt-    ffc1af04 <rtems_rfs_block_map_grow+0x2dc><== NEVER TAKEN
                                                                      
          /*                                                          
           * 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) ||                                        
ffc1ada0:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc1ada4:	41 9e 00 14 	beq-    cr7,ffc1adb8 <rtems_rfs_block_map_grow+0x190><== NEVER TAKEN
ffc1ada8:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc1adac:	40 9e 00 44 	bne-    cr7,ffc1adf0 <rtems_rfs_block_map_grow+0x1c8><== NEVER TAKEN
              ((doubly == 0) && (singly == RTEMS_RFS_INODE_BLOCKS)))  
ffc1adb0:	2f 9a 00 05 	cmpwi   cr7,r26,5                              
ffc1adb4:	40 be 00 3c 	bne+    cr7,ffc1adf0 <rtems_rfs_block_map_grow+0x1c8>
          {                                                           
            bool upping;                                              
            upping = map->size.count == fs->block_map_singly_blocks;  
ffc1adb8:	80 ff 00 08 	lwz     r7,8(r31)                              
            rc = rtems_rfs_block_map_indirect_alloc (fs, map,         
ffc1adbc:	38 dd 00 08 	addi    r6,r29,8                               
           */                                                         
          if ((singly == 0) ||                                        
              ((doubly == 0) && (singly == RTEMS_RFS_INODE_BLOCKS)))  
          {                                                           
            bool upping;                                              
            upping = map->size.count == fs->block_map_singly_blocks;  
ffc1adc0:	80 1e 00 34 	lwz     r0,52(r30)                             
            rc = rtems_rfs_block_map_indirect_alloc (fs, map,         
ffc1adc4:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           
ffc1adc8:	7c df 32 14 	add     r6,r31,r6                              
ffc1adcc:	7c e7 02 78 	xor     r7,r7,r0                               
ffc1add0:	7c e7 00 34 	cntlzw  r7,r7                                  
ffc1add4:	7f c3 f3 78 	mr      r3,r30                                 
ffc1add8:	7f e4 fb 78 	mr      r4,r31                                 
ffc1addc:	7f 25 cb 78 	mr      r5,r25                                 
ffc1ade0:	38 c6 00 04 	addi    r6,r6,4                                
ffc1ade4:	54 e7 d9 7e 	rlwinm  r7,r7,27,5,31                          
ffc1ade8:	4b ff f4 39 	bl      ffc1a220 <rtems_rfs_block_map_indirect_alloc>
ffc1adec:	48 00 00 24 	b       ffc1ae10 <rtems_rfs_block_map_grow+0x1e8>
              return rc;                                              
            }                                                         
          }                                                           
          else                                                        
          {                                                           
            rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
ffc1adf0:	3b bd 00 08 	addi    r29,r29,8                              
ffc1adf4:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
ffc1adf8:	7f bf ea 14 	add     r29,r31,r29                            
ffc1adfc:	80 bd 00 04 	lwz     r5,4(r29)                              
ffc1ae00:	7f c3 f3 78 	mr      r3,r30                                 
ffc1ae04:	7f 24 cb 78 	mr      r4,r25                                 
ffc1ae08:	38 c0 00 01 	li      r6,1                                   
ffc1ae0c:	48 00 08 59 	bl      ffc1b664 <rtems_rfs_buffer_handle_request>
                                                  map->blocks[doubly], true);
            if (rc > 0)                                               
ffc1ae10:	7c 74 1b 79 	mr.     r20,r3                                 
ffc1ae14:	40 a1 00 18 	ble+    ffc1ae2c <rtems_rfs_block_map_grow+0x204><== ALWAYS TAKEN
            {                                                         
              rtems_rfs_group_bitmap_free (fs, false, singly_block);  
ffc1ae18:	80 a1 00 08 	lwz     r5,8(r1)                               <== NOT EXECUTED
ffc1ae1c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1ae20:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1ae24:	4b ff 60 45 	bl      ffc10e68 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
ffc1ae28:	48 00 00 dc 	b       ffc1af04 <rtems_rfs_block_map_grow+0x2dc><== NOT EXECUTED
              rtems_rfs_group_bitmap_free (fs, false, block);         
              return rc;                                              
            }                                                         
          }                                                           
                                                                      
          rtems_rfs_block_set_number (&map->doubly_buffer,            
ffc1ae2c:	81 3f 00 4c 	lwz     r9,76(r31)                             
ffc1ae30:	57 5a 10 3a 	rlwinm  r26,r26,2,0,29                         
ffc1ae34:	88 01 00 08 	lbz     r0,8(r1)                               
ffc1ae38:	81 29 00 24 	lwz     r9,36(r9)                              
ffc1ae3c:	7c 09 d1 ae 	stbx    r0,r9,r26                              
ffc1ae40:	81 3f 00 4c 	lwz     r9,76(r31)                             
ffc1ae44:	a0 01 00 08 	lhz     r0,8(r1)                               
ffc1ae48:	81 29 00 24 	lwz     r9,36(r9)                              
ffc1ae4c:	7d 29 d2 14 	add     r9,r9,r26                              
ffc1ae50:	98 09 00 01 	stb     r0,1(r9)                               
ffc1ae54:	81 3f 00 4c 	lwz     r9,76(r31)                             
ffc1ae58:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1ae5c:	81 29 00 24 	lwz     r9,36(r9)                              
ffc1ae60:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc1ae64:	7d 29 d2 14 	add     r9,r9,r26                              
ffc1ae68:	98 09 00 02 	stb     r0,2(r9)                               
ffc1ae6c:	81 3f 00 4c 	lwz     r9,76(r31)                             
ffc1ae70:	80 09 00 24 	lwz     r0,36(r9)                              
ffc1ae74:	7f 40 d2 14 	add     r26,r0,r26                             
ffc1ae78:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1ae7c:	98 1a 00 03 	stb     r0,3(r26)                              
ffc1ae80:	9b 1f 00 44 	stb     r24,68(r31)                            
ffc1ae84:	48 00 00 94 	b       ffc1af18 <rtems_rfs_block_map_grow+0x2f0>
                                      singly,                         
                                      singly_block);                  
        }                                                             
        else                                                          
        {                                                             
          rc = rtems_rfs_buffer_handle_request (fs,                   
ffc1ae88:	3b bd 00 08 	addi    r29,r29,8                              
ffc1ae8c:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
ffc1ae90:	7f bf ea 14 	add     r29,r31,r29                            
ffc1ae94:	80 bd 00 04 	lwz     r5,4(r29)                              
ffc1ae98:	7f c3 f3 78 	mr      r3,r30                                 
ffc1ae9c:	7f 24 cb 78 	mr      r4,r25                                 
ffc1aea0:	38 c0 00 01 	li      r6,1                                   
ffc1aea4:	48 00 07 c1 	bl      ffc1b664 <rtems_rfs_buffer_handle_request>
                                                &map->doubly_buffer,  
                                                map->blocks[doubly],  
                                                true);                
          if (rc > 0)                                                 
ffc1aea8:	7c 74 1b 79 	mr.     r20,r3                                 
ffc1aeac:	41 81 00 58 	bgt-    ffc1af04 <rtems_rfs_block_map_grow+0x2dc><== NEVER TAKEN
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
            return rc;                                                
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
ffc1aeb0:	81 3f 00 4c 	lwz     r9,76(r31)                             
ffc1aeb4:	57 5a 10 3a 	rlwinm  r26,r26,2,0,29                         
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc1aeb8:	7f c3 f3 78 	mr      r3,r30                                 
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
            return rc;                                                
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
ffc1aebc:	81 69 00 24 	lwz     r11,36(r9)                             
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc1aec0:	7f 84 e3 78 	mr      r4,r28                                 
ffc1aec4:	38 c0 00 01 	li      r6,1                                   
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
            return rc;                                                
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
ffc1aec8:	7d 2b d2 14 	add     r9,r11,r26                             
ffc1aecc:	7c ab d0 ae 	lbzx    r5,r11,r26                             
ffc1aed0:	88 09 00 03 	lbz     r0,3(r9)                               
ffc1aed4:	54 a5 c0 0e 	rlwinm  r5,r5,24,0,7                           
ffc1aed8:	7c 05 2b 78 	or      r5,r0,r5                               
ffc1aedc:	88 09 00 01 	lbz     r0,1(r9)                               
ffc1aee0:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc1aee4:	7c a5 03 78 	or      r5,r5,r0                               
ffc1aee8:	88 09 00 02 	lbz     r0,2(r9)                               
ffc1aeec:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
ffc1aef0:	7c a5 03 78 	or      r5,r5,r0                               
ffc1aef4:	90 a1 00 08 	stw     r5,8(r1)                               
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc1aef8:	48 00 07 6d 	bl      ffc1b664 <rtems_rfs_buffer_handle_request>
                                                singly_block, true);  
          if (rc > 0)                                                 
ffc1aefc:	7c 74 1b 79 	mr.     r20,r3                                 
ffc1af00:	40 a1 00 18 	ble+    ffc1af18 <rtems_rfs_block_map_grow+0x2f0><== ALWAYS TAKEN
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
ffc1af04:	80 a1 00 0c 	lwz     r5,12(r1)                              <== NOT EXECUTED
ffc1af08:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1af0c:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1af10:	4b ff 5f 59 	bl      ffc10e68 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
            return rc;                                                
ffc1af14:	48 00 00 98 	b       ffc1afac <rtems_rfs_block_map_grow+0x384><== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_block_set_number (&map->singly_buffer, direct, block);
ffc1af18:	81 3f 00 40 	lwz     r9,64(r31)                             
ffc1af1c:	56 d6 10 3a 	rlwinm  r22,r22,2,0,29                         
ffc1af20:	88 01 00 0c 	lbz     r0,12(r1)                              
ffc1af24:	81 29 00 24 	lwz     r9,36(r9)                              
ffc1af28:	7c 09 b1 ae 	stbx    r0,r9,r22                              
ffc1af2c:	81 3f 00 40 	lwz     r9,64(r31)                             
ffc1af30:	a0 01 00 0c 	lhz     r0,12(r1)                              
ffc1af34:	81 29 00 24 	lwz     r9,36(r9)                              
ffc1af38:	7d 29 b2 14 	add     r9,r9,r22                              
ffc1af3c:	98 09 00 01 	stb     r0,1(r9)                               
ffc1af40:	81 3f 00 40 	lwz     r9,64(r31)                             
ffc1af44:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc1af48:	81 29 00 24 	lwz     r9,36(r9)                              
ffc1af4c:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc1af50:	7d 29 b2 14 	add     r9,r9,r22                              
ffc1af54:	98 09 00 02 	stb     r0,2(r9)                               
ffc1af58:	81 3f 00 40 	lwz     r9,64(r31)                             
ffc1af5c:	80 09 00 24 	lwz     r0,36(r9)                              
ffc1af60:	7e c0 b2 14 	add     r22,r0,r22                             
ffc1af64:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc1af68:	98 16 00 03 	stb     r0,3(r22)                              
ffc1af6c:	9b 1f 00 38 	stb     r24,56(r31)                            
    }                                                                 
                                                                      
    map->size.count++;                                                
    map->size.offset = 0;                                             
                                                                      
    if (b == 0)                                                       
ffc1af70:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
      }                                                               
                                                                      
      rtems_rfs_block_set_number (&map->singly_buffer, direct, block);
    }                                                                 
                                                                      
    map->size.count++;                                                
ffc1af74:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc1af78:	38 09 00 01 	addi    r0,r9,1                                
ffc1af7c:	90 1f 00 08 	stw     r0,8(r31)                              
    map->size.offset = 0;                                             
ffc1af80:	38 00 00 00 	li      r0,0                                   
ffc1af84:	90 1f 00 0c 	stw     r0,12(r31)                             
ffc1af88:	80 01 00 0c 	lwz     r0,12(r1)                              
                                                                      
    if (b == 0)                                                       
ffc1af8c:	40 9e 00 08 	bne-    cr7,ffc1af94 <rtems_rfs_block_map_grow+0x36c><== NEVER TAKEN
      *new_block = block;                                             
ffc1af90:	90 15 00 00 	stw     r0,0(r21)                              
    map->last_data_block = block;                                     
ffc1af94:	90 1f 00 20 	stw     r0,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++)                                        
ffc1af98:	3b 7b 00 01 	addi    r27,r27,1                              
    map->size.offset = 0;                                             
                                                                      
    if (b == 0)                                                       
      *new_block = block;                                             
    map->last_data_block = block;                                     
    map->dirty = true;                                                
ffc1af9c:	9b 1f 00 00 	stb     r24,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++)                                        
ffc1afa0:	7f 9b b8 00 	cmpw    cr7,r27,r23                            
ffc1afa4:	40 9e fc fc 	bne+    cr7,ffc1aca0 <rtems_rfs_block_map_grow+0x78>
      *new_block = block;                                             
    map->last_data_block = block;                                     
    map->dirty = true;                                                
  }                                                                   
                                                                      
  return 0;                                                           
ffc1afa8:	3a 80 00 00 	li      r20,0                                  
}                                                                     
ffc1afac:	39 61 00 48 	addi    r11,r1,72                              
ffc1afb0:	7e 83 a3 78 	mr      r3,r20                                 
ffc1afb4:	4b fe 7b 18 	b       ffc02acc <_restgpr_20_x>               
                                                                      

ffc1a220 <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) {
ffc1a220:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc1a224:	7c 08 02 a6 	mflr    r0                                     
ffc1a228:	90 01 00 34 	stw     r0,52(r1)                              
ffc1a22c:	bf 41 00 18 	stmw    r26,24(r1)                             
ffc1a230:	7c 9e 23 78 	mr      r30,r4                                 
ffc1a234:	7c bf 2b 78 	mr      r31,r5                                 
  int                  rc;                                            
  /*                                                                  
   * Save the new block locally because upping can have *block pointing to the
   * slots which are cleared when upping.                             
   */                                                                 
  rc = rtems_rfs_group_bitmap_alloc (fs, map->last_map_block, false, &new_block);
ffc1a238:	80 84 00 1c 	lwz     r4,28(r4)                              
rtems_rfs_block_map_indirect_alloc (rtems_rfs_file_system*   fs,      
                                    rtems_rfs_block_map*     map,     
                                    rtems_rfs_buffer_handle* buffer,  
                                    rtems_rfs_block_no*      block,   
                                    bool                     upping)  
{                                                                     
ffc1a23c:	7c dc 33 78 	mr      r28,r6                                 
  int                  rc;                                            
  /*                                                                  
   * Save the new block locally because upping can have *block pointing to the
   * slots which are cleared when upping.                             
   */                                                                 
  rc = rtems_rfs_group_bitmap_alloc (fs, map->last_map_block, false, &new_block);
ffc1a240:	38 a0 00 00 	li      r5,0                                   
ffc1a244:	38 c1 00 08 	addi    r6,r1,8                                
rtems_rfs_block_map_indirect_alloc (rtems_rfs_file_system*   fs,      
                                    rtems_rfs_block_map*     map,     
                                    rtems_rfs_buffer_handle* buffer,  
                                    rtems_rfs_block_no*      block,   
                                    bool                     upping)  
{                                                                     
ffc1a248:	7c 7d 1b 78 	mr      r29,r3                                 
ffc1a24c:	7c fb 3b 78 	mr      r27,r7                                 
  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);
ffc1a250:	4b ff 6a 21 	bl      ffc10c70 <rtems_rfs_group_bitmap_alloc>
  if (rc > 0)                                                         
ffc1a254:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc1a258:	41 a1 01 14 	bgt+    ffc1a36c <rtems_rfs_block_map_indirect_alloc+0x14c><== NEVER TAKEN
    return rc;                                                        
  rc = rtems_rfs_buffer_handle_request (fs, buffer, new_block, false);
ffc1a25c:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc1a260:	7f a3 eb 78 	mr      r3,r29                                 
ffc1a264:	7f e4 fb 78 	mr      r4,r31                                 
ffc1a268:	38 c0 00 00 	li      r6,0                                   
ffc1a26c:	48 00 13 f9 	bl      ffc1b664 <rtems_rfs_buffer_handle_request>
  if (rc > 0)                                                         
ffc1a270:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc1a274:	40 81 00 18 	ble-    ffc1a28c <rtems_rfs_block_map_indirect_alloc+0x6c><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_group_bitmap_free (fs, false, new_block);               
ffc1a278:	80 a1 00 08 	lwz     r5,8(r1)                               <== NOT EXECUTED
ffc1a27c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1a280:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1a284:	4b ff 6b e5 	bl      ffc10e68 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
    return rc;                                                        
ffc1a288:	48 00 00 e4 	b       ffc1a36c <rtems_rfs_block_map_indirect_alloc+0x14c><== NOT EXECUTED
  }                                                                   
  memset (rtems_rfs_buffer_data (buffer), 0xff, rtems_rfs_fs_block_size (fs));
ffc1a28c:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc1a290:	38 80 00 ff 	li      r4,255                                 
ffc1a294:	80 bd 00 08 	lwz     r5,8(r29)                              
ffc1a298:	80 69 00 24 	lwz     r3,36(r9)                              
ffc1a29c:	48 00 76 61 	bl      ffc218fc <memset>                      
  if (upping)                                                         
ffc1a2a0:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc1a2a4:	41 be 00 b0 	beq+    cr7,ffc1a354 <rtems_rfs_block_map_indirect_alloc+0x134>
  {                                                                   
    int b;                                                            
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))             
ffc1a2a8:	38 60 00 00 	li      r3,0                                   
ffc1a2ac:	38 80 20 00 	li      r4,8192                                
ffc1a2b0:	4b ff 8e 09 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1a2b4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1a2b8:	41 be 00 18 	beq+    cr7,ffc1a2d0 <rtems_rfs_block_map_indirect_alloc+0xb0><== ALWAYS TAKEN
      printf ("rtems-rfs: block-map-grow: upping: block-count=%" PRId32 "\n",
ffc1a2bc:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1a2c0:	80 9e 00 08 	lwz     r4,8(r30)                              <== NOT EXECUTED
ffc1a2c4:	38 63 2a df 	addi    r3,r3,10975                            <== NOT EXECUTED
ffc1a2c8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1a2cc:	48 00 77 c1 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
              map->size.count);                                       
    for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                      
      rtems_rfs_block_set_number (buffer, b, map->blocks[b]);         
ffc1a2d0:	39 40 00 05 	li      r10,5                                  
ffc1a2d4:	7d 49 03 a6 	mtctr   r10                                    
  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",
ffc1a2d8:	7f cb f3 78 	mr      r11,r30                                
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)  
{                                                                     
ffc1a2dc:	39 20 00 00 	li      r9,0                                   
    int b;                                                            
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))             
      printf ("rtems-rfs: block-map-grow: upping: block-count=%" PRId32 "\n",
              map->size.count);                                       
    for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                      
      rtems_rfs_block_set_number (buffer, b, map->blocks[b]);         
ffc1a2e0:	38 00 00 01 	li      r0,1                                   
ffc1a2e4:	81 5f 00 08 	lwz     r10,8(r31)                             
ffc1a2e8:	89 0b 00 24 	lbz     r8,36(r11)                             
ffc1a2ec:	81 4a 00 24 	lwz     r10,36(r10)                            
ffc1a2f0:	7d 0a 49 ae 	stbx    r8,r10,r9                              
ffc1a2f4:	81 5f 00 08 	lwz     r10,8(r31)                             
ffc1a2f8:	a1 0b 00 24 	lhz     r8,36(r11)                             
ffc1a2fc:	81 4a 00 24 	lwz     r10,36(r10)                            
ffc1a300:	7d 4a 4a 14 	add     r10,r10,r9                             
ffc1a304:	99 0a 00 01 	stb     r8,1(r10)                              
ffc1a308:	81 5f 00 08 	lwz     r10,8(r31)                             
ffc1a30c:	81 0b 00 24 	lwz     r8,36(r11)                             
ffc1a310:	81 4a 00 24 	lwz     r10,36(r10)                            
ffc1a314:	55 08 c2 3e 	rlwinm  r8,r8,24,8,31                          
ffc1a318:	7d 4a 4a 14 	add     r10,r10,r9                             
ffc1a31c:	99 0a 00 02 	stb     r8,2(r10)                              
ffc1a320:	81 5f 00 08 	lwz     r10,8(r31)                             
ffc1a324:	81 0b 00 24 	lwz     r8,36(r11)                             
ffc1a328:	39 6b 00 04 	addi    r11,r11,4                              
ffc1a32c:	81 4a 00 24 	lwz     r10,36(r10)                            
ffc1a330:	7d 4a 4a 14 	add     r10,r10,r9                             
ffc1a334:	99 0a 00 03 	stb     r8,3(r10)                              
ffc1a338:	39 29 00 04 	addi    r9,r9,4                                
ffc1a33c:	98 1f 00 00 	stb     r0,0(r31)                              
  {                                                                   
    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++)                      
ffc1a340:	42 00 ff a4 	bdnz+   ffc1a2e4 <rtems_rfs_block_map_indirect_alloc+0xc4>
      rtems_rfs_block_set_number (buffer, b, map->blocks[b]);         
    memset (map->blocks, 0, sizeof (map->blocks));                    
ffc1a344:	38 7e 00 24 	addi    r3,r30,36                              
ffc1a348:	38 80 00 00 	li      r4,0                                   
ffc1a34c:	38 a0 00 14 	li      r5,20                                  
ffc1a350:	48 00 75 ad 	bl      ffc218fc <memset>                      
  }                                                                   
  rtems_rfs_buffer_mark_dirty (buffer);                               
ffc1a354:	38 00 00 01 	li      r0,1                                   
ffc1a358:	98 1f 00 00 	stb     r0,0(r31)                              
  *block = new_block;                                                 
  map->last_map_block = new_block;                                    
  return 0;                                                           
ffc1a35c:	3b 40 00 00 	li      r26,0                                  
    for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                      
      rtems_rfs_block_set_number (buffer, b, map->blocks[b]);         
    memset (map->blocks, 0, sizeof (map->blocks));                    
  }                                                                   
  rtems_rfs_buffer_mark_dirty (buffer);                               
  *block = new_block;                                                 
ffc1a360:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1a364:	90 1c 00 00 	stw     r0,0(r28)                              
  map->last_map_block = new_block;                                    
ffc1a368:	90 1e 00 1c 	stw     r0,28(r30)                             
  return 0;                                                           
}                                                                     
ffc1a36c:	39 61 00 30 	addi    r11,r1,48                              
ffc1a370:	7f 43 d3 78 	mr      r3,r26                                 
ffc1a374:	4b fe 87 70 	b       ffc02ae4 <_restgpr_26_x>               
                                                                      

ffc1a448 <rtems_rfs_block_map_indirect_shrink.isra.7>: * 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) ||
ffc1a448:	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,     
ffc1a44c:	94 21 ff f0 	stwu    r1,-16(r1)                             <== NOT EXECUTED
ffc1a450:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1a454:	bf c1 00 08 	stmw    r30,8(r1)                              <== NOT EXECUTED
ffc1a458:	7c 9f 23 78 	mr      r31,r4                                 <== NOT EXECUTED
ffc1a45c:	90 01 00 14 	stw     r0,20(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) ||                                                 
ffc1a460:	41 82 00 1c 	beq-    ffc1a47c <rtems_rfs_block_map_indirect_shrink.isra.7+0x34><== NOT EXECUTED
ffc1a464:	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;                                                         
ffc1a468:	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) ||                                                 
ffc1a46c:	40 9e 00 ac 	bne-    cr7,ffc1a518 <rtems_rfs_block_map_indirect_shrink.isra.7+0xd0><== NOT EXECUTED
      ((indirect == 0) && (index == RTEMS_RFS_INODE_BLOCKS)))         
ffc1a470:	2f 87 00 05 	cmpwi   cr7,r7,5                               <== 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;                                                         
ffc1a474:	7c c0 33 78 	mr      r0,r6                                  <== NOT EXECUTED
   * 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) ||                                                 
      ((indirect == 0) && (index == RTEMS_RFS_INODE_BLOCKS)))         
ffc1a478:	40 be 00 a0 	bne+    cr7,ffc1a518 <rtems_rfs_block_map_indirect_shrink.isra.7+0xd0><== NOT EXECUTED
  {                                                                   
    rtems_rfs_block_no block_to_free = map->blocks[indirect];         
                                                                      
    if ((indirect == 0) && (index == RTEMS_RFS_INODE_BLOCKS))         
ffc1a47c:	2f 86 00 00 	cmpwi   cr7,r6,0                               <== 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];         
ffc1a480:	38 06 00 08 	addi    r0,r6,8                                <== NOT EXECUTED
ffc1a484:	54 09 10 3a 	rlwinm  r9,r0,2,0,29                           <== NOT EXECUTED
ffc1a488:	7d 3f 4a 14 	add     r9,r31,r9                              <== NOT EXECUTED
ffc1a48c:	83 c9 00 04 	lwz     r30,4(r9)                              <== NOT EXECUTED
                                                                      
    if ((indirect == 0) && (index == RTEMS_RFS_INODE_BLOCKS))         
ffc1a490:	40 9e 00 60 	bne-    cr7,ffc1a4f0 <rtems_rfs_block_map_indirect_shrink.isra.7+0xa8><== NOT EXECUTED
ffc1a494:	2f 87 00 05 	cmpwi   cr7,r7,5                               <== NOT EXECUTED
ffc1a498:	40 be 00 58 	bne+    cr7,ffc1a4f0 <rtems_rfs_block_map_indirect_shrink.isra.7+0xa8><== 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);      
ffc1a49c:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1a4a0:	81 25 00 00 	lwz     r9,0(r5)                               <== NOT EXECUTED
ffc1a4a4:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc1a4a8:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
  if ((index == 0) ||                                                 
      ((indirect == 0) && (index == RTEMS_RFS_INODE_BLOCKS)))         
  {                                                                   
    rtems_rfs_block_no block_to_free = map->blocks[indirect];         
                                                                      
    if ((indirect == 0) && (index == RTEMS_RFS_INODE_BLOCKS))         
ffc1a4ac:	81 29 00 24 	lwz     r9,36(r9)                              <== 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);      
ffc1a4b0:	89 09 00 00 	lbz     r8,0(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,     
ffc1a4b4:	7d 5f 5a 14 	add     r10,r31,r11                            <== 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);      
ffc1a4b8:	88 09 00 01 	lbz     r0,1(r9)                               <== NOT EXECUTED
ffc1a4bc:	39 6b 00 04 	addi    r11,r11,4                              <== NOT EXECUTED
ffc1a4c0:	55 08 c0 0e 	rlwinm  r8,r8,24,0,7                           <== NOT EXECUTED
ffc1a4c4:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          <== NOT EXECUTED
ffc1a4c8:	7d 00 03 78 	or      r0,r8,r0                               <== NOT EXECUTED
ffc1a4cc:	89 09 00 03 	lbz     r8,3(r9)                               <== NOT EXECUTED
ffc1a4d0:	7c 00 43 78 	or      r0,r0,r8                               <== NOT EXECUTED
ffc1a4d4:	89 09 00 02 	lbz     r8,2(r9)                               <== NOT EXECUTED
ffc1a4d8:	39 29 00 04 	addi    r9,r9,4                                <== NOT EXECUTED
ffc1a4dc:	55 08 40 2e 	rlwinm  r8,r8,8,0,23                           <== NOT EXECUTED
ffc1a4e0:	7c 00 43 78 	or      r0,r0,r8                               <== NOT EXECUTED
ffc1a4e4:	90 0a 00 24 	stw     r0,36(r10)                             <== NOT EXECUTED
    {                                                                 
      /*                                                              
       * Move to direct inode access.                                 
       */                                                             
      int b;                                                          
      for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                    
ffc1a4e8:	42 00 ff c8 	bdnz+   ffc1a4b0 <rtems_rfs_block_map_indirect_shrink.isra.7+0x68><== NOT EXECUTED
ffc1a4ec:	48 00 00 14 	b       ffc1a500 <rtems_rfs_block_map_indirect_shrink.isra.7+0xb8><== NOT EXECUTED
    else                                                              
    {                                                                 
      /*                                                              
       * One less singly indirect block in the inode.                 
       */                                                             
      map->blocks[indirect] = 0;                                      
ffc1a4f0:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           <== NOT EXECUTED
ffc1a4f4:	7d 3f 02 14 	add     r9,r31,r0                              <== NOT EXECUTED
ffc1a4f8:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1a4fc:	90 09 00 04 	stw     r0,4(r9)                               <== NOT EXECUTED
    }                                                                 
                                                                      
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
ffc1a500:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1a504:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc1a508:	4b ff 69 61 	bl      ffc10e68 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
    if (rc > 0)                                                       
ffc1a50c:	7c 60 1b 79 	mr.     r0,r3                                  <== NOT EXECUTED
ffc1a510:	41 a1 00 08 	bgt+    ffc1a518 <rtems_rfs_block_map_indirect_shrink.isra.7+0xd0><== NOT EXECUTED
      return rc;                                                      
                                                                      
    map->last_map_block = block_to_free;                              
ffc1a514:	93 df 00 1c 	stw     r30,28(r31)                            <== NOT EXECUTED
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc1a518:	39 61 00 10 	addi    r11,r1,16                              <== NOT EXECUTED
ffc1a51c:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
ffc1a520:	4b fe 85 d4 	b       ffc02af4 <_restgpr_30_x>               <== NOT EXECUTED
                                                                      

ffc1a658 <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) {
ffc1a658:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1a65c:	7c 08 02 a6 	mflr    r0                                     
ffc1a660:	bf 61 00 0c 	stmw    r27,12(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;                                                  
ffc1a664:	3b 80 00 00 	li      r28,0                                  
                                                                      
int                                                                   
rtems_rfs_block_map_open (rtems_rfs_file_system*  fs,                 
                          rtems_rfs_inode_handle* inode,              
                          rtems_rfs_block_map*    map)                
{                                                                     
ffc1a668:	7c 7e 1b 78 	mr      r30,r3                                 
ffc1a66c:	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;                                                 
ffc1a670:	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)                
{                                                                     
ffc1a674:	7c 9f 23 78 	mr      r31,r4                                 
   * 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;                                                 
ffc1a678:	98 05 00 00 	stb     r0,0(r5)                               
                                                                      
int                                                                   
rtems_rfs_block_map_open (rtems_rfs_file_system*  fs,                 
                          rtems_rfs_inode_handle* inode,              
                          rtems_rfs_block_map*    map)                
{                                                                     
ffc1a67c:	7c bd 2b 78 	mr      r29,r5                                 
   * 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;                                                  
ffc1a680:	93 85 00 04 	stw     r28,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;                                                    
ffc1a684:	93 85 00 08 	stw     r28,8(r5)                              
  size->offset = 0;                                                   
ffc1a688:	93 85 00 0c 	stw     r28,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;                                                      
ffc1a68c:	93 85 00 10 	stw     r28,16(r5)                             
  bpos->boff = 0;                                                     
ffc1a690:	93 85 00 14 	stw     r28,20(r5)                             
  bpos->block = 0;                                                    
ffc1a694:	93 85 00 18 	stw     r28,24(r5)                             
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc1a698:	9b 85 00 38 	stb     r28,56(r5)                             
  handle->bnum  = 0;                                                  
ffc1a69c:	93 85 00 3c 	stw     r28,60(r5)                             
  handle->buffer = NULL;                                              
ffc1a6a0:	93 85 00 40 	stw     r28,64(r5)                             
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc1a6a4:	9b 85 00 44 	stb     r28,68(r5)                             
  handle->bnum  = 0;                                                  
ffc1a6a8:	93 85 00 48 	stw     r28,72(r5)                             
  handle->buffer = NULL;                                              
ffc1a6ac:	93 85 00 4c 	stw     r28,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);                              
ffc1a6b0:	4b ff 6a 6d 	bl      ffc1111c <rtems_rfs_inode_load>        
  if (rc > 0)                                                         
ffc1a6b4:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc1a6b8:	40 a1 00 38 	ble+    ffc1a6f0 <rtems_rfs_block_map_open+0x98><== 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);                       
ffc1a6bc:	38 9d 00 38 	addi    r4,r29,56                              <== NOT EXECUTED
ffc1a6c0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1a6c4:	48 00 0d c1 	bl      ffc1b484 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc1a6c8:	9b 9d 00 38 	stb     r28,56(r29)                            <== 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);                       
ffc1a6cc:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc1a6d0:	93 9d 00 3c 	stw     r28,60(r29)                            <== 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);                       
ffc1a6d4:	38 9d 00 44 	addi    r4,r29,68                              <== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc1a6d8:	93 9d 00 40 	stw     r28,64(r29)                            <== 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);                       
ffc1a6dc:	48 00 0d a9 	bl      ffc1b484 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc1a6e0:	9b 9d 00 44 	stb     r28,68(r29)                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc1a6e4:	93 9d 00 48 	stw     r28,72(r29)                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc1a6e8:	93 9d 00 4c 	stw     r28,76(r29)                            <== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &map->singly_buffer);          
    rtems_rfs_buffer_handle_close (fs, &map->doubly_buffer);          
    return rc;                                                        
ffc1a6ec:	48 00 01 14 	b       ffc1a800 <rtems_rfs_block_map_open+0x1a8><== NOT EXECUTED
  /*                                                                  
   * 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++)                        
ffc1a6f0:	38 00 00 05 	li      r0,5                                   
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);       
}                                                                     
ffc1a6f4:	81 3f 00 0c 	lwz     r9,12(r31)                             
  /*                                                                  
   * 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++)                        
ffc1a6f8:	7c 09 03 a6 	mtctr   r0                                     
                                                                      
  /*                                                                  
   * Extract the block and block count data from the inode into the targets
   * byte order.                                                      
   */                                                                 
  map->inode = inode;                                                 
ffc1a6fc:	93 fd 00 04 	stw     r31,4(r29)                             
 * @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]);      
ffc1a700:	39 69 00 1c 	addi    r11,r9,28                              
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);       
}                                                                     
ffc1a704:	7f a8 eb 78 	mr      r8,r29                                 
  /*                                                                  
   * 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++)                        
ffc1a708:	39 40 00 00 	li      r10,0                                  
ffc1a70c:	38 ca 00 04 	addi    r6,r10,4                               
ffc1a710:	88 eb 00 03 	lbz     r7,3(r11)                              
ffc1a714:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           
ffc1a718:	7c c9 32 14 	add     r6,r9,r6                               
ffc1a71c:	88 06 00 0c 	lbz     r0,12(r6)                              
ffc1a720:	39 4a 00 01 	addi    r10,r10,1                              
ffc1a724:	54 00 c0 0e 	rlwinm  r0,r0,24,0,7                           
ffc1a728:	7c e0 03 78 	or      r0,r7,r0                               
ffc1a72c:	88 eb 00 01 	lbz     r7,1(r11)                              
ffc1a730:	54 e7 80 1e 	rlwinm  r7,r7,16,0,15                          
ffc1a734:	7c 00 3b 78 	or      r0,r0,r7                               
ffc1a738:	88 eb 00 02 	lbz     r7,2(r11)                              
ffc1a73c:	39 6b 00 04 	addi    r11,r11,4                              
ffc1a740:	54 e7 40 2e 	rlwinm  r7,r7,8,0,23                           
ffc1a744:	7c 00 3b 78 	or      r0,r0,r7                               
    map->blocks[b] = rtems_rfs_inode_get_block (inode, b);            
ffc1a748:	90 08 00 24 	stw     r0,36(r8)                              
  /*                                                                  
   * 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++)                        
ffc1a74c:	39 08 00 04 	addi    r8,r8,4                                
ffc1a750:	42 00 ff bc 	bdnz+   ffc1a70c <rtems_rfs_block_map_open+0xb4>
 * @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);             
ffc1a754:	89 69 00 0c 	lbz     r11,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);                     
ffc1a758:	7f c3 f3 78 	mr      r3,r30                                 
ffc1a75c:	88 09 00 0d 	lbz     r0,13(r9)                              
ffc1a760:	7f e4 fb 78 	mr      r4,r31                                 
ffc1a764:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc1a768:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc1a76c:	7d 60 03 78 	or      r0,r11,r0                              
ffc1a770:	89 69 00 0f 	lbz     r11,15(r9)                             
ffc1a774:	38 a0 00 00 	li      r5,0                                   
ffc1a778:	7c 00 5b 78 	or      r0,r0,r11                              
ffc1a77c:	89 69 00 0e 	lbz     r11,14(r9)                             
ffc1a780:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc1a784:	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);          
ffc1a788:	90 1d 00 08 	stw     r0,8(r29)                              
 * @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);            
ffc1a78c:	88 09 00 0a 	lbz     r0,10(r9)                              
ffc1a790:	89 69 00 0b 	lbz     r11,11(r9)                             
ffc1a794:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
  map->size.offset = rtems_rfs_inode_get_block_offset (inode);        
ffc1a798:	7c 00 5b 78 	or      r0,r0,r11                              
ffc1a79c:	90 1d 00 0c 	stw     r0,12(r29)                             
 * @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);          
ffc1a7a0:	89 69 00 30 	lbz     r11,48(r9)                             
ffc1a7a4:	88 09 00 31 	lbz     r0,49(r9)                              
ffc1a7a8:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc1a7ac:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc1a7b0:	7d 60 03 78 	or      r0,r11,r0                              
ffc1a7b4:	89 69 00 33 	lbz     r11,51(r9)                             
ffc1a7b8:	7c 00 5b 78 	or      r0,r0,r11                              
ffc1a7bc:	89 69 00 32 	lbz     r11,50(r9)                             
ffc1a7c0:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc1a7c4:	7c 00 5b 78 	or      r0,r0,r11                              
  map->last_map_block = rtems_rfs_inode_get_last_map_block (inode);   
ffc1a7c8:	90 1d 00 1c 	stw     r0,28(r29)                             
 * @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);         
ffc1a7cc:	89 69 00 34 	lbz     r11,52(r9)                             
ffc1a7d0:	88 09 00 35 	lbz     r0,53(r9)                              
ffc1a7d4:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc1a7d8:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc1a7dc:	7d 60 03 78 	or      r0,r11,r0                              
ffc1a7e0:	89 69 00 37 	lbz     r11,55(r9)                             
ffc1a7e4:	89 29 00 36 	lbz     r9,54(r9)                              
ffc1a7e8:	7c 00 5b 78 	or      r0,r0,r11                              
ffc1a7ec:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
ffc1a7f0:	7c 00 4b 78 	or      r0,r0,r9                               
  map->last_data_block = rtems_rfs_inode_get_last_data_block (inode); 
ffc1a7f4:	90 1d 00 20 	stw     r0,32(r29)                             
                                                                      
  rc = rtems_rfs_inode_unload (fs, inode, false);                     
ffc1a7f8:	4b ff 6a cd 	bl      ffc112c4 <rtems_rfs_inode_unload>      
ffc1a7fc:	7c 7b 1b 78 	mr      r27,r3                                 
                                                                      
  return rc;                                                          
}                                                                     
ffc1a800:	39 61 00 20 	addi    r11,r1,32                              
ffc1a804:	7f 63 db 78 	mr      r3,r27                                 
ffc1a808:	4b fe 82 e0 	b       ffc02ae8 <_restgpr_27_x>               
                                                                      

ffc1afb8 <rtems_rfs_block_map_shrink>: int rtems_rfs_block_map_shrink (rtems_rfs_file_system* fs, rtems_rfs_block_map* map, size_t blocks) {
ffc1afb8:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc1afbc:	7c 08 02 a6 	mflr    r0                                     
ffc1afc0:	be 41 00 08 	stmw    r18,8(r1)                              
ffc1afc4:	7c 7e 1b 78 	mr      r30,r3                                 
ffc1afc8:	7c 9f 23 78 	mr      r31,r4                                 
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_SHRINK))             
ffc1afcc:	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)            
{                                                                     
ffc1afd0:	90 01 00 44 	stw     r0,68(r1)                              
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_SHRINK))             
ffc1afd4:	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)            
{                                                                     
ffc1afd8:	7c bd 2b 78 	mr      r29,r5                                 
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_SHRINK))             
ffc1afdc:	4b ff 80 dd 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1afe0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1afe4:	41 be 00 1c 	beq+    cr7,ffc1b000 <rtems_rfs_block_map_shrink+0x48><== ALWAYS TAKEN
    printf ("rtems-rfs: block-map-shrink: entry: blocks=%zd count=%" PRIu32 "\n",
ffc1afe8:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1afec:	80 bf 00 08 	lwz     r5,8(r31)                              <== NOT EXECUTED
ffc1aff0:	38 63 2b 96 	addi    r3,r3,11158                            <== NOT EXECUTED
ffc1aff4:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc1aff8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1affc:	48 00 6a 91 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            blocks, map->size.count);                                 
                                                                      
  if (map->size.count == 0)                                           
ffc1b000:	80 1f 00 08 	lwz     r0,8(r31)                              
    return 0;                                                         
ffc1b004:	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)                                           
ffc1b008:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1b00c:	41 9e 02 bc 	beq-    cr7,ffc1b2c8 <rtems_rfs_block_map_shrink+0x310><== ALWAYS TAKEN
ffc1b010:	7f 9d 00 40 	cmplw   cr7,r29,r0                             <== NOT EXECUTED
ffc1b014:	40 9d 02 20 	ble-    cr7,ffc1b234 <rtems_rfs_block_map_shrink+0x27c><== NOT EXECUTED
ffc1b018:	7c 1d 03 78 	mr      r29,r0                                 <== NOT EXECUTED
ffc1b01c:	48 00 02 18 	b       ffc1b234 <rtems_rfs_block_map_shrink+0x27c><== NOT EXECUTED
  {                                                                   
    rtems_rfs_block_no block;                                         
    rtems_rfs_block_no block_to_free;                                 
    int                rc;                                            
                                                                      
    block = map->size.count - 1;                                      
ffc1b020:	81 3f 00 08 	lwz     r9,8(r31)                              <== NOT EXECUTED
ffc1b024:	38 09 ff ff 	addi    r0,r9,-1                               <== NOT EXECUTED
                                                                      
    if (block < RTEMS_RFS_INODE_BLOCKS)                               
ffc1b028:	2b 80 00 04 	cmplwi  cr7,r0,4                               <== NOT EXECUTED
ffc1b02c:	41 9d 00 20 	bgt-    cr7,ffc1b04c <rtems_rfs_block_map_shrink+0x94><== NOT EXECUTED
    {                                                                 
      /*                                                              
       * We have less than RTEMS_RFS_INODE_BLOCKS so they are held in the
       * inode.                                                       
       */                                                             
      block_to_free = map->blocks[block];                             
ffc1b030:	39 29 00 07 	addi    r9,r9,7                                <== NOT EXECUTED
ffc1b034:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           <== NOT EXECUTED
ffc1b038:	7d 3f 4a 14 	add     r9,r31,r9                              <== NOT EXECUTED
      map->blocks[block] = 0;                                         
ffc1b03c:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
    {                                                                 
      /*                                                              
       * We have less than RTEMS_RFS_INODE_BLOCKS so they are held in the
       * inode.                                                       
       */                                                             
      block_to_free = map->blocks[block];                             
ffc1b040:	83 89 00 04 	lwz     r28,4(r9)                              <== NOT EXECUTED
      map->blocks[block] = 0;                                         
ffc1b044:	90 09 00 04 	stw     r0,4(r9)                               <== NOT EXECUTED
ffc1b048:	48 00 01 b0 	b       ffc1b1f8 <rtems_rfs_block_map_shrink+0x240><== NOT EXECUTED
       * table of block numbers.                                      
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = block % fs->blocks_per_block;                          
ffc1b04c:	83 9e 00 30 	lwz     r28,48(r30)                            <== NOT EXECUTED
      singly = block / fs->blocks_per_block;                          
                                                                      
      if (block < fs->block_map_singly_blocks)                        
ffc1b050:	81 3e 00 34 	lwz     r9,52(r30)                             <== NOT EXECUTED
       * table of block numbers.                                      
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = block % fs->blocks_per_block;                          
ffc1b054:	7e 60 e3 96 	divwu   r19,r0,r28                             <== NOT EXECUTED
      singly = block / fs->blocks_per_block;                          
                                                                      
      if (block < fs->block_map_singly_blocks)                        
ffc1b058:	7f 80 48 40 	cmplw   cr7,r0,r9                              <== NOT EXECUTED
       * table of block numbers.                                      
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = block % fs->blocks_per_block;                          
ffc1b05c:	7e 53 e1 d6 	mullw   r18,r19,r28                            <== NOT EXECUTED
ffc1b060:	7e 52 00 50 	subf    r18,r18,r0                             <== NOT EXECUTED
      singly = block / fs->blocks_per_block;                          
                                                                      
      if (block < fs->block_map_singly_blocks)                        
ffc1b064:	40 bc 00 84 	bge+    cr7,ffc1b0e8 <rtems_rfs_block_map_shrink+0x130><== NOT EXECUTED
      {                                                               
        /*                                                            
         * Request the indirect block and then obtain the block number from the
         * indirect block.                                            
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc1b068:	39 33 00 08 	addi    r9,r19,8                               <== NOT EXECUTED
ffc1b06c:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           <== NOT EXECUTED
ffc1b070:	7d 3f 4a 14 	add     r9,r31,r9                              <== NOT EXECUTED
ffc1b074:	80 a9 00 04 	lwz     r5,4(r9)                               <== NOT EXECUTED
ffc1b078:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1b07c:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc1b080:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc1b084:	48 00 05 e1 	bl      ffc1b664 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
                                              map->blocks[singly], true);
        if (rc > 0)                                                   
ffc1b088:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1b08c:	41 81 02 3c 	bgt-    ffc1b2c8 <rtems_rfs_block_map_shrink+0x310><== NOT EXECUTED
          return rc;                                                  
                                                                      
        block_to_free = rtems_rfs_block_get_number (&map->singly_buffer,
ffc1b090:	81 3f 00 40 	lwz     r9,64(r31)                             <== NOT EXECUTED
ffc1b094:	56 40 10 3a 	rlwinm  r0,r18,2,0,29                          <== NOT EXECUTED
                                                    direct);          
                                                                      
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
ffc1b098:	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,
ffc1b09c:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
                                                    direct);          
                                                                      
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
ffc1b0a0:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1b0a4:	7f 25 cb 78 	mr      r5,r25                                 <== 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,
ffc1b0a8:	7e 89 00 ee 	lbzux   r20,r9,r0                              <== NOT EXECUTED
                                                    direct);          
                                                                      
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
ffc1b0ac:	7e 66 9b 78 	mr      r6,r19                                 <== NOT EXECUTED
ffc1b0b0:	7e 47 93 78 	mr      r7,r18                                 <== 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,
ffc1b0b4:	8a a9 00 01 	lbz     r21,1(r9)                              <== NOT EXECUTED
ffc1b0b8:	8a c9 00 02 	lbz     r22,2(r9)                              <== NOT EXECUTED
ffc1b0bc:	8b 89 00 03 	lbz     r28,3(r9)                              <== NOT EXECUTED
                                                    direct);          
                                                                      
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
ffc1b0c0:	4b ff f3 89 	bl      ffc1a448 <rtems_rfs_block_map_indirect_shrink.isra.7><== NOT EXECUTED
                                                  singly, direct);    
        if (rc)                                                       
ffc1b0c4:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1b0c8:	40 82 02 00 	bne-    ffc1b2c8 <rtems_rfs_block_map_shrink+0x310><== 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,
ffc1b0cc:	56 94 c0 0e 	rlwinm  r20,r20,24,0,7                         <== NOT EXECUTED
ffc1b0d0:	7f 9c a3 78 	or      r28,r28,r20                            <== NOT EXECUTED
ffc1b0d4:	56 b5 80 1e 	rlwinm  r21,r21,16,0,15                        <== NOT EXECUTED
ffc1b0d8:	7f 9c ab 78 	or      r28,r28,r21                            <== NOT EXECUTED
ffc1b0dc:	56 d6 40 2e 	rlwinm  r22,r22,8,0,23                         <== NOT EXECUTED
ffc1b0e0:	7f 9c b3 78 	or      r28,r28,r22                            <== NOT EXECUTED
ffc1b0e4:	48 00 01 14 	b       ffc1b1f8 <rtems_rfs_block_map_shrink+0x240><== 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)                   
ffc1b0e8:	81 3e 00 38 	lwz     r9,56(r30)                             <== NOT EXECUTED
ffc1b0ec:	7f 80 48 40 	cmplw   cr7,r0,r9                              <== NOT EXECUTED
ffc1b0f0:	40 9c 01 60 	bge-    cr7,ffc1b250 <rtems_rfs_block_map_shrink+0x298><== 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;                
ffc1b0f4:	7e d3 e3 96 	divwu   r22,r19,r28                            <== NOT EXECUTED
        doubly_singly = singly % fs->blocks_per_block;                
                                                                      
        rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
ffc1b0f8:	39 36 00 08 	addi    r9,r22,8                               <== NOT EXECUTED
ffc1b0fc:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           <== NOT EXECUTED
ffc1b100:	7d 3f 4a 14 	add     r9,r31,r9                              <== NOT EXECUTED
ffc1b104:	80 a9 00 04 	lwz     r5,4(r9)                               <== NOT EXECUTED
ffc1b108:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1b10c:	7e e4 bb 78 	mr      r4,r23                                 <== NOT EXECUTED
ffc1b110:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc1b114:	48 00 05 51 	bl      ffc1b664 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
                                              map->blocks[doubly], true);
        if (rc > 0)                                                   
ffc1b118:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1b11c:	41 81 01 ac 	bgt-    ffc1b2c8 <rtems_rfs_block_map_shrink+0x310><== 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;                
ffc1b120:	7f 96 e1 d6 	mullw   r28,r22,r28                            <== 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,     
ffc1b124:	81 3f 00 4c 	lwz     r9,76(r31)                             <== NOT EXECUTED
ffc1b128:	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,
ffc1b12c:	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;                
ffc1b130:	7e 7c 98 50 	subf    r19,r28,r19                            <== 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,     
ffc1b134:	56 60 10 3a 	rlwinm  r0,r19,2,0,29                          <== NOT EXECUTED
ffc1b138:	7d 2b 02 14 	add     r9,r11,r0                              <== NOT EXECUTED
ffc1b13c:	7e ab 00 ae 	lbzx    r21,r11,r0                             <== NOT EXECUTED
ffc1b140:	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,
ffc1b144:	7f 64 db 78 	mr      r4,r27                                 <== 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,     
ffc1b148:	88 09 00 01 	lbz     r0,1(r9)                               <== NOT EXECUTED
ffc1b14c:	56 b5 c0 0e 	rlwinm  r21,r21,24,0,7                         <== NOT EXECUTED
ffc1b150:	7d 55 ab 78 	or      r21,r10,r21                            <== NOT EXECUTED
ffc1b154:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          <== NOT EXECUTED
ffc1b158:	7e b5 03 78 	or      r21,r21,r0                             <== NOT EXECUTED
ffc1b15c:	88 09 00 02 	lbz     r0,2(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,
ffc1b160:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
        rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
                                              map->blocks[doubly], true);
        if (rc > 0)                                                   
          return rc;                                                  
                                                                      
        singly = rtems_rfs_block_get_number (&map->doubly_buffer,     
ffc1b164:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           <== NOT EXECUTED
ffc1b168:	7e b5 03 78 	or      r21,r21,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,
ffc1b16c:	7e a5 ab 78 	mr      r5,r21                                 <== NOT EXECUTED
ffc1b170:	48 00 04 f5 	bl      ffc1b664 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
                                              singly, true);          
        if (rc > 0)                                                   
ffc1b174:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1b178:	41 81 01 50 	bgt-    ffc1b2c8 <rtems_rfs_block_map_shrink+0x310><== NOT EXECUTED
          return rc;                                                  
                                                                      
        block_to_free = rtems_rfs_block_get_number (&map->singly_buffer,
ffc1b17c:	81 3f 00 40 	lwz     r9,64(r31)                             <== NOT EXECUTED
ffc1b180:	56 40 10 3a 	rlwinm  r0,r18,2,0,29                          <== NOT EXECUTED
                                                    direct);          
                                                                      
        if (direct == 0)                                              
ffc1b184:	2f 92 00 00 	cmpwi   cr7,r18,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,
ffc1b188:	81 69 00 24 	lwz     r11,36(r9)                             <== NOT EXECUTED
ffc1b18c:	7d 2b 02 14 	add     r9,r11,r0                              <== NOT EXECUTED
ffc1b190:	7f 8b 00 ae 	lbzx    r28,r11,r0                             <== NOT EXECUTED
ffc1b194:	89 49 00 03 	lbz     r10,3(r9)                              <== NOT EXECUTED
ffc1b198:	88 09 00 01 	lbz     r0,1(r9)                               <== NOT EXECUTED
ffc1b19c:	57 9c c0 0e 	rlwinm  r28,r28,24,0,7                         <== NOT EXECUTED
ffc1b1a0:	7d 5c e3 78 	or      r28,r10,r28                            <== NOT EXECUTED
ffc1b1a4:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          <== NOT EXECUTED
ffc1b1a8:	7f 9c 03 78 	or      r28,r28,r0                             <== NOT EXECUTED
ffc1b1ac:	88 09 00 02 	lbz     r0,2(r9)                               <== NOT EXECUTED
ffc1b1b0:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           <== NOT EXECUTED
ffc1b1b4:	7f 9c 03 78 	or      r28,r28,r0                             <== NOT EXECUTED
                                                    direct);          
                                                                      
        if (direct == 0)                                              
ffc1b1b8:	40 be 00 40 	bne+    cr7,ffc1b1f8 <rtems_rfs_block_map_shrink+0x240><== NOT EXECUTED
        {                                                             
          rc = rtems_rfs_group_bitmap_free (fs, false, singly);       
ffc1b1bc:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1b1c0:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1b1c4:	7e a5 ab 78 	mr      r5,r21                                 <== NOT EXECUTED
ffc1b1c8:	4b ff 5c a1 	bl      ffc10e68 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
          if (rc > 0)                                                 
ffc1b1cc:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1b1d0:	41 81 00 f8 	bgt-    ffc1b2c8 <rtems_rfs_block_map_shrink+0x310><== NOT EXECUTED
            return rc;                                                
                                                                      
          map->last_map_block = singly;                               
ffc1b1d4:	92 bf 00 1c 	stw     r21,28(r31)                            <== NOT EXECUTED
                                                                      
          rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->doubly_buffer,
ffc1b1d8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1b1dc:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1b1e0:	7f 05 c3 78 	mr      r5,r24                                 <== NOT EXECUTED
ffc1b1e4:	7e c6 b3 78 	mr      r6,r22                                 <== NOT EXECUTED
ffc1b1e8:	7e 67 9b 78 	mr      r7,r19                                 <== NOT EXECUTED
ffc1b1ec:	4b ff f2 5d 	bl      ffc1a448 <rtems_rfs_block_map_indirect_shrink.isra.7><== NOT EXECUTED
                                                    doubly, doubly_singly);
          if (rc)                                                     
ffc1b1f0:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1b1f4:	40 82 00 d4 	bne-    ffc1b2c8 <rtems_rfs_block_map_shrink+0x310><== NOT EXECUTED
      {                                                               
        rc = EIO;                                                     
        break;                                                        
      }                                                               
    }                                                                 
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
ffc1b1f8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1b1fc:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1b200:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc1b204:	4b ff 5c 65 	bl      ffc10e68 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
    if (rc > 0)                                                       
ffc1b208:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1b20c:	41 81 00 bc 	bgt-    ffc1b2c8 <rtems_rfs_block_map_shrink+0x310><== NOT EXECUTED
      return rc;                                                      
    map->size.count--;                                                
ffc1b210:	81 3f 00 08 	lwz     r9,8(r31)                              <== NOT EXECUTED
    map->size.offset = 0;                                             
    map->last_data_block = block_to_free;                             
    map->dirty = true;                                                
    blocks--;                                                         
ffc1b214:	3b bd ff ff 	addi    r29,r29,-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;                                             
    map->last_data_block = block_to_free;                             
ffc1b218:	93 9f 00 20 	stw     r28,32(r31)                            <== NOT EXECUTED
      }                                                               
    }                                                                 
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
    if (rc > 0)                                                       
      return rc;                                                      
    map->size.count--;                                                
ffc1b21c:	38 09 ff ff 	addi    r0,r9,-1                               <== NOT EXECUTED
ffc1b220:	90 1f 00 08 	stw     r0,8(r31)                              <== NOT EXECUTED
    map->size.offset = 0;                                             
ffc1b224:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1b228:	90 1f 00 0c 	stw     r0,12(r31)                             <== NOT EXECUTED
    map->last_data_block = block_to_free;                             
    map->dirty = true;                                                
ffc1b22c:	9b 5f 00 00 	stb     r26,0(r31)                             <== NOT EXECUTED
ffc1b230:	48 00 00 18 	b       ffc1b248 <rtems_rfs_block_map_shrink+0x290><== 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,
ffc1b234:	3a ff 00 44 	addi    r23,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,
ffc1b238:	3b 7f 00 38 	addi    r27,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);       
}                                                                     
ffc1b23c:	3b 1f 00 4c 	addi    r24,r31,76                             <== NOT EXECUTED
ffc1b240:	3b 3f 00 40 	addi    r25,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;                                                
ffc1b244:	3b 40 00 01 	li      r26,1                                  <== NOT EXECUTED
    return 0;                                                         
                                                                      
  if (blocks > map->size.count)                                       
    blocks = map->size.count;                                         
                                                                      
  while (blocks)                                                      
ffc1b248:	2f 9d 00 00 	cmpwi   cr7,r29,0                              <== NOT EXECUTED
ffc1b24c:	40 9e fd d4 	bne+    cr7,ffc1b020 <rtems_rfs_block_map_shrink+0x68><== NOT EXECUTED
    map->last_data_block = block_to_free;                             
    map->dirty = true;                                                
    blocks--;                                                         
  }                                                                   
                                                                      
  if (map->size.count == 0)                                           
ffc1b250:	81 3f 00 08 	lwz     r9,8(r31)                              <== NOT EXECUTED
ffc1b254:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc1b258:	40 9e 00 0c 	bne-    cr7,ffc1b264 <rtems_rfs_block_map_shrink+0x2ac><== NOT EXECUTED
  {                                                                   
    map->last_map_block = 0;                                          
ffc1b25c:	91 3f 00 1c 	stw     r9,28(r31)                             <== NOT EXECUTED
    map->last_data_block = 0;                                         
ffc1b260:	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))          
ffc1b264:	80 1f 00 10 	lwz     r0,16(r31)                             <== NOT EXECUTED
ffc1b268:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1b26c:	41 9e 00 0c 	beq-    cr7,ffc1b278 <rtems_rfs_block_map_shrink+0x2c0><== NOT EXECUTED
ffc1b270:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc1b274:	41 9e 00 2c 	beq-    cr7,ffc1b2a0 <rtems_rfs_block_map_shrink+0x2e8><== NOT EXECUTED
ffc1b278:	7f 80 48 40 	cmplw   cr7,r0,r9                              <== NOT EXECUTED
ffc1b27c:	40 9c 00 24 	bge-    cr7,ffc1b2a0 <rtems_rfs_block_map_shrink+0x2e8><== NOT EXECUTED
ffc1b280:	39 69 ff ff 	addi    r11,r9,-1                              <== NOT EXECUTED
ffc1b284:	7f 80 58 00 	cmpw    cr7,r0,r11                             <== NOT EXECUTED
    rtems_rfs_block_size_get_bpos (&map->size, &map->bpos);           
                                                                      
  return 0;                                                           
ffc1b288:	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))          
ffc1b28c:	40 be 00 3c 	bne+    cr7,ffc1b2c8 <rtems_rfs_block_map_shrink+0x310><== NOT EXECUTED
ffc1b290:	81 7f 00 14 	lwz     r11,20(r31)                            <== NOT EXECUTED
ffc1b294:	80 1f 00 0c 	lwz     r0,12(r31)                             <== NOT EXECUTED
ffc1b298:	7f 8b 00 40 	cmplw   cr7,r11,r0                             <== NOT EXECUTED
ffc1b29c:	40 9d 00 2c 	ble-    cr7,ffc1b2c8 <rtems_rfs_block_map_shrink+0x310><== NOT EXECUTED
    rtems_rfs_block_size_get_bpos (&map->size, &map->bpos);           
ffc1b2a0:	80 1f 00 0c 	lwz     r0,12(r31)                             <== NOT EXECUTED
ffc1b2a4:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
ffc1b2a8:	91 3f 00 10 	stw     r9,16(r31)                             <== NOT EXECUTED
                                                                      
  return 0;                                                           
ffc1b2ac:	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);           
ffc1b2b0:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1b2b4:	90 1f 00 14 	stw     r0,20(r31)                             <== NOT EXECUTED
ffc1b2b8:	91 7f 00 18 	stw     r11,24(r31)                            <== NOT EXECUTED
ffc1b2bc:	41 9e 00 0c 	beq-    cr7,ffc1b2c8 <rtems_rfs_block_map_shrink+0x310><== NOT EXECUTED
ffc1b2c0:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc1b2c4:	91 3f 00 10 	stw     r9,16(r31)                             <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
ffc1b2c8:	39 61 00 40 	addi    r11,r1,64                              
ffc1b2cc:	4b fe 77 f8 	b       ffc02ac4 <_restgpr_18_x>               
                                                                      

ffc20694 <rtems_rfs_buffer_bdbuf_release>: int rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer, bool modified) {
ffc20694:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc20698:	7c 08 02 a6 	mflr    r0                                     
ffc2069c:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc206a0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc206a4:	7c 9e 23 78 	mr      r30,r4                                 
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
ffc206a8:	38 60 00 00 	li      r3,0                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer,             
                                bool              modified)           
{                                                                     
ffc206ac:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
ffc206b0:	38 80 00 40 	li      r4,64                                  
ffc206b4:	4b ff 2a 05 	bl      ffc130b8 <rtems_rfs_trace>             
ffc206b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc206bc:	41 9e 00 38 	beq-    cr7,ffc206f4 <rtems_rfs_buffer_bdbuf_release+0x60><== ALWAYS TAKEN
    printf ("rtems-rfs: bdbuf-release: block=%" PRIuPTR " bdbuf=%" PRIu32 " %s\n",
ffc206c0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== NOT EXECUTED
ffc206c4:	80 9f 00 3c 	lwz     r4,60(r31)                             <== NOT EXECUTED
ffc206c8:	80 bf 00 20 	lwz     r5,32(r31)                             <== NOT EXECUTED
ffc206cc:	41 9e 00 10 	beq-    cr7,ffc206dc <rtems_rfs_buffer_bdbuf_release+0x48><== NOT EXECUTED
ffc206d0:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc206d4:	38 c6 40 bc 	addi    r6,r6,16572                            <== NOT EXECUTED
ffc206d8:	48 00 00 0c 	b       ffc206e4 <rtems_rfs_buffer_bdbuf_release+0x50><== NOT EXECUTED
ffc206dc:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc206e0:	38 c6 14 47 	addi    r6,r6,5191                             <== NOT EXECUTED
ffc206e4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc206e8:	38 63 40 c7 	addi    r3,r3,16583                            <== NOT EXECUTED
ffc206ec:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc206f0:	48 00 13 9d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            ((intptr_t) buffer->user),                                
            buffer->block, modified ? "(modified)" : "");             
                                                                      
  if (modified)                                                       
ffc206f4:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    sc = rtems_bdbuf_release_modified (buffer);                       
ffc206f8:	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)                                                       
ffc206fc:	41 9e 00 0c 	beq-    cr7,ffc20708 <rtems_rfs_buffer_bdbuf_release+0x74>
    sc = rtems_bdbuf_release_modified (buffer);                       
ffc20700:	4b ff 4f 81 	bl      ffc15680 <rtems_bdbuf_release_modified>
ffc20704:	48 00 00 08 	b       ffc2070c <rtems_rfs_buffer_bdbuf_release+0x78>
  else                                                                
    sc = rtems_bdbuf_release (buffer);                                
ffc20708:	4b ff 4e 95 	bl      ffc1559c <rtems_bdbuf_release>         
                                                                      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc2070c:	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;                                                         
ffc20710:	38 00 00 05 	li      r0,5                                   
  if (modified)                                                       
    sc = rtems_bdbuf_release_modified (buffer);                       
  else                                                                
    sc = rtems_bdbuf_release (buffer);                                
                                                                      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc20714:	40 be 00 08 	bne+    cr7,ffc2071c <rtems_rfs_buffer_bdbuf_release+0x88><== NEVER TAKEN
int                                                                   
rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer,             
                                bool              modified)           
{                                                                     
  rtems_status_code sc;                                               
  int               rc = 0;                                           
ffc20718:	38 00 00 00 	li      r0,0                                   
#endif                                                                
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc2071c:	39 61 00 10 	addi    r11,r1,16                              
ffc20720:	7c 03 03 78 	mr      r3,r0                                  
ffc20724:	4b fe 23 d0 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

ffc2063c <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) {
ffc2063c:	7c 08 02 a6 	mflr    r0                                     
ffc20640:	94 21 ff f8 	stwu    r1,-8(r1)                              
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (read)                                                           
ffc20644:	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)      
{                                                                     
ffc20648:	90 01 00 0c 	stw     r0,12(r1)                              
ffc2064c:	7c 80 23 78 	mr      r0,r4                                  
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (read)                                                           
    sc = rtems_bdbuf_read (rtems_rfs_fs_device (fs), block, buffer);  
ffc20650:	7c 05 03 78 	mr      r5,r0                                  
ffc20654:	81 23 00 0c 	lwz     r9,12(r3)                              
ffc20658:	80 69 00 00 	lwz     r3,0(r9)                               
ffc2065c:	80 89 00 04 	lwz     r4,4(r9)                               
                                rtems_rfs_buffer**       buffer)      
{                                                                     
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (read)                                                           
ffc20660:	41 9e 00 0c 	beq-    cr7,ffc2066c <rtems_rfs_buffer_bdbuf_request+0x30>
    sc = rtems_bdbuf_read (rtems_rfs_fs_device (fs), block, buffer);  
ffc20664:	4b ff 4c bd 	bl      ffc15320 <rtems_bdbuf_read>            
ffc20668:	48 00 00 08 	b       ffc20670 <rtems_rfs_buffer_bdbuf_request+0x34>
  else                                                                
    sc = rtems_bdbuf_get (rtems_rfs_fs_device (fs), block, buffer);   
ffc2066c:	4b ff 4b d9 	bl      ffc15244 <rtems_bdbuf_get>             
                                                                      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc20670:	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;                                                         
ffc20674:	38 00 00 05 	li      r0,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)                                         
ffc20678:	40 be 00 08 	bne+    cr7,ffc20680 <rtems_rfs_buffer_bdbuf_request+0x44><== NEVER TAKEN
                                rtems_rfs_buffer_block   block,       
                                bool                     read,        
                                rtems_rfs_buffer**       buffer)      
{                                                                     
  rtems_status_code sc;                                               
  int               rc = 0;                                           
ffc2067c:	38 00 00 00 	li      r0,0                                   
#endif                                                                
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc20680:	7c 03 03 78 	mr      r3,r0                                  
ffc20684:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc20688:	38 21 00 08 	addi    r1,r1,8                                
ffc2068c:	7c 08 03 a6 	mtlr    r0                                     
ffc20690:	4e 80 00 20 	blr                                            
                                                                      

ffc1bc78 <rtems_rfs_buffer_close>: return 0; } int rtems_rfs_buffer_close (rtems_rfs_file_system* fs) {
ffc1bc78:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1bc7c:	7c 08 02 a6 	mflr    r0                                     
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))                 
ffc1bc80:	38 80 00 10 	li      r4,16                                  
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_close (rtems_rfs_file_system* fs)                    
{                                                                     
ffc1bc84:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc1bc88:	7c 7e 1b 78 	mr      r30,r3                                 
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))                 
ffc1bc8c:	38 60 00 00 	li      r3,0                                   
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_close (rtems_rfs_file_system* fs)                    
{                                                                     
ffc1bc90:	90 01 00 14 	stw     r0,20(r1)                              
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))                 
ffc1bc94:	4b ff 74 25 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1bc98:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1bc9c:	41 be 00 10 	beq+    cr7,ffc1bcac <rtems_rfs_buffer_close+0x34><== ALWAYS TAKEN
    printf ("rtems-rfs: buffer-close: closing\n");                    
ffc1bca0:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1bca4:	38 63 2f f1 	addi    r3,r3,12273                            <== NOT EXECUTED
ffc1bca8:	48 00 5f 99 	bl      ffc21c40 <puts>                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Change the block size to the media device size. It will release and sync
   * all buffers.                                                     
   */                                                                 
  rc = rtems_rfs_buffer_setblksize (fs, rtems_rfs_fs_media_block_size (fs));
ffc1bcac:	81 3e 00 0c 	lwz     r9,12(r30)                             
ffc1bcb0:	7f c3 f3 78 	mr      r3,r30                                 
ffc1bcb4:	80 89 00 24 	lwz     r4,36(r9)                              
ffc1bcb8:	4b ff fe c5 	bl      ffc1bb7c <rtems_rfs_buffer_setblksize> 
                                                                      
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))     
ffc1bcbc:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1bcc0:	40 81 00 38 	ble-    ffc1bcf8 <rtems_rfs_buffer_close+0x80> <== ALWAYS TAKEN
ffc1bcc4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1bcc8:	38 80 00 10 	li      r4,16                                  <== NOT EXECUTED
ffc1bccc:	4b ff 73 ed 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1bcd0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1bcd4:	41 be 00 24 	beq+    cr7,ffc1bcf8 <rtems_rfs_buffer_close+0x80><== NOT EXECUTED
    printf ("rtems-rfs: buffer-close: set media block size failed: %d: %s\n",
ffc1bcd8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1bcdc:	48 00 6b 1d 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1bce0:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1bce4:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1bce8:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1bcec:	38 63 30 12 	addi    r3,r3,12306                            <== NOT EXECUTED
ffc1bcf0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1bcf4:	48 00 5d 99 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
#if RTEMS_RFS_USE_LIBBLOCK                                            
  rtems_disk_release (fs->disk);                                      
ffc1bcf8:	80 7e 00 0c 	lwz     r3,12(r30)                             
ffc1bcfc:	4b fe ab f5 	bl      ffc068f0 <rtems_disk_release>          
              rc, strerror (rc));                                     
  }                                                                   
#endif                                                                
                                                                      
  return rc;                                                          
}                                                                     
ffc1bd00:	39 61 00 10 	addi    r11,r1,16                              
ffc1bd04:	7f e3 fb 78 	mr      r3,r31                                 
ffc1bd08:	4b fe 6d ec 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

ffc1b484 <rtems_rfs_buffer_handle_release>: } int rtems_rfs_buffer_handle_release (rtems_rfs_file_system* fs, rtems_rfs_buffer_handle* handle) {
ffc1b484:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1b488:	7c 08 02 a6 	mflr    r0                                     
ffc1b48c:	90 01 00 1c 	stw     r0,28(r1)                              
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_buffer_handle_has_block (handle))                     
ffc1b490:	80 04 00 08 	lwz     r0,8(r4)                               
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_handle_release (rtems_rfs_file_system*   fs,         
                                 rtems_rfs_buffer_handle* handle)     
{                                                                     
ffc1b494:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc1b498:	7c 7f 1b 78 	mr      r31,r3                                 
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_buffer_handle_has_block (handle))                     
ffc1b49c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_handle_release (rtems_rfs_file_system*   fs,         
                                 rtems_rfs_buffer_handle* handle)     
{                                                                     
ffc1b4a0:	7c 9e 23 78 	mr      r30,r4                                 
  int rc = 0;                                                         
ffc1b4a4:	3b a0 00 00 	li      r29,0                                  
                                                                      
  if (rtems_rfs_buffer_handle_has_block (handle))                     
ffc1b4a8:	41 9e 01 b0 	beq-    cr7,ffc1b658 <rtems_rfs_buffer_handle_release+0x1d4>
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_RELEASE))      
ffc1b4ac:	38 60 00 00 	li      r3,0                                   
ffc1b4b0:	38 80 02 00 	li      r4,512                                 
ffc1b4b4:	4b ff 7c 05 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1b4b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1b4bc:	41 9e 00 5c 	beq-    cr7,ffc1b518 <rtems_rfs_buffer_handle_release+0x94><== ALWAYS TAKEN
      printf ("rtems-rfs: buffer-release: block=%" PRIu32 " %s refs=%d %s\n",
ffc1b4c0:	88 1e 00 00 	lbz     r0,0(r30)                              <== NOT EXECUTED
ffc1b4c4:	80 9e 00 04 	lwz     r4,4(r30)                              <== NOT EXECUTED
ffc1b4c8:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1b4cc:	41 9e 00 10 	beq-    cr7,ffc1b4dc <rtems_rfs_buffer_handle_release+0x58><== NOT EXECUTED
ffc1b4d0:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc1b4d4:	38 a5 2c 48 	addi    r5,r5,11336                            <== NOT EXECUTED
ffc1b4d8:	48 00 00 0c 	b       ffc1b4e4 <rtems_rfs_buffer_handle_release+0x60><== NOT EXECUTED
ffc1b4dc:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc1b4e0:	38 a5 14 47 	addi    r5,r5,5191                             <== 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" : "");
ffc1b4e4:	81 3e 00 08 	lwz     r9,8(r30)                              <== NOT EXECUTED
ffc1b4e8:	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",
ffc1b4ec:	2f 86 00 00 	cmpwi   cr7,r6,0                               <== NOT EXECUTED
ffc1b4f0:	40 9e 00 10 	bne-    cr7,ffc1b500 <rtems_rfs_buffer_handle_release+0x7c><== NOT EXECUTED
ffc1b4f4:	3c e0 ff c3 	lis     r7,-61                                 <== NOT EXECUTED
ffc1b4f8:	38 e7 2c 50 	addi    r7,r7,11344                            <== NOT EXECUTED
ffc1b4fc:	48 00 00 0c 	b       ffc1b508 <rtems_rfs_buffer_handle_release+0x84><== NOT EXECUTED
ffc1b500:	3c e0 ff c3 	lis     r7,-61                                 <== NOT EXECUTED
ffc1b504:	38 e7 14 47 	addi    r7,r7,5191                             <== NOT EXECUTED
ffc1b508:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1b50c:	38 63 2c 5e 	addi    r3,r3,11358                            <== NOT EXECUTED
ffc1b510:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1b514:	48 00 65 79 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
              rtems_rfs_buffer_bnum (handle),                         
              rtems_rfs_buffer_dirty (handle) ? "(dirty)" : "",       
              rtems_rfs_buffer_refs (handle),                         
              rtems_rfs_buffer_refs (handle) == 0 ? "BAD REF COUNT" : "");
                                                                      
    if (rtems_rfs_buffer_refs (handle) > 0)                           
ffc1b518:	80 7e 00 08 	lwz     r3,8(r30)                              
ffc1b51c:	81 23 00 38 	lwz     r9,56(r3)                              
ffc1b520:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1b524:	40 9d 00 0c 	ble-    cr7,ffc1b530 <rtems_rfs_buffer_handle_release+0xac><== NEVER TAKEN
      rtems_rfs_buffer_refs_down (handle);                            
ffc1b528:	39 29 ff ff 	addi    r9,r9,-1                               
ffc1b52c:	91 23 00 38 	stw     r9,56(r3)                              
                                                                      
    if (rtems_rfs_buffer_refs (handle) == 0)                          
ffc1b530:	80 03 00 38 	lwz     r0,56(r3)                              
                                                                      
int                                                                   
rtems_rfs_buffer_handle_release (rtems_rfs_file_system*   fs,         
                                 rtems_rfs_buffer_handle* handle)     
{                                                                     
  int rc = 0;                                                         
ffc1b534:	3b a0 00 00 	li      r29,0                                  
              rtems_rfs_buffer_refs (handle) == 0 ? "BAD REF COUNT" : "");
                                                                      
    if (rtems_rfs_buffer_refs (handle) > 0)                           
      rtems_rfs_buffer_refs_down (handle);                            
                                                                      
    if (rtems_rfs_buffer_refs (handle) == 0)                          
ffc1b538:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1b53c:	40 be 01 14 	bne+    cr7,ffc1b650 <rtems_rfs_buffer_handle_release+0x1cc>
ffc1b540:	4b ff 14 ad 	bl      ffc0c9ec <_Chain_Extract>              
    {                                                                 
      rtems_chain_extract (rtems_rfs_buffer_link (handle));           
      fs->buffers_count--;                                            
ffc1b544:	81 3f 00 4c 	lwz     r9,76(r31)                             
ffc1b548:	38 09 ff ff 	addi    r0,r9,-1                               
ffc1b54c:	90 1f 00 4c 	stw     r0,76(r31)                             
                                                                      
      if (rtems_rfs_fs_no_local_cache (fs))                           
ffc1b550:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc1b554:	70 00 00 02 	andi.   r0,r0,2                                
ffc1b558:	41 a2 00 1c 	beq+    ffc1b574 <rtems_rfs_buffer_handle_release+0xf0>
      {                                                               
        handle->buffer->user = (void*) 0;                             
ffc1b55c:	80 7e 00 08 	lwz     r3,8(r30)                              
        rc = rtems_rfs_buffer_io_release (handle->buffer,             
ffc1b560:	88 9e 00 00 	lbz     r4,0(r30)                              
      rtems_chain_extract (rtems_rfs_buffer_link (handle));           
      fs->buffers_count--;                                            
                                                                      
      if (rtems_rfs_fs_no_local_cache (fs))                           
      {                                                               
        handle->buffer->user = (void*) 0;                             
ffc1b564:	93 a3 00 3c 	stw     r29,60(r3)                             
        rc = rtems_rfs_buffer_io_release (handle->buffer,             
ffc1b568:	48 00 51 2d 	bl      ffc20694 <rtems_rfs_buffer_bdbuf_release>
ffc1b56c:	7c 7d 1b 78 	mr      r29,r3                                 
ffc1b570:	48 00 00 e0 	b       ffc1b650 <rtems_rfs_buffer_handle_release+0x1cc>
         * 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 +                                      
ffc1b574:	81 3f 00 5c 	lwz     r9,92(r31)                             
                                                                      
int                                                                   
rtems_rfs_buffer_handle_release (rtems_rfs_file_system*   fs,         
                                 rtems_rfs_buffer_handle* handle)     
{                                                                     
  int rc = 0;                                                         
ffc1b578:	7c 1d 03 78 	mr      r29,r0                                 
         * 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 +                                      
ffc1b57c:	81 7f 00 6c 	lwz     r11,108(r31)                           
ffc1b580:	7d 6b 4a 14 	add     r11,r11,r9                             
ffc1b584:	81 3f 00 3c 	lwz     r9,60(r31)                             
ffc1b588:	7f 8b 48 40 	cmplw   cr7,r11,r9                             
ffc1b58c:	41 bc 00 88 	blt+    cr7,ffc1b614 <rtems_rfs_buffer_handle_release+0x190>
             fs->release_modified_count) >= fs->max_held_buffers)     
        {                                                             
          rtems_rfs_buffer* buffer;                                   
          bool              modified;                                 
                                                                      
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_RELEASE))
ffc1b590:	38 60 00 00 	li      r3,0                                   
ffc1b594:	38 80 02 00 	li      r4,512                                 
ffc1b598:	4b ff 7b 21 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1b59c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1b5a0:	41 be 00 20 	beq+    cr7,ffc1b5c0 <rtems_rfs_buffer_handle_release+0x13c><== ALWAYS TAKEN
            printf ("rtems-rfs: buffer-release: local cache overflow:"
ffc1b5a4:	80 9f 00 6c 	lwz     r4,108(r31)                            <== NOT EXECUTED
ffc1b5a8:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1b5ac:	80 1f 00 5c 	lwz     r0,92(r31)                             <== NOT EXECUTED
ffc1b5b0:	38 63 2c 92 	addi    r3,r3,11410                            <== NOT EXECUTED
ffc1b5b4:	7c 84 02 14 	add     r4,r4,r0                               <== NOT EXECUTED
ffc1b5b8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1b5bc:	48 00 64 d1 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                    " %" PRIu32 "\n", fs->release_count + fs->release_modified_count);
                                                                      
          if (fs->release_count > fs->release_modified_count)         
ffc1b5c0:	81 3f 00 5c 	lwz     r9,92(r31)                             
ffc1b5c4:	80 1f 00 6c 	lwz     r0,108(r31)                            
ffc1b5c8:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc1b5cc:	40 9d 00 20 	ble-    cr7,ffc1b5ec <rtems_rfs_buffer_handle_release+0x168><== ALWAYS TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc1b5d0:	38 7f 00 50 	addi    r3,r31,80                              <== NOT EXECUTED
ffc1b5d4:	4b ff 14 41 	bl      ffc0ca14 <_Chain_Get>                  <== NOT EXECUTED
          {                                                           
            buffer = (rtems_rfs_buffer*) rtems_chain_get (&fs->release);
            fs->release_count--;                                      
ffc1b5d8:	81 3f 00 5c 	lwz     r9,92(r31)                             <== NOT EXECUTED
            modified = false;                                         
ffc1b5dc:	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--;                                      
ffc1b5e0:	38 09 ff ff 	addi    r0,r9,-1                               <== NOT EXECUTED
ffc1b5e4:	90 1f 00 5c 	stw     r0,92(r31)                             <== NOT EXECUTED
ffc1b5e8:	48 00 00 1c 	b       ffc1b604 <rtems_rfs_buffer_handle_release+0x180><== NOT EXECUTED
ffc1b5ec:	38 7f 00 60 	addi    r3,r31,96                              
ffc1b5f0:	4b ff 14 25 	bl      ffc0ca14 <_Chain_Get>                  
          }                                                           
          else                                                        
          {                                                           
            buffer =                                                  
              (rtems_rfs_buffer*) rtems_chain_get (&fs->release_modified);
            fs->release_modified_count--;                             
ffc1b5f4:	81 3f 00 6c 	lwz     r9,108(r31)                            
            modified = true;                                          
ffc1b5f8:	38 80 00 01 	li      r4,1                                   
          }                                                           
          else                                                        
          {                                                           
            buffer =                                                  
              (rtems_rfs_buffer*) rtems_chain_get (&fs->release_modified);
            fs->release_modified_count--;                             
ffc1b5fc:	38 09 ff ff 	addi    r0,r9,-1                               
ffc1b600:	90 1f 00 6c 	stw     r0,108(r31)                            
            modified = true;                                          
          }                                                           
          buffer->user = (void*) 0;                                   
ffc1b604:	38 00 00 00 	li      r0,0                                   
ffc1b608:	90 03 00 3c 	stw     r0,60(r3)                              
          rc = rtems_rfs_buffer_io_release (buffer, modified);        
ffc1b60c:	48 00 50 89 	bl      ffc20694 <rtems_rfs_buffer_bdbuf_release>
ffc1b610:	7c 7d 1b 78 	mr      r29,r3                                 
        }                                                             
                                                                      
        if (rtems_rfs_buffer_dirty (handle))                          
ffc1b614:	88 1e 00 00 	lbz     r0,0(r30)                              
ffc1b618:	80 9e 00 08 	lwz     r4,8(r30)                              
ffc1b61c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1b620:	41 9e 00 1c 	beq-    cr7,ffc1b63c <rtems_rfs_buffer_handle_release+0x1b8>
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
ffc1b624:	38 7f 00 60 	addi    r3,r31,96                              
ffc1b628:	4b ff 13 95 	bl      ffc0c9bc <_Chain_Append>               
        {                                                             
          rtems_chain_append (&fs->release_modified,                  
                              rtems_rfs_buffer_link (handle));        
          fs->release_modified_count++;                               
ffc1b62c:	81 3f 00 6c 	lwz     r9,108(r31)                            
ffc1b630:	38 09 00 01 	addi    r0,r9,1                                
ffc1b634:	90 1f 00 6c 	stw     r0,108(r31)                            
ffc1b638:	48 00 00 18 	b       ffc1b650 <rtems_rfs_buffer_handle_release+0x1cc>
ffc1b63c:	38 7f 00 50 	addi    r3,r31,80                              
ffc1b640:	4b ff 13 7d 	bl      ffc0c9bc <_Chain_Append>               
        }                                                             
        else                                                          
        {                                                             
          rtems_chain_append (&fs->release, rtems_rfs_buffer_link (handle));
          fs->release_count++;                                        
ffc1b644:	81 3f 00 5c 	lwz     r9,92(r31)                             
ffc1b648:	38 09 00 01 	addi    r0,r9,1                                
ffc1b64c:	90 1f 00 5c 	stw     r0,92(r31)                             
        }                                                             
      }                                                               
    }                                                                 
    handle->buffer = NULL;                                            
ffc1b650:	38 00 00 00 	li      r0,0                                   
ffc1b654:	90 1e 00 08 	stw     r0,8(r30)                              
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc1b658:	39 61 00 18 	addi    r11,r1,24                              
ffc1b65c:	7f a3 eb 78 	mr      r3,r29                                 
ffc1b660:	4b fe 74 90 	b       ffc02af0 <_restgpr_29_x>               
                                                                      

ffc1b664 <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) {
ffc1b664:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1b668:	7c 08 02 a6 	mflr    r0                                     
ffc1b66c:	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))                     
ffc1b670:	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)       
{                                                                     
ffc1b674:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc1b678:	7c 7d 1b 78 	mr      r29,r3                                 
                                                                      
  /*                                                                  
   * 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))                     
ffc1b67c:	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)       
{                                                                     
ffc1b680:	7c 9e 23 78 	mr      r30,r4                                 
ffc1b684:	7c bc 2b 78 	mr      r28,r5                                 
ffc1b688:	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))                     
ffc1b68c:	41 9e 00 68 	beq-    cr7,ffc1b6f4 <rtems_rfs_buffer_handle_request+0x90>
  {                                                                   
    /*                                                                
     * Treat block 0 as special to handle the loading of the super block.
     */                                                               
    if (block && (rtems_rfs_buffer_bnum (handle) == block))           
ffc1b690:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc1b694:	41 9e 00 14 	beq-    cr7,ffc1b6a8 <rtems_rfs_buffer_handle_request+0x44><== NEVER TAKEN
ffc1b698:	80 04 00 04 	lwz     r0,4(r4)                               
      return 0;                                                       
ffc1b69c:	3b e0 00 00 	li      r31,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))           
ffc1b6a0:	7f 80 28 00 	cmpw    cr7,r0,r5                              
ffc1b6a4:	41 9e 02 5c 	beq-    cr7,ffc1b900 <rtems_rfs_buffer_handle_request+0x29c>
      return 0;                                                       
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))      
ffc1b6a8:	38 60 00 00 	li      r3,0                                   
ffc1b6ac:	38 80 01 00 	li      r4,256                                 
ffc1b6b0:	4b ff 7a 09 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1b6b4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1b6b8:	41 be 00 18 	beq+    cr7,ffc1b6d0 <rtems_rfs_buffer_handle_request+0x6c><== ALWAYS TAKEN
      printf ("rtems-rfs: buffer-request: handle has buffer: %" PRIu32 "\n",
ffc1b6bc:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1b6c0:	80 9e 00 04 	lwz     r4,4(r30)                              <== NOT EXECUTED
ffc1b6c4:	38 63 2c cc 	addi    r3,r3,11468                            <== NOT EXECUTED
ffc1b6c8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1b6cc:	48 00 63 c1 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
              rtems_rfs_buffer_bnum (handle));                        
                                                                      
    rc = rtems_rfs_buffer_handle_release (fs, handle);                
ffc1b6d0:	7f a3 eb 78 	mr      r3,r29                                 
ffc1b6d4:	7f c4 f3 78 	mr      r4,r30                                 
ffc1b6d8:	4b ff fd ad 	bl      ffc1b484 <rtems_rfs_buffer_handle_release>
    if (rc > 0)                                                       
ffc1b6dc:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1b6e0:	41 a1 02 20 	bgt+    ffc1b900 <rtems_rfs_buffer_handle_request+0x29c><== NEVER TAKEN
      return rc;                                                      
    handle->dirty = false;                                            
ffc1b6e4:	38 00 00 00 	li      r0,0                                   
ffc1b6e8:	98 1e 00 00 	stb     r0,0(r30)                              
    handle->bnum = 0;                                                 
ffc1b6ec:	38 00 00 00 	li      r0,0                                   
ffc1b6f0:	90 1e 00 04 	stw     r0,4(r30)                              
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
ffc1b6f4:	38 60 00 00 	li      r3,0                                   
ffc1b6f8:	38 80 01 00 	li      r4,256                                 
ffc1b6fc:	4b ff 79 bd 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1b700:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1b704:	41 be 00 18 	beq+    cr7,ffc1b71c <rtems_rfs_buffer_handle_request+0xb8><== ALWAYS TAKEN
    printf ("rtems-rfs: buffer-request: block=%" PRIu32 "\n", block); 
ffc1b708:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1b70c:	38 63 2c ff 	addi    r3,r3,11519                            <== NOT EXECUTED
ffc1b710:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc1b714:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1b718:	48 00 63 75 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
   * currently attached to a handle. If it is share the access. A buffer could
   * be shared where different parts of the block have separate functions. An
   * example is an inode block and the file system needs to handle 2 inodes in
   * the same block at the same time.                                 
   */                                                                 
  if (fs->buffers_count)                                              
ffc1b71c:	80 1d 00 4c 	lwz     r0,76(r29)                             
ffc1b720:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1b724:	41 be 00 50 	beq+    cr7,ffc1b774 <rtems_rfs_buffer_handle_request+0x110>
  {                                                                   
    /*                                                                
     * Check the active buffer list for shared buffers.               
     */                                                               
    handle->buffer = rtems_rfs_scan_chain (&fs->buffers,              
ffc1b728:	38 7d 00 40 	addi    r3,r29,64                              
ffc1b72c:	38 9d 00 4c 	addi    r4,r29,76                              
ffc1b730:	7f 85 e3 78 	mr      r5,r28                                 
ffc1b734:	4b ff fc 45 	bl      ffc1b378 <rtems_rfs_scan_chain>        
                                           &fs->buffers_count,        
                                           block);                    
    if (rtems_rfs_buffer_handle_has_block (handle) &&                 
ffc1b738:	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,              
ffc1b73c:	90 7e 00 08 	stw     r3,8(r30)                              
                                           &fs->buffers_count,        
                                           block);                    
    if (rtems_rfs_buffer_handle_has_block (handle) &&                 
ffc1b740:	41 9e 00 34 	beq-    cr7,ffc1b774 <rtems_rfs_buffer_handle_request+0x110>
        rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))      
ffc1b744:	38 60 00 00 	li      r3,0                                   
ffc1b748:	38 80 01 00 	li      r4,256                                 
ffc1b74c:	4b ff 79 6d 	bl      ffc130b8 <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) &&                 
ffc1b750:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1b754:	41 be 00 20 	beq+    cr7,ffc1b774 <rtems_rfs_buffer_handle_request+0x110><== 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);                    
ffc1b758:	81 3e 00 08 	lwz     r9,8(r30)                              <== 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", 
ffc1b75c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1b760:	38 63 2d 25 	addi    r3,r3,11557                            <== NOT EXECUTED
ffc1b764:	80 89 00 38 	lwz     r4,56(r9)                              <== NOT EXECUTED
ffc1b768:	38 84 00 01 	addi    r4,r4,1                                <== NOT EXECUTED
ffc1b76c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1b770:	48 00 63 1d 	bl      ffc21a8c <printf>                      <== 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) &&                            
ffc1b774:	80 1d 00 00 	lwz     r0,0(r29)                              
ffc1b778:	70 09 00 02 	andi.   r9,r0,2                                
ffc1b77c:	40 82 00 6c 	bne-    ffc1b7e8 <rtems_rfs_buffer_handle_request+0x184>
ffc1b780:	80 1e 00 08 	lwz     r0,8(r30)                              
ffc1b784:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1b788:	40 be 00 60 	bne+    cr7,ffc1b7e8 <rtems_rfs_buffer_handle_request+0x184>
      !rtems_rfs_buffer_handle_has_block (handle))                    
  {                                                                   
    /*                                                                
     * Check the local cache of released buffers.                     
     */                                                               
    if (fs->release_count)                                            
ffc1b78c:	80 1d 00 5c 	lwz     r0,92(r29)                             
ffc1b790:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1b794:	41 be 00 18 	beq+    cr7,ffc1b7ac <rtems_rfs_buffer_handle_request+0x148>
      handle->buffer = rtems_rfs_scan_chain (&fs->release,            
ffc1b798:	38 7d 00 50 	addi    r3,r29,80                              
ffc1b79c:	38 9d 00 5c 	addi    r4,r29,92                              
ffc1b7a0:	7f 85 e3 78 	mr      r5,r28                                 
ffc1b7a4:	4b ff fb d5 	bl      ffc1b378 <rtems_rfs_scan_chain>        
ffc1b7a8:	90 7e 00 08 	stw     r3,8(r30)                              
                                             &fs->release_count,      
                                             block);                  
                                                                      
    if (!rtems_rfs_buffer_handle_has_block (handle) &&                
ffc1b7ac:	80 1e 00 08 	lwz     r0,8(r30)                              
ffc1b7b0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1b7b4:	40 be 00 34 	bne+    cr7,ffc1b7e8 <rtems_rfs_buffer_handle_request+0x184>
ffc1b7b8:	80 1d 00 6c 	lwz     r0,108(r29)                            
ffc1b7bc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1b7c0:	41 be 00 28 	beq+    cr7,ffc1b7e8 <rtems_rfs_buffer_handle_request+0x184>
        fs->release_modified_count)                                   
    {                                                                 
      handle->buffer = rtems_rfs_scan_chain (&fs->release_modified,   
ffc1b7c4:	38 7d 00 60 	addi    r3,r29,96                              
ffc1b7c8:	38 9d 00 6c 	addi    r4,r29,108                             
ffc1b7cc:	7f 85 e3 78 	mr      r5,r28                                 
ffc1b7d0:	4b ff fb a9 	bl      ffc1b378 <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))                 
ffc1b7d4:	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,   
ffc1b7d8:	90 7e 00 08 	stw     r3,8(r30)                              
                                             &fs->release_modified_count,
                                             block);                  
      /*                                                              
       * If we found a buffer retain the dirty buffer state.          
       */                                                             
      if (rtems_rfs_buffer_handle_has_block (handle))                 
ffc1b7dc:	41 9e 00 0c 	beq-    cr7,ffc1b7e8 <rtems_rfs_buffer_handle_request+0x184>
        rtems_rfs_buffer_mark_dirty (handle);                         
ffc1b7e0:	38 00 00 01 	li      r0,1                                   
ffc1b7e4:	98 1e 00 00 	stb     r0,0(r30)                              
  }                                                                   
                                                                      
  /*                                                                  
   * If not located we request the buffer from the I/O layer.         
   */                                                                 
  if (!rtems_rfs_buffer_handle_has_block (handle))                    
ffc1b7e8:	83 fe 00 08 	lwz     r31,8(r30)                             
ffc1b7ec:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc1b7f0:	40 be 00 88 	bne+    cr7,ffc1b878 <rtems_rfs_buffer_handle_request+0x214>
  {                                                                   
    rc = rtems_rfs_buffer_io_request (fs, block, read, &handle->buffer);
ffc1b7f4:	7f a3 eb 78 	mr      r3,r29                                 
ffc1b7f8:	7f 84 e3 78 	mr      r4,r28                                 
ffc1b7fc:	7f 65 db 78 	mr      r5,r27                                 
ffc1b800:	38 de 00 08 	addi    r6,r30,8                               
ffc1b804:	48 00 4e 39 	bl      ffc2063c <rtems_rfs_buffer_bdbuf_request>
                                                                      
    rtems_chain_set_off_chain (rtems_rfs_buffer_link(handle));        
ffc1b808:	81 3e 00 08 	lwz     r9,8(r30)                              
ffc1b80c:	93 e9 00 04 	stw     r31,4(r9)                              
ffc1b810:	93 e9 00 00 	stw     r31,0(r9)                              
                                                                      
    if (rc > 0)                                                       
ffc1b814:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1b818:	40 81 00 60 	ble-    ffc1b878 <rtems_rfs_buffer_handle_request+0x214><== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))    
ffc1b81c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1b820:	38 80 01 00 	li      r4,256                                 <== NOT EXECUTED
ffc1b824:	4b ff 78 95 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1b828:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1b82c:	41 9e 00 d4 	beq-    cr7,ffc1b900 <rtems_rfs_buffer_handle_request+0x29c><== NOT EXECUTED
        printf ("rtems-rfs: buffer-request: block=%" PRIu32 ": bdbuf-%s: %d: %s\n",
ffc1b830:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
ffc1b834:	41 be 00 10 	beq+    cr7,ffc1b844 <rtems_rfs_buffer_handle_request+0x1e0><== NOT EXECUTED
ffc1b838:	3f c0 ff c3 	lis     r30,-61                                <== NOT EXECUTED
ffc1b83c:	3b de 24 34 	addi    r30,r30,9268                           <== NOT EXECUTED
ffc1b840:	48 00 00 0c 	b       ffc1b84c <rtems_rfs_buffer_handle_request+0x1e8><== NOT EXECUTED
ffc1b844:	3f c0 ff c3 	lis     r30,-61                                <== NOT EXECUTED
ffc1b848:	3b de 2c c8 	addi    r30,r30,11464                          <== NOT EXECUTED
ffc1b84c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1b850:	48 00 6f a9 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1b854:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc1b858:	7c 67 1b 78 	mr      r7,r3                                  <== NOT EXECUTED
ffc1b85c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1b860:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc1b864:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc1b868:	38 63 2d 59 	addi    r3,r3,11609                            <== NOT EXECUTED
ffc1b86c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1b870:	48 00 62 1d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc1b874:	48 00 00 8c 	b       ffc1b900 <rtems_rfs_buffer_handle_request+0x29c><== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Increase the reference count of the buffer.                      
   */                                                                 
  rtems_rfs_buffer_refs_up (handle);                                  
ffc1b878:	80 9e 00 08 	lwz     r4,8(r30)                              
ffc1b87c:	38 7d 00 40 	addi    r3,r29,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;                                                           
ffc1b880:	3b e0 00 00 	li      r31,0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * Increase the reference count of the buffer.                      
   */                                                                 
  rtems_rfs_buffer_refs_up (handle);                                  
ffc1b884:	81 24 00 38 	lwz     r9,56(r4)                              
ffc1b888:	38 09 00 01 	addi    r0,r9,1                                
ffc1b88c:	90 04 00 38 	stw     r0,56(r4)                              
ffc1b890:	4b ff 11 2d 	bl      ffc0c9bc <_Chain_Append>               
  rtems_chain_append (&fs->buffers, rtems_rfs_buffer_link (handle));  
  fs->buffers_count++;                                                
ffc1b894:	81 3d 00 4c 	lwz     r9,76(r29)                             
                                                                      
  handle->buffer->user = (void*) ((intptr_t) block);                  
  handle->bnum = block;                                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
ffc1b898:	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++;                                                
ffc1b89c:	38 09 00 01 	addi    r0,r9,1                                
                                                                      
  handle->buffer->user = (void*) ((intptr_t) block);                  
ffc1b8a0:	81 3e 00 08 	lwz     r9,8(r30)                              
  /*                                                                  
   * 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++;                                                
ffc1b8a4:	90 1d 00 4c 	stw     r0,76(r29)                             
                                                                      
  handle->buffer->user = (void*) ((intptr_t) block);                  
  handle->bnum = block;                                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
ffc1b8a8:	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);                  
ffc1b8ac:	93 89 00 3c 	stw     r28,60(r9)                             
  handle->bnum = block;                                               
ffc1b8b0:	93 9e 00 04 	stw     r28,4(r30)                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
ffc1b8b4:	4b ff 78 05 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1b8b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1b8bc:	41 9e 00 44 	beq-    cr7,ffc1b900 <rtems_rfs_buffer_handle_request+0x29c><== ALWAYS TAKEN
    printf ("rtems-rfs: buffer-request: block=%" PRIu32 " bdbuf-%s=%" PRIu32 " refs=%d\n",
ffc1b8c0:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
ffc1b8c4:	41 9e 00 10 	beq-    cr7,ffc1b8d4 <rtems_rfs_buffer_handle_request+0x270><== NOT EXECUTED
ffc1b8c8:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc1b8cc:	38 a5 24 34 	addi    r5,r5,9268                             <== NOT EXECUTED
ffc1b8d0:	48 00 00 0c 	b       ffc1b8dc <rtems_rfs_buffer_handle_request+0x278><== NOT EXECUTED
ffc1b8d4:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc1b8d8:	38 a5 2c c8 	addi    r5,r5,11464                            <== NOT EXECUTED
            block, read ? "read" : "get", handle->buffer->block,      
ffc1b8dc:	81 3e 00 08 	lwz     r9,8(r30)                              <== 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",
ffc1b8e0:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1b8e4:	38 63 2d 91 	addi    r3,r3,11665                            <== NOT EXECUTED
ffc1b8e8:	80 c9 00 20 	lwz     r6,32(r9)                              <== NOT EXECUTED
ffc1b8ec:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc1b8f0:	80 e9 00 38 	lwz     r7,56(r9)                              <== NOT EXECUTED
            block, read ? "read" : "get", handle->buffer->block,      
            handle->buffer->references);                              
                                                                      
  return 0;                                                           
ffc1b8f4:	3b e0 00 00 	li      r31,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",
ffc1b8f8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1b8fc:	48 00 61 91 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            block, read ? "read" : "get", handle->buffer->block,      
            handle->buffer->references);                              
                                                                      
  return 0;                                                           
}                                                                     
ffc1b900:	39 61 00 20 	addi    r11,r1,32                              
ffc1b904:	7f e3 fb 78 	mr      r3,r31                                 
ffc1b908:	4b fe 71 e0 	b       ffc02ae8 <_restgpr_27_x>               
                                                                      

ffc1b90c <rtems_rfs_buffer_open>: return rc; } int rtems_rfs_buffer_open (const char* name, rtems_rfs_file_system* fs) {
ffc1b90c:	94 21 ff 98 	stwu    r1,-104(r1)                            
ffc1b910:	7c 08 02 a6 	mflr    r0                                     
ffc1b914:	bf a1 00 5c 	stmw    r29,92(r1)                             
ffc1b918:	7c 7e 1b 78 	mr      r30,r3                                 
ffc1b91c:	7c 9d 23 78 	mr      r29,r4                                 
  struct stat st;                                                     
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
ffc1b920:	38 60 00 00 	li      r3,0                                   
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_open (const char* name, rtems_rfs_file_system* fs)   
{                                                                     
ffc1b924:	90 01 00 6c 	stw     r0,108(r1)                             
  struct stat st;                                                     
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
ffc1b928:	38 80 00 20 	li      r4,32                                  
ffc1b92c:	4b ff 77 8d 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1b930:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1b934:	41 be 00 18 	beq+    cr7,ffc1b94c <rtems_rfs_buffer_open+0x40><== ALWAYS TAKEN
    printf ("rtems-rfs: buffer-open: opening: %s\n", name);           
ffc1b938:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1b93c:	38 63 2d cc 	addi    r3,r3,11724                            <== NOT EXECUTED
ffc1b940:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1b944:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1b948:	48 00 61 45 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                                                                      
  if (stat (name, &st) < 0)                                           
ffc1b94c:	7f c3 f3 78 	mr      r3,r30                                 
ffc1b950:	38 81 00 08 	addi    r4,r1,8                                
ffc1b954:	4b fe d7 9d 	bl      ffc090f0 <stat>                        
ffc1b958:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1b95c:	40 bc 00 3c 	bge+    cr7,ffc1b998 <rtems_rfs_buffer_open+0x8c><== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
ffc1b960:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1b964:	38 80 00 08 	li      r4,8                                   <== NOT EXECUTED
ffc1b968:	4b ff 77 51 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: stat '%s' failed: %s\n",       
              name, strerror (errno));                                
    return ENOENT;                                                    
ffc1b96c:	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))                
ffc1b970:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1b974:	41 be 00 d4 	beq+    cr7,ffc1ba48 <rtems_rfs_buffer_open+0x13c><== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: stat '%s' failed: %s\n",       
              name, strerror (errno));                                
ffc1b978:	48 00 50 31 	bl      ffc209a8 <__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",       
ffc1b97c:	80 63 00 00 	lwz     r3,0(r3)                               <== NOT EXECUTED
ffc1b980:	48 00 6e 79 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1b984:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1b988:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1b98c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1b990:	38 63 2d f1 	addi    r3,r3,11761                            <== NOT EXECUTED
ffc1b994:	48 00 00 ac 	b       ffc1ba40 <rtems_rfs_buffer_open+0x134> <== NOT EXECUTED
                                                                      
#if RTEMS_RFS_USE_LIBBLOCK                                            
  /*                                                                  
   * Is the device a block device ?                                   
   */                                                                 
  if (!S_ISBLK (st.st_mode))                                          
ffc1b998:	80 01 00 14 	lwz     r0,20(r1)                              
ffc1b99c:	54 00 04 26 	rlwinm  r0,r0,0,16,19                          
ffc1b9a0:	2f 80 60 00 	cmpwi   cr7,r0,24576                           
ffc1b9a4:	41 9e 00 34 	beq-    cr7,ffc1b9d8 <rtems_rfs_buffer_open+0xcc><== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
ffc1b9a8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1b9ac:	38 80 00 08 	li      r4,8                                   <== NOT EXECUTED
ffc1b9b0:	4b ff 77 09 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: '%s' is not a block device\n", name);
    return EIO;                                                       
ffc1b9b4:	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))                
ffc1b9b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1b9bc:	41 be 00 8c 	beq+    cr7,ffc1ba48 <rtems_rfs_buffer_open+0x13c><== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: '%s' is not a block device\n", name);
ffc1b9c0:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1b9c4:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1b9c8:	38 63 2e 1f 	addi    r3,r3,11807                            <== NOT EXECUTED
ffc1b9cc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1b9d0:	48 00 60 bd 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc1b9d4:	48 00 00 74 	b       ffc1ba48 <rtems_rfs_buffer_open+0x13c> <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Check that device is registred as a block device and lock it.    
   */                                                                 
  fs->disk = rtems_disk_obtain (st.st_rdev);                          
ffc1b9d8:	80 61 00 20 	lwz     r3,32(r1)                              
ffc1b9dc:	80 81 00 24 	lwz     r4,36(r1)                              
ffc1b9e0:	4b fe ae 8d 	bl      ffc0686c <rtems_disk_obtain>           
  if (!fs->disk)                                                      
ffc1b9e4:	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);                          
ffc1b9e8:	90 7d 00 0c 	stw     r3,12(r29)                             
  if (!fs->disk)                                                      
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
ffc1b9ec:	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)                                                      
ffc1b9f0:	40 be 00 28 	bne+    cr7,ffc1ba18 <rtems_rfs_buffer_open+0x10c><== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
ffc1b9f4:	38 80 00 08 	li      r4,8                                   <== NOT EXECUTED
ffc1b9f8:	4b ff 76 c1 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: cannot obtain the disk\n");    
    return EIO;                                                       
ffc1b9fc:	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))                
ffc1ba00:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1ba04:	41 be 00 44 	beq+    cr7,ffc1ba48 <rtems_rfs_buffer_open+0x13c><== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: cannot obtain the disk\n");    
ffc1ba08:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1ba0c:	38 63 2e 53 	addi    r3,r3,11859                            <== NOT EXECUTED
ffc1ba10:	48 00 62 31 	bl      ffc21c40 <puts>                        <== NOT EXECUTED
ffc1ba14:	48 00 00 34 	b       ffc1ba48 <rtems_rfs_buffer_open+0x13c> <== NOT EXECUTED
  }                                                                   
  fs->media_size = st.st_size;                                        
  strcat (fs->name, name);                                            
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
ffc1ba18:	38 80 00 20 	li      r4,32                                  
ffc1ba1c:	4b ff 76 9d 	bl      ffc130b8 <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;                                                           
ffc1ba20:	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))                  
ffc1ba24:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1ba28:	41 be 00 20 	beq+    cr7,ffc1ba48 <rtems_rfs_buffer_open+0x13c><== ALWAYS TAKEN
    printf ("rtems-rfs: buffer-open: blks=%" PRId32 ", blk-size=%" PRId32 "\n",
            rtems_rfs_fs_media_blocks (fs),                           
ffc1ba2c:	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",
ffc1ba30:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1ba34:	38 63 2e 82 	addi    r3,r3,11906                            <== NOT EXECUTED
ffc1ba38:	80 89 00 1c 	lwz     r4,28(r9)                              <== NOT EXECUTED
ffc1ba3c:	80 a9 00 24 	lwz     r5,36(r9)                              <== NOT EXECUTED
ffc1ba40:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1ba44:	48 00 60 49 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            rtems_rfs_fs_media_blocks (fs),                           
            rtems_rfs_fs_media_block_size (fs));                      
                                                                      
  return 0;                                                           
}                                                                     
ffc1ba48:	39 61 00 68 	addi    r11,r1,104                             
ffc1ba4c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1ba50:	4b fe 70 a0 	b       ffc02af0 <_restgpr_29_x>               
                                                                      

ffc1bb7c <rtems_rfs_buffer_setblksize>: return result; } int rtems_rfs_buffer_setblksize (rtems_rfs_file_system* fs, size_t size) {
ffc1bb7c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1bb80:	7c 08 02 a6 	mflr    r0                                     
ffc1bb84:	bf c1 00 10 	stmw    r30,16(r1)                             
ffc1bb88:	7c 7f 1b 78 	mr      r31,r3                                 
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))            
ffc1bb8c:	38 60 00 00 	li      r3,0                                   
  return result;                                                      
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_setblksize (rtems_rfs_file_system* fs, size_t size)  
{                                                                     
ffc1bb90:	90 81 00 08 	stw     r4,8(r1)                               
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))            
ffc1bb94:	38 80 04 00 	li      r4,1024                                
  return result;                                                      
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_setblksize (rtems_rfs_file_system* fs, size_t size)  
{                                                                     
ffc1bb98:	90 01 00 1c 	stw     r0,28(r1)                              
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))            
ffc1bb9c:	4b ff 75 1d 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1bba0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1bba4:	41 be 00 18 	beq+    cr7,ffc1bbbc <rtems_rfs_buffer_setblksize+0x40><== ALWAYS TAKEN
    printf ("rtems-rfs: buffer-setblksize: block size: %zu\n", size); 
ffc1bba8:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1bbac:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc1bbb0:	38 63 2f 4b 	addi    r3,r3,12107                            <== NOT EXECUTED
ffc1bbb4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1bbb8:	48 00 5e d5 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_buffers_release (fs);                                
ffc1bbbc:	7f e3 fb 78 	mr      r3,r31                                 
ffc1bbc0:	4b ff ff 2d 	bl      ffc1baec <rtems_rfs_buffers_release>   
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))
ffc1bbc4:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1bbc8:	40 81 00 38 	ble-    ffc1bc00 <rtems_rfs_buffer_setblksize+0x84><== ALWAYS TAKEN
ffc1bbcc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1bbd0:	38 80 04 00 	li      r4,1024                                <== NOT EXECUTED
ffc1bbd4:	4b ff 74 e5 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1bbd8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1bbdc:	41 be 00 24 	beq+    cr7,ffc1bc00 <rtems_rfs_buffer_setblksize+0x84><== NOT EXECUTED
    printf ("rtems-rfs: buffer-setblksize: buffer release failed: %d: %s\n",
ffc1bbe0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1bbe4:	48 00 6c 15 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1bbe8:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1bbec:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1bbf0:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1bbf4:	38 63 2f 7a 	addi    r3,r3,12154                            <== NOT EXECUTED
ffc1bbf8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1bbfc:	48 00 5e 91 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_buffer_sync (fs);                                    
ffc1bc00:	7f e3 fb 78 	mr      r3,r31                                 
ffc1bc04:	4b ff fe 51 	bl      ffc1ba54 <rtems_rfs_buffer_sync>       
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))
ffc1bc08:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1bc0c:	40 81 00 38 	ble-    ffc1bc44 <rtems_rfs_buffer_setblksize+0xc8><== ALWAYS TAKEN
ffc1bc10:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1bc14:	38 80 04 00 	li      r4,1024                                <== NOT EXECUTED
ffc1bc18:	4b ff 74 a1 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1bc1c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1bc20:	41 be 00 24 	beq+    cr7,ffc1bc44 <rtems_rfs_buffer_setblksize+0xc8><== NOT EXECUTED
    printf ("rtems-rfs: buffer-setblksize: device sync failed: %d: %s\n",
ffc1bc24:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1bc28:	48 00 6b d1 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1bc2c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1bc30:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1bc34:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1bc38:	38 63 2f b7 	addi    r3,r3,12215                            <== NOT EXECUTED
ffc1bc3c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1bc40:	48 00 5e 4d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
#if RTEMS_RFS_USE_LIBBLOCK                                            
  rc = fs->disk->ioctl (fs->disk, RTEMS_BLKIO_SETBLKSIZE, &size);     
ffc1bc44:	80 7f 00 0c 	lwz     r3,12(r31)                             
ffc1bc48:	3c 80 80 04 	lis     r4,-32764                              
ffc1bc4c:	60 84 42 04 	ori     r4,r4,16900                            
ffc1bc50:	80 03 00 28 	lwz     r0,40(r3)                              
ffc1bc54:	38 a1 00 08 	addi    r5,r1,8                                
ffc1bc58:	7c 09 03 a6 	mtctr   r0                                     
ffc1bc5c:	4e 80 04 21 	bctrl                                          
  if (rc < 0)                                                         
ffc1bc60:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1bc64:	40 a0 00 0c 	bge+    ffc1bc70 <rtems_rfs_buffer_setblksize+0xf4><== ALWAYS TAKEN
    rc = errno;                                                       
ffc1bc68:	48 00 4d 41 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1bc6c:	80 63 00 00 	lwz     r3,0(r3)                               <== NOT EXECUTED
#endif                                                                
  return rc;                                                          
}                                                                     
ffc1bc70:	39 61 00 18 	addi    r11,r1,24                              
ffc1bc74:	4b fe 6e 80 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

ffc1ba54 <rtems_rfs_buffer_sync>: return rc; } int rtems_rfs_buffer_sync (rtems_rfs_file_system* fs) {
ffc1ba54:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1ba58:	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))                  
ffc1ba5c:	38 80 00 20 	li      r4,32                                  
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_sync (rtems_rfs_file_system* fs)                     
{                                                                     
ffc1ba60:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc1ba64:	7c 7e 1b 78 	mr      r30,r3                                 
  int result = 0;                                                     
#if RTEMS_RFS_USE_LIBBLOCK                                            
  rtems_status_code sc;                                               
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
ffc1ba68:	38 60 00 00 	li      r3,0                                   
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_sync (rtems_rfs_file_system* fs)                     
{                                                                     
ffc1ba6c:	90 01 00 1c 	stw     r0,28(r1)                              
  int result = 0;                                                     
#if RTEMS_RFS_USE_LIBBLOCK                                            
  rtems_status_code sc;                                               
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
ffc1ba70:	4b ff 76 49 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1ba74:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1ba78:	41 be 00 10 	beq+    cr7,ffc1ba88 <rtems_rfs_buffer_sync+0x34><== ALWAYS TAKEN
    printf ("rtems-rfs: buffer-sync: syncing\n");                     
ffc1ba7c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1ba80:	38 63 2e b2 	addi    r3,r3,11954                            <== NOT EXECUTED
ffc1ba84:	48 00 61 bd 	bl      ffc21c40 <puts>                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   * @todo Split in the separate files for each type.                 
   */                                                                 
#if RTEMS_RFS_USE_LIBBLOCK                                            
  sc = rtems_bdbuf_syncdev (rtems_rfs_fs_device (fs));                
ffc1ba88:	81 3e 00 0c 	lwz     r9,12(r30)                             
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_sync (rtems_rfs_file_system* fs)                     
{                                                                     
  int result = 0;                                                     
ffc1ba8c:	3b e0 00 00 	li      r31,0                                  
                                                                      
  /*                                                                  
   * @todo Split in the separate files for each type.                 
   */                                                                 
#if RTEMS_RFS_USE_LIBBLOCK                                            
  sc = rtems_bdbuf_syncdev (rtems_rfs_fs_device (fs));                
ffc1ba90:	80 69 00 00 	lwz     r3,0(r9)                               
ffc1ba94:	80 89 00 04 	lwz     r4,4(r9)                               
ffc1ba98:	4b ff 9d e9 	bl      ffc15880 <rtems_bdbuf_syncdev>         
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc1ba9c:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc1baa0:	41 a2 00 38 	beq+    ffc1bad8 <rtems_rfs_buffer_sync+0x84>  <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                
ffc1baa4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1baa8:	38 80 00 20 	li      r4,32                                  <== NOT EXECUTED
ffc1baac:	4b ff 76 0d 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: buffer-sync: device sync failed: %s\n",     
              rtems_status_text (sc));                                
    result = EIO;                                                     
ffc1bab0:	3b e0 00 05 	li      r31,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))                
ffc1bab4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1bab8:	41 be 00 20 	beq+    cr7,ffc1bad8 <rtems_rfs_buffer_sync+0x84><== NOT EXECUTED
      printf ("rtems-rfs: buffer-sync: device sync failed: %s\n",     
ffc1babc:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1bac0:	4b ff b5 51 	bl      ffc17010 <rtems_status_text>           <== NOT EXECUTED
ffc1bac4:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc1bac8:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1bacc:	38 63 2e d2 	addi    r3,r3,11986                            <== NOT EXECUTED
ffc1bad0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1bad4:	48 00 5f b9 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
              rtems_status_text (sc));                                
    result = EIO;                                                     
  }                                                                   
  rtems_disk_release (fs->disk);                                      
ffc1bad8:	80 7e 00 0c 	lwz     r3,12(r30)                             
ffc1badc:	4b fe ae 15 	bl      ffc068f0 <rtems_disk_release>          
      printf ("rtems-rfs: buffer-sync: file sync failed: %d: %s\n",   
              result, strerror (result));                             
  }                                                                   
#endif                                                                
  return result;                                                      
}                                                                     
ffc1bae0:	39 61 00 18 	addi    r11,r1,24                              
ffc1bae4:	7f e3 fb 78 	mr      r3,r31                                 
ffc1bae8:	4b fe 70 08 	b       ffc02af0 <_restgpr_29_x>               
                                                                      

ffc1baec <rtems_rfs_buffers_release>: return rrc; } int rtems_rfs_buffers_release (rtems_rfs_file_system* fs) {
ffc1baec:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1baf0:	7c 08 02 a6 	mflr    r0                                     
  int rrc = 0;                                                        
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
ffc1baf4:	38 80 00 40 	li      r4,64                                  
  return rrc;                                                         
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffers_release (rtems_rfs_file_system* fs)                 
{                                                                     
ffc1baf8:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc1bafc:	7c 7f 1b 78 	mr      r31,r3                                 
  int rrc = 0;                                                        
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
ffc1bb00:	38 60 00 00 	li      r3,0                                   
  return rrc;                                                         
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffers_release (rtems_rfs_file_system* fs)                 
{                                                                     
ffc1bb04:	90 01 00 14 	stw     r0,20(r1)                              
  int rrc = 0;                                                        
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
ffc1bb08:	4b ff 75 b1 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1bb0c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1bb10:	41 be 00 20 	beq+    cr7,ffc1bb30 <rtems_rfs_buffers_release+0x44><== ALWAYS TAKEN
    printf ("rtems-rfs: buffers-release: active:%" PRIu32 " "         
ffc1bb14:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1bb18:	80 9f 00 4c 	lwz     r4,76(r31)                             <== NOT EXECUTED
ffc1bb1c:	80 bf 00 5c 	lwz     r5,92(r31)                             <== NOT EXECUTED
ffc1bb20:	38 63 2f 02 	addi    r3,r3,12034                            <== NOT EXECUTED
ffc1bb24:	80 df 00 6c 	lwz     r6,108(r31)                            <== NOT EXECUTED
ffc1bb28:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1bb2c:	48 00 5f 61 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            "release:%" PRIu32 " release-modified:%" PRIu32 "\n",     
            fs->buffers_count, fs->release_count, fs->release_modified_count);
                                                                      
  rc = rtems_rfs_release_chain (&fs->release,                         
ffc1bb30:	38 9f 00 5c 	addi    r4,r31,92                              
ffc1bb34:	38 a0 00 00 	li      r5,0                                   
ffc1bb38:	38 7f 00 50 	addi    r3,r31,80                              
ffc1bb3c:	4b ff f7 9d 	bl      ffc1b2d8 <rtems_rfs_release_chain>     
                                &fs->release_count,                   
                                false);                               
  if ((rc > 0) && (rrc == 0))                                         
    rrc = rc;                                                         
  rc = rtems_rfs_release_chain (&fs->release_modified,                
ffc1bb40:	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,                         
ffc1bb44:	7c 60 18 f8 	not     r0,r3                                  
ffc1bb48:	7c 00 fe 70 	srawi   r0,r0,31                               
ffc1bb4c:	7c 7e 00 38 	and     r30,r3,r0                              
                                &fs->release_count,                   
                                false);                               
  if ((rc > 0) && (rrc == 0))                                         
    rrc = rc;                                                         
  rc = rtems_rfs_release_chain (&fs->release_modified,                
ffc1bb50:	38 a0 00 01 	li      r5,1                                   
ffc1bb54:	38 7f 00 60 	addi    r3,r31,96                              
ffc1bb58:	4b ff f7 81 	bl      ffc1b2d8 <rtems_rfs_release_chain>     
                                &fs->release_modified_count,          
                                true);                                
  if ((rc > 0) && (rrc == 0))                                         
ffc1bb5c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1bb60:	40 81 00 10 	ble-    ffc1bb70 <rtems_rfs_buffers_release+0x84><== ALWAYS TAKEN
ffc1bb64:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== NOT EXECUTED
ffc1bb68:	40 9e 00 08 	bne-    cr7,ffc1bb70 <rtems_rfs_buffers_release+0x84><== NOT EXECUTED
ffc1bb6c:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
    rrc = rc;                                                         
                                                                      
  return rrc;                                                         
}                                                                     
ffc1bb70:	39 61 00 10 	addi    r11,r1,16                              
ffc1bb74:	7f c3 f3 78 	mr      r3,r30                                 
ffc1bb78:	4b fe 6f 7c 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

ffc1c228 <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) {
ffc1c228:	94 21 ff 58 	stwu    r1,-168(r1)                            
ffc1c22c:	7c 08 02 a6 	mflr    r0                                     
ffc1c230:	be 81 00 78 	stmw    r20,120(r1)                            
ffc1c234:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1c238:	7c 9e 23 78 	mr      r30,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))                
ffc1c23c:	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)                 
{                                                                     
ffc1c240:	90 01 00 ac 	stw     r0,172(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))                
ffc1c244:	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)                 
{                                                                     
ffc1c248:	7c bc 2b 78 	mr      r28,r5                                 
ffc1c24c:	7c dd 33 78 	mr      r29,r6                                 
ffc1c250:	7c fa 3b 78 	mr      r26,r7                                 
  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))                
ffc1c254:	4b ff 6e 65 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1c258:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1c25c:	41 be 00 48 	beq+    cr7,ffc1c2a4 <rtems_rfs_dir_add_entry+0x7c><== ALWAYS TAKEN
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: dir-add-entry: dir=%" PRId32 ", name=",       
ffc1c260:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1c264:	80 9e 00 08 	lwz     r4,8(r30)                              <== NOT EXECUTED
ffc1c268:	38 63 32 fc 	addi    r3,r3,13052                            <== NOT EXECUTED
ffc1c26c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1c270:	48 00 58 1d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            rtems_rfs_inode_ino (dir));                               
    for (c = 0; c < length; c++)                                      
ffc1c274:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc1c278:	48 00 00 10 	b       ffc1c288 <rtems_rfs_dir_add_entry+0x60><== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc1c27c:	7c 7c d8 ae 	lbzx    r3,r28,r27                             <== 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++)                                      
ffc1c280:	3b 7b 00 01 	addi    r27,r27,1                              <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc1c284:	48 00 58 c5 	bl      ffc21b48 <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++)                                      
ffc1c288:	7f 9b e8 00 	cmpw    cr7,r27,r29                            <== NOT EXECUTED
ffc1c28c:	40 9e ff f0 	bne+    cr7,ffc1c27c <rtems_rfs_dir_add_entry+0x54><== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (", len=%zd\n", length);                                   
ffc1c290:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1c294:	38 63 33 25 	addi    r3,r3,13093                            <== NOT EXECUTED
ffc1c298:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc1c29c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1c2a0:	48 00 57 ed 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
ffc1c2a4:	3b 01 00 24 	addi    r24,r1,36                              
ffc1c2a8:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c2ac:	7f c4 f3 78 	mr      r4,r30                                 
ffc1c2b0:	7f 05 c3 78 	mr      r5,r24                                 
ffc1c2b4:	4b ff e3 a5 	bl      ffc1a658 <rtems_rfs_block_map_open>    
  if (rc > 0)                                                         
ffc1c2b8:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc1c2bc:	41 a1 02 f4 	bgt+    ffc1c5b0 <rtems_rfs_dir_add_entry+0x388><== NEVER TAKEN
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc1c2c0:	38 00 00 00 	li      r0,0                                   
ffc1c2c4:	98 01 00 0c 	stb     r0,12(r1)                              
  handle->bnum  = 0;                                                  
ffc1c2c8:	38 00 00 00 	li      r0,0                                   
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc1c2cc:	3a c0 00 00 	li      r22,0                                  
ffc1c2d0:	90 01 00 10 	stw     r0,16(r1)                              
ffc1c2d4:	62 d6 ff ff 	ori     r22,r22,65535                          
      {                                                               
        if ((length + RTEMS_RFS_DIR_ENTRY_SIZE) <                     
ffc1c2d8:	3a fd 00 0a 	addi    r23,r29,10                             
  handle->buffer = NULL;                                              
ffc1c2dc:	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;                                                      
ffc1c2e0:	90 01 00 18 	stw     r0,24(r1)                              
  bpos->boff = 0;                                                     
ffc1c2e4:	90 01 00 1c 	stw     r0,28(r1)                              
  bpos->block = 0;                                                    
ffc1c2e8:	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);          
ffc1c2ec:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c2f0:	7f 04 c3 78 	mr      r4,r24                                 
ffc1c2f4:	38 a1 00 18 	addi    r5,r1,24                               
ffc1c2f8:	38 c1 00 08 	addi    r6,r1,8                                
ffc1c2fc:	4b ff e6 fd 	bl      ffc1a9f8 <rtems_rfs_block_map_find>    
    if (rc > 0)                                                       
ffc1c300:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc1c304:	40 81 00 98 	ble-    ffc1c39c <rtems_rfs_dir_add_entry+0x174>
    {                                                                 
      if (rc != ENXIO)                                                
ffc1c308:	2f 9b 00 06 	cmpwi   cr7,r27,6                              
ffc1c30c:	41 be 00 34 	beq+    cr7,ffc1c340 <rtems_rfs_dir_add_entry+0x118><== ALWAYS TAKEN
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))          
ffc1c310:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1c314:	3c 80 20 00 	lis     r4,8192                                <== NOT EXECUTED
ffc1c318:	4b ff 6d a1 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1c31c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1c320:	41 be 02 78 	beq+    cr7,ffc1c598 <rtems_rfs_dir_add_entry+0x370><== NOT EXECUTED
          printf ("rtems-rfs: dir-add-entry: "                        
ffc1c324:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1c328:	83 de 00 08 	lwz     r30,8(r30)                             <== NOT EXECUTED
ffc1c32c:	48 00 64 cd 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1c330:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc1c334:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1c338:	38 63 33 30 	addi    r3,r3,13104                            <== NOT EXECUTED
ffc1c33c:	48 00 00 4c 	b       ffc1c388 <rtems_rfs_dir_add_entry+0x160><== NOT EXECUTED
      }                                                               
                                                                      
      /*                                                              
       * We have reached the end of the directory so add a block.     
       */                                                             
      rc = rtems_rfs_block_map_grow (fs, &map, 1, &block);            
ffc1c340:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c344:	7f 04 c3 78 	mr      r4,r24                                 
ffc1c348:	38 a0 00 01 	li      r5,1                                   
ffc1c34c:	38 c1 00 08 	addi    r6,r1,8                                
ffc1c350:	4b ff e8 d9 	bl      ffc1ac28 <rtems_rfs_block_map_grow>    
      if (rc > 0)                                                     
ffc1c354:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc1c358:	40 a1 00 4c 	ble+    ffc1c3a4 <rtems_rfs_dir_add_entry+0x17c>
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))          
ffc1c35c:	38 60 00 00 	li      r3,0                                   
ffc1c360:	3c 80 20 00 	lis     r4,8192                                
ffc1c364:	4b ff 6d 55 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1c368:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1c36c:	41 be 02 2c 	beq+    cr7,ffc1c598 <rtems_rfs_dir_add_entry+0x370><== ALWAYS TAKEN
          printf ("rtems-rfs: dir-add-entry: "                        
ffc1c370:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1c374:	83 de 00 08 	lwz     r30,8(r30)                             <== NOT EXECUTED
ffc1c378:	48 00 64 81 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1c37c:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc1c380:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1c384:	38 63 33 75 	addi    r3,r3,13173                            <== NOT EXECUTED
ffc1c388:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1c38c:	7f 65 db 78 	mr      r5,r27                                 <== NOT EXECUTED
ffc1c390:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1c394:	48 00 56 f9 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc1c398:	48 00 02 00 	b       ffc1c598 <rtems_rfs_dir_add_entry+0x370><== NOT EXECUTED
  while (true)                                                        
  {                                                                   
    rtems_rfs_block_no block;                                         
    uint8_t*           entry;                                         
    int                offset;                                        
    bool               read = true;                                   
ffc1c39c:	3b 20 00 01 	li      r25,1                                  
ffc1c3a0:	48 00 00 08 	b       ffc1c3a8 <rtems_rfs_dir_add_entry+0x180>
                  "block map grow failed for ino %" PRIu32 ": %d: %s\n",
                  rtems_rfs_inode_ino (dir), rc, strerror (rc));      
        break;                                                        
      }                                                               
                                                                      
      read = false;                                                   
ffc1c3a4:	3b 20 00 00 	li      r25,0                                  
    }                                                                 
                                                                      
    bpos.bno++;                                                       
ffc1c3a8:	81 21 00 18 	lwz     r9,24(r1)                              
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read);  
ffc1c3ac:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c3b0:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc1c3b4:	38 81 00 0c 	addi    r4,r1,12                               
      }                                                               
                                                                      
      read = false;                                                   
    }                                                                 
                                                                      
    bpos.bno++;                                                       
ffc1c3b8:	38 09 00 01 	addi    r0,r9,1                                
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read);  
ffc1c3bc:	7f 26 cb 78 	mr      r6,r25                                 
      }                                                               
                                                                      
      read = false;                                                   
    }                                                                 
                                                                      
    bpos.bno++;                                                       
ffc1c3c0:	90 01 00 18 	stw     r0,24(r1)                              
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read);  
ffc1c3c4:	4b ff f2 a1 	bl      ffc1b664 <rtems_rfs_buffer_handle_request>
    if (rc > 0)                                                       
ffc1c3c8:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc1c3cc:	40 a1 00 34 	ble+    ffc1c400 <rtems_rfs_dir_add_entry+0x1d8><== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))            
ffc1c3d0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1c3d4:	3c 80 20 00 	lis     r4,8192                                <== NOT EXECUTED
ffc1c3d8:	4b ff 6c e1 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1c3dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1c3e0:	41 be 01 b8 	beq+    cr7,ffc1c598 <rtems_rfs_dir_add_entry+0x370><== NOT EXECUTED
        printf ("rtems-rfs: dir-add-entry: "                          
ffc1c3e4:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1c3e8:	83 de 00 08 	lwz     r30,8(r30)                             <== NOT EXECUTED
ffc1c3ec:	48 00 64 0d 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1c3f0:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc1c3f4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1c3f8:	38 63 33 ba 	addi    r3,r3,13242                            <== NOT EXECUTED
ffc1c3fc:	4b ff ff 8c 	b       ffc1c388 <rtems_rfs_dir_add_entry+0x160><== NOT EXECUTED
      break;                                                          
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
                                                                      
    if (!read)                                                        
ffc1c400:	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);                         
ffc1c404:	81 21 00 14 	lwz     r9,20(r1)                              
ffc1c408:	82 a9 00 24 	lwz     r21,36(r9)                             
                                                                      
    if (!read)                                                        
ffc1c40c:	40 be 00 14 	bne+    cr7,ffc1c420 <rtems_rfs_dir_add_entry+0x1f8>
      memset (entry, 0xff, rtems_rfs_fs_block_size (fs));             
ffc1c410:	80 bf 00 08 	lwz     r5,8(r31)                              
ffc1c414:	7e a3 ab 78 	mr      r3,r21                                 
ffc1c418:	38 80 00 ff 	li      r4,255                                 
ffc1c41c:	48 00 54 e1 	bl      ffc218fc <memset>                      
                                                                      
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc1c420:	81 3f 00 08 	lwz     r9,8(r31)                              
    entry  = rtems_rfs_buffer_data (&buffer);                         
                                                                      
    if (!read)                                                        
      memset (entry, 0xff, rtems_rfs_fs_block_size (fs));             
                                                                      
    offset = 0;                                                       
ffc1c424:	3b 60 00 00 	li      r27,0                                  
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc1c428:	38 09 ff f6 	addi    r0,r9,-10                              
ffc1c42c:	48 00 01 60 	b       ffc1c58c <rtems_rfs_dir_add_entry+0x364>
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
ffc1c430:	8a 95 00 08 	lbz     r20,8(r21)                             
ffc1c434:	89 75 00 09 	lbz     r11,9(r21)                             
ffc1c438:	56 94 40 2e 	rlwinm  r20,r20,8,0,23                         
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc1c43c:	8b 35 00 00 	lbz     r25,0(r21)                             
    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);                   
ffc1c440:	7e 94 5b 78 	or      r20,r20,r11                            
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc1c444:	89 15 00 01 	lbz     r8,1(r21)                              
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc1c448:	7f 94 b0 00 	cmpw    cr7,r20,r22                            
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc1c44c:	89 75 00 02 	lbz     r11,2(r21)                             
ffc1c450:	89 55 00 03 	lbz     r10,3(r21)                             
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc1c454:	40 be 00 9c 	bne+    cr7,ffc1c4f0 <rtems_rfs_dir_add_entry+0x2c8>
      {                                                               
        if ((length + RTEMS_RFS_DIR_ENTRY_SIZE) <                     
            (rtems_rfs_fs_block_size (fs) - offset))                  
ffc1c458:	7f 7b 48 50 	subf    r27,r27,r9                             
      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) <                     
ffc1c45c:	7f 97 d8 40 	cmplw   cr7,r23,r27                            
ffc1c460:	40 9c fe 8c 	bge+    cr7,ffc1c2ec <rtems_rfs_dir_add_entry+0xc4><== NEVER TAKEN
            (rtems_rfs_fs_block_size (fs) - offset))                  
        {                                                             
          uint32_t hash;                                              
          hash = rtems_rfs_dir_hash (name, length);                   
ffc1c464:	7f a4 eb 78 	mr      r4,r29                                 
ffc1c468:	7f 83 e3 78 	mr      r3,r28                                 
ffc1c46c:	48 00 42 bd 	bl      ffc20728 <rtems_rfs_dir_hash>          
          rtems_rfs_dir_set_entry_hash (entry, hash);                 
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
ffc1c470:	9b 55 00 03 	stb     r26,3(r21)                             
        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);                 
ffc1c474:	54 60 46 3e 	rlwinm  r0,r3,8,24,31                          
ffc1c478:	98 15 00 04 	stb     r0,4(r21)                              
ffc1c47c:	54 60 84 3e 	rlwinm  r0,r3,16,16,31                         
          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);    
ffc1c480:	7f a5 eb 78 	mr      r5,r29                                 
        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);                 
ffc1c484:	98 15 00 05 	stb     r0,5(r21)                              
ffc1c488:	54 60 c2 3e 	rlwinm  r0,r3,24,8,31                          
          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);    
ffc1c48c:	7f 84 e3 78 	mr      r4,r28                                 
        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);                 
ffc1c490:	98 15 00 06 	stb     r0,6(r21)                              
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
ffc1c494:	57 40 46 3e 	rlwinm  r0,r26,8,24,31                         
                                          RTEMS_RFS_DIR_ENTRY_SIZE + length);
          memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length);    
          rtems_rfs_buffer_mark_dirty (&buffer);                      
          rtems_rfs_buffer_handle_close (fs, &buffer);                
          rtems_rfs_block_map_close (fs, &map);                       
          return 0;                                                   
ffc1c498:	3b 60 00 00 	li      r27,0                                  
            (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);                   
ffc1c49c:	98 15 00 00 	stb     r0,0(r21)                              
ffc1c4a0:	57 40 84 3e 	rlwinm  r0,r26,16,16,31                        
ffc1c4a4:	98 15 00 01 	stb     r0,1(r21)                              
ffc1c4a8:	57 40 c2 3e 	rlwinm  r0,r26,24,8,31                         
ffc1c4ac:	98 15 00 02 	stb     r0,2(r21)                              
          rtems_rfs_dir_set_entry_length (entry,                      
ffc1c4b0:	38 1d 00 0a 	addi    r0,r29,10                              
ffc1c4b4:	54 09 c6 3e 	rlwinm  r9,r0,24,24,31                         
ffc1c4b8:	99 35 00 08 	stb     r9,8(r21)                              
        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);                 
ffc1c4bc:	98 75 00 07 	stb     r3,7(r21)                              
          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);    
ffc1c4c0:	38 75 00 0a 	addi    r3,r21,10                              
        {                                                             
          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,                      
ffc1c4c4:	98 15 00 09 	stb     r0,9(r21)                              
                                          RTEMS_RFS_DIR_ENTRY_SIZE + length);
          memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length);    
ffc1c4c8:	48 00 52 1d 	bl      ffc216e4 <memcpy>                      
          rtems_rfs_buffer_mark_dirty (&buffer);                      
ffc1c4cc:	7c 24 0b 78 	mr      r4,r1                                  
ffc1c4d0:	38 00 00 01 	li      r0,1                                   
ffc1c4d4:	9c 04 00 0c 	stbu    r0,12(r4)                              
          rtems_rfs_buffer_handle_close (fs, &buffer);                
ffc1c4d8:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c4dc:	4b ff f8 31 	bl      ffc1bd0c <rtems_rfs_buffer_handle_close>
          rtems_rfs_block_map_close (fs, &map);                       
ffc1c4e0:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c4e4:	38 81 00 24 	addi    r4,r1,36                               
ffc1c4e8:	4b ff e3 25 	bl      ffc1a80c <rtems_rfs_block_map_close>   
          return 0;                                                   
ffc1c4ec:	48 00 00 c4 	b       ffc1c5b0 <rtems_rfs_dir_add_entry+0x388>
        }                                                             
                                                                      
        break;                                                        
      }                                                               
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc1c4f0:	2f 94 00 0a 	cmpwi   cr7,r20,10                             
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc1c4f4:	57 39 c0 0e 	rlwinm  r25,r25,24,0,7                         
ffc1c4f8:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc1c4fc:	7f 39 43 78 	or      r25,r25,r8                             
ffc1c500:	7f 39 53 78 	or      r25,r25,r10                            
ffc1c504:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc1c508:	7f 39 5b 78 	or      r25,r25,r11                            
        }                                                             
                                                                      
        break;                                                        
      }                                                               
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc1c50c:	40 9d 00 24 	ble-    cr7,ffc1c530 <rtems_rfs_dir_add_entry+0x308><== NEVER TAKEN
ffc1c510:	81 7f 00 18 	lwz     r11,24(r31)                            
ffc1c514:	7f 94 58 40 	cmplw   cr7,r20,r11                            
ffc1c518:	40 9c 00 18 	bge-    cr7,ffc1c530 <rtems_rfs_dir_add_entry+0x308><== NEVER TAKEN
ffc1c51c:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc1c520:	41 9e 00 10 	beq-    cr7,ffc1c530 <rtems_rfs_dir_add_entry+0x308><== NEVER TAKEN
ffc1c524:	81 7f 00 10 	lwz     r11,16(r31)                            
ffc1c528:	7f 99 58 40 	cmplw   cr7,r25,r11                            
ffc1c52c:	40 bd 00 58 	ble+    cr7,ffc1c584 <rtems_rfs_dir_add_entry+0x35c><== ALWAYS TAKEN
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))          
ffc1c530:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1c534:	3c 80 20 00 	lis     r4,8192                                <== NOT EXECUTED
ffc1c538:	4b ff 6b 81 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1c53c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1c540:	41 be 00 24 	beq+    cr7,ffc1c564 <rtems_rfs_dir_add_entry+0x33c><== NOT EXECUTED
          printf ("rtems-rfs: dir-add-entry: "                        
ffc1c544:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1c548:	80 9e 00 08 	lwz     r4,8(r30)                              <== NOT EXECUTED
ffc1c54c:	38 63 34 01 	addi    r3,r3,13313                            <== NOT EXECUTED
ffc1c550:	7e 85 a3 78 	mr      r5,r20                                 <== NOT EXECUTED
ffc1c554:	7f 26 cb 78 	mr      r6,r25                                 <== NOT EXECUTED
ffc1c558:	7f 67 db 78 	mr      r7,r27                                 <== NOT EXECUTED
ffc1c55c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1c560:	48 00 55 2d 	bl      ffc21a8c <printf>                      <== 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);                  
ffc1c564:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc1c568:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1c56c:	4b ff f7 a1 	bl      ffc1bd0c <rtems_rfs_buffer_handle_close><== NOT EXECUTED
        rtems_rfs_block_map_close (fs, &map);                         
ffc1c570:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1c574:	38 81 00 24 	addi    r4,r1,36                               <== NOT EXECUTED
ffc1c578:	4b ff e2 95 	bl      ffc1a80c <rtems_rfs_block_map_close>   <== NOT EXECUTED
        return EIO;                                                   
ffc1c57c:	3b 60 00 05 	li      r27,5                                  <== NOT EXECUTED
ffc1c580:	48 00 00 30 	b       ffc1c5b0 <rtems_rfs_dir_add_entry+0x388><== NOT EXECUTED
      }                                                               
                                                                      
      entry  += elength;                                              
ffc1c584:	7e b5 a2 14 	add     r21,r21,r20                            
      offset += elength;                                              
ffc1c588:	7f 7b a2 14 	add     r27,r27,r20                            
    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))
ffc1c58c:	7f 9b 00 40 	cmplw   cr7,r27,r0                             
ffc1c590:	41 9c fe a0 	blt+    cr7,ffc1c430 <rtems_rfs_dir_add_entry+0x208><== ALWAYS TAKEN
ffc1c594:	4b ff fd 58 	b       ffc1c2ec <rtems_rfs_dir_add_entry+0xc4><== NOT EXECUTED
      entry  += elength;                                              
      offset += elength;                                              
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
ffc1c598:	38 81 00 0c 	addi    r4,r1,12                               
ffc1c59c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c5a0:	4b ff f7 6d 	bl      ffc1bd0c <rtems_rfs_buffer_handle_close>
  rtems_rfs_block_map_close (fs, &map);                               
ffc1c5a4:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c5a8:	38 81 00 24 	addi    r4,r1,36                               
ffc1c5ac:	4b ff e2 61 	bl      ffc1a80c <rtems_rfs_block_map_close>   
  return rc;                                                          
}                                                                     
ffc1c5b0:	39 61 00 a8 	addi    r11,r1,168                             
ffc1c5b4:	7f 63 db 78 	mr      r3,r27                                 
ffc1c5b8:	4b fe 65 14 	b       ffc02acc <_restgpr_20_x>               
                                                                      

ffc1c5bc <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) {
ffc1c5bc:	94 21 ff 58 	stwu    r1,-168(r1)                            
ffc1c5c0:	7d 80 00 26 	mfcr    r12                                    
ffc1c5c4:	7c 08 02 a6 	mflr    r0                                     
ffc1c5c8:	be 41 00 70 	stmw    r18,112(r1)                            
ffc1c5cc:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1c5d0:	7c 9c 23 78 	mr      r28,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))                
ffc1c5d4:	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)              
{                                                                     
ffc1c5d8:	90 01 00 ac 	stw     r0,172(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))                
ffc1c5dc:	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)              
{                                                                     
ffc1c5e0:	91 81 00 6c 	stw     r12,108(r1)                            
ffc1c5e4:	7c ba 2b 78 	mr      r26,r5                                 
ffc1c5e8:	7c db 33 78 	mr      r27,r6                                 
  rtems_rfs_block_no      block;                                      
  rtems_rfs_buffer_handle buffer;                                     
  bool                    search;                                     
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))                
ffc1c5ec:	4b ff 6a cd 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1c5f0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1c5f4:	41 be 00 20 	beq+    cr7,ffc1c614 <rtems_rfs_dir_del_entry+0x58><== ALWAYS TAKEN
    printf ("rtems-rfs: dir-del-entry: dir=%" PRId32 ", entry=%" PRId32 " offset=%" PRIu32 "\n",
ffc1c5f8:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1c5fc:	80 9c 00 08 	lwz     r4,8(r28)                              <== NOT EXECUTED
ffc1c600:	38 63 34 49 	addi    r3,r3,13385                            <== NOT EXECUTED
ffc1c604:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc1c608:	7f 66 db 78 	mr      r6,r27                                 <== NOT EXECUTED
ffc1c60c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1c610:	48 00 54 7d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            rtems_rfs_inode_ino (dir), ino, offset);                  
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
ffc1c614:	3a e1 00 18 	addi    r23,r1,24                              
ffc1c618:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c61c:	7f 84 e3 78 	mr      r4,r28                                 
ffc1c620:	7e e5 bb 78 	mr      r5,r23                                 
ffc1c624:	4b ff e0 35 	bl      ffc1a658 <rtems_rfs_block_map_open>    
  if (rc > 0)                                                         
ffc1c628:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1c62c:	41 a1 03 60 	bgt+    ffc1c98c <rtems_rfs_dir_del_entry+0x3d0><== NEVER TAKEN
    return rc;                                                        
                                                                      
  rc = rtems_rfs_block_map_seek (fs, &map, offset, &block);           
ffc1c630:	3b 01 00 08 	addi    r24,r1,8                               
ffc1c634:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c638:	7e e4 bb 78 	mr      r4,r23                                 
ffc1c63c:	38 a0 00 00 	li      r5,0                                   
ffc1c640:	7f 66 db 78 	mr      r6,r27                                 
ffc1c644:	7f 07 c3 78 	mr      r7,r24                                 
ffc1c648:	4b ff e5 11 	bl      ffc1ab58 <rtems_rfs_block_map_seek>    
ffc1c64c:	3b a0 00 00 	li      r29,0                                  
  if (rc > 0)                                                         
ffc1c650:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1c654:	40 81 00 14 	ble-    ffc1c668 <rtems_rfs_dir_del_entry+0xac><== ALWAYS TAKEN
  {                                                                   
    if (rc == ENXIO)                                                  
ffc1c658:	2f 9e 00 06 	cmpwi   cr7,r30,6                              <== NOT EXECUTED
ffc1c65c:	40 be 02 b4 	bne+    cr7,ffc1c910 <rtems_rfs_dir_del_entry+0x354><== NOT EXECUTED
      rc = ENOENT;                                                    
ffc1c660:	3b c0 00 02 	li      r30,2                                  <== NOT EXECUTED
ffc1c664:	48 00 02 ac 	b       ffc1c910 <rtems_rfs_dir_del_entry+0x354><== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Only search if the offset is 0 else we are at that position.     
   */                                                                 
  search = offset ? false : true;                                     
ffc1c668:	7f 60 00 34 	cntlzw  r0,r27                                 
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc1c66c:	9b a1 00 0c 	stb     r29,12(r1)                             
ffc1c670:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc1c674:	3a c0 00 00 	li      r22,0                                  
  handle->bnum  = 0;                                                  
ffc1c678:	93 a1 00 10 	stw     r29,16(r1)                             
        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: "                        
ffc1c67c:	3f 20 ff c3 	lis     r25,-61                                
  handle->buffer = NULL;                                              
ffc1c680:	93 a1 00 14 	stw     r29,20(r1)                             
      rc = ENOENT;                                                    
    rtems_rfs_block_map_close (fs, &map);                             
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &buffer);                    
ffc1c684:	3b c0 00 00 	li      r30,0                                  
                                                                      
    /*                                                                
     * If we are searching start at the beginning of the block. If not searching
     * skip to the offset in the block.                               
     */                                                               
    if (search)                                                       
ffc1c688:	2e 00 00 00 	cmpwi   cr4,r0,0                               
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc1c68c:	62 d6 ff ff 	ori     r22,r22,65535                          
        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: "                        
ffc1c690:	3b 39 34 c9 	addi    r25,r25,13513                          
  /*                                                                  
   * Only search if the offset is 0 else we are at that position.     
   */                                                                 
  search = offset ? false : true;                                     
                                                                      
  while (rc == 0)                                                     
ffc1c694:	48 00 02 d0 	b       ffc1c964 <rtems_rfs_dir_del_entry+0x3a8>
  {                                                                   
    uint8_t* entry;                                                   
    int      eoffset;                                                 
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
ffc1c698:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc1c69c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c6a0:	38 81 00 0c 	addi    r4,r1,12                               
ffc1c6a4:	38 c0 00 01 	li      r6,1                                   
ffc1c6a8:	4b ff ef bd 	bl      ffc1b664 <rtems_rfs_buffer_handle_request>
    if (rc > 0)                                                       
ffc1c6ac:	7c 75 1b 79 	mr.     r21,r3                                 
ffc1c6b0:	40 a1 00 44 	ble+    ffc1c6f4 <rtems_rfs_dir_del_entry+0x138><== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))            
ffc1c6b4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1c6b8:	3c 80 40 00 	lis     r4,16384                               <== NOT EXECUTED
ffc1c6bc:	4b ff 69 fd 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1c6c0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1c6c4:	41 be 02 ac 	beq+    cr7,ffc1c970 <rtems_rfs_dir_del_entry+0x3b4><== NOT EXECUTED
        printf ("rtems-rfs: dir-del-entry: "                          
ffc1c6c8:	7e a3 ab 78 	mr      r3,r21                                 <== NOT EXECUTED
ffc1c6cc:	83 dc 00 08 	lwz     r30,8(r28)                             <== NOT EXECUTED
ffc1c6d0:	48 00 61 29 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1c6d4:	7e a5 ab 78 	mr      r5,r21                                 <== NOT EXECUTED
ffc1c6d8:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc1c6dc:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1c6e0:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1c6e4:	38 63 34 82 	addi    r3,r3,13442                            <== NOT EXECUTED
ffc1c6e8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1c6ec:	48 00 53 a1 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc1c6f0:	48 00 02 80 	b       ffc1c970 <rtems_rfs_dir_del_entry+0x3b4><== NOT EXECUTED
    /*                                                                
     * If we are searching start at the beginning of the block. If not searching
     * skip to the offset in the block.                               
     */                                                               
    if (search)                                                       
      eoffset = 0;                                                    
ffc1c6f4:	3b a0 00 00 	li      r29,0                                  
                                                                      
    /*                                                                
     * If we are searching start at the beginning of the block. If not searching
     * skip to the offset in the block.                               
     */                                                               
    if (search)                                                       
ffc1c6f8:	40 92 00 14 	bne-    cr4,ffc1c70c <rtems_rfs_dir_del_entry+0x150><== NEVER TAKEN
      eoffset = 0;                                                    
    else                                                              
      eoffset = offset % rtems_rfs_fs_block_size (fs);                
ffc1c6fc:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc1c700:	7f bb 03 96 	divwu   r29,r27,r0                             
ffc1c704:	7f bd 01 d6 	mullw   r29,r29,r0                             
ffc1c708:	7f bd d8 50 	subf    r29,r29,r27                            
                                                                      
    entry = rtems_rfs_buffer_data (&buffer) + eoffset;                
ffc1c70c:	81 21 00 14 	lwz     r9,20(r1)                              
ffc1c710:	82 89 00 24 	lwz     r20,36(r9)                             
                                                                      
    while (eoffset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc1c714:	81 3f 00 08 	lwz     r9,8(r31)                              
    if (search)                                                       
      eoffset = 0;                                                    
    else                                                              
      eoffset = offset % rtems_rfs_fs_block_size (fs);                
                                                                      
    entry = rtems_rfs_buffer_data (&buffer) + eoffset;                
ffc1c718:	7e 94 ea 14 	add     r20,r20,r29                            
                                                                      
    while (eoffset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc1c71c:	38 09 ff f6 	addi    r0,r9,-10                              
ffc1c720:	48 00 02 0c 	b       ffc1c92c <rtems_rfs_dir_del_entry+0x370>
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
ffc1c724:	8a 74 00 08 	lbz     r19,8(r20)                             
ffc1c728:	89 74 00 09 	lbz     r11,9(r20)                             
ffc1c72c:	56 73 40 2e 	rlwinm  r19,r19,8,0,23                         
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc1c730:	8a 54 00 00 	lbz     r18,0(r20)                             
    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);                   
ffc1c734:	7e 73 5b 78 	or      r19,r19,r11                            
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc1c738:	89 14 00 01 	lbz     r8,1(r20)                              
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc1c73c:	7f 93 b0 00 	cmpw    cr7,r19,r22                            
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc1c740:	89 74 00 02 	lbz     r11,2(r20)                             
ffc1c744:	89 54 00 03 	lbz     r10,3(r20)                             
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc1c748:	41 9e 01 ec 	beq-    cr7,ffc1c934 <rtems_rfs_dir_del_entry+0x378><== NEVER TAKEN
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc1c74c:	2f 93 00 0a 	cmpwi   cr7,r19,10                             
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc1c750:	56 52 c0 0e 	rlwinm  r18,r18,24,0,7                         
ffc1c754:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc1c758:	7e 52 43 78 	or      r18,r18,r8                             
ffc1c75c:	7e 52 53 78 	or      r18,r18,r10                            
ffc1c760:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc1c764:	7e 52 5b 78 	or      r18,r18,r11                            
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc1c768:	40 9d 00 24 	ble-    cr7,ffc1c78c <rtems_rfs_dir_del_entry+0x1d0><== NEVER TAKEN
ffc1c76c:	81 7f 00 18 	lwz     r11,24(r31)                            
ffc1c770:	7f 93 58 40 	cmplw   cr7,r19,r11                            
ffc1c774:	40 9c 00 18 	bge-    cr7,ffc1c78c <rtems_rfs_dir_del_entry+0x1d0><== NEVER TAKEN
ffc1c778:	2f 92 00 00 	cmpwi   cr7,r18,0                              
ffc1c77c:	41 9e 00 10 	beq-    cr7,ffc1c78c <rtems_rfs_dir_del_entry+0x1d0><== NEVER TAKEN
ffc1c780:	81 7f 00 10 	lwz     r11,16(r31)                            
ffc1c784:	7f 92 58 40 	cmplw   cr7,r18,r11                            
ffc1c788:	40 bd 00 3c 	ble+    cr7,ffc1c7c4 <rtems_rfs_dir_del_entry+0x208><== ALWAYS TAKEN
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
ffc1c78c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1c790:	3c 80 40 00 	lis     r4,16384                               <== NOT EXECUTED
ffc1c794:	4b ff 69 25 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1c798:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1c79c:	41 be 02 04 	beq+    cr7,ffc1c9a0 <rtems_rfs_dir_del_entry+0x3e4><== NOT EXECUTED
          printf ("rtems-rfs: dir-del-entry: "                        
ffc1c7a0:	80 9c 00 08 	lwz     r4,8(r28)                              <== NOT EXECUTED
ffc1c7a4:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc1c7a8:	80 e1 00 08 	lwz     r7,8(r1)                               <== NOT EXECUTED
ffc1c7ac:	7e 65 9b 78 	mr      r5,r19                                 <== NOT EXECUTED
ffc1c7b0:	7e 46 93 78 	mr      r6,r18                                 <== NOT EXECUTED
ffc1c7b4:	7f a8 eb 78 	mr      r8,r29                                 <== NOT EXECUTED
ffc1c7b8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1c7bc:	48 00 52 d1 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc1c7c0:	48 00 01 e0 	b       ffc1c9a0 <rtems_rfs_dir_del_entry+0x3e4><== NOT EXECUTED
                  rtems_rfs_inode_ino (dir), elength, eino, block, eoffset);
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      if (ino == rtems_rfs_dir_entry_ino (entry))                     
ffc1c7c4:	7f 9a 90 00 	cmpw    cr7,r26,r18                            
ffc1c7c8:	40 be 01 58 	bne+    cr7,ffc1c920 <rtems_rfs_dir_del_entry+0x364><== NEVER TAKEN
      {                                                               
        uint32_t remaining;                                           
        remaining = rtems_rfs_fs_block_size (fs) - (eoffset + elength);
ffc1c7cc:	7f 7d 9a 14 	add     r27,r29,r19                            
ffc1c7d0:	7f 7b 48 50 	subf    r27,r27,r9                             
        memmove (entry, entry + elength, remaining);                  
ffc1c7d4:	7f 65 db 78 	mr      r5,r27                                 
ffc1c7d8:	7c 94 9a 14 	add     r4,r20,r19                             
ffc1c7dc:	7e 83 a3 78 	mr      r3,r20                                 
ffc1c7e0:	48 00 4f e9 	bl      ffc217c8 <memmove>                     
        memset (entry + remaining, 0xff, elength);                    
ffc1c7e4:	7c 74 da 14 	add     r3,r20,r27                             
ffc1c7e8:	38 80 00 ff 	li      r4,255                                 
ffc1c7ec:	7e 65 9b 78 	mr      r5,r19                                 
ffc1c7f0:	48 00 51 0d 	bl      ffc218fc <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);                 
ffc1c7f4:	8b 74 00 08 	lbz     r27,8(r20)                             
ffc1c7f8:	88 14 00 09 	lbz     r0,9(r20)                              
                                                                      
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
ffc1c7fc:	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);                 
ffc1c800:	57 7b 40 2e 	rlwinm  r27,r27,8,0,23                         
                                                                      
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
ffc1c804:	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);                 
ffc1c808:	7f 7b 03 78 	or      r27,r27,r0                             
                                                                      
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
ffc1c80c:	4b ff 68 ad 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1c810:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1c814:	41 9e 00 5c 	beq-    cr7,ffc1c870 <rtems_rfs_dir_del_entry+0x2b4><== 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");    
ffc1c818:	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: "                        
ffc1c81c:	80 c1 00 08 	lwz     r6,8(r1)                               <== NOT EXECUTED
ffc1c820:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1c824:	81 21 00 20 	lwz     r9,32(r1)                              <== NOT EXECUTED
ffc1c828:	40 9e 00 0c 	bne-    cr7,ffc1c834 <rtems_rfs_dir_del_entry+0x278><== 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");    
ffc1c82c:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc1c830:	41 9e 00 10 	beq-    cr7,ffc1c840 <rtems_rfs_dir_del_entry+0x284><== NOT EXECUTED
ffc1c834:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc1c838:	7f 80 48 00 	cmpw    cr7,r0,r9                              <== NOT EXECUTED
ffc1c83c:	40 be 00 10 	bne+    cr7,ffc1c84c <rtems_rfs_dir_del_entry+0x290><== 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: "                        
ffc1c840:	3d 00 ff c3 	lis     r8,-61                                 <== NOT EXECUTED
ffc1c844:	39 08 1f 33 	addi    r8,r8,7987                             <== NOT EXECUTED
ffc1c848:	48 00 00 0c 	b       ffc1c854 <rtems_rfs_dir_del_entry+0x298><== NOT EXECUTED
ffc1c84c:	3d 00 ff c3 	lis     r8,-61                                 <== NOT EXECUTED
ffc1c850:	39 08 23 c8 	addi    r8,r8,9160                             <== NOT EXECUTED
ffc1c854:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1c858:	38 63 35 15 	addi    r3,r3,13589                            <== NOT EXECUTED
ffc1c85c:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc1c860:	7f 65 db 78 	mr      r5,r27                                 <== NOT EXECUTED
ffc1c864:	7f a7 eb 78 	mr      r7,r29                                 <== NOT EXECUTED
ffc1c868:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1c86c:	48 00 52 21 	bl      ffc21a8c <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) &&                 
ffc1c870:	6f 60 ff ff 	xoris   r0,r27,65535                           
ffc1c874:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc1c878:	40 9e 00 84 	bne-    cr7,ffc1c8fc <rtems_rfs_dir_del_entry+0x340>
ffc1c87c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc1c880:	40 9e 00 7c 	bne-    cr7,ffc1c8fc <rtems_rfs_dir_del_entry+0x340><== ALWAYS TAKEN
            (eoffset == 0) && rtems_rfs_block_map_last (&map))        
ffc1c884:	80 01 00 28 	lwz     r0,40(r1)                              <== NOT EXECUTED
ffc1c888:	81 21 00 20 	lwz     r9,32(r1)                              <== NOT EXECUTED
ffc1c88c:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1c890:	40 9e 00 0c 	bne-    cr7,ffc1c89c <rtems_rfs_dir_del_entry+0x2e0><== NOT EXECUTED
ffc1c894:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc1c898:	41 9e 00 10 	beq-    cr7,ffc1c8a8 <rtems_rfs_dir_del_entry+0x2ec><== NOT EXECUTED
ffc1c89c:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc1c8a0:	7f 80 48 00 	cmpw    cr7,r0,r9                              <== NOT EXECUTED
ffc1c8a4:	40 be 00 58 	bne+    cr7,ffc1c8fc <rtems_rfs_dir_del_entry+0x340><== NOT EXECUTED
        {                                                             
          rc = rtems_rfs_block_map_shrink (fs, &map, 1);              
ffc1c8a8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1c8ac:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc1c8b0:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc1c8b4:	4b ff e7 05 	bl      ffc1afb8 <rtems_rfs_block_map_shrink>  <== NOT EXECUTED
          if (rc > 0)                                                 
ffc1c8b8:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc1c8bc:	40 81 00 40 	ble-    ffc1c8fc <rtems_rfs_dir_del_entry+0x340><== NOT EXECUTED
          {                                                           
            if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))      
ffc1c8c0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1c8c4:	3c 80 40 00 	lis     r4,16384                               <== NOT EXECUTED
ffc1c8c8:	4b ff 67 f1 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1c8cc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1c8d0:	41 be 00 2c 	beq+    cr7,ffc1c8fc <rtems_rfs_dir_del_entry+0x340><== NOT EXECUTED
              printf ("rtems-rfs: dir-del-entry: "                    
ffc1c8d4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1c8d8:	83 9c 00 08 	lwz     r28,8(r28)                             <== NOT EXECUTED
ffc1c8dc:	48 00 5f 1d 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1c8e0:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc1c8e4:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc1c8e8:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1c8ec:	38 63 35 74 	addi    r3,r3,13684                            <== NOT EXECUTED
ffc1c8f0:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc1c8f4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1c8f8:	48 00 51 95 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                      "block map shrink failed for ino %" PRIu32 ": %d: %s\n",
                      rtems_rfs_inode_ino (dir), rc, strerror (rc));  
          }                                                           
        }                                                             
                                                                      
        rtems_rfs_buffer_mark_dirty (&buffer);                        
ffc1c8fc:	7c 24 0b 78 	mr      r4,r1                                  
ffc1c900:	38 00 00 01 	li      r0,1                                   
ffc1c904:	9c 04 00 0c 	stbu    r0,12(r4)                              
        rtems_rfs_buffer_handle_close (fs, &buffer);                  
ffc1c908:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c90c:	4b ff f4 01 	bl      ffc1bd0c <rtems_rfs_buffer_handle_close>
        rtems_rfs_block_map_close (fs, &map);                         
ffc1c910:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c914:	38 81 00 18 	addi    r4,r1,24                               
ffc1c918:	4b ff de f5 	bl      ffc1a80c <rtems_rfs_block_map_close>   
        return 0;                                                     
ffc1c91c:	48 00 00 70 	b       ffc1c98c <rtems_rfs_dir_del_entry+0x3d0>
      }                                                               
                                                                      
      if (!search)                                                    
ffc1c920:	41 92 00 80 	beq-    cr4,ffc1c9a0 <rtems_rfs_dir_del_entry+0x3e4><== NOT EXECUTED
      {                                                               
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      entry   += elength;                                             
ffc1c924:	7e 94 9a 14 	add     r20,r20,r19                            <== NOT EXECUTED
      eoffset += elength;                                             
ffc1c928:	7f bd 9a 14 	add     r29,r29,r19                            <== 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))
ffc1c92c:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc1c930:	41 9c fd f4 	blt+    cr7,ffc1c724 <rtems_rfs_dir_del_entry+0x168><== ALWAYS TAKEN
                                                                      
      entry   += elength;                                             
      eoffset += elength;                                             
    }                                                                 
                                                                      
    if (rc == 0)                                                      
ffc1c934:	2f 95 00 00 	cmpwi   cr7,r21,0                              <== NOT EXECUTED
ffc1c938:	40 9e 00 28 	bne-    cr7,ffc1c960 <rtems_rfs_dir_del_entry+0x3a4><== NOT EXECUTED
    {                                                                 
      rc = rtems_rfs_block_map_next_block (fs, &map, &block);         
ffc1c93c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1c940:	7e e4 bb 78 	mr      r4,r23                                 <== NOT EXECUTED
ffc1c944:	7f 05 c3 78 	mr      r5,r24                                 <== NOT EXECUTED
ffc1c948:	4b ff e2 a1 	bl      ffc1abe8 <rtems_rfs_block_map_next_block><== NOT EXECUTED
      if (rc == ENXIO)                                                
ffc1c94c:	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);         
ffc1c950:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
      if (rc == ENXIO)                                                
ffc1c954:	40 be 00 10 	bne+    cr7,ffc1c964 <rtems_rfs_dir_del_entry+0x3a8><== NOT EXECUTED
        rc = ENOENT;                                                  
ffc1c958:	3b c0 00 02 	li      r30,2                                  <== NOT EXECUTED
ffc1c95c:	48 00 00 10 	b       ffc1c96c <rtems_rfs_dir_del_entry+0x3b0><== NOT EXECUTED
      rc = ENOENT;                                                    
    rtems_rfs_block_map_close (fs, &map);                             
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &buffer);                    
ffc1c960:	7e be ab 78 	mr      r30,r21                                <== NOT EXECUTED
  /*                                                                  
   * Only search if the offset is 0 else we are at that position.     
   */                                                                 
  search = offset ? false : true;                                     
                                                                      
  while (rc == 0)                                                     
ffc1c964:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc1c968:	41 9e fd 30 	beq+    cr7,ffc1c698 <rtems_rfs_dir_del_entry+0xdc><== ALWAYS TAKEN
ffc1c96c:	7f d5 f3 78 	mr      r21,r30                                <== NOT EXECUTED
      if (rc == ENXIO)                                                
        rc = ENOENT;                                                  
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
ffc1c970:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc1c974:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1c978:	4b ff f3 95 	bl      ffc1bd0c <rtems_rfs_buffer_handle_close><== NOT EXECUTED
  rtems_rfs_block_map_close (fs, &map);                               
ffc1c97c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1c980:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc1c984:	4b ff de 89 	bl      ffc1a80c <rtems_rfs_block_map_close>   <== NOT EXECUTED
  return rc;                                                          
ffc1c988:	7e be ab 78 	mr      r30,r21                                <== NOT EXECUTED
}                                                                     
ffc1c98c:	81 81 00 6c 	lwz     r12,108(r1)                            
ffc1c990:	39 61 00 a8 	addi    r11,r1,168                             
ffc1c994:	7f c3 f3 78 	mr      r3,r30                                 
ffc1c998:	7d 80 81 20 	mtcrf   8,r12                                  
ffc1c99c:	4b fe 61 28 	b       ffc02ac4 <_restgpr_18_x>               
      rc = ENOENT;                                                    
    rtems_rfs_block_map_close (fs, &map);                             
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &buffer);                    
ffc1c9a0:	3a a0 00 05 	li      r21,5                                  <== NOT EXECUTED
ffc1c9a4:	4b ff ff bc 	b       ffc1c960 <rtems_rfs_dir_del_entry+0x3a4><== NOT EXECUTED
                                                                      

ffc1cd24 <rtems_rfs_dir_empty>: int rtems_rfs_dir_empty (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* dir) {
ffc1cd24:	94 21 ff 70 	stwu    r1,-144(r1)                            <== NOT EXECUTED
ffc1cd28:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1cd2c:	be c1 00 68 	stmw    r22,104(r1)                            <== NOT EXECUTED
ffc1cd30:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
ffc1cd34:	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))                     
ffc1cd38:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
                                                                      
int                                                                   
rtems_rfs_dir_empty (rtems_rfs_file_system*  fs,                      
                     rtems_rfs_inode_handle* dir)                     
{                                                                     
ffc1cd3c:	90 01 00 94 	stw     r0,148(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))                     
ffc1cd40:	3c 80 80 00 	lis     r4,-32768                              <== NOT EXECUTED
ffc1cd44:	4b ff 63 75 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1cd48:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1cd4c:	41 be 00 18 	beq+    cr7,ffc1cd64 <rtems_rfs_dir_empty+0x40><== NOT EXECUTED
    printf ("rtems-rfs: dir-empty: dir=%" PRId32 "\n", rtems_rfs_inode_ino (dir));
ffc1cd50:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1cd54:	80 9d 00 08 	lwz     r4,8(r29)                              <== NOT EXECUTED
ffc1cd58:	38 63 36 94 	addi    r3,r3,13972                            <== NOT EXECUTED
ffc1cd5c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1cd60:	48 00 4d 2d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                                                                      
  empty = true;                                                       
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
ffc1cd64:	3b c1 00 18 	addi    r30,r1,24                              <== NOT EXECUTED
ffc1cd68:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1cd6c:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc1cd70:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc1cd74:	4b ff d8 e5 	bl      ffc1a658 <rtems_rfs_block_map_open>    <== NOT EXECUTED
  if (rc > 0)                                                         
ffc1cd78:	7c 77 1b 79 	mr.     r23,r3                                 <== NOT EXECUTED
ffc1cd7c:	41 a1 01 b8 	bgt+    ffc1cf34 <rtems_rfs_dir_empty+0x210>   <== NOT EXECUTED
    return rc;                                                        
                                                                      
  rc = rtems_rfs_block_map_seek (fs, &map, 0, &block);                
ffc1cd80:	3b 81 00 08 	addi    r28,r1,8                               <== NOT EXECUTED
ffc1cd84:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1cd88:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1cd8c:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc1cd90:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc1cd94:	7f 87 e3 78 	mr      r7,r28                                 <== NOT EXECUTED
ffc1cd98:	4b ff dd c1 	bl      ffc1ab58 <rtems_rfs_block_map_seek>    <== NOT EXECUTED
  if (rc > 0)                                                         
ffc1cd9c:	7c 77 1b 79 	mr.     r23,r3                                 <== NOT EXECUTED
ffc1cda0:	40 a1 00 10 	ble+    ffc1cdb0 <rtems_rfs_dir_empty+0x8c>    <== NOT EXECUTED
  {                                                                   
    rtems_rfs_block_map_close (fs, &map);                             
ffc1cda4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1cda8:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1cdac:	48 00 01 84 	b       ffc1cf30 <rtems_rfs_dir_empty+0x20c>   <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc1cdb0:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1cdb4:	98 01 00 0c 	stb     r0,12(r1)                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc1cdb8:	38 00 00 00 	li      r0,0                                   <== 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)                       
ffc1cdbc:	3b 40 00 00 	li      r26,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: "                            
ffc1cdc0:	3f 60 ff c3 	lis     r27,-61                                <== NOT EXECUTED
ffc1cdc4:	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)                       
ffc1cdc8:	63 5a ff ff 	ori     r26,r26,65535                          <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc1cdcc:	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: "                            
ffc1cdd0:	3b 7b 36 b3 	addi    r27,r27,14003                          <== NOT EXECUTED
  while (empty)                                                       
  {                                                                   
    uint8_t* entry;                                                   
    int      offset;                                                  
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
ffc1cdd4:	80 a1 00 08 	lwz     r5,8(r1)                               <== NOT EXECUTED
ffc1cdd8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1cddc:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc1cde0:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc1cde4:	4b ff e8 81 	bl      ffc1b664 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
    if (rc > 0)                                                       
ffc1cde8:	7c 77 1b 79 	mr.     r23,r3                                 <== NOT EXECUTED
ffc1cdec:	41 81 01 30 	bgt-    ffc1cf1c <rtems_rfs_dir_empty+0x1f8>   <== NOT EXECUTED
      break;                                                          
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
ffc1cdf0:	81 21 00 14 	lwz     r9,20(r1)                              <== NOT EXECUTED
    offset = 0;                                                       
ffc1cdf4:	3b 20 00 00 	li      r25,0                                  <== NOT EXECUTED
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc1cdf8:	81 7f 00 08 	lwz     r11,8(r31)                             <== NOT EXECUTED
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
    if (rc > 0)                                                       
      break;                                                          
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
ffc1cdfc:	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))
ffc1ce00:	38 0b ff f6 	addi    r0,r11,-10                             <== NOT EXECUTED
ffc1ce04:	48 00 00 d8 	b       ffc1cedc <rtems_rfs_dir_empty+0x1b8>   <== NOT EXECUTED
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
ffc1ce08:	8a c9 00 08 	lbz     r22,8(r9)                              <== NOT EXECUTED
ffc1ce0c:	89 69 00 09 	lbz     r11,9(r9)                              <== NOT EXECUTED
ffc1ce10:	56 d6 40 2e 	rlwinm  r22,r22,8,0,23                         <== NOT EXECUTED
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc1ce14:	8b 09 00 00 	lbz     r24,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);                   
ffc1ce18:	7e d6 5b 78 	or      r22,r22,r11                            <== NOT EXECUTED
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc1ce1c:	89 09 00 01 	lbz     r8,1(r9)                               <== NOT EXECUTED
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc1ce20:	7f 96 d0 00 	cmpw    cr7,r22,r26                            <== NOT EXECUTED
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc1ce24:	89 69 00 02 	lbz     r11,2(r9)                              <== NOT EXECUTED
ffc1ce28:	89 49 00 03 	lbz     r10,3(r9)                              <== NOT EXECUTED
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc1ce2c:	41 9e 00 b8 	beq-    cr7,ffc1cee4 <rtems_rfs_dir_empty+0x1c0><== NOT EXECUTED
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc1ce30:	2f 96 00 0a 	cmpwi   cr7,r22,10                             <== NOT EXECUTED
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc1ce34:	57 18 c0 0e 	rlwinm  r24,r24,24,0,7                         <== NOT EXECUTED
ffc1ce38:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          <== NOT EXECUTED
ffc1ce3c:	7f 18 43 78 	or      r24,r24,r8                             <== NOT EXECUTED
ffc1ce40:	7f 18 53 78 	or      r24,r24,r10                            <== NOT EXECUTED
ffc1ce44:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         <== NOT EXECUTED
ffc1ce48:	7f 18 5b 78 	or      r24,r24,r11                            <== NOT EXECUTED
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc1ce4c:	40 9d 00 24 	ble-    cr7,ffc1ce70 <rtems_rfs_dir_empty+0x14c><== NOT EXECUTED
ffc1ce50:	81 7f 00 18 	lwz     r11,24(r31)                            <== NOT EXECUTED
ffc1ce54:	7f 96 58 40 	cmplw   cr7,r22,r11                            <== NOT EXECUTED
ffc1ce58:	40 9c 00 18 	bge-    cr7,ffc1ce70 <rtems_rfs_dir_empty+0x14c><== NOT EXECUTED
ffc1ce5c:	2f 98 00 00 	cmpwi   cr7,r24,0                              <== NOT EXECUTED
ffc1ce60:	41 9e 00 10 	beq-    cr7,ffc1ce70 <rtems_rfs_dir_empty+0x14c><== NOT EXECUTED
ffc1ce64:	81 7f 00 10 	lwz     r11,16(r31)                            <== NOT EXECUTED
ffc1ce68:	7f 98 58 40 	cmplw   cr7,r24,r11                            <== NOT EXECUTED
ffc1ce6c:	40 bd 00 38 	ble+    cr7,ffc1cea4 <rtems_rfs_dir_empty+0x180><== NOT EXECUTED
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_EMPTY))              
ffc1ce70:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc1ce74:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1ce78:	4b ff 62 41 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1ce7c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1ce80:	41 be 00 64 	beq+    cr7,ffc1cee4 <rtems_rfs_dir_empty+0x1c0><== NOT EXECUTED
          printf ("rtems-rfs: dir-empty: "                            
ffc1ce84:	80 9d 00 08 	lwz     r4,8(r29)                              <== NOT EXECUTED
ffc1ce88:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1ce8c:	7e c5 b3 78 	mr      r5,r22                                 <== NOT EXECUTED
ffc1ce90:	7f 06 c3 78 	mr      r6,r24                                 <== NOT EXECUTED
ffc1ce94:	7f 27 cb 78 	mr      r7,r25                                 <== NOT EXECUTED
ffc1ce98:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1ce9c:	48 00 4b f1 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc1cea0:	48 00 00 44 	b       ffc1cee4 <rtems_rfs_dir_empty+0x1c0>   <== NOT EXECUTED
                                                                      
      /*                                                              
       * Ignore the current (.) and parent (..) entries. Anything else means
       * the directory is not empty.                                  
       */                                                             
      if (((elength != (RTEMS_RFS_DIR_ENTRY_SIZE + 1)) ||             
ffc1cea4:	2f 96 00 0b 	cmpwi   cr7,r22,11                             <== NOT EXECUTED
ffc1cea8:	40 be 00 0c 	bne+    cr7,ffc1ceb4 <rtems_rfs_dir_empty+0x190><== NOT EXECUTED
ffc1ceac:	89 69 00 0a 	lbz     r11,10(r9)                             <== NOT EXECUTED
ffc1ceb0:	48 00 00 1c 	b       ffc1cecc <rtems_rfs_dir_empty+0x1a8>   <== NOT EXECUTED
           (entry[RTEMS_RFS_DIR_ENTRY_SIZE] != '.')) &&               
ffc1ceb4:	2f 96 00 0c 	cmpwi   cr7,r22,12                             <== NOT EXECUTED
ffc1ceb8:	40 9e 00 50 	bne-    cr7,ffc1cf08 <rtems_rfs_dir_empty+0x1e4><== NOT EXECUTED
          ((elength != (RTEMS_RFS_DIR_ENTRY_SIZE + 2)) ||             
ffc1cebc:	89 69 00 0a 	lbz     r11,10(r9)                             <== NOT EXECUTED
ffc1cec0:	2f 8b 00 2e 	cmpwi   cr7,r11,46                             <== NOT EXECUTED
ffc1cec4:	40 9e 00 44 	bne-    cr7,ffc1cf08 <rtems_rfs_dir_empty+0x1e4><== NOT EXECUTED
           (entry[RTEMS_RFS_DIR_ENTRY_SIZE] != '.') ||                
ffc1cec8:	89 69 00 0b 	lbz     r11,11(r9)                             <== NOT EXECUTED
ffc1cecc:	2f 8b 00 2e 	cmpwi   cr7,r11,46                             <== NOT EXECUTED
ffc1ced0:	40 9e 00 38 	bne-    cr7,ffc1cf08 <rtems_rfs_dir_empty+0x1e4><== NOT EXECUTED
      {                                                               
        empty = false;                                                
        break;                                                        
      }                                                               
                                                                      
      entry  += elength;                                              
ffc1ced4:	7d 29 b2 14 	add     r9,r9,r22                              <== NOT EXECUTED
      offset += elength;                                              
ffc1ced8:	7f 39 b2 14 	add     r25,r25,r22                            <== NOT EXECUTED
      break;                                                          
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc1cedc:	7f 99 00 40 	cmplw   cr7,r25,r0                             <== NOT EXECUTED
ffc1cee0:	41 9c ff 28 	blt+    cr7,ffc1ce08 <rtems_rfs_dir_empty+0xe4><== NOT EXECUTED
      offset += elength;                                              
    }                                                                 
                                                                      
    if (empty)                                                        
    {                                                                 
      rc = rtems_rfs_block_map_next_block (fs, &map, &block);         
ffc1cee4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1cee8:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1ceec:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc1cef0:	4b ff dc f9 	bl      ffc1abe8 <rtems_rfs_block_map_next_block><== NOT EXECUTED
      if (rc > 0)                                                     
ffc1cef4:	7c 77 1b 79 	mr.     r23,r3                                 <== NOT EXECUTED
ffc1cef8:	40 81 fe dc 	ble+    ffc1cdd4 <rtems_rfs_dir_empty+0xb0>    <== NOT EXECUTED
      {                                                               
        if (rc == ENXIO)                                              
ffc1cefc:	2f 97 00 06 	cmpwi   cr7,r23,6                              <== NOT EXECUTED
ffc1cf00:	40 be 00 1c 	bne+    cr7,ffc1cf1c <rtems_rfs_dir_empty+0x1f8><== NOT EXECUTED
ffc1cf04:	48 00 00 14 	b       ffc1cf18 <rtems_rfs_dir_empty+0x1f4>   <== NOT EXECUTED
        break;                                                        
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ((rc == 0) && !empty)                                            
ffc1cf08:	2f 97 00 00 	cmpwi   cr7,r23,0                              <== NOT EXECUTED
ffc1cf0c:	40 9e 00 10 	bne-    cr7,ffc1cf1c <rtems_rfs_dir_empty+0x1f8><== NOT EXECUTED
    rc = ENOTEMPTY;                                                   
ffc1cf10:	3a e0 00 5a 	li      r23,90                                 <== NOT EXECUTED
ffc1cf14:	48 00 00 08 	b       ffc1cf1c <rtems_rfs_dir_empty+0x1f8>   <== NOT EXECUTED
    if (empty)                                                        
    {                                                                 
      rc = rtems_rfs_block_map_next_block (fs, &map, &block);         
      if (rc > 0)                                                     
      {                                                               
        if (rc == ENXIO)                                              
ffc1cf18:	3a e0 00 00 	li      r23,0                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  if ((rc == 0) && !empty)                                            
    rc = ENOTEMPTY;                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
ffc1cf1c:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc1cf20:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1cf24:	4b ff ed e9 	bl      ffc1bd0c <rtems_rfs_buffer_handle_close><== NOT EXECUTED
  rtems_rfs_block_map_close (fs, &map);                               
ffc1cf28:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1cf2c:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc1cf30:	4b ff d8 dd 	bl      ffc1a80c <rtems_rfs_block_map_close>   <== NOT EXECUTED
  return rc;                                                          
}                                                                     
ffc1cf34:	39 61 00 90 	addi    r11,r1,144                             <== NOT EXECUTED
ffc1cf38:	7e e3 bb 78 	mr      r3,r23                                 <== NOT EXECUTED
ffc1cf3c:	4b fe 5b 98 	b       ffc02ad4 <_restgpr_22_x>               <== NOT EXECUTED
                                                                      

ffc20728 <rtems_rfs_dir_hash>: { 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;
ffc20728:	39 04 ff ff 	addi    r8,r4,-1                               
ffc2072c:	39 40 00 0c 	li      r10,12                                 
ffc20730:	7d 48 53 96 	divwu   r10,r8,r10                             
ffc20734:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc20738:	3d 24 df df 	addis   r9,r4,-8225                            
ffc2073c:	38 09 16 9f 	addi    r0,r9,5791                             
ffc20740:	7c 09 03 78 	mr      r9,r0                                  
ffc20744:	7c 0b 03 78 	mr      r11,r0                                 
ffc20748:	39 4a 00 01 	addi    r10,r10,1                              
ffc2074c:	40 be 00 f8 	bne+    cr7,ffc20844 <rtems_rfs_dir_hash+0x11c><== ALWAYS TAKEN
ffc20750:	39 40 00 01 	li      r10,1                                  <== NOT EXECUTED
ffc20754:	48 00 00 f0 	b       ffc20844 <rtems_rfs_dir_hash+0x11c>    <== NOT EXECUTED
    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];                                                      
ffc20758:	89 03 00 00 	lbz     r8,0(r3)                               
      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;                                                   
ffc2075c:	38 84 ff f4 	addi    r4,r4,-12                              
    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];                                                      
ffc20760:	7d 68 5a 14 	add     r11,r8,r11                             
      a += ((uint32_t)k[1])<<8;                                       
ffc20764:	89 03 00 01 	lbz     r8,1(r3)                               
ffc20768:	55 08 40 2e 	rlwinm  r8,r8,8,0,23                           
ffc2076c:	7d 6b 42 14 	add     r11,r11,r8                             
      a += ((uint32_t)k[2])<<16;                                      
ffc20770:	89 03 00 02 	lbz     r8,2(r3)                               
ffc20774:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc20778:	7d 6b 42 14 	add     r11,r11,r8                             
      a += ((uint32_t)k[3])<<24;                                      
ffc2077c:	89 03 00 03 	lbz     r8,3(r3)                               
ffc20780:	55 08 c0 0e 	rlwinm  r8,r8,24,0,7                           
ffc20784:	7d 6b 42 14 	add     r11,r11,r8                             
      b += k[4];                                                      
ffc20788:	89 03 00 04 	lbz     r8,4(r3)                               
ffc2078c:	7d 28 4a 14 	add     r9,r8,r9                               
      b += ((uint32_t)k[5])<<8;                                       
ffc20790:	89 03 00 05 	lbz     r8,5(r3)                               
ffc20794:	55 08 40 2e 	rlwinm  r8,r8,8,0,23                           
ffc20798:	7d 29 42 14 	add     r9,r9,r8                               
      b += ((uint32_t)k[6])<<16;                                      
ffc2079c:	89 03 00 06 	lbz     r8,6(r3)                               
ffc207a0:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc207a4:	7d 29 42 14 	add     r9,r9,r8                               
      b += ((uint32_t)k[7])<<24;                                      
ffc207a8:	89 03 00 07 	lbz     r8,7(r3)                               
ffc207ac:	55 08 c0 0e 	rlwinm  r8,r8,24,0,7                           
ffc207b0:	7d 29 42 14 	add     r9,r9,r8                               
      c += k[8];                                                      
ffc207b4:	89 03 00 08 	lbz     r8,8(r3)                               
ffc207b8:	7c 08 02 14 	add     r0,r8,r0                               
      c += ((uint32_t)k[9])<<8;                                       
ffc207bc:	89 03 00 09 	lbz     r8,9(r3)                               
ffc207c0:	55 08 40 2e 	rlwinm  r8,r8,8,0,23                           
ffc207c4:	7c 00 42 14 	add     r0,r0,r8                               
      c += ((uint32_t)k[10])<<16;                                     
ffc207c8:	89 03 00 0a 	lbz     r8,10(r3)                              
ffc207cc:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc207d0:	7c 00 42 14 	add     r0,r0,r8                               
      c += ((uint32_t)k[11])<<24;                                     
ffc207d4:	89 03 00 0b 	lbz     r8,11(r3)                              
      mix(a,b,c);                                                     
      length -= 12;                                                   
      k += 12;                                                        
ffc207d8:	38 63 00 0c 	addi    r3,r3,12                               
      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;                                     
ffc207dc:	55 08 c0 0e 	rlwinm  r8,r8,24,0,7                           
ffc207e0:	7c 00 42 14 	add     r0,r0,r8                               
      mix(a,b,c);                                                     
ffc207e4:	54 08 20 3e 	rotlwi  r8,r0,4                                
ffc207e8:	7d 60 58 50 	subf    r11,r0,r11                             
ffc207ec:	7d 6b 42 78 	xor     r11,r11,r8                             
ffc207f0:	7c 00 4a 14 	add     r0,r0,r9                               
ffc207f4:	55 68 30 3e 	rotlwi  r8,r11,6                               
ffc207f8:	7d 2b 48 50 	subf    r9,r11,r9                              
ffc207fc:	7d 09 4a 78 	xor     r9,r8,r9                               
ffc20800:	7d 6b 02 14 	add     r11,r11,r0                             
ffc20804:	55 28 40 3e 	rotlwi  r8,r9,8                                
ffc20808:	7c 09 00 50 	subf    r0,r9,r0                               
ffc2080c:	7d 00 02 78 	xor     r0,r8,r0                               
ffc20810:	7d 29 5a 14 	add     r9,r9,r11                              
ffc20814:	54 08 80 3e 	rotlwi  r8,r0,16                               
ffc20818:	7d 60 58 50 	subf    r11,r0,r11                             
ffc2081c:	7d 0b 5a 78 	xor     r11,r8,r11                             
ffc20820:	7c 00 4a 14 	add     r0,r0,r9                               
ffc20824:	55 68 98 3e 	rotlwi  r8,r11,19                              
ffc20828:	7d 2b 48 50 	subf    r9,r11,r9                              
ffc2082c:	7d 09 4a 78 	xor     r9,r8,r9                               
ffc20830:	7d 6b 02 14 	add     r11,r11,r0                             
ffc20834:	55 28 20 3e 	rotlwi  r8,r9,4                                
ffc20838:	7c 09 00 50 	subf    r0,r9,r0                               
ffc2083c:	7d 00 02 78 	xor     r0,r8,r0                               
ffc20840:	7d 29 5a 14 	add     r9,r9,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)                                               
ffc20844:	35 4a ff ff 	addic.  r10,r10,-1                             
ffc20848:	40 82 ff 10 	bne+    ffc20758 <rtems_rfs_dir_hash+0x30>     
      length -= 12;                                                   
      k += 12;                                                        
    }                                                                 
                                                                      
    /*-------------------------------- last block: affect all 32 bits of (c) */
    switch(length)                   /* all the case statements fall through */
ffc2084c:	38 84 ff ff 	addi    r4,r4,-1                               
ffc20850:	2b 84 00 0b 	cmplwi  cr7,r4,11                              
ffc20854:	41 9d 00 f8 	bgt-    cr7,ffc2094c <rtems_rfs_dir_hash+0x224><== NEVER TAKEN
ffc20858:	3d 40 ff c3 	lis     r10,-61                                
ffc2085c:	39 4a 40 fc 	addi    r10,r10,16636                          
ffc20860:	54 84 10 3a 	rlwinm  r4,r4,2,0,29                           
ffc20864:	7d 0a 20 2e 	lwzx    r8,r10,r4                              
ffc20868:	7d 48 52 14 	add     r10,r8,r10                             
ffc2086c:	7d 49 03 a6 	mtctr   r10                                    
ffc20870:	4e 80 04 20 	bctr                                           
    {                                                                 
      case 12: c+=((uint32_t)k[11])<<24;                              
ffc20874:	89 43 00 0b 	lbz     r10,11(r3)                             
ffc20878:	55 4a c0 0e 	rlwinm  r10,r10,24,0,7                         
ffc2087c:	7c 0a 02 14 	add     r0,r10,r0                              
      case 11: c+=((uint32_t)k[10])<<16;                              
ffc20880:	89 43 00 0a 	lbz     r10,10(r3)                             
ffc20884:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        
ffc20888:	7c 00 52 14 	add     r0,r0,r10                              
      case 10: c+=((uint32_t)k[9])<<8;                                
ffc2088c:	89 43 00 09 	lbz     r10,9(r3)                              
ffc20890:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc20894:	7c 00 52 14 	add     r0,r0,r10                              
      case 9 : c+=k[8];                                               
ffc20898:	89 43 00 08 	lbz     r10,8(r3)                              
ffc2089c:	7c 00 52 14 	add     r0,r0,r10                              
      case 8 : b+=((uint32_t)k[7])<<24;                               
ffc208a0:	89 43 00 07 	lbz     r10,7(r3)                              
ffc208a4:	55 4a c0 0e 	rlwinm  r10,r10,24,0,7                         
ffc208a8:	7d 2a 4a 14 	add     r9,r10,r9                              
      case 7 : b+=((uint32_t)k[6])<<16;                               
ffc208ac:	89 43 00 06 	lbz     r10,6(r3)                              
ffc208b0:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        
ffc208b4:	7d 29 52 14 	add     r9,r9,r10                              
      case 6 : b+=((uint32_t)k[5])<<8;                                
ffc208b8:	89 43 00 05 	lbz     r10,5(r3)                              
ffc208bc:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc208c0:	7d 29 52 14 	add     r9,r9,r10                              
      case 5 : b+=k[4];                                               
ffc208c4:	89 43 00 04 	lbz     r10,4(r3)                              
ffc208c8:	7d 29 52 14 	add     r9,r9,r10                              
      case 4 : a+=((uint32_t)k[3])<<24;                               
ffc208cc:	89 43 00 03 	lbz     r10,3(r3)                              
ffc208d0:	55 4a c0 0e 	rlwinm  r10,r10,24,0,7                         
ffc208d4:	7d 6a 5a 14 	add     r11,r10,r11                            
      case 3 : a+=((uint32_t)k[2])<<16;                               
ffc208d8:	89 43 00 02 	lbz     r10,2(r3)                              
ffc208dc:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        
ffc208e0:	7d 6b 52 14 	add     r11,r11,r10                            
      case 2 : a+=((uint32_t)k[1])<<8;                                
ffc208e4:	89 43 00 01 	lbz     r10,1(r3)                              
ffc208e8:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc208ec:	7d 6b 52 14 	add     r11,r11,r10                            
      case 1 : a+=k[0];                                               
ffc208f0:	89 43 00 00 	lbz     r10,0(r3)                              
        break;                                                        
      case 0 : return c;                                              
    }                                                                 
  }                                                                   
                                                                      
  final(a,b,c);                                                       
ffc208f4:	7c 00 4a 78 	xor     r0,r0,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];                                               
ffc208f8:	7d 6b 52 14 	add     r11,r11,r10                            
        break;                                                        
      case 0 : return c;                                              
    }                                                                 
  }                                                                   
                                                                      
  final(a,b,c);                                                       
ffc208fc:	55 2a 70 3e 	rotlwi  r10,r9,14                              
ffc20900:	7c 0a 00 50 	subf    r0,r10,r0                              
ffc20904:	54 0a 58 3e 	rotlwi  r10,r0,11                              
ffc20908:	7c 0b 5a 78 	xor     r11,r0,r11                             
ffc2090c:	7d 6a 58 50 	subf    r11,r10,r11                            
ffc20910:	55 6a c8 3e 	rotlwi  r10,r11,25                             
ffc20914:	7d 69 4a 78 	xor     r9,r11,r9                              
ffc20918:	7d 2a 48 50 	subf    r9,r10,r9                              
ffc2091c:	7d 20 02 78 	xor     r0,r9,r0                               
ffc20920:	55 28 80 3e 	rotlwi  r8,r9,16                               
ffc20924:	7d 48 00 50 	subf    r10,r8,r0                              
ffc20928:	55 40 20 3e 	rotlwi  r0,r10,4                               
ffc2092c:	7d 4b 5a 78 	xor     r11,r10,r11                            
ffc20930:	7d 60 58 50 	subf    r11,r0,r11                             
ffc20934:	7d 69 4a 78 	xor     r9,r11,r9                              
ffc20938:	55 6b 70 3e 	rotlwi  r11,r11,14                             
ffc2093c:	7d 2b 48 50 	subf    r9,r11,r9                              
ffc20940:	7d 20 52 78 	xor     r0,r9,r10                              
ffc20944:	55 29 c0 3e 	rotlwi  r9,r9,24                               
ffc20948:	7c 09 00 50 	subf    r0,r9,r0                               
  return c;                                                           
}                                                                     
ffc2094c:	7c 03 03 78 	mr      r3,r0                                  
ffc20950:	4e 80 00 20 	blr                                            
                                                                      

ffc1bd48 <rtems_rfs_dir_lookup_ino>: rtems_rfs_inode_handle* inode, const char* name, int length, rtems_rfs_ino* ino, uint32_t* offset) {
ffc1bd48:	94 21 ff 50 	stwu    r1,-176(r1)                            
ffc1bd4c:	7c 08 02 a6 	mflr    r0                                     
ffc1bd50:	bd c1 00 68 	stmw    r14,104(r1)                            
ffc1bd54:	7c 7d 1b 78 	mr      r29,r3                                 
ffc1bd58:	7c 9c 23 78 	mr      r28,r4                                 
  rtems_rfs_block_map     map;                                        
  rtems_rfs_buffer_handle entries;                                    
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))               
ffc1bd5c:	38 60 00 00 	li      r3,0                                   
                          rtems_rfs_inode_handle* inode,              
                          const char*             name,               
                          int                     length,             
                          rtems_rfs_ino*          ino,                
                          uint32_t*               offset)             
{                                                                     
ffc1bd60:	90 01 00 b4 	stw     r0,180(r1)                             
  rtems_rfs_block_map     map;                                        
  rtems_rfs_buffer_handle entries;                                    
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))               
ffc1bd64:	3c 80 04 00 	lis     r4,1024                                
                          rtems_rfs_inode_handle* inode,              
                          const char*             name,               
                          int                     length,             
                          rtems_rfs_ino*          ino,                
                          uint32_t*               offset)             
{                                                                     
ffc1bd68:	7c b7 2b 78 	mr      r23,r5                                 
ffc1bd6c:	7c d9 33 78 	mr      r25,r6                                 
ffc1bd70:	7c f8 3b 78 	mr      r24,r7                                 
ffc1bd74:	7d 16 43 78 	mr      r22,r8                                 
  rtems_rfs_block_map     map;                                        
  rtems_rfs_buffer_handle entries;                                    
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))               
ffc1bd78:	4b ff 73 41 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1bd7c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1bd80:	41 be 00 48 	beq+    cr7,ffc1bdc8 <rtems_rfs_dir_lookup_ino+0x80><== ALWAYS TAKEN
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: dir-lookup-ino: lookup ino: root=%" PRId32 ", path=",
ffc1bd84:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1bd88:	80 9c 00 08 	lwz     r4,8(r28)                              <== NOT EXECUTED
ffc1bd8c:	38 63 30 54 	addi    r3,r3,12372                            <== NOT EXECUTED
ffc1bd90:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1bd94:	48 00 5c f9 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            inode->ino);                                              
    for (c = 0; c < length; c++)                                      
ffc1bd98:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
ffc1bd9c:	48 00 00 10 	b       ffc1bdac <rtems_rfs_dir_lookup_ino+0x64><== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc1bda0:	7c 77 f8 ae 	lbzx    r3,r23,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++)                                      
ffc1bda4:	3b ff 00 01 	addi    r31,r31,1                              <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc1bda8:	48 00 5d a1 	bl      ffc21b48 <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++)                                      
ffc1bdac:	7f 9f c8 00 	cmpw    cr7,r31,r25                            <== NOT EXECUTED
ffc1bdb0:	41 9c ff f0 	blt+    cr7,ffc1bda0 <rtems_rfs_dir_lookup_ino+0x58><== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (", len=%d\n", length);                                    
ffc1bdb4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1bdb8:	38 63 30 8b 	addi    r3,r3,12427                            <== NOT EXECUTED
ffc1bdbc:	7f 24 cb 78 	mr      r4,r25                                 <== NOT EXECUTED
ffc1bdc0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1bdc4:	48 00 5c c9 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  *ino = RTEMS_RFS_EMPTY_INO;                                         
ffc1bdc8:	3b c0 00 00 	li      r30,0                                  
ffc1bdcc:	93 d8 00 00 	stw     r30,0(r24)                             
  *offset = 0;                                                        
                                                                      
  rc = rtems_rfs_block_map_open (fs, inode, &map);                    
ffc1bdd0:	3a 81 00 18 	addi    r20,r1,24                              
ffc1bdd4:	7f a3 eb 78 	mr      r3,r29                                 
      printf ("%c", name[c]);                                         
    printf (", len=%d\n", length);                                    
  }                                                                   
                                                                      
  *ino = RTEMS_RFS_EMPTY_INO;                                         
  *offset = 0;                                                        
ffc1bdd8:	93 d6 00 00 	stw     r30,0(r22)                             
                                                                      
  rc = rtems_rfs_block_map_open (fs, inode, &map);                    
ffc1bddc:	7f 84 e3 78 	mr      r4,r28                                 
ffc1bde0:	7e 85 a3 78 	mr      r5,r20                                 
ffc1bde4:	4b ff e8 75 	bl      ffc1a658 <rtems_rfs_block_map_open>    
  if (rc > 0)                                                         
ffc1bde8:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1bdec:	40 81 00 44 	ble-    ffc1be30 <rtems_rfs_dir_lookup_ino+0xe8><== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))             
ffc1bdf0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1bdf4:	3c 80 04 00 	lis     r4,1024                                <== NOT EXECUTED
ffc1bdf8:	4b ff 72 c1 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1bdfc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1be00:	41 be 03 fc 	beq+    cr7,ffc1c1fc <rtems_rfs_dir_lookup_ino+0x4b4><== NOT EXECUTED
      printf ("rtems-rfs: dir-lookup-ino: map open failed for ino %" PRIu32 ": %d: %s",
ffc1be04:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1be08:	83 dc 00 08 	lwz     r30,8(r28)                             <== NOT EXECUTED
ffc1be0c:	48 00 69 ed 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1be10:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc1be14:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc1be18:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1be1c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1be20:	38 63 30 95 	addi    r3,r3,12437                            <== NOT EXECUTED
ffc1be24:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1be28:	48 00 5c 65 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc1be2c:	48 00 03 d0 	b       ffc1c1fc <rtems_rfs_dir_lookup_ino+0x4b4><== NOT EXECUTED
    uint32_t           hash;                                          
                                                                      
    /*                                                                
     * Calculate the hash of the look up string.                      
     */                                                               
    hash = rtems_rfs_dir_hash (name, length);                         
ffc1be30:	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;                                              
ffc1be34:	9b c1 00 0c 	stb     r30,12(r1)                             
ffc1be38:	7e e3 bb 78 	mr      r3,r23                                 
  handle->bnum  = 0;                                                  
ffc1be3c:	93 c1 00 10 	stw     r30,16(r1)                             
                                                                      
    /*                                                                
     * 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);              
ffc1be40:	3a a1 00 08 	addi    r21,r1,8                               
  handle->buffer = NULL;                                              
ffc1be44:	93 c1 00 14 	stw     r30,20(r1)                             
    uint32_t           hash;                                          
                                                                      
    /*                                                                
     * Calculate the hash of the look up string.                      
     */                                                               
    hash = rtems_rfs_dir_hash (name, length);                         
ffc1be48:	48 00 48 e1 	bl      ffc20728 <rtems_rfs_dir_hash>          
ffc1be4c:	7c 6f 1b 78 	mr      r15,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);              
ffc1be50:	7e 84 a3 78 	mr      r4,r20                                 
ffc1be54:	7f a3 eb 78 	mr      r3,r29                                 
ffc1be58:	38 a0 00 00 	li      r5,0                                   
ffc1be5c:	38 c0 00 00 	li      r6,0                                   
ffc1be60:	7e a7 ab 78 	mr      r7,r21                                 
ffc1be64:	4b ff ec f5 	bl      ffc1ab58 <rtems_rfs_block_map_seek>    
    if (rc > 0)                                                       
ffc1be68:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1be6c:	40 81 03 04 	ble-    ffc1c170 <rtems_rfs_dir_lookup_ino+0x428>
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
ffc1be70:	38 60 00 00 	li      r3,0                                   
ffc1be74:	3c 80 04 00 	lis     r4,1024                                
ffc1be78:	4b ff 72 41 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1be7c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1be80:	41 be 00 24 	beq+    cr7,ffc1bea4 <rtems_rfs_dir_lookup_ino+0x15c><== ALWAYS TAKEN
        printf ("rtems-rfs: dir-lookup-ino: block map find failed: %d: %s\n",
ffc1be84:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1be88:	48 00 69 71 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1be8c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1be90:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1be94:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1be98:	38 63 30 d4 	addi    r3,r3,12500                            <== NOT EXECUTED
ffc1be9c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1bea0:	48 00 5b ed 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                rc, strerror (rc));                                   
      if (rc == ENXIO)                                                
ffc1bea4:	2f 9f 00 06 	cmpwi   cr7,r31,6                              
ffc1bea8:	40 be 03 3c 	bne+    cr7,ffc1c1e4 <rtems_rfs_dir_lookup_ino+0x49c><== NEVER TAKEN
        rc = ENOENT;                                                  
ffc1beac:	3b e0 00 02 	li      r31,2                                  
ffc1beb0:	48 00 03 34 	b       ffc1c1e4 <rtems_rfs_dir_lookup_ino+0x49c>
                                                                      
    while ((rc == 0) && block)                                        
    {                                                                 
      uint8_t* entry;                                                 
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
ffc1beb4:	38 60 00 00 	li      r3,0                                   
ffc1beb8:	3c 80 04 00 	lis     r4,1024                                
ffc1bebc:	4b ff 71 fd 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1bec0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1bec4:	41 be 00 18 	beq+    cr7,ffc1bedc <rtems_rfs_dir_lookup_ino+0x194><== ALWAYS TAKEN
        printf ("rtems-rfs: dir-lookup-ino: block read, ino=%" PRIu32 " bno=%" PRId32 "\n",
ffc1bec8:	80 9c 00 08 	lwz     r4,8(r28)                              <== NOT EXECUTED
ffc1becc:	7e 03 83 78 	mr      r3,r16                                 <== NOT EXECUTED
ffc1bed0:	80 a1 00 28 	lwz     r5,40(r1)                              <== NOT EXECUTED
ffc1bed4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1bed8:	48 00 5b b5 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                rtems_rfs_inode_ino (inode), map.bpos.bno);           
                                                                      
      rc = rtems_rfs_buffer_handle_request (fs, &entries, block, true);
ffc1bedc:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc1bee0:	7f a3 eb 78 	mr      r3,r29                                 
ffc1bee4:	38 81 00 0c 	addi    r4,r1,12                               
ffc1bee8:	38 c0 00 01 	li      r6,1                                   
ffc1beec:	4b ff f7 79 	bl      ffc1b664 <rtems_rfs_buffer_handle_request>
      if (rc > 0)                                                     
ffc1bef0:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc1bef4:	40 a1 00 4c 	ble+    ffc1bf40 <rtems_rfs_dir_lookup_ino+0x1f8><== ALWAYS TAKEN
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))         
ffc1bef8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1befc:	3c 80 04 00 	lis     r4,1024                                <== NOT EXECUTED
ffc1bf00:	4b ff 71 b9 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1bf04:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1bf08:	41 be 02 a8 	beq+    cr7,ffc1c1b0 <rtems_rfs_dir_lookup_ino+0x468><== NOT EXECUTED
          printf ("rtems-rfs: dir-lookup-ino: block read, ino=%" PRIu32 " block=%" PRId32 ": %d: %s\n",
ffc1bf0c:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1bf10:	83 dc 00 08 	lwz     r30,8(r28)                             <== NOT EXECUTED
ffc1bf14:	83 e1 00 08 	lwz     r31,8(r1)                              <== NOT EXECUTED
ffc1bf18:	48 00 68 e1 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1bf1c:	7c 67 1b 78 	mr      r7,r3                                  <== NOT EXECUTED
ffc1bf20:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1bf24:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1bf28:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc1bf2c:	7f 66 db 78 	mr      r6,r27                                 <== NOT EXECUTED
ffc1bf30:	38 63 31 46 	addi    r3,r3,12614                            <== NOT EXECUTED
ffc1bf34:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1bf38:	48 00 5b 55 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc1bf3c:	48 00 02 74 	b       ffc1c1b0 <rtems_rfs_dir_lookup_ino+0x468><== NOT EXECUTED
      /*                                                              
       * 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);                       
ffc1bf40:	81 21 00 14 	lwz     r9,20(r1)                              
                                                                      
      map.bpos.boff = 0;                                              
ffc1bf44:	92 21 00 2c 	stw     r17,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);                       
ffc1bf48:	83 c9 00 24 	lwz     r30,36(r9)                             
                                                                      
      map.bpos.boff = 0;                                              
                                                                      
      while (map.bpos.boff < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc1bf4c:	48 00 01 9c 	b       ffc1c0e8 <rtems_rfs_dir_lookup_ino+0x3a0>
      {                                                               
        uint32_t ehash;                                               
        int      elength;                                             
                                                                      
        ehash  = rtems_rfs_dir_entry_hash (entry);                    
        elength = rtems_rfs_dir_entry_length (entry);                 
ffc1bf50:	8b 5e 00 08 	lbz     r26,8(r30)                             
ffc1bf54:	88 1e 00 09 	lbz     r0,9(r30)                              
ffc1bf58:	57 5a 40 2e 	rlwinm  r26,r26,8,0,23                         
        *ino = rtems_rfs_dir_entry_ino (entry);                       
ffc1bf5c:	88 fe 00 00 	lbz     r7,0(r30)                              
      {                                                               
        uint32_t ehash;                                               
        int      elength;                                             
                                                                      
        ehash  = rtems_rfs_dir_entry_hash (entry);                    
        elength = rtems_rfs_dir_entry_length (entry);                 
ffc1bf60:	7f 5a 03 78 	or      r26,r26,r0                             
        *ino = rtems_rfs_dir_entry_ino (entry);                       
ffc1bf64:	88 1e 00 01 	lbz     r0,1(r30)                              
ffc1bf68:	54 e7 c0 0e 	rlwinm  r7,r7,24,0,7                           
      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);                    
ffc1bf6c:	89 5e 00 04 	lbz     r10,4(r30)                             
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
ffc1bf70:	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);                    
ffc1bf74:	89 1e 00 05 	lbz     r8,5(r30)                              
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
ffc1bf78:	7c e0 03 78 	or      r0,r7,r0                               
ffc1bf7c:	88 fe 00 03 	lbz     r7,3(r30)                              
                                                                      
        if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                     
ffc1bf80:	7f 9a 90 00 	cmpw    cr7,r26,r18                            
      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);                    
ffc1bf84:	89 3e 00 06 	lbz     r9,6(r30)                              
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
ffc1bf88:	7c 00 3b 78 	or      r0,r0,r7                               
ffc1bf8c:	88 fe 00 02 	lbz     r7,2(r30)                              
      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);                    
ffc1bf90:	89 7e 00 07 	lbz     r11,7(r30)                             
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
ffc1bf94:	54 e7 40 2e 	rlwinm  r7,r7,8,0,23                           
ffc1bf98:	7c 00 3b 78 	or      r0,r0,r7                               
ffc1bf9c:	90 18 00 00 	stw     r0,0(r24)                              
                                                                      
        if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                     
ffc1bfa0:	41 9e 01 5c 	beq-    cr7,ffc1c0fc <rtems_rfs_dir_lookup_ino+0x3b4>
          break;                                                      
                                                                      
        if (rtems_rfs_dir_entry_valid (fs, elength, *ino))            
ffc1bfa4:	2f 9a 00 0a 	cmpwi   cr7,r26,10                             
ffc1bfa8:	40 9d 00 24 	ble-    cr7,ffc1bfcc <rtems_rfs_dir_lookup_ino+0x284><== NEVER TAKEN
ffc1bfac:	80 fd 00 18 	lwz     r7,24(r29)                             
ffc1bfb0:	7f 9a 38 40 	cmplw   cr7,r26,r7                             
ffc1bfb4:	40 9c 00 18 	bge-    cr7,ffc1bfcc <rtems_rfs_dir_lookup_ino+0x284><== NEVER TAKEN
ffc1bfb8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1bfbc:	41 9e 00 10 	beq-    cr7,ffc1bfcc <rtems_rfs_dir_lookup_ino+0x284><== NEVER TAKEN
ffc1bfc0:	80 fd 00 10 	lwz     r7,16(r29)                             
ffc1bfc4:	7f 80 38 40 	cmplw   cr7,r0,r7                              
ffc1bfc8:	40 bd 00 3c 	ble+    cr7,ffc1c004 <rtems_rfs_dir_lookup_ino+0x2bc><== ALWAYS TAKEN
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))       
ffc1bfcc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1bfd0:	3c 80 04 00 	lis     r4,1024                                <== NOT EXECUTED
ffc1bfd4:	4b ff 70 e5 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1bfd8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1bfdc:	41 be 02 2c 	beq+    cr7,ffc1c208 <rtems_rfs_dir_lookup_ino+0x4c0><== NOT EXECUTED
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc1bfe0:	3d 20 ff c3 	lis     r9,-61                                 <== NOT EXECUTED
ffc1bfe4:	80 9c 00 08 	lwz     r4,8(r28)                              <== NOT EXECUTED
ffc1bfe8:	80 69 30 50 	lwz     r3,12368(r9)                           <== NOT EXECUTED
ffc1bfec:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc1bff0:	80 d8 00 00 	lwz     r6,0(r24)                              <== NOT EXECUTED
ffc1bff4:	80 e1 00 2c 	lwz     r7,44(r1)                              <== NOT EXECUTED
ffc1bff8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1bffc:	48 00 5a 91 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc1c000:	48 00 02 08 	b       ffc1c208 <rtems_rfs_dir_lookup_ino+0x4c0><== NOT EXECUTED
      while (map.bpos.boff < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
      {                                                               
        uint32_t ehash;                                               
        int      elength;                                             
                                                                      
        ehash  = rtems_rfs_dir_entry_hash (entry);                    
ffc1c004:	55 4a c0 0e 	rlwinm  r10,r10,24,0,7                         
ffc1c008:	55 00 80 1e 	rlwinm  r0,r8,16,0,15                          
ffc1c00c:	7d 40 03 78 	or      r0,r10,r0                              
ffc1c010:	7c 00 5b 78 	or      r0,r0,r11                              
ffc1c014:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
ffc1c018:	7c 00 4b 78 	or      r0,r0,r9                               
                    rtems_rfs_inode_ino (inode), elength, *ino, map.bpos.boff);
          rc = EIO;                                                   
          break;                                                      
        }                                                             
                                                                      
        if (ehash == hash)                                            
ffc1c01c:	7f 80 78 00 	cmpw    cr7,r0,r15                             
ffc1c020:	40 be 00 b8 	bne+    cr7,ffc1c0d8 <rtems_rfs_dir_lookup_ino+0x390>
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
ffc1c024:	38 60 00 00 	li      r3,0                                   
ffc1c028:	3c 80 08 00 	lis     r4,2048                                
ffc1c02c:	4b ff 70 8d 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1c030:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1c034:	41 be 00 48 	beq+    cr7,ffc1c07c <rtems_rfs_dir_lookup_ino+0x334><== ALWAYS TAKEN
            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));        
ffc1c038:	89 1e 00 00 	lbz     r8,0(r30)                              <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc1c03c:	7e 63 9b 78 	mr      r3,r19                                 <== 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));        
ffc1c040:	88 1e 00 01 	lbz     r0,1(r30)                              <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc1c044:	7f 47 d3 78 	mr      r7,r26                                 <== 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));        
ffc1c048:	55 08 c0 0e 	rlwinm  r8,r8,24,0,7                           <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc1c04c:	80 9c 00 08 	lwz     r4,8(r28)                              <== 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));        
ffc1c050:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc1c054:	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));        
ffc1c058:	7d 08 03 78 	or      r8,r8,r0                               <== NOT EXECUTED
ffc1c05c:	88 1e 00 03 	lbz     r0,3(r30)                              <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc1c060:	80 c1 00 2c 	lwz     r6,44(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));        
ffc1c064:	7d 08 03 78 	or      r8,r8,r0                               <== NOT EXECUTED
ffc1c068:	88 1e 00 02 	lbz     r0,2(r30)                              <== NOT EXECUTED
ffc1c06c:	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: "                     
ffc1c070:	7d 08 03 78 	or      r8,r8,r0                               <== NOT EXECUTED
ffc1c074:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1c078:	48 00 5a 15 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                    "checking entry for ino %" PRId32 ": bno=%04" PRIx32 "/off=%04" PRIx32
                    " length:%d ino:%" PRId32 "\n",                   
                    rtems_rfs_inode_ino (inode), map.bpos.bno, map.bpos.boff,
                    elength, rtems_rfs_dir_entry_ino (entry));        
                                                                      
          if (memcmp (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length) == 0)
ffc1c07c:	38 7e 00 0a 	addi    r3,r30,10                              
ffc1c080:	7e e4 bb 78 	mr      r4,r23                                 
ffc1c084:	7f 25 cb 78 	mr      r5,r25                                 
ffc1c088:	48 00 55 b9 	bl      ffc21640 <memcmp>                      
ffc1c08c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1c090:	40 be 00 48 	bne+    cr7,ffc1c0d8 <rtems_rfs_dir_lookup_ino+0x390><== NEVER TAKEN
          {                                                           
            *offset = rtems_rfs_block_map_pos (fs, &map);             
ffc1c094:	7f a3 eb 78 	mr      r3,r29                                 
ffc1c098:	38 81 00 28 	addi    r4,r1,40                               
ffc1c09c:	4b ff e4 e1 	bl      ffc1a57c <rtems_rfs_block_get_pos>     
                                                                      
            if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_FOUND))
ffc1c0a0:	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);             
ffc1c0a4:	90 96 00 00 	stw     r4,0(r22)                              
                                                                      
            if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_FOUND))
ffc1c0a8:	3c 80 10 00 	lis     r4,4096                                
ffc1c0ac:	4b ff 70 0d 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1c0b0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1c0b4:	41 be 01 30 	beq+    cr7,ffc1c1e4 <rtems_rfs_dir_lookup_ino+0x49c><== ALWAYS TAKEN
              printf ("rtems-rfs: dir-lookup-ino: "                   
ffc1c0b8:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1c0bc:	80 9c 00 08 	lwz     r4,8(r28)                              <== NOT EXECUTED
ffc1c0c0:	80 b8 00 00 	lwz     r5,0(r24)                              <== NOT EXECUTED
ffc1c0c4:	38 63 32 30 	addi    r3,r3,12848                            <== NOT EXECUTED
ffc1c0c8:	80 d6 00 00 	lwz     r6,0(r22)                              <== NOT EXECUTED
ffc1c0cc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1c0d0:	48 00 59 bd 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc1c0d4:	48 00 01 10 	b       ffc1c1e4 <rtems_rfs_dir_lookup_ino+0x49c><== NOT EXECUTED
            rtems_rfs_block_map_close (fs, &map);                     
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
ffc1c0d8:	80 01 00 2c 	lwz     r0,44(r1)                              
        entry += elength;                                             
ffc1c0dc:	7f de d2 14 	add     r30,r30,r26                            
            rtems_rfs_block_map_close (fs, &map);                     
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
ffc1c0e0:	7c 00 d2 14 	add     r0,r0,r26                              
ffc1c0e4:	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))
ffc1c0e8:	81 3d 00 08 	lwz     r9,8(r29)                              
ffc1c0ec:	38 09 ff f6 	addi    r0,r9,-10                              
ffc1c0f0:	81 21 00 2c 	lwz     r9,44(r1)                              
ffc1c0f4:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc1c0f8:	41 9c fe 58 	blt+    cr7,ffc1bf50 <rtems_rfs_dir_lookup_ino+0x208><== ALWAYS TAKEN
                                                                      
        map.bpos.boff += elength;                                     
        entry += elength;                                             
      }                                                               
                                                                      
      if (rc == 0)                                                    
ffc1c0fc:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc1c100:	40 be 00 68 	bne+    cr7,ffc1c168 <rtems_rfs_dir_lookup_ino+0x420><== NEVER TAKEN
      {                                                               
        rc = rtems_rfs_block_map_next_block (fs, &map, &block);       
ffc1c104:	7f a3 eb 78 	mr      r3,r29                                 
ffc1c108:	7e 84 a3 78 	mr      r4,r20                                 
ffc1c10c:	7e a5 ab 78 	mr      r5,r21                                 
ffc1c110:	4b ff ea d9 	bl      ffc1abe8 <rtems_rfs_block_map_next_block>
        if ((rc > 0) && (rc != ENXIO))                                
ffc1c114:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1c118:	40 81 00 7c 	ble-    ffc1c194 <rtems_rfs_dir_lookup_ino+0x44c><== NEVER TAKEN
ffc1c11c:	2f 9f 00 06 	cmpwi   cr7,r31,6                              
ffc1c120:	41 9e 00 40 	beq-    cr7,ffc1c160 <rtems_rfs_dir_lookup_ino+0x418><== ALWAYS TAKEN
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))       
ffc1c124:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1c128:	3c 80 04 00 	lis     r4,1024                                <== NOT EXECUTED
ffc1c12c:	4b ff 6f 8d 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1c130:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1c134:	41 be 00 60 	beq+    cr7,ffc1c194 <rtems_rfs_dir_lookup_ino+0x44c><== NOT EXECUTED
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc1c138:	83 dc 00 08 	lwz     r30,8(r28)                             <== NOT EXECUTED
ffc1c13c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1c140:	48 00 66 b9 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1c144:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc1c148:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc1c14c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1c150:	7d c3 73 78 	mr      r3,r14                                 <== NOT EXECUTED
ffc1c154:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1c158:	48 00 59 35 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc1c15c:	48 00 00 38 	b       ffc1c194 <rtems_rfs_dir_lookup_ino+0x44c><== NOT EXECUTED
                    "block map next block failed in ino %" PRIu32 ": %d: %s\n",
                    rtems_rfs_inode_ino (inode), rc, strerror (rc));  
        }                                                             
        if (rc == ENXIO)                                              
          rc = ENOENT;                                                
ffc1c160:	3b e0 00 02 	li      r31,2                                  
ffc1c164:	48 00 00 48 	b       ffc1c1ac <rtems_rfs_dir_lookup_ino+0x464>
ffc1c168:	7f 7f db 78 	mr      r31,r27                                <== NOT EXECUTED
ffc1c16c:	48 00 00 28 	b       ffc1c194 <rtems_rfs_dir_lookup_ino+0x44c><== 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",
ffc1c170:	3e 00 ff c3 	lis     r16,-61                                
                                                                      
        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)                     
ffc1c174:	3a 40 00 00 	li      r18,0                                  
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc1c178:	3e 60 ff c3 	lis     r19,-61                                
      {                                                               
        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: "                     
ffc1c17c:	3d c0 ff c3 	lis     r14,-61                                
    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",
ffc1c180:	3a 10 31 0e 	addi    r16,r16,12558                          
       * means the entry is empty.                                    
       */                                                             
                                                                      
      entry = rtems_rfs_buffer_data (&entries);                       
                                                                      
      map.bpos.boff = 0;                                              
ffc1c184:	3a 20 00 00 	li      r17,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)                     
ffc1c188:	62 52 ff ff 	ori     r18,r18,65535                          
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc1c18c:	3a 73 31 d2 	addi    r19,r19,12754                          
      {                                                               
        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: "                     
ffc1c190:	39 ce 32 77 	addi    r14,r14,12919                          
      rtems_rfs_buffer_handle_close (fs, &entries);                   
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    while ((rc == 0) && block)                                        
ffc1c194:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc1c198:	40 9e 00 14 	bne-    cr7,ffc1c1ac <rtems_rfs_dir_lookup_ino+0x464><== NEVER TAKEN
ffc1c19c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1c1a0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1c1a4:	40 9e fd 10 	bne+    cr7,ffc1beb4 <rtems_rfs_dir_lookup_ino+0x16c><== ALWAYS TAKEN
ffc1c1a8:	48 00 00 68 	b       ffc1c210 <rtems_rfs_dir_lookup_ino+0x4c8><== NOT EXECUTED
ffc1c1ac:	7f fb fb 78 	mr      r27,r31                                
ffc1c1b0:	7f 7f db 78 	mr      r31,r27                                
ffc1c1b4:	48 00 00 30 	b       ffc1c1e4 <rtems_rfs_dir_lookup_ino+0x49c>
                                                                      
    if ((rc == 0) && (block == 0))                                    
    {                                                                 
      rc = EIO;                                                       
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
        printf ("rtems-rfs: dir-lookup-ino: block is 0 in ino %" PRIu32 ": %d: %s\n",
ffc1c1b8:	38 60 00 05 	li      r3,5                                   <== NOT EXECUTED
ffc1c1bc:	83 fc 00 08 	lwz     r31,8(r28)                             <== NOT EXECUTED
ffc1c1c0:	48 00 66 39 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1c1c4:	38 a0 00 05 	li      r5,5                                   <== NOT EXECUTED
ffc1c1c8:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc1c1cc:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1c1d0:	38 63 32 c2 	addi    r3,r3,12994                            <== NOT EXECUTED
ffc1c1d4:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1c1d8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1c1dc:	48 00 58 b1 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
    if ((rc == 0) && (block == 0))                                    
    {                                                                 
      rc = EIO;                                                       
ffc1c1e0:	3b e0 00 05 	li      r31,5                                  <== NOT EXECUTED
        printf ("rtems-rfs: dir-lookup-ino: block is 0 in ino %" PRIu32 ": %d: %s\n",
                rtems_rfs_inode_ino (inode), rc, strerror (rc));      
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &entries);                       
ffc1c1e4:	38 81 00 0c 	addi    r4,r1,12                               
ffc1c1e8:	7f a3 eb 78 	mr      r3,r29                                 
ffc1c1ec:	4b ff fb 21 	bl      ffc1bd0c <rtems_rfs_buffer_handle_close>
  rtems_rfs_block_map_close (fs, &map);                               
ffc1c1f0:	7f a3 eb 78 	mr      r3,r29                                 
ffc1c1f4:	38 81 00 18 	addi    r4,r1,24                               
ffc1c1f8:	4b ff e6 15 	bl      ffc1a80c <rtems_rfs_block_map_close>   
  return rc;                                                          
}                                                                     
ffc1c1fc:	39 61 00 b0 	addi    r11,r1,176                             
ffc1c200:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c204:	4b fe 68 b0 	b       ffc02ab4 <_restgpr_14_x>               
            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;                                                
ffc1c208:	3b 60 00 05 	li      r27,5                                  <== NOT EXECUTED
ffc1c20c:	4b ff ff 5c 	b       ffc1c168 <rtems_rfs_dir_lookup_ino+0x420><== NOT EXECUTED
    }                                                                 
                                                                      
    if ((rc == 0) && (block == 0))                                    
    {                                                                 
      rc = EIO;                                                       
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
ffc1c210:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1c214:	3c 80 04 00 	lis     r4,1024                                <== NOT EXECUTED
ffc1c218:	4b ff 6e a1 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1c21c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1c220:	41 9e ff c0 	beq+    cr7,ffc1c1e0 <rtems_rfs_dir_lookup_ino+0x498><== NOT EXECUTED
ffc1c224:	4b ff ff 94 	b       ffc1c1b8 <rtems_rfs_dir_lookup_ino+0x470><== NOT EXECUTED
                                                                      

ffc1c9a8 <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) {
ffc1c9a8:	94 21 ff 58 	stwu    r1,-168(r1)                            <== NOT EXECUTED
ffc1c9ac:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1c9b0:	be 21 00 6c 	stmw    r17,108(r1)                            <== NOT EXECUTED
ffc1c9b4:	7c 7d 1b 78 	mr      r29,r3                                 <== NOT EXECUTED
ffc1c9b8:	7c 9a 23 78 	mr      r26,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))                     
ffc1c9bc:	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)                   
{                                                                     
ffc1c9c0:	90 01 00 ac 	stw     r0,172(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))                     
ffc1c9c4:	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)                   
{                                                                     
ffc1c9c8:	7c df 33 78 	mr      r31,r6                                 <== NOT EXECUTED
ffc1c9cc:	7c be 2b 78 	mr      r30,r5                                 <== NOT EXECUTED
ffc1c9d0:	7c fb 3b 78 	mr      r27,r7                                 <== NOT EXECUTED
ffc1c9d4:	7d 17 43 78 	mr      r23,r8                                 <== 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))                     
ffc1c9d8:	4b ff 66 e1 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1c9dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1c9e0:	41 be 00 20 	beq+    cr7,ffc1ca00 <rtems_rfs_dir_read+0x58> <== NOT EXECUTED
    printf ("rtems-rfs: dir-read: dir=%" PRId32 " offset=%" PRId64 "\n",
ffc1c9e4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1c9e8:	80 9a 00 08 	lwz     r4,8(r26)                              <== NOT EXECUTED
ffc1c9ec:	38 63 35 bb 	addi    r3,r3,13755                            <== NOT EXECUTED
ffc1c9f0:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc1c9f4:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc1c9f8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1c9fc:	48 00 50 91 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            rtems_rfs_inode_ino (dir), offset);                       
                                                                      
  *length = 0;                                                        
ffc1ca00:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1ca04:	90 17 00 00 	stw     r0,0(r23)                              <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
ffc1ca08:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1ca0c:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc1ca10:	38 a1 00 18 	addi    r5,r1,24                               <== NOT EXECUTED
ffc1ca14:	4b ff dc 45 	bl      ffc1a658 <rtems_rfs_block_map_open>    <== NOT EXECUTED
  if (rc > 0)                                                         
ffc1ca18:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc1ca1c:	41 a1 02 fc 	bgt+    ffc1cd18 <rtems_rfs_dir_read+0x370>    <== NOT EXECUTED
    return rc;                                                        
                                                                      
  if (((rtems_rfs_fs_block_size (fs) -                                
        (offset % rtems_rfs_fs_block_size (fs))) <= RTEMS_RFS_DIR_ENTRY_SIZE))
ffc1ca20:	83 3d 00 08 	lwz     r25,8(r29)                             <== NOT EXECUTED
ffc1ca24:	3b 00 00 00 	li      r24,0                                  <== NOT EXECUTED
ffc1ca28:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1ca2c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1ca30:	7f 05 c3 78 	mr      r5,r24                                 <== NOT EXECUTED
ffc1ca34:	7f 26 cb 78 	mr      r6,r25                                 <== NOT EXECUTED
ffc1ca38:	48 01 21 85 	bl      ffc2ebbc <__moddi3>                    <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  if (((rtems_rfs_fs_block_size (fs) -                                
ffc1ca3c:	7d 64 c8 10 	subfc   r11,r4,r25                             <== NOT EXECUTED
ffc1ca40:	7d 43 c1 10 	subfe   r10,r3,r24                             <== NOT EXECUTED
ffc1ca44:	2f 8a 00 00 	cmpwi   cr7,r10,0                              <== NOT EXECUTED
ffc1ca48:	41 9d 00 44 	bgt-    cr7,ffc1ca8c <rtems_rfs_dir_read+0xe4> <== NOT EXECUTED
ffc1ca4c:	40 9e 00 0c 	bne-    cr7,ffc1ca58 <rtems_rfs_dir_read+0xb0> <== NOT EXECUTED
ffc1ca50:	2b 8b 00 0a 	cmplwi  cr7,r11,10                             <== NOT EXECUTED
ffc1ca54:	41 9d 00 38 	bgt-    cr7,ffc1ca8c <rtems_rfs_dir_read+0xe4> <== NOT EXECUTED
        (offset % rtems_rfs_fs_block_size (fs))) <= RTEMS_RFS_DIR_ENTRY_SIZE))
    offset = (((offset / rtems_rfs_fs_block_size (fs)) + 1) *         
ffc1ca58:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1ca5c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1ca60:	7f 05 c3 78 	mr      r5,r24                                 <== NOT EXECUTED
ffc1ca64:	7f 26 cb 78 	mr      r6,r25                                 <== NOT EXECUTED
ffc1ca68:	48 01 1d 15 	bl      ffc2e77c <__divdi3>                    <== NOT EXECUTED
ffc1ca6c:	31 64 00 01 	addic   r11,r4,1                               <== NOT EXECUTED
ffc1ca70:	7d 43 01 94 	addze   r10,r3                                 <== NOT EXECUTED
ffc1ca74:	7d 2a c9 d6 	mullw   r9,r10,r25                             <== NOT EXECUTED
ffc1ca78:	7c 18 59 d6 	mullw   r0,r24,r11                             <== NOT EXECUTED
ffc1ca7c:	7f cb c8 16 	mulhwu  r30,r11,r25                            <== NOT EXECUTED
ffc1ca80:	7f eb c9 d6 	mullw   r31,r11,r25                            <== NOT EXECUTED
ffc1ca84:	7c 09 02 14 	add     r0,r9,r0                               <== NOT EXECUTED
ffc1ca88:	7f c0 f2 14 	add     r30,r0,r30                             <== NOT EXECUTED
              rtems_rfs_fs_block_size (fs));                          
                                                                      
  rc = rtems_rfs_block_map_seek (fs, &map, offset, &block);           
ffc1ca8c:	3b 01 00 18 	addi    r24,r1,24                              <== NOT EXECUTED
ffc1ca90:	3b 21 00 08 	addi    r25,r1,8                               <== NOT EXECUTED
ffc1ca94:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1ca98:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc1ca9c:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc1caa0:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc1caa4:	7f 27 cb 78 	mr      r7,r25                                 <== NOT EXECUTED
ffc1caa8:	4b ff e0 b1 	bl      ffc1ab58 <rtems_rfs_block_map_seek>    <== NOT EXECUTED
  if (rc > 0)                                                         
ffc1caac:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc1cab0:	40 81 00 1c 	ble-    ffc1cacc <rtems_rfs_dir_read+0x124>    <== NOT EXECUTED
  {                                                                   
    if (rc == ENXIO)                                                  
ffc1cab4:	2f 9c 00 06 	cmpwi   cr7,r28,6                              <== NOT EXECUTED
ffc1cab8:	40 be 00 08 	bne+    cr7,ffc1cac0 <rtems_rfs_dir_read+0x118><== NOT EXECUTED
      rc = ENOENT;                                                    
ffc1cabc:	3b 80 00 02 	li      r28,2                                  <== NOT EXECUTED
    rtems_rfs_block_map_close (fs, &map);                             
ffc1cac0:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1cac4:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc1cac8:	48 00 02 4c 	b       ffc1cd14 <rtems_rfs_dir_read+0x36c>    <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc1cacc:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1cad0:	98 01 00 0c 	stb     r0,12(r1)                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc1cad4:	38 00 00 00 	li      r0,0                                   <== 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)                         
ffc1cad8:	3a a0 00 00 	li      r21,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",
ffc1cadc:	3e c0 ff c3 	lis     r22,-61                                <== NOT EXECUTED
ffc1cae0:	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)                         
ffc1cae4:	62 b5 ff ff 	ori     r21,r21,65535                          <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc1cae8:	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",
ffc1caec:	3a d6 36 5e 	addi    r22,r22,13918                          <== NOT EXECUTED
    uint8_t*      entry;                                              
    rtems_rfs_ino eino;                                               
    int           elength;                                            
    int           remaining;                                          
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
ffc1caf0:	80 a1 00 08 	lwz     r5,8(r1)                               <== NOT EXECUTED
ffc1caf4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1caf8:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc1cafc:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc1cb00:	4b ff eb 65 	bl      ffc1b664 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
    if (rc > 0)                                                       
ffc1cb04:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc1cb08:	41 81 01 f8 	bgt-    ffc1cd00 <rtems_rfs_dir_read+0x358>    <== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &buffer);                    
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
ffc1cb0c:	81 21 00 14 	lwz     r9,20(r1)                              <== NOT EXECUTED
    entry += map.bpos.boff;                                           
ffc1cb10:	82 41 00 2c 	lwz     r18,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);                         
ffc1cb14:	81 29 00 24 	lwz     r9,36(r9)                              <== NOT EXECUTED
    entry += map.bpos.boff;                                           
ffc1cb18:	7e 89 92 14 	add     r20,r9,r18                             <== NOT EXECUTED
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
    eino    = rtems_rfs_dir_entry_ino (entry);                        
ffc1cb1c:	7e 29 90 ae 	lbzx    r17,r9,r18                             <== NOT EXECUTED
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
ffc1cb20:	8a 74 00 08 	lbz     r19,8(r20)                             <== NOT EXECUTED
ffc1cb24:	88 14 00 09 	lbz     r0,9(r20)                              <== NOT EXECUTED
    eino    = rtems_rfs_dir_entry_ino (entry);                        
ffc1cb28:	56 31 c0 0e 	rlwinm  r17,r17,24,0,7                         <== NOT EXECUTED
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
ffc1cb2c:	56 73 40 2e 	rlwinm  r19,r19,8,0,23                         <== NOT EXECUTED
ffc1cb30:	7e 73 03 78 	or      r19,r19,r0                             <== NOT EXECUTED
    eino    = rtems_rfs_dir_entry_ino (entry);                        
ffc1cb34:	88 14 00 01 	lbz     r0,1(r20)                              <== NOT EXECUTED
                                                                      
    if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY)                         
ffc1cb38:	7f 93 a8 00 	cmpw    cr7,r19,r21                            <== 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);                        
ffc1cb3c:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          <== NOT EXECUTED
ffc1cb40:	7e 31 03 78 	or      r17,r17,r0                             <== NOT EXECUTED
ffc1cb44:	88 14 00 03 	lbz     r0,3(r20)                              <== NOT EXECUTED
ffc1cb48:	7e 31 03 78 	or      r17,r17,r0                             <== NOT EXECUTED
ffc1cb4c:	88 14 00 02 	lbz     r0,2(r20)                              <== NOT EXECUTED
ffc1cb50:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           <== NOT EXECUTED
ffc1cb54:	7e 31 03 78 	or      r17,r17,r0                             <== NOT EXECUTED
                                                                      
    if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY)                         
ffc1cb58:	41 be 01 3c 	beq+    cr7,ffc1cc94 <rtems_rfs_dir_read+0x2ec><== NOT EXECUTED
    {                                                                 
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc1cb5c:	2f 93 00 0a 	cmpwi   cr7,r19,10                             <== NOT EXECUTED
ffc1cb60:	40 9d 00 24 	ble-    cr7,ffc1cb84 <rtems_rfs_dir_read+0x1dc><== NOT EXECUTED
ffc1cb64:	80 1d 00 18 	lwz     r0,24(r29)                             <== NOT EXECUTED
ffc1cb68:	7f 93 00 40 	cmplw   cr7,r19,r0                             <== NOT EXECUTED
ffc1cb6c:	40 9c 00 18 	bge-    cr7,ffc1cb84 <rtems_rfs_dir_read+0x1dc><== NOT EXECUTED
ffc1cb70:	2f 91 00 00 	cmpwi   cr7,r17,0                              <== NOT EXECUTED
ffc1cb74:	41 9e 00 10 	beq-    cr7,ffc1cb84 <rtems_rfs_dir_read+0x1dc><== NOT EXECUTED
ffc1cb78:	80 1d 00 10 	lwz     r0,16(r29)                             <== NOT EXECUTED
ffc1cb7c:	7f 91 00 40 	cmplw   cr7,r17,r0                             <== NOT EXECUTED
ffc1cb80:	40 9d 00 40 	ble-    cr7,ffc1cbc0 <rtems_rfs_dir_read+0x218><== NOT EXECUTED
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))               
ffc1cb84:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1cb88:	3c 80 80 00 	lis     r4,-32768                              <== NOT EXECUTED
ffc1cb8c:	4b ff 65 2d 	bl      ffc130b8 <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;                                                     
ffc1cb90:	3b 80 00 05 	li      r28,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))               
ffc1cb94:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1cb98:	41 be 01 68 	beq+    cr7,ffc1cd00 <rtems_rfs_dir_read+0x358><== NOT EXECUTED
          printf ("rtems-rfs: dir-read: "                             
ffc1cb9c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1cba0:	80 9a 00 08 	lwz     r4,8(r26)                              <== NOT EXECUTED
ffc1cba4:	80 e1 00 2c 	lwz     r7,44(r1)                              <== NOT EXECUTED
ffc1cba8:	7e 65 9b 78 	mr      r5,r19                                 <== NOT EXECUTED
ffc1cbac:	7e 26 8b 78 	mr      r6,r17                                 <== NOT EXECUTED
ffc1cbb0:	38 63 35 e5 	addi    r3,r3,13797                            <== NOT EXECUTED
ffc1cbb4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1cbb8:	48 00 4e d5 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc1cbbc:	48 00 01 44 	b       ffc1cd00 <rtems_rfs_dir_read+0x358>    <== NOT EXECUTED
                  rtems_rfs_inode_ino (dir), elength, eino, map.bpos.boff);
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      memset (dirent, 0, sizeof (struct dirent));                     
ffc1cbc0:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1cbc4:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1cbc8:	38 a0 01 18 	li      r5,280                                 <== NOT EXECUTED
ffc1cbcc:	48 00 4d 31 	bl      ffc218fc <memset>                      <== NOT EXECUTED
      dirent->d_off = offset;                                         
      dirent->d_reclen = sizeof (struct dirent);                      
ffc1cbd0:	38 00 01 18 	li      r0,280                                 <== NOT EXECUTED
ffc1cbd4:	b0 1b 00 10 	sth     r0,16(r27)                             <== NOT EXECUTED
                                                                      
      *length += elength;                                             
ffc1cbd8:	80 17 00 00 	lwz     r0,0(r23)                              <== NOT EXECUTED
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      memset (dirent, 0, sizeof (struct dirent));                     
      dirent->d_off = offset;                                         
ffc1cbdc:	93 db 00 08 	stw     r30,8(r27)                             <== NOT EXECUTED
      dirent->d_reclen = sizeof (struct dirent);                      
                                                                      
      *length += elength;                                             
ffc1cbe0:	7c 13 02 14 	add     r0,r19,r0                              <== NOT EXECUTED
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      memset (dirent, 0, sizeof (struct dirent));                     
      dirent->d_off = offset;                                         
ffc1cbe4:	93 fb 00 0c 	stw     r31,12(r27)                            <== NOT EXECUTED
      dirent->d_reclen = sizeof (struct dirent);                      
                                                                      
      *length += elength;                                             
ffc1cbe8:	90 17 00 00 	stw     r0,0(r23)                              <== NOT EXECUTED
                                                                      
      remaining = rtems_rfs_fs_block_size (fs) - (map.bpos.boff + elength);
ffc1cbec:	81 3d 00 08 	lwz     r9,8(r29)                              <== NOT EXECUTED
ffc1cbf0:	7e 52 48 50 	subf    r18,r18,r9                             <== NOT EXECUTED
ffc1cbf4:	7e 53 90 50 	subf    r18,r19,r18                            <== NOT EXECUTED
                                                                      
      if (remaining <= RTEMS_RFS_DIR_ENTRY_SIZE)                      
ffc1cbf8:	2f 92 00 0a 	cmpwi   cr7,r18,10                             <== NOT EXECUTED
ffc1cbfc:	41 9d 00 0c 	bgt-    cr7,ffc1cc08 <rtems_rfs_dir_read+0x260><== NOT EXECUTED
        *length += remaining;                                         
ffc1cc00:	7c 12 02 14 	add     r0,r18,r0                              <== NOT EXECUTED
ffc1cc04:	90 17 00 00 	stw     r0,0(r23)                              <== NOT EXECUTED
                                                                      
      elength -= RTEMS_RFS_DIR_ENTRY_SIZE;                            
ffc1cc08:	3a 73 ff f6 	addi    r19,r19,-10                            <== NOT EXECUTED
ffc1cc0c:	2f 93 00 ff 	cmpwi   cr7,r19,255                            <== NOT EXECUTED
ffc1cc10:	40 9d 00 08 	ble-    cr7,ffc1cc18 <rtems_rfs_dir_read+0x270><== NOT EXECUTED
ffc1cc14:	3a 60 00 ff 	li      r19,255                                <== NOT EXECUTED
      if (elength > NAME_MAX)                                         
        elength = NAME_MAX;                                           
                                                                      
      memcpy (dirent->d_name, entry + RTEMS_RFS_DIR_ENTRY_SIZE, elength);
ffc1cc18:	3b db 00 14 	addi    r30,r27,20                             <== NOT EXECUTED
ffc1cc1c:	38 94 00 0a 	addi    r4,r20,10                              <== NOT EXECUTED
ffc1cc20:	7e 65 9b 78 	mr      r5,r19                                 <== NOT EXECUTED
ffc1cc24:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1cc28:	48 00 4a bd 	bl      ffc216e4 <memcpy>                      <== NOT EXECUTED
                                                                      
      dirent->d_ino = rtems_rfs_dir_entry_ino (entry);                
ffc1cc2c:	89 34 00 00 	lbz     r9,0(r20)                              <== NOT EXECUTED
ffc1cc30:	88 14 00 01 	lbz     r0,1(r20)                              <== NOT EXECUTED
      dirent->d_namlen = elength;                                     
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                 
ffc1cc34:	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);                
ffc1cc38:	55 29 c0 0e 	rlwinm  r9,r9,24,0,7                           <== NOT EXECUTED
ffc1cc3c:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          <== NOT EXECUTED
ffc1cc40:	7d 20 03 78 	or      r0,r9,r0                               <== NOT EXECUTED
ffc1cc44:	89 34 00 03 	lbz     r9,3(r20)                              <== NOT EXECUTED
      dirent->d_namlen = elength;                                     
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                 
ffc1cc48:	3c 80 80 00 	lis     r4,-32768                              <== 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);                
ffc1cc4c:	7c 00 4b 78 	or      r0,r0,r9                               <== NOT EXECUTED
ffc1cc50:	89 34 00 02 	lbz     r9,2(r20)                              <== NOT EXECUTED
      dirent->d_namlen = elength;                                     
ffc1cc54:	b2 7b 00 12 	sth     r19,18(r27)                            <== 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);                
ffc1cc58:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           <== NOT EXECUTED
ffc1cc5c:	7c 00 4b 78 	or      r0,r0,r9                               <== NOT EXECUTED
ffc1cc60:	90 1b 00 00 	stw     r0,0(r27)                              <== NOT EXECUTED
      dirent->d_namlen = elength;                                     
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                 
ffc1cc64:	4b ff 64 55 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1cc68:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1cc6c:	41 be 00 94 	beq+    cr7,ffc1cd00 <rtems_rfs_dir_read+0x358><== NOT EXECUTED
        printf ("rtems-rfs: dir-read: found off:%" PRIdoff_t " ino:%ld name=%s\n",
ffc1cc70:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1cc74:	80 bb 00 08 	lwz     r5,8(r27)                              <== NOT EXECUTED
ffc1cc78:	80 db 00 0c 	lwz     r6,12(r27)                             <== NOT EXECUTED
ffc1cc7c:	7f c8 f3 78 	mr      r8,r30                                 <== NOT EXECUTED
ffc1cc80:	80 fb 00 00 	lwz     r7,0(r27)                              <== NOT EXECUTED
ffc1cc84:	38 63 36 29 	addi    r3,r3,13865                            <== NOT EXECUTED
ffc1cc88:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1cc8c:	48 00 4e 01 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc1cc90:	48 00 00 70 	b       ffc1cd00 <rtems_rfs_dir_read+0x358>    <== NOT EXECUTED
                dirent->d_off, dirent->d_ino, dirent->d_name);        
      break;                                                          
    }                                                                 
                                                                      
    *length += rtems_rfs_fs_block_size (fs) - map.bpos.boff;          
ffc1cc94:	80 1d 00 08 	lwz     r0,8(r29)                              <== NOT EXECUTED
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
ffc1cc98:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1cc9c:	3c 80 80 00 	lis     r4,-32768                              <== 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;          
ffc1cca0:	7e 52 00 50 	subf    r18,r18,r0                             <== NOT EXECUTED
ffc1cca4:	80 17 00 00 	lwz     r0,0(r23)                              <== NOT EXECUTED
ffc1cca8:	7e 40 92 14 	add     r18,r0,r18                             <== NOT EXECUTED
ffc1ccac:	92 57 00 00 	stw     r18,0(r23)                             <== NOT EXECUTED
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
ffc1ccb0:	4b ff 64 09 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1ccb4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1ccb8:	41 be 00 1c 	beq+    cr7,ffc1ccd4 <rtems_rfs_dir_read+0x32c><== NOT EXECUTED
      printf ("rtems-rfs: dir-read: next block: off:%" PRId64 " length:%zd\n",
ffc1ccbc:	80 f7 00 00 	lwz     r7,0(r23)                              <== NOT EXECUTED
ffc1ccc0:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc1ccc4:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc1ccc8:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc1cccc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1ccd0:	48 00 4d bd 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
              offset, *length);                                       
                                                                      
    rc = rtems_rfs_block_map_next_block (fs, &map, &block);           
ffc1ccd4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1ccd8:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc1ccdc:	7f 25 cb 78 	mr      r5,r25                                 <== NOT EXECUTED
ffc1cce0:	4b ff df 09 	bl      ffc1abe8 <rtems_rfs_block_map_next_block><== NOT EXECUTED
    if (rc == ENXIO)                                                  
ffc1cce4:	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);           
ffc1cce8:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
    if (rc == ENXIO)                                                  
ffc1ccec:	41 9e 00 10 	beq-    cr7,ffc1ccfc <rtems_rfs_dir_read+0x354><== NOT EXECUTED
                                                                      
  /*                                                                  
   * Look for an empty entry and if this is the last block that is the end of
   * the directory.                                                   
   */                                                                 
  while (rc == 0)                                                     
ffc1ccf0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1ccf4:	41 9e fd fc 	beq+    cr7,ffc1caf0 <rtems_rfs_dir_read+0x148><== NOT EXECUTED
ffc1ccf8:	48 00 00 08 	b       ffc1cd00 <rtems_rfs_dir_read+0x358>    <== NOT EXECUTED
      printf ("rtems-rfs: dir-read: next block: off:%" PRId64 " length:%zd\n",
              offset, *length);                                       
                                                                      
    rc = rtems_rfs_block_map_next_block (fs, &map, &block);           
    if (rc == ENXIO)                                                  
      rc = ENOENT;                                                    
ffc1ccfc:	3b 80 00 02 	li      r28,2                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
ffc1cd00:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc1cd04:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1cd08:	4b ff f0 05 	bl      ffc1bd0c <rtems_rfs_buffer_handle_close><== NOT EXECUTED
  rtems_rfs_block_map_close (fs, &map);                               
ffc1cd0c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1cd10:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc1cd14:	4b ff da f9 	bl      ffc1a80c <rtems_rfs_block_map_close>   <== NOT EXECUTED
  return rc;                                                          
}                                                                     
ffc1cd18:	39 61 00 a8 	addi    r11,r1,168                             <== NOT EXECUTED
ffc1cd1c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1cd20:	4b fe 5d a0 	b       ffc02ac0 <_restgpr_17_x>               <== NOT EXECUTED
                                                                      

ffc1cf40 <rtems_rfs_file_close>: } int rtems_rfs_file_close (rtems_rfs_file_system* fs, rtems_rfs_file_handle* handle) {
ffc1cf40:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1cf44:	7c 08 02 a6 	mflr    r0                                     
ffc1cf48:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc1cf4c:	7c 7d 1b 78 	mr      r29,r3                                 
ffc1cf50:	7c 9f 23 78 	mr      r31,r4                                 
  int rrc;                                                            
  int rc;                                                             
                                                                      
  rrc = 0;                                                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                   
ffc1cf54:	38 60 00 10 	li      r3,16                                  
}                                                                     
                                                                      
int                                                                   
rtems_rfs_file_close (rtems_rfs_file_system* fs,                      
                      rtems_rfs_file_handle* handle)                  
{                                                                     
ffc1cf58:	90 01 00 24 	stw     r0,36(r1)                              
  int rrc;                                                            
  int rc;                                                             
                                                                      
  rrc = 0;                                                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                   
ffc1cf5c:	38 80 00 00 	li      r4,0                                   
ffc1cf60:	4b ff 61 59 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1cf64:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1cf68:	41 be 00 1c 	beq+    cr7,ffc1cf84 <rtems_rfs_file_close+0x44><== ALWAYS TAKEN
    printf ("rtems-rfs: file-close: entry: ino=%" PRId32 "\n",        
            handle->shared->inode.ino);                               
ffc1cf6c:	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",        
ffc1cf70:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1cf74:	38 63 36 f7 	addi    r3,r3,14071                            <== NOT EXECUTED
ffc1cf78:	80 89 00 14 	lwz     r4,20(r9)                              <== NOT EXECUTED
ffc1cf7c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1cf80:	48 00 4b 0d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            handle->shared->inode.ino);                               
                                                                      
  if (handle->shared->references > 0)                                 
ffc1cf84:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc1cf88:	81 24 00 08 	lwz     r9,8(r4)                               
ffc1cf8c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1cf90:	40 9d 00 0c 	ble-    cr7,ffc1cf9c <rtems_rfs_file_close+0x5c><== NEVER TAKEN
    handle->shared->references--;                                     
ffc1cf94:	39 29 ff ff 	addi    r9,r9,-1                               
ffc1cf98:	91 24 00 08 	stw     r9,8(r4)                               
                                                                      
  if (handle->shared->references == 0)                                
ffc1cf9c:	80 04 00 08 	lwz     r0,8(r4)                               
                      rtems_rfs_file_handle* handle)                  
{                                                                     
  int rrc;                                                            
  int rc;                                                             
                                                                      
  rrc = 0;                                                            
ffc1cfa0:	3b c0 00 00 	li      r30,0                                  
            handle->shared->inode.ino);                               
                                                                      
  if (handle->shared->references > 0)                                 
    handle->shared->references--;                                     
                                                                      
  if (handle->shared->references == 0)                                
ffc1cfa4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1cfa8:	40 9e 01 e8 	bne-    cr7,ffc1d190 <rtems_rfs_file_close+0x250><== NEVER TAKEN
  {                                                                   
    if (!rtems_rfs_inode_is_loaded (&handle->shared->inode))          
ffc1cfac:	80 04 00 18 	lwz     r0,24(r4)                              
ffc1cfb0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1cfb4:	40 be 00 18 	bne+    cr7,ffc1cfcc <rtems_rfs_file_close+0x8c><== NEVER TAKEN
      rrc = rtems_rfs_inode_load (fs, &handle->shared->inode);        
ffc1cfb8:	7f a3 eb 78 	mr      r3,r29                                 
ffc1cfbc:	38 84 00 0c 	addi    r4,r4,12                               
ffc1cfc0:	4b ff 41 5d 	bl      ffc1111c <rtems_rfs_inode_load>        
                                                                      
    if (rrc == 0)                                                     
ffc1cfc4:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1cfc8:	40 a2 00 f0 	bne+    ffc1d0b8 <rtems_rfs_file_close+0x178>  <== NEVER TAKEN
    {                                                                 
      /*                                                              
       * @todo This could be clever and only update if different.     
       */                                                             
      rtems_rfs_inode_set_atime (&handle->shared->inode,              
ffc1cfcc:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc1cfd0:	80 09 00 8c 	lwz     r0,140(r9)                             
 */                                                                   
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);                  
ffc1cfd4:	81 69 00 18 	lwz     r11,24(r9)                             
ffc1cfd8:	54 0a 46 3e 	rlwinm  r10,r0,8,24,31                         
ffc1cfdc:	99 4b 00 10 	stb     r10,16(r11)                            
ffc1cfe0:	54 0a 84 3e 	rlwinm  r10,r0,16,16,31                        
ffc1cfe4:	81 69 00 18 	lwz     r11,24(r9)                             
ffc1cfe8:	99 4b 00 11 	stb     r10,17(r11)                            
ffc1cfec:	54 0a c2 3e 	rlwinm  r10,r0,24,8,31                         
ffc1cff0:	81 69 00 18 	lwz     r11,24(r9)                             
ffc1cff4:	99 4b 00 12 	stb     r10,18(r11)                            
ffc1cff8:	81 69 00 18 	lwz     r11,24(r9)                             
ffc1cffc:	98 0b 00 13 	stb     r0,19(r11)                             
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc1d000:	39 60 00 01 	li      r11,1                                  
ffc1d004:	99 69 00 1c 	stb     r11,28(r9)                             
                                 handle->shared->atime);              
      rtems_rfs_inode_set_mtime (&handle->shared->inode,              
ffc1d008:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc1d00c:	80 09 00 90 	lwz     r0,144(r9)                             
 */                                                                   
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);                  
ffc1d010:	81 49 00 18 	lwz     r10,24(r9)                             
ffc1d014:	54 08 46 3e 	rlwinm  r8,r0,8,24,31                          
ffc1d018:	99 0a 00 14 	stb     r8,20(r10)                             
ffc1d01c:	54 08 84 3e 	rlwinm  r8,r0,16,16,31                         
ffc1d020:	81 49 00 18 	lwz     r10,24(r9)                             
ffc1d024:	99 0a 00 15 	stb     r8,21(r10)                             
ffc1d028:	54 08 c2 3e 	rlwinm  r8,r0,24,8,31                          
ffc1d02c:	81 49 00 18 	lwz     r10,24(r9)                             
ffc1d030:	99 0a 00 16 	stb     r8,22(r10)                             
ffc1d034:	81 49 00 18 	lwz     r10,24(r9)                             
ffc1d038:	98 0a 00 17 	stb     r0,23(r10)                             
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc1d03c:	99 69 00 1c 	stb     r11,28(r9)                             
                                 handle->shared->mtime);              
      rtems_rfs_inode_set_ctime (&handle->shared->inode,              
ffc1d040:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc1d044:	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);                  
ffc1d048:	81 49 00 18 	lwz     r10,24(r9)                             
ffc1d04c:	54 08 46 3e 	rlwinm  r8,r0,8,24,31                          
ffc1d050:	99 0a 00 18 	stb     r8,24(r10)                             
ffc1d054:	54 08 84 3e 	rlwinm  r8,r0,16,16,31                         
ffc1d058:	81 49 00 18 	lwz     r10,24(r9)                             
ffc1d05c:	99 0a 00 19 	stb     r8,25(r10)                             
ffc1d060:	54 08 c2 3e 	rlwinm  r8,r0,24,8,31                          
ffc1d064:	81 49 00 18 	lwz     r10,24(r9)                             
ffc1d068:	99 0a 00 1a 	stb     r8,26(r10)                             
ffc1d06c:	81 49 00 18 	lwz     r10,24(r9)                             
ffc1d070:	98 0a 00 1b 	stb     r0,27(r10)                             
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc1d074:	99 69 00 1c 	stb     r11,28(r9)                             
                                 handle->shared->ctime);              
      if (!rtems_rfs_block_size_equal (&handle->shared->size,         
ffc1d078:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc1d07c:	80 09 00 84 	lwz     r0,132(r9)                             
ffc1d080:	81 69 00 3c 	lwz     r11,60(r9)                             
ffc1d084:	7f 80 58 00 	cmpw    cr7,r0,r11                             
ffc1d088:	40 be 00 18 	bne+    cr7,ffc1d0a0 <rtems_rfs_file_close+0x160>
ffc1d08c:	81 49 00 88 	lwz     r10,136(r9)                            
ffc1d090:	3b c0 00 00 	li      r30,0                                  
ffc1d094:	81 69 00 40 	lwz     r11,64(r9)                             
ffc1d098:	7f 8a 58 00 	cmpw    cr7,r10,r11                            
ffc1d09c:	41 9e 00 1c 	beq-    cr7,ffc1d0b8 <rtems_rfs_file_close+0x178><== 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);                       
ffc1d0a0:	90 09 00 3c 	stw     r0,60(r9)                              
  map->dirty = true;                                                  
ffc1d0a4:	3b c0 00 00 	li      r30,0                                  
 */                                                                   
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);                       
ffc1d0a8:	80 09 00 88 	lwz     r0,136(r9)                             
ffc1d0ac:	90 09 00 40 	stw     r0,64(r9)                              
  map->dirty = true;                                                  
ffc1d0b0:	38 00 00 01 	li      r0,1                                   
ffc1d0b4:	98 09 00 34 	stb     r0,52(r9)                              
                                       &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);        
ffc1d0b8:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc1d0bc:	7f a3 eb 78 	mr      r3,r29                                 
ffc1d0c0:	38 84 00 34 	addi    r4,r4,52                               
ffc1d0c4:	4b ff d7 49 	bl      ffc1a80c <rtems_rfs_block_map_close>   
    if (rc > 0)                                                       
ffc1d0c8:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1d0cc:	40 81 00 50 	ble-    ffc1d11c <rtems_rfs_file_close+0x1dc>  <== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))               
ffc1d0d0:	38 60 00 10 	li      r3,16                                  <== NOT EXECUTED
ffc1d0d4:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1d0d8:	4b ff 5f e1 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1d0dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1d0e0:	41 be 00 30 	beq+    cr7,ffc1d110 <rtems_rfs_file_close+0x1d0><== NOT EXECUTED
        printf ("rtems-rfs: file-close: map close error: ino=%" PRId32 ": %d: %s\n",
                handle->shared->inode.ino, rc, strerror (rc));        
ffc1d0e4:	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",
ffc1d0e8:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1d0ec:	83 69 00 14 	lwz     r27,20(r9)                             <== NOT EXECUTED
ffc1d0f0:	48 00 57 09 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1d0f4:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc1d0f8:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1d0fc:	38 63 37 1e 	addi    r3,r3,14110                            <== NOT EXECUTED
ffc1d100:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc1d104:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc1d108:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1d10c:	48 00 49 81 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                handle->shared->inode.ino, rc, strerror (rc));        
      if (rrc == 0)                                                   
ffc1d110:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== NOT EXECUTED
ffc1d114:	40 9e 00 08 	bne-    cr7,ffc1d11c <rtems_rfs_file_close+0x1dc><== NOT EXECUTED
ffc1d118:	7f 9e e3 78 	mr      r30,r28                                <== NOT EXECUTED
        rrc = rc;                                                     
    }                                                                 
                                                                      
    rc = rtems_rfs_inode_close (fs, &handle->shared->inode);          
ffc1d11c:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc1d120:	7f a3 eb 78 	mr      r3,r29                                 
ffc1d124:	38 84 00 0c 	addi    r4,r4,12                               
ffc1d128:	4b ff 42 a1 	bl      ffc113c8 <rtems_rfs_inode_close>       
    if (rc > 0)                                                       
ffc1d12c:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1d130:	40 81 00 50 	ble-    ffc1d180 <rtems_rfs_file_close+0x240>  <== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))               
ffc1d134:	38 60 00 10 	li      r3,16                                  <== NOT EXECUTED
ffc1d138:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1d13c:	4b ff 5f 7d 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1d140:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1d144:	41 be 00 30 	beq+    cr7,ffc1d174 <rtems_rfs_file_close+0x234><== NOT EXECUTED
        printf ("rtems-rfs: file-close: inode close error: ino=%" PRId32 ": %d: %s\n",
                handle->shared->inode.ino, rc, strerror (rc));        
ffc1d148:	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",
ffc1d14c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1d150:	83 69 00 14 	lwz     r27,20(r9)                             <== NOT EXECUTED
ffc1d154:	48 00 56 a5 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1d158:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc1d15c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1d160:	38 63 37 57 	addi    r3,r3,14167                            <== NOT EXECUTED
ffc1d164:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc1d168:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc1d16c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1d170:	48 00 49 1d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                handle->shared->inode.ino, rc, strerror (rc));        
      if (rrc == 0)                                                   
ffc1d174:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== NOT EXECUTED
ffc1d178:	40 9e 00 08 	bne-    cr7,ffc1d180 <rtems_rfs_file_close+0x240><== NOT EXECUTED
ffc1d17c:	7f 9e e3 78 	mr      r30,r28                                <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc1d180:	80 7f 00 1c 	lwz     r3,28(r31)                             
ffc1d184:	4b fe f8 69 	bl      ffc0c9ec <_Chain_Extract>              
        rrc = rc;                                                     
    }                                                                 
                                                                      
    rtems_chain_extract (&handle->shared->link);                      
    free (handle->shared);                                            
ffc1d188:	80 7f 00 1c 	lwz     r3,28(r31)                             
ffc1d18c:	4b fe a7 5d 	bl      ffc078e8 <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);                       
ffc1d190:	7f a3 eb 78 	mr      r3,r29                                 
ffc1d194:	38 9f 00 04 	addi    r4,r31,4                               
ffc1d198:	4b ff e2 ed 	bl      ffc1b484 <rtems_rfs_buffer_handle_release>
                                                                      
  rc = rtems_rfs_buffer_handle_close (fs, &handle->buffer);           
  if ((rrc == 0) && (rc > 0))                                         
    rrc = rc;                                                         
                                                                      
  if (rrc > 0)                                                        
ffc1d19c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
  handle->dirty = false;                                              
ffc1d1a0:	38 00 00 00 	li      r0,0                                   
ffc1d1a4:	98 1f 00 04 	stb     r0,4(r31)                              
  handle->bnum  = 0;                                                  
ffc1d1a8:	38 00 00 00 	li      r0,0                                   
ffc1d1ac:	90 1f 00 08 	stw     r0,8(r31)                              
  handle->buffer = NULL;                                              
ffc1d1b0:	90 1f 00 0c 	stw     r0,12(r31)                             
ffc1d1b4:	40 9d 00 38 	ble-    cr7,ffc1d1ec <rtems_rfs_file_close+0x2ac><== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                 
ffc1d1b8:	38 60 00 10 	li      r3,16                                  <== NOT EXECUTED
ffc1d1bc:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1d1c0:	4b ff 5e f9 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1d1c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1d1c8:	41 be 00 24 	beq+    cr7,ffc1d1ec <rtems_rfs_file_close+0x2ac><== NOT EXECUTED
      printf ("rtems-rfs: file-close: result: %d: %s\n", rrc, strerror (rrc));
ffc1d1cc:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1d1d0:	48 00 56 29 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1d1d4:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1d1d8:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1d1dc:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1d1e0:	38 63 37 92 	addi    r3,r3,14226                            <== NOT EXECUTED
ffc1d1e4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1d1e8:	48 00 48 a5 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  free (handle);                                                      
ffc1d1ec:	7f e3 fb 78 	mr      r3,r31                                 
ffc1d1f0:	4b fe a6 f9 	bl      ffc078e8 <free>                        
                                                                      
  return rrc;                                                         
}                                                                     
ffc1d1f4:	39 61 00 20 	addi    r11,r1,32                              
ffc1d1f8:	7f c3 f3 78 	mr      r3,r30                                 
ffc1d1fc:	4b fe 58 ec 	b       ffc02ae8 <_restgpr_27_x>               
                                                                      

ffc1da64 <rtems_rfs_file_get_shared>: */ RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First( Chain_Control *the_chain ) { return _Chain_Head( the_chain )->next;
ffc1da64:	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));                        
ffc1da68:	38 63 00 74 	addi    r3,r3,116                              
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))               
ffc1da6c:	48 00 00 14 	b       ffc1da80 <rtems_rfs_file_get_shared+0x1c>
  {                                                                   
    rtems_rfs_file_shared* shared;                                    
    shared = (rtems_rfs_file_shared*) node;                           
    if (shared->inode.ino == ino)                                     
ffc1da70:	80 09 00 14 	lwz     r0,20(r9)                              <== NOT EXECUTED
ffc1da74:	7f 80 20 00 	cmpw    cr7,r0,r4                              <== NOT EXECUTED
ffc1da78:	41 9e 00 18 	beq-    cr7,ffc1da90 <rtems_rfs_file_get_shared+0x2c><== NOT EXECUTED
      return shared;                                                  
    node = rtems_chain_next (node);                                   
  }                                                                   
  return NULL;                                                        
}                                                                     
ffc1da7c:	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))               
ffc1da80:	7f 89 18 00 	cmpw    cr7,r9,r3                              
ffc1da84:	40 9e ff ec 	bne+    cr7,ffc1da70 <rtems_rfs_file_get_shared+0xc><== NEVER TAKEN
    shared = (rtems_rfs_file_shared*) node;                           
    if (shared->inode.ino == ino)                                     
      return shared;                                                  
    node = rtems_chain_next (node);                                   
  }                                                                   
  return NULL;                                                        
ffc1da88:	38 60 00 00 	li      r3,0                                   
ffc1da8c:	4e 80 00 20 	blr                                            
  node = rtems_chain_first (&fs->file_shares);                        
  while (!rtems_chain_is_tail (&fs->file_shares, node))               
  {                                                                   
    rtems_rfs_file_shared* shared;                                    
    shared = (rtems_rfs_file_shared*) node;                           
    if (shared->inode.ino == ino)                                     
ffc1da90:	7d 23 4b 78 	mr      r3,r9                                  <== NOT EXECUTED
      return shared;                                                  
    node = rtems_chain_next (node);                                   
  }                                                                   
  return NULL;                                                        
}                                                                     
ffc1da94:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1d424 <rtems_rfs_file_io_end>: int rtems_rfs_file_io_end (rtems_rfs_file_handle* handle, size_t size, bool read) {
ffc1d424:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1d428:	7c 08 02 a6 	mflr    r0                                     
ffc1d42c:	bf 41 00 08 	stmw    r26,8(r1)                              
ffc1d430:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1d434:	7c 9c 23 78 	mr      r28,r4                                 
  bool atime;                                                         
  bool mtime;                                                         
  bool length;                                                        
  int  rc = 0;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc1d438:	38 60 00 20 	li      r3,32                                  
                                                                      
int                                                                   
rtems_rfs_file_io_end (rtems_rfs_file_handle* handle,                 
                       size_t                 size,                   
                       bool                   read)                   
{                                                                     
ffc1d43c:	90 01 00 24 	stw     r0,36(r1)                              
  bool atime;                                                         
  bool mtime;                                                         
  bool length;                                                        
  int  rc = 0;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc1d440:	38 80 00 00 	li      r4,0                                   
                                                                      
int                                                                   
rtems_rfs_file_io_end (rtems_rfs_file_handle* handle,                 
                       size_t                 size,                   
                       bool                   read)                   
{                                                                     
ffc1d444:	7c be 2b 78 	mr      r30,r5                                 
  bool atime;                                                         
  bool mtime;                                                         
  bool length;                                                        
  int  rc = 0;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc1d448:	4b ff 5c 71 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1d44c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1d450:	41 9e 00 34 	beq-    cr7,ffc1d484 <rtems_rfs_file_io_end+0x60><== ALWAYS TAKEN
    printf ("rtems-rfs: file-io:   end: %s size=%zu\n",               
ffc1d454:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== NOT EXECUTED
ffc1d458:	41 9e 00 10 	beq-    cr7,ffc1d468 <rtems_rfs_file_io_end+0x44><== NOT EXECUTED
ffc1d45c:	3c 80 ff c3 	lis     r4,-61                                 <== NOT EXECUTED
ffc1d460:	38 84 24 34 	addi    r4,r4,9268                             <== NOT EXECUTED
ffc1d464:	48 00 00 0c 	b       ffc1d470 <rtems_rfs_file_io_end+0x4c>  <== NOT EXECUTED
ffc1d468:	3c 80 ff c3 	lis     r4,-61                                 <== NOT EXECUTED
ffc1d46c:	38 84 05 35 	addi    r4,r4,1333                             <== NOT EXECUTED
ffc1d470:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1d474:	38 63 38 6a 	addi    r3,r3,14442                            <== NOT EXECUTED
ffc1d478:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc1d47c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1d480:	48 00 46 0d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            read ? "read" : "write", size);                           
                                                                      
  if (rtems_rfs_buffer_handle_has_block (&handle->buffer))            
ffc1d484:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc1d488:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1d48c:	41 9e 00 74 	beq-    cr7,ffc1d500 <rtems_rfs_file_io_end+0xdc><== NEVER TAKEN
  {                                                                   
    if (!read)                                                        
ffc1d490:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc1d494:	40 9e 00 0c 	bne-    cr7,ffc1d4a0 <rtems_rfs_file_io_end+0x7c>
      rtems_rfs_buffer_mark_dirty (rtems_rfs_file_buffer (handle));   
ffc1d498:	38 00 00 01 	li      r0,1                                   
ffc1d49c:	98 1f 00 04 	stb     r0,4(r31)                              
    rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle), 
ffc1d4a0:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc1d4a4:	38 9f 00 04 	addi    r4,r31,4                               
ffc1d4a8:	80 69 00 98 	lwz     r3,152(r9)                             
ffc1d4ac:	4b ff df d9 	bl      ffc1b484 <rtems_rfs_buffer_handle_release>
                                          rtems_rfs_file_buffer (handle));
    if (rc > 0)                                                       
ffc1d4b0:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc1d4b4:	40 81 00 50 	ble-    ffc1d504 <rtems_rfs_file_io_end+0xe0>  <== ALWAYS TAKEN
    {                                                                 
      printf (                                                        
ffc1d4b8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== NOT EXECUTED
ffc1d4bc:	41 be 00 10 	beq+    cr7,ffc1d4cc <rtems_rfs_file_io_end+0xa8><== NOT EXECUTED
ffc1d4c0:	3f e0 ff c3 	lis     r31,-61                                <== NOT EXECUTED
ffc1d4c4:	3b ff 24 34 	addi    r31,r31,9268                           <== NOT EXECUTED
ffc1d4c8:	48 00 00 0c 	b       ffc1d4d4 <rtems_rfs_file_io_end+0xb0>  <== NOT EXECUTED
ffc1d4cc:	3f e0 ff c3 	lis     r31,-61                                <== NOT EXECUTED
ffc1d4d0:	3b ff 05 35 	addi    r31,r31,1333                           <== NOT EXECUTED
ffc1d4d4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1d4d8:	48 00 53 21 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1d4dc:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1d4e0:	7c 67 1b 78 	mr      r7,r3                                  <== NOT EXECUTED
ffc1d4e4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1d4e8:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc1d4ec:	7f a6 eb 78 	mr      r6,r29                                 <== NOT EXECUTED
ffc1d4f0:	38 63 38 92 	addi    r3,r3,14482                            <== NOT EXECUTED
ffc1d4f4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1d4f8:	48 00 45 95 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
        "rtems-rfs: file-io:   end: error on release: %s size=%zu: %d: %s\n",
        read ? "read" : "write", size, rc, strerror (rc));            
                                                                      
      return rc;                                                      
ffc1d4fc:	48 00 01 94 	b       ffc1d690 <rtems_rfs_file_io_end+0x26c> <== NOT EXECUTED
                       bool                   read)                   
{                                                                     
  bool atime;                                                         
  bool mtime;                                                         
  bool length;                                                        
  int  rc = 0;                                                        
ffc1d500:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
   * the size with the new length. The map holds the block count.     
   */                                                                 
  handle->bpos.boff += size;                                          
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
ffc1d504:	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;                                          
ffc1d508:	80 1f 00 14 	lwz     r0,20(r31)                             
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
ffc1d50c:	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;                                          
ffc1d510:	7f 9c 02 14 	add     r28,r28,r0                             
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
ffc1d514:	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;                                          
ffc1d518:	93 9f 00 14 	stw     r28,20(r31)                            
                                                                      
  if (handle->bpos.boff >=                                            
ffc1d51c:	7f 9c 00 40 	cmplw   cr7,r28,r0                             
ffc1d520:	41 9c 00 18 	blt-    cr7,ffc1d538 <rtems_rfs_file_io_end+0x114><== ALWAYS TAKEN
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
  {                                                                   
    handle->bpos.bno++;                                               
ffc1d524:	81 7f 00 10 	lwz     r11,16(r31)                            <== NOT EXECUTED
    handle->bpos.boff -= rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
ffc1d528:	7f 80 e0 50 	subf    r28,r0,r28                             <== NOT EXECUTED
ffc1d52c:	93 9f 00 14 	stw     r28,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++;                                               
ffc1d530:	39 6b 00 01 	addi    r11,r11,1                              <== NOT EXECUTED
ffc1d534:	91 7f 00 10 	stw     r11,16(r31)                            <== NOT EXECUTED
  }                                                                   
                                                                      
  length = false;                                                     
  mtime = false;                                                      
                                                                      
  if (!read &&                                                        
ffc1d538:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    handle->bpos.bno++;                                               
    handle->bpos.boff -= rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
  }                                                                   
                                                                      
  length = false;                                                     
  mtime = false;                                                      
ffc1d53c:	38 00 00 00 	li      r0,0                                   
                                                                      
  if (!read &&                                                        
ffc1d540:	40 9e 00 58 	bne-    cr7,ffc1d598 <rtems_rfs_file_io_end+0x174>
      rtems_rfs_block_map_past_end (rtems_rfs_file_map (handle),      
ffc1d544:	81 7f 00 10 	lwz     r11,16(r31)                            
ffc1d548:	81 49 00 3c 	lwz     r10,60(r9)                             
  }                                                                   
                                                                      
  length = false;                                                     
  mtime = false;                                                      
                                                                      
  if (!read &&                                                        
ffc1d54c:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc1d550:	41 9e 00 0c 	beq-    cr7,ffc1d55c <rtems_rfs_file_io_end+0x138><== ALWAYS TAKEN
      rtems_rfs_block_map_past_end (rtems_rfs_file_map (handle),      
ffc1d554:	2f 8a 00 00 	cmpwi   cr7,r10,0                              <== NOT EXECUTED
ffc1d558:	41 9e 00 2c 	beq-    cr7,ffc1d584 <rtems_rfs_file_io_end+0x160><== NOT EXECUTED
ffc1d55c:	7f 8b 50 40 	cmplw   cr7,r11,r10                            
ffc1d560:	40 9c 00 24 	bge-    cr7,ffc1d584 <rtems_rfs_file_io_end+0x160><== NEVER TAKEN
ffc1d564:	39 4a ff ff 	addi    r10,r10,-1                             
ffc1d568:	7f 8b 50 00 	cmpw    cr7,r11,r10                            
    handle->bpos.bno++;                                               
    handle->bpos.boff -= rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
  }                                                                   
                                                                      
  length = false;                                                     
  mtime = false;                                                      
ffc1d56c:	38 00 00 00 	li      r0,0                                   
                                                                      
  if (!read &&                                                        
      rtems_rfs_block_map_past_end (rtems_rfs_file_map (handle),      
ffc1d570:	40 be 00 28 	bne+    cr7,ffc1d598 <rtems_rfs_file_io_end+0x174><== NEVER TAKEN
ffc1d574:	81 5f 00 14 	lwz     r10,20(r31)                            
ffc1d578:	81 69 00 40 	lwz     r11,64(r9)                             
ffc1d57c:	7f 8a 58 40 	cmplw   cr7,r10,r11                            
ffc1d580:	40 9d 00 18 	ble-    cr7,ffc1d598 <rtems_rfs_file_io_end+0x174>
 */                                                                   
static inline void                                                    
rtems_rfs_block_map_set_size_offset (rtems_rfs_block_map* map,        
                                     rtems_rfs_block_off  offset)     
{                                                                     
  map->size.offset = offset;                                          
ffc1d584:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc1d588:	90 09 00 40 	stw     r0,64(r9)                              
  map->dirty = true;                                                  
ffc1d58c:	38 00 00 01 	li      r0,1                                   
ffc1d590:	98 09 00 34 	stb     r0,52(r9)                              
                                    rtems_rfs_file_bpos (handle)))    
  {                                                                   
    rtems_rfs_block_map_set_size_offset (rtems_rfs_file_map (handle), 
                                         handle->bpos.boff);          
    length = true;                                                    
    mtime = true;                                                     
ffc1d594:	38 00 00 01 	li      r0,1                                   
  }                                                                   
                                                                      
  atime  = rtems_rfs_file_update_atime (handle);                      
ffc1d598:	81 3f 00 00 	lwz     r9,0(r31)                              
  mtime  = rtems_rfs_file_update_mtime (handle) && mtime;             
ffc1d59c:	3b 80 00 00 	li      r28,0                                  
                                         handle->bpos.boff);          
    length = true;                                                    
    mtime = true;                                                     
  }                                                                   
                                                                      
  atime  = rtems_rfs_file_update_atime (handle);                      
ffc1d5a0:	71 2b 00 01 	andi.   r11,r9,1                               
ffc1d5a4:	7f 60 00 26 	mfcr    r27                                    
ffc1d5a8:	57 7b 1f fe 	rlwinm  r27,r27,3,31,31                        
  mtime  = rtems_rfs_file_update_mtime (handle) && mtime;             
ffc1d5ac:	71 2b 00 02 	andi.   r11,r9,2                               
ffc1d5b0:	40 82 00 08 	bne-    ffc1d5b8 <rtems_rfs_file_io_end+0x194> <== NEVER TAKEN
ffc1d5b4:	7c 1c 03 78 	mr      r28,r0                                 
  length = rtems_rfs_file_update_length (handle) && length;           
ffc1d5b8:	71 2b 00 04 	andi.   r11,r9,4                               
    length = true;                                                    
    mtime = true;                                                     
  }                                                                   
                                                                      
  atime  = rtems_rfs_file_update_atime (handle);                      
  mtime  = rtems_rfs_file_update_mtime (handle) && mtime;             
ffc1d5bc:	57 9c 06 3e 	clrlwi  r28,r28,24                             
  length = rtems_rfs_file_update_length (handle) && length;           
ffc1d5c0:	3b 40 00 00 	li      r26,0                                  
ffc1d5c4:	40 82 00 08 	bne-    ffc1d5cc <rtems_rfs_file_io_end+0x1a8> <== NEVER TAKEN
ffc1d5c8:	7c 1a 03 78 	mr      r26,r0                                 
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc1d5cc:	38 60 00 20 	li      r3,32                                  
ffc1d5d0:	38 80 00 00 	li      r4,0                                   
ffc1d5d4:	4b ff 5a e5 	bl      ffc130b8 <rtems_rfs_trace>             
    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;           
ffc1d5d8:	57 5a 06 3e 	clrlwi  r26,r26,24                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc1d5dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1d5e0:	41 9e 00 50 	beq-    cr7,ffc1d630 <rtems_rfs_file_io_end+0x20c><== ALWAYS TAKEN
    printf ("rtems-rfs: file-io:   end: pos=%" PRIu32 ":%" PRIu32 " %c %c %c\n",
ffc1d5e4:	30 db ff ff 	addic   r6,r27,-1                              <== NOT EXECUTED
ffc1d5e8:	7c c6 31 10 	subfe   r6,r6,r6                               <== NOT EXECUTED
ffc1d5ec:	80 9f 00 10 	lwz     r4,16(r31)                             <== NOT EXECUTED
ffc1d5f0:	80 bf 00 14 	lwz     r5,20(r31)                             <== NOT EXECUTED
ffc1d5f4:	38 00 ff ec 	li      r0,-20                                 <== NOT EXECUTED
ffc1d5f8:	30 fc ff ff 	addic   r7,r28,-1                              <== NOT EXECUTED
ffc1d5fc:	7c e7 39 10 	subfe   r7,r7,r7                               <== NOT EXECUTED
ffc1d600:	31 1a ff ff 	addic   r8,r26,-1                              <== NOT EXECUTED
ffc1d604:	7d 08 41 10 	subfe   r8,r8,r8                               <== NOT EXECUTED
ffc1d608:	7c c6 00 38 	and     r6,r6,r0                               <== NOT EXECUTED
ffc1d60c:	54 e7 00 34 	rlwinm  r7,r7,0,0,26                           <== NOT EXECUTED
ffc1d610:	55 08 07 f4 	rlwinm  r8,r8,0,31,26                          <== NOT EXECUTED
ffc1d614:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1d618:	38 63 38 d4 	addi    r3,r3,14548                            <== NOT EXECUTED
ffc1d61c:	38 c6 00 41 	addi    r6,r6,65                               <== NOT EXECUTED
ffc1d620:	38 e7 00 4d 	addi    r7,r7,77                               <== NOT EXECUTED
ffc1d624:	39 08 00 4c 	addi    r8,r8,76                               <== NOT EXECUTED
ffc1d628:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1d62c:	48 00 44 61 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            handle->bpos.bno, handle->bpos.boff,                      
            atime ? 'A' : '-', mtime ? 'M' : '-', length ? 'L' : '-');
                                                                      
  if (atime || mtime)                                                 
ffc1d630:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc1d634:	40 9e 00 0c 	bne-    cr7,ffc1d640 <rtems_rfs_file_io_end+0x21c><== ALWAYS TAKEN
ffc1d638:	2f 9c 00 00 	cmpwi   cr7,r28,0                              <== NOT EXECUTED
ffc1d63c:	41 9e 00 38 	beq-    cr7,ffc1d674 <rtems_rfs_file_io_end+0x250><== NOT EXECUTED
  {                                                                   
    time_t now = time (NULL);                                         
ffc1d640:	38 60 00 00 	li      r3,0                                   
ffc1d644:	48 00 7c c9 	bl      ffc2530c <time>                        
    if (read && atime)                                                
ffc1d648:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc1d64c:	41 9e 00 18 	beq-    cr7,ffc1d664 <rtems_rfs_file_io_end+0x240>
ffc1d650:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc1d654:	41 9e 00 20 	beq-    cr7,ffc1d674 <rtems_rfs_file_io_end+0x250><== NEVER TAKEN
      handle->shared->atime = now;                                    
ffc1d658:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc1d65c:	90 69 00 8c 	stw     r3,140(r9)                             
ffc1d660:	48 00 00 14 	b       ffc1d674 <rtems_rfs_file_io_end+0x250> 
    if (!read && mtime)                                               
ffc1d664:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc1d668:	41 9e 00 0c 	beq-    cr7,ffc1d674 <rtems_rfs_file_io_end+0x250>
      handle->shared->mtime = now;                                    
ffc1d66c:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc1d670:	90 69 00 90 	stw     r3,144(r9)                             
  }                                                                   
  if (length)                                                         
ffc1d674:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc1d678:	41 9e 00 18 	beq-    cr7,ffc1d690 <rtems_rfs_file_io_end+0x26c>
  {                                                                   
    handle->shared->size.count =                                      
      rtems_rfs_block_map_count (rtems_rfs_file_map (handle));        
ffc1d67c:	81 3f 00 1c 	lwz     r9,28(r31)                             
    if (!read && mtime)                                               
      handle->shared->mtime = now;                                    
  }                                                                   
  if (length)                                                         
  {                                                                   
    handle->shared->size.count =                                      
ffc1d680:	80 09 00 3c 	lwz     r0,60(r9)                              
ffc1d684:	90 09 00 84 	stw     r0,132(r9)                             
      rtems_rfs_block_map_count (rtems_rfs_file_map (handle));        
    handle->shared->size.offset =                                     
ffc1d688:	80 09 00 40 	lwz     r0,64(r9)                              
ffc1d68c:	90 09 00 88 	stw     r0,136(r9)                             
      rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle));  
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc1d690:	39 61 00 20 	addi    r11,r1,32                              
ffc1d694:	7f a3 eb 78 	mr      r3,r29                                 
ffc1d698:	4b fe 54 4c 	b       ffc02ae4 <_restgpr_26_x>               
                                                                      

ffc1d69c <rtems_rfs_file_io_release>: int rtems_rfs_file_io_release (rtems_rfs_file_handle* handle) {
ffc1d69c:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1d6a0:	94 21 ff f8 	stwu    r1,-8(r1)                              <== NOT EXECUTED
ffc1d6a4:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc1d6a8:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
  int rc = 0;                                                         
  if (rtems_rfs_buffer_handle_has_block (&handle->buffer))            
ffc1d6ac:	80 03 00 0c 	lwz     r0,12(r3)                              <== NOT EXECUTED
}                                                                     
                                                                      
int                                                                   
rtems_rfs_file_io_release (rtems_rfs_file_handle* handle)             
{                                                                     
  int rc = 0;                                                         
ffc1d6b0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
  if (rtems_rfs_buffer_handle_has_block (&handle->buffer))            
ffc1d6b4:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1d6b8:	41 9e 00 14 	beq-    cr7,ffc1d6cc <rtems_rfs_file_io_release+0x30><== NOT EXECUTED
    rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle), 
ffc1d6bc:	81 24 00 1c 	lwz     r9,28(r4)                              <== NOT EXECUTED
ffc1d6c0:	38 84 00 04 	addi    r4,r4,4                                <== NOT EXECUTED
ffc1d6c4:	80 69 00 98 	lwz     r3,152(r9)                             <== NOT EXECUTED
ffc1d6c8:	4b ff dd bd 	bl      ffc1b484 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
                                          rtems_rfs_file_buffer (handle));
  return rc;                                                          
}                                                                     
ffc1d6cc:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc1d6d0:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc1d6d4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1d6d8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1d200 <rtems_rfs_file_io_start>: int rtems_rfs_file_io_start (rtems_rfs_file_handle* handle, size_t* available, bool read) {
ffc1d200:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc1d204:	7c 08 02 a6 	mflr    r0                                     
ffc1d208:	bf 61 00 1c 	stmw    r27,28(r1)                             
ffc1d20c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1d210:	7c 9e 23 78 	mr      r30,r4                                 
  size_t size;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc1d214:	38 60 00 20 	li      r3,32                                  
                                                                      
int                                                                   
rtems_rfs_file_io_start (rtems_rfs_file_handle* handle,               
                         size_t*                available,            
                         bool                   read)                 
{                                                                     
ffc1d218:	90 01 00 34 	stw     r0,52(r1)                              
  size_t size;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc1d21c:	38 80 00 00 	li      r4,0                                   
                                                                      
int                                                                   
rtems_rfs_file_io_start (rtems_rfs_file_handle* handle,               
                         size_t*                available,            
                         bool                   read)                 
{                                                                     
ffc1d220:	7c bd 2b 78 	mr      r29,r5                                 
  size_t size;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc1d224:	4b ff 5e 95 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1d228:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1d22c:	41 9e 00 38 	beq-    cr7,ffc1d264 <rtems_rfs_file_io_start+0x64><== ALWAYS TAKEN
    printf ("rtems-rfs: file-io: start: %s pos=%" PRIu32 ":%" PRIu32 "\n",
ffc1d230:	2f 9d 00 00 	cmpwi   cr7,r29,0                              <== NOT EXECUTED
ffc1d234:	41 9e 00 10 	beq-    cr7,ffc1d244 <rtems_rfs_file_io_start+0x44><== NOT EXECUTED
ffc1d238:	3c 80 ff c3 	lis     r4,-61                                 <== NOT EXECUTED
ffc1d23c:	38 84 24 34 	addi    r4,r4,9268                             <== NOT EXECUTED
ffc1d240:	48 00 00 0c 	b       ffc1d24c <rtems_rfs_file_io_start+0x4c><== NOT EXECUTED
ffc1d244:	3c 80 ff c3 	lis     r4,-61                                 <== NOT EXECUTED
ffc1d248:	38 84 05 35 	addi    r4,r4,1333                             <== NOT EXECUTED
ffc1d24c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1d250:	80 bf 00 10 	lwz     r5,16(r31)                             <== NOT EXECUTED
ffc1d254:	80 df 00 14 	lwz     r6,20(r31)                             <== NOT EXECUTED
ffc1d258:	38 63 37 b9 	addi    r3,r3,14265                            <== NOT EXECUTED
ffc1d25c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1d260:	48 00 48 2d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            read ? "read" : "write",  handle->bpos.bno, handle->bpos.boff);
                                                                      
  if (!rtems_rfs_buffer_handle_has_block (&handle->buffer))           
ffc1d264:	83 9f 00 0c 	lwz     r28,12(r31)                            
ffc1d268:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc1d26c:	40 be 01 28 	bne+    cr7,ffc1d394 <rtems_rfs_file_io_start+0x194><== NEVER TAKEN
    bool                   request_read;                              
    int                    rc;                                        
                                                                      
    request_read = read;                                              
                                                                      
    rc = rtems_rfs_block_map_find (rtems_rfs_file_fs (handle),        
ffc1d270:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc1d274:	38 bf 00 10 	addi    r5,r31,16                              
ffc1d278:	38 c1 00 08 	addi    r6,r1,8                                
ffc1d27c:	80 64 00 98 	lwz     r3,152(r4)                             
ffc1d280:	38 84 00 34 	addi    r4,r4,52                               
ffc1d284:	4b ff d7 75 	bl      ffc1a9f8 <rtems_rfs_block_map_find>    
ffc1d288:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
                                   rtems_rfs_file_map (handle),       
                                   rtems_rfs_file_bpos (handle),      
                                   &block);                           
    if (rc > 0)                                                       
ffc1d28c:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc1d290:	40 81 00 68 	ble-    ffc1d2f8 <rtems_rfs_file_io_start+0xf8><== ALWAYS TAKEN
ffc1d294:	2f 1b 00 06 	cmpwi   cr6,r27,6                              <== NOT EXECUTED
    {                                                                 
      /*                                                              
       * Has the read reached the EOF ?                               
       */                                                             
      if (read && (rc == ENXIO))                                      
ffc1d298:	41 9e 00 14 	beq-    cr7,ffc1d2ac <rtems_rfs_file_io_start+0xac><== NOT EXECUTED
ffc1d29c:	40 ba 01 7c 	bne+    cr6,ffc1d418 <rtems_rfs_file_io_start+0x218><== NOT EXECUTED
      {                                                               
        *available = 0;                                               
ffc1d2a0:	93 9e 00 00 	stw     r28,0(r30)                             <== NOT EXECUTED
        return 0;                                                     
ffc1d2a4:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc1d2a8:	48 00 01 70 	b       ffc1d418 <rtems_rfs_file_io_start+0x218><== NOT EXECUTED
      }                                                               
                                                                      
      if (rc != ENXIO)                                                
ffc1d2ac:	40 ba 01 6c 	bne+    cr6,ffc1d418 <rtems_rfs_file_io_start+0x218><== NOT EXECUTED
        return rc;                                                    
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                  
ffc1d2b0:	38 60 00 20 	li      r3,32                                  <== NOT EXECUTED
ffc1d2b4:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1d2b8:	4b ff 5e 01 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1d2bc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1d2c0:	41 be 00 10 	beq+    cr7,ffc1d2d0 <rtems_rfs_file_io_start+0xd0><== NOT EXECUTED
        printf ("rtems-rfs: file-io: start: grow\n");                 
ffc1d2c4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1d2c8:	38 63 37 e4 	addi    r3,r3,14308                            <== NOT EXECUTED
ffc1d2cc:	48 00 49 75 	bl      ffc21c40 <puts>                        <== NOT EXECUTED
                                                                      
      rc = rtems_rfs_block_map_grow (rtems_rfs_file_fs (handle),      
ffc1d2d0:	80 9f 00 1c 	lwz     r4,28(r31)                             <== NOT EXECUTED
ffc1d2d4:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc1d2d8:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc1d2dc:	80 64 00 98 	lwz     r3,152(r4)                             <== NOT EXECUTED
ffc1d2e0:	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;                                           
ffc1d2e4:	3b 80 00 00 	li      r28,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),      
ffc1d2e8:	4b ff d9 41 	bl      ffc1ac28 <rtems_rfs_block_map_grow>    <== NOT EXECUTED
                                     rtems_rfs_file_map (handle),     
                                     1, &block);                      
      if (rc > 0)                                                     
ffc1d2ec:	7c 7b 1b 79 	mr.     r27,r3                                 <== NOT EXECUTED
ffc1d2f0:	41 a1 01 28 	bgt+    ffc1d418 <rtems_rfs_file_io_start+0x218><== NOT EXECUTED
ffc1d2f4:	48 00 00 3c 	b       ffc1d330 <rtems_rfs_file_io_start+0x130><== 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 &&                                                    
ffc1d2f8:	40 9e 00 34 	bne-    cr7,ffc1d32c <rtems_rfs_file_io_start+0x12c>
ffc1d2fc:	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;                                          
ffc1d300:	3b 80 00 01 	li      r28,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 &&                                                    
ffc1d304:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1d308:	40 9e 00 28 	bne-    cr7,ffc1d330 <rtems_rfs_file_io_start+0x130><== NEVER TAKEN
          (rtems_rfs_file_block_offset (handle) ||                    
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
ffc1d30c:	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) ||                    
ffc1d310:	83 9e 00 00 	lwz     r28,0(r30)                             
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
ffc1d314:	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) ||                    
ffc1d318:	80 09 00 08 	lwz     r0,8(r9)                               
ffc1d31c:	7f 80 e0 10 	subfc   r28,r0,r28                             
ffc1d320:	7f 9c e1 10 	subfe   r28,r28,r28                            
ffc1d324:	7f 9c 00 d0 	neg     r28,r28                                
ffc1d328:	48 00 00 08 	b       ffc1d330 <rtems_rfs_file_io_start+0x130>
      /*                                                              
       * 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 &&                                                    
ffc1d32c:	7f bc eb 78 	mr      r28,r29                                
          (rtems_rfs_file_block_offset (handle) ||                    
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
        request_read = true;                                          
    }                                                                 
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                    
ffc1d330:	38 60 00 20 	li      r3,32                                  
ffc1d334:	38 80 00 00 	li      r4,0                                   
ffc1d338:	4b ff 5d 81 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1d33c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1d340:	41 9e 00 34 	beq-    cr7,ffc1d374 <rtems_rfs_file_io_start+0x174><== ALWAYS TAKEN
      printf ("rtems-rfs: file-io: start: block=%" PRIu32 " request-read=%s\n",
ffc1d344:	2f 9c 00 00 	cmpwi   cr7,r28,0                              <== NOT EXECUTED
ffc1d348:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc1d34c:	41 9e 00 10 	beq-    cr7,ffc1d35c <rtems_rfs_file_io_start+0x15c><== NOT EXECUTED
ffc1d350:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc1d354:	38 a5 1f 33 	addi    r5,r5,7987                             <== NOT EXECUTED
ffc1d358:	48 00 00 0c 	b       ffc1d364 <rtems_rfs_file_io_start+0x164><== NOT EXECUTED
ffc1d35c:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc1d360:	38 a5 23 c8 	addi    r5,r5,9160                             <== NOT EXECUTED
ffc1d364:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1d368:	38 63 38 04 	addi    r3,r3,14340                            <== NOT EXECUTED
ffc1d36c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1d370:	48 00 47 1d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
              block, request_read ? "yes" : "no");                    
                                                                      
    rc = rtems_rfs_buffer_handle_request (rtems_rfs_file_fs (handle), 
ffc1d374:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc1d378:	38 9f 00 04 	addi    r4,r31,4                               
ffc1d37c:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc1d380:	7f 86 e3 78 	mr      r6,r28                                 
ffc1d384:	80 69 00 98 	lwz     r3,152(r9)                             
ffc1d388:	4b ff e2 dd 	bl      ffc1b664 <rtems_rfs_buffer_handle_request>
                                          rtems_rfs_file_buffer (handle),
                                          block, request_read);       
    if (rc > 0)                                                       
ffc1d38c:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc1d390:	41 a1 00 88 	bgt+    ffc1d418 <rtems_rfs_file_io_start+0x218><== NEVER TAKEN
      return rc;                                                      
  }                                                                   
                                                                      
  if (read                                                            
ffc1d394:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc1d398:	41 9e 00 38 	beq-    cr7,ffc1d3d0 <rtems_rfs_file_io_start+0x1d0>
      && rtems_rfs_block_map_last (rtems_rfs_file_map (handle))       
ffc1d39c:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc1d3a0:	80 09 00 44 	lwz     r0,68(r9)                              
ffc1d3a4:	81 69 00 3c 	lwz     r11,60(r9)                             
ffc1d3a8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1d3ac:	40 9e 00 0c 	bne-    cr7,ffc1d3b8 <rtems_rfs_file_io_start+0x1b8><== NEVER TAKEN
ffc1d3b0:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc1d3b4:	41 9e 00 10 	beq-    cr7,ffc1d3c4 <rtems_rfs_file_io_start+0x1c4><== NEVER TAKEN
ffc1d3b8:	39 6b ff ff 	addi    r11,r11,-1                             
ffc1d3bc:	7f 80 58 00 	cmpw    cr7,r0,r11                             
ffc1d3c0:	40 be 00 10 	bne+    cr7,ffc1d3d0 <rtems_rfs_file_io_start+0x1d0><== NEVER TAKEN
      && rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle)))
ffc1d3c4:	83 a9 00 40 	lwz     r29,64(r9)                             
ffc1d3c8:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc1d3cc:	40 9e 00 10 	bne-    cr7,ffc1d3dc <rtems_rfs_file_io_start+0x1dc><== ALWAYS TAKEN
    size = rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle));
  else                                                                
    size = rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));      
ffc1d3d0:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc1d3d4:	81 29 00 98 	lwz     r9,152(r9)                             
ffc1d3d8:	83 a9 00 08 	lwz     r29,8(r9)                              
                                                                      
  *available = size - rtems_rfs_file_block_offset (handle);           
ffc1d3dc:	80 1f 00 14 	lwz     r0,20(r31)                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc1d3e0:	38 60 00 20 	li      r3,32                                  
ffc1d3e4:	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);           
ffc1d3e8:	7c 00 e8 50 	subf    r0,r0,r29                              
ffc1d3ec:	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;                                                           
ffc1d3f0:	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))                      
ffc1d3f4:	4b ff 5c c5 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1d3f8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1d3fc:	41 be 00 1c 	beq+    cr7,ffc1d418 <rtems_rfs_file_io_start+0x218><== ALWAYS TAKEN
    printf ("rtems-rfs: file-io: start: available=%zu (%zu)\n",       
ffc1d400:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1d404:	80 9e 00 00 	lwz     r4,0(r30)                              <== NOT EXECUTED
ffc1d408:	38 63 38 3a 	addi    r3,r3,14394                            <== NOT EXECUTED
ffc1d40c:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc1d410:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1d414:	48 00 46 79 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            *available, size);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc1d418:	39 61 00 30 	addi    r11,r1,48                              
ffc1d41c:	7f 63 db 78 	mr      r3,r27                                 
ffc1d420:	4b fe 56 c8 	b       ffc02ae8 <_restgpr_27_x>               
                                                                      

ffc1da98 <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) {
ffc1da98:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc1da9c:	7c 08 02 a6 	mflr    r0                                     
ffc1daa0:	bf 01 00 08 	stmw    r24,8(r1)                              
ffc1daa4:	7c 7d 1b 78 	mr      r29,r3                                 
ffc1daa8:	7c 9c 23 78 	mr      r28,r4                                 
  rtems_rfs_file_handle* handle;                                      
  rtems_rfs_file_shared* shared;                                      
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                    
ffc1daac:	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)                    
{                                                                     
ffc1dab0:	90 01 00 2c 	stw     r0,44(r1)                              
  rtems_rfs_file_handle* handle;                                      
  rtems_rfs_file_shared* shared;                                      
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                    
ffc1dab4:	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)                    
{                                                                     
ffc1dab8:	7c b9 2b 78 	mr      r25,r5                                 
ffc1dabc:	7c da 33 78 	mr      r26,r6                                 
  rtems_rfs_file_handle* handle;                                      
  rtems_rfs_file_shared* shared;                                      
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                    
ffc1dac0:	4b ff 55 f9 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1dac4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1dac8:	41 be 00 18 	beq+    cr7,ffc1dae0 <rtems_rfs_file_open+0x48><== ALWAYS TAKEN
    printf ("rtems-rfs: file-open: ino=%" PRId32 "\n", ino);          
ffc1dacc:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1dad0:	38 63 39 4a 	addi    r3,r3,14666                            <== NOT EXECUTED
ffc1dad4:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc1dad8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1dadc:	48 00 3f b1 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                                                                      
  *file = NULL;                                                       
ffc1dae0:	3b c0 00 00 	li      r30,0                                  
ffc1dae4:	93 da 00 00 	stw     r30,0(r26)                             
  /*                                                                  
   * Allocate a new handle and initialise it. Do this before we deal with the
   * shared node data so we do not have to be concerned with reference
   * counting.                                                        
   */                                                                 
  handle = malloc (sizeof (rtems_rfs_file_handle));                   
ffc1dae8:	38 60 00 20 	li      r3,32                                  
  if (!handle)                                                        
    return ENOMEM;                                                    
ffc1daec:	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));                   
ffc1daf0:	4b fe a5 65 	bl      ffc08054 <malloc>                      
  if (!handle)                                                        
ffc1daf4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1daf8:	41 82 02 a0 	beq-    ffc1dd98 <rtems_rfs_file_open+0x300>   <== NEVER TAKEN
    return ENOMEM;                                                    
                                                                      
  memset (handle, 0, sizeof (rtems_rfs_file_handle));                 
ffc1dafc:	38 80 00 00 	li      r4,0                                   
ffc1db00:	38 a0 00 20 	li      r5,32                                  
ffc1db04:	48 00 3d f9 	bl      ffc218fc <memset>                      
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc1db08:	9b df 00 04 	stb     r30,4(r31)                             
                                                                      
  /*                                                                  
   * Scan the file system data list of open files for this ino. If found up
   * the reference count and return the pointer to the data.          
   */                                                                 
  shared = rtems_rfs_file_get_shared (fs, ino);                       
ffc1db0c:	7f a3 eb 78 	mr      r3,r29                                 
  handle->bnum  = 0;                                                  
ffc1db10:	93 df 00 08 	stw     r30,8(r31)                             
ffc1db14:	7f 84 e3 78 	mr      r4,r28                                 
  handle->buffer = NULL;                                              
ffc1db18:	93 df 00 0c 	stw     r30,12(r31)                            
ffc1db1c:	4b ff ff 49 	bl      ffc1da64 <rtems_rfs_file_get_shared>   
  if (shared)                                                         
ffc1db20:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1db24:	41 82 00 30 	beq-    ffc1db54 <rtems_rfs_file_open+0xbc>    <== ALWAYS TAKEN
  {                                                                   
    shared->references++;                                             
ffc1db28:	81 3e 00 08 	lwz     r9,8(r30)                              <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
ffc1db2c:	38 60 00 08 	li      r3,8                                   <== NOT EXECUTED
ffc1db30:	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++;                                             
ffc1db34:	38 09 00 01 	addi    r0,r9,1                                <== NOT EXECUTED
ffc1db38:	90 1e 00 08 	stw     r0,8(r30)                              <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
ffc1db3c:	4b ff 55 7d 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1db40:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1db44:	41 be 02 44 	beq+    cr7,ffc1dd88 <rtems_rfs_file_open+0x2f0><== NOT EXECUTED
      printf ("rtems-rfs: file-open: ino=%" PRId32 " shared\n", ino); 
ffc1db48:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1db4c:	38 63 39 69 	addi    r3,r3,14697                            <== NOT EXECUTED
ffc1db50:	48 00 02 2c 	b       ffc1dd7c <rtems_rfs_file_open+0x2e4>   <== 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));                 
ffc1db54:	38 60 00 9c 	li      r3,156                                 
ffc1db58:	4b fe a4 fd 	bl      ffc08054 <malloc>                      
    if (!shared)                                                      
ffc1db5c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1db60:	40 a2 00 20 	bne+    ffc1db80 <rtems_rfs_file_open+0xe8>    <== 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);                       
ffc1db64:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1db68:	38 9f 00 04 	addi    r4,r31,4                               <== NOT EXECUTED
ffc1db6c:	4b ff d9 19 	bl      ffc1b484 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc1db70:	9b df 00 04 	stb     r30,4(r31)                             <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc1db74:	93 df 00 08 	stw     r30,8(r31)                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc1db78:	93 df 00 0c 	stw     r30,12(r31)                            <== NOT EXECUTED
ffc1db7c:	48 00 00 e8 	b       ffc1dc64 <rtems_rfs_file_open+0x1cc>   <== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
      return ENOMEM;                                                  
    }                                                                 
                                                                      
    memset (shared, 0, sizeof (rtems_rfs_file_shared));               
ffc1db80:	38 80 00 00 	li      r4,0                                   
ffc1db84:	38 a0 00 9c 	li      r5,156                                 
                                                                      
    rc = rtems_rfs_inode_open (fs, ino, &shared->inode, true);        
ffc1db88:	3b 7e 00 0c 	addi    r27,r30,12                             
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
      return ENOMEM;                                                  
    }                                                                 
                                                                      
    memset (shared, 0, sizeof (rtems_rfs_file_shared));               
ffc1db8c:	48 00 3d 71 	bl      ffc218fc <memset>                      
                                                                      
    rc = rtems_rfs_inode_open (fs, ino, &shared->inode, true);        
ffc1db90:	7f a3 eb 78 	mr      r3,r29                                 
ffc1db94:	7f 84 e3 78 	mr      r4,r28                                 
ffc1db98:	7f 65 db 78 	mr      r5,r27                                 
ffc1db9c:	38 c0 00 01 	li      r6,1                                   
ffc1dba0:	4b ff 36 39 	bl      ffc111d8 <rtems_rfs_inode_open>        
    if (rc > 0)                                                       
ffc1dba4:	7c 78 1b 79 	mr.     r24,r3                                 
ffc1dba8:	40 81 00 3c 	ble-    ffc1dbe4 <rtems_rfs_file_open+0x14c>   <== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                
ffc1dbac:	38 60 00 08 	li      r3,8                                   <== NOT EXECUTED
ffc1dbb0:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1dbb4:	4b ff 55 05 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1dbb8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1dbbc:	41 be 00 80 	beq+    cr7,ffc1dc3c <rtems_rfs_file_open+0x1a4><== NOT EXECUTED
        printf ("rtems-rfs: file-open: inode open failed: %d: %s\n",  
ffc1dbc0:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc1dbc4:	48 00 4c 35 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1dbc8:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc1dbcc:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1dbd0:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1dbd4:	38 63 39 8f 	addi    r3,r3,14735                            <== NOT EXECUTED
ffc1dbd8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1dbdc:	48 00 3e b1 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc1dbe0:	48 00 00 5c 	b       ffc1dc3c <rtems_rfs_file_open+0x1a4>   <== 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); 
ffc1dbe4:	7f a3 eb 78 	mr      r3,r29                                 
ffc1dbe8:	7f 64 db 78 	mr      r4,r27                                 
ffc1dbec:	38 be 00 34 	addi    r5,r30,52                              
ffc1dbf0:	4b ff ca 69 	bl      ffc1a658 <rtems_rfs_block_map_open>    
    if (rc > 0)                                                       
ffc1dbf4:	7c 78 1b 79 	mr.     r24,r3                                 
ffc1dbf8:	40 81 00 78 	ble-    ffc1dc70 <rtems_rfs_file_open+0x1d8>   <== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                
ffc1dbfc:	38 60 00 08 	li      r3,8                                   <== NOT EXECUTED
ffc1dc00:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1dc04:	4b ff 54 b5 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1dc08:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1dc0c:	41 be 00 24 	beq+    cr7,ffc1dc30 <rtems_rfs_file_open+0x198><== NOT EXECUTED
        printf ("rtems-rfs: file-open: block map open failed: %d: %s\n",
ffc1dc10:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc1dc14:	48 00 4b e5 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1dc18:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc1dc1c:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1dc20:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1dc24:	38 63 39 c0 	addi    r3,r3,14784                            <== NOT EXECUTED
ffc1dc28:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1dc2c:	48 00 3e 61 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                rc, strerror (rc));                                   
      rtems_rfs_inode_close (fs, &shared->inode);                     
ffc1dc30:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1dc34:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc1dc38:	4b ff 37 91 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
      free (shared);                                                  
ffc1dc3c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1dc40:	4b fe 9c a9 	bl      ffc078e8 <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);                       
ffc1dc44:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1dc48:	38 9f 00 04 	addi    r4,r31,4                               <== NOT EXECUTED
ffc1dc4c:	4b ff d8 39 	bl      ffc1b484 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc1dc50:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1dc54:	98 1f 00 04 	stb     r0,4(r31)                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc1dc58:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1dc5c:	90 1f 00 08 	stw     r0,8(r31)                              <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc1dc60:	90 1f 00 0c 	stw     r0,12(r31)                             <== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
ffc1dc64:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1dc68:	4b fe 9c 81 	bl      ffc078e8 <free>                        <== NOT EXECUTED
      return rc;                                                      
ffc1dc6c:	48 00 01 2c 	b       ffc1dd98 <rtems_rfs_file_open+0x300>   <== NOT EXECUTED
    }                                                                 
                                                                      
    shared->references = 1;                                           
ffc1dc70:	38 00 00 01 	li      r0,1                                   
    if (shared->inode.ino == ino)                                     
      return shared;                                                  
    node = rtems_chain_next (node);                                   
  }                                                                   
  return NULL;                                                        
}                                                                     
ffc1dc74:	81 3e 00 18 	lwz     r9,24(r30)                             
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
      return rc;                                                      
    }                                                                 
                                                                      
    shared->references = 1;                                           
ffc1dc78:	90 1e 00 08 	stw     r0,8(r30)                              
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
ffc1dc7c:	38 7d 00 70 	addi    r3,r29,112                             
ffc1dc80:	7f c4 f3 78 	mr      r4,r30                                 
 * @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);             
ffc1dc84:	89 69 00 0c 	lbz     r11,12(r9)                             
ffc1dc88:	88 09 00 0d 	lbz     r0,13(r9)                              
ffc1dc8c:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc1dc90:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc1dc94:	7d 60 03 78 	or      r0,r11,r0                              
ffc1dc98:	89 69 00 0f 	lbz     r11,15(r9)                             
ffc1dc9c:	7c 00 5b 78 	or      r0,r0,r11                              
ffc1dca0:	89 69 00 0e 	lbz     r11,14(r9)                             
ffc1dca4:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc1dca8:	7c 00 5b 78 	or      r0,r0,r11                              
    shared->size.count = rtems_rfs_inode_get_block_count (&shared->inode);
ffc1dcac:	90 1e 00 84 	stw     r0,132(r30)                            
 * @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);            
ffc1dcb0:	88 09 00 0a 	lbz     r0,10(r9)                              
ffc1dcb4:	89 69 00 0b 	lbz     r11,11(r9)                             
ffc1dcb8:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
    shared->size.offset = rtems_rfs_inode_get_block_offset (&shared->inode);
ffc1dcbc:	7c 00 5b 78 	or      r0,r0,r11                              
ffc1dcc0:	90 1e 00 88 	stw     r0,136(r30)                            
 * @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);                   
ffc1dcc4:	89 69 00 10 	lbz     r11,16(r9)                             
ffc1dcc8:	88 09 00 11 	lbz     r0,17(r9)                              
ffc1dccc:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc1dcd0:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc1dcd4:	7d 60 03 78 	or      r0,r11,r0                              
ffc1dcd8:	89 69 00 13 	lbz     r11,19(r9)                             
ffc1dcdc:	7c 00 5b 78 	or      r0,r0,r11                              
ffc1dce0:	89 69 00 12 	lbz     r11,18(r9)                             
ffc1dce4:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc1dce8:	7c 00 5b 78 	or      r0,r0,r11                              
    shared->atime = rtems_rfs_inode_get_atime (&shared->inode);       
ffc1dcec:	90 1e 00 8c 	stw     r0,140(r30)                            
 * @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);                   
ffc1dcf0:	89 69 00 14 	lbz     r11,20(r9)                             
ffc1dcf4:	88 09 00 15 	lbz     r0,21(r9)                              
ffc1dcf8:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc1dcfc:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc1dd00:	7d 60 03 78 	or      r0,r11,r0                              
ffc1dd04:	89 69 00 17 	lbz     r11,23(r9)                             
ffc1dd08:	7c 00 5b 78 	or      r0,r0,r11                              
ffc1dd0c:	89 69 00 16 	lbz     r11,22(r9)                             
ffc1dd10:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc1dd14:	7c 00 5b 78 	or      r0,r0,r11                              
    shared->mtime = rtems_rfs_inode_get_mtime (&shared->inode);       
ffc1dd18:	90 1e 00 90 	stw     r0,144(r30)                            
 * @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);                   
ffc1dd1c:	89 69 00 18 	lbz     r11,24(r9)                             
ffc1dd20:	88 09 00 19 	lbz     r0,25(r9)                              
ffc1dd24:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc1dd28:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc1dd2c:	7d 60 03 78 	or      r0,r11,r0                              
ffc1dd30:	89 69 00 1b 	lbz     r11,27(r9)                             
ffc1dd34:	89 29 00 1a 	lbz     r9,26(r9)                              
ffc1dd38:	7c 00 5b 78 	or      r0,r0,r11                              
    shared->ctime = rtems_rfs_inode_get_ctime (&shared->inode);       
    shared->fs = fs;                                                  
ffc1dd3c:	93 be 00 98 	stw     r29,152(r30)                           
ffc1dd40:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
ffc1dd44:	7c 00 4b 78 	or      r0,r0,r9                               
    shared->references = 1;                                           
    shared->size.count = rtems_rfs_inode_get_block_count (&shared->inode);
    shared->size.offset = rtems_rfs_inode_get_block_offset (&shared->inode);
    shared->atime = rtems_rfs_inode_get_atime (&shared->inode);       
    shared->mtime = rtems_rfs_inode_get_mtime (&shared->inode);       
    shared->ctime = rtems_rfs_inode_get_ctime (&shared->inode);       
ffc1dd48:	90 1e 00 94 	stw     r0,148(r30)                            
ffc1dd4c:	4b fe ec 71 	bl      ffc0c9bc <_Chain_Append>               
    shared->fs = fs;                                                  
                                                                      
    rtems_chain_append (&fs->file_shares, &shared->link);             
                                                                      
    rtems_rfs_inode_unload (fs, &shared->inode, false);               
ffc1dd50:	7f 64 db 78 	mr      r4,r27                                 
ffc1dd54:	38 a0 00 00 	li      r5,0                                   
ffc1dd58:	7f a3 eb 78 	mr      r3,r29                                 
ffc1dd5c:	4b ff 35 69 	bl      ffc112c4 <rtems_rfs_inode_unload>      
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
ffc1dd60:	38 60 00 08 	li      r3,8                                   
ffc1dd64:	38 80 00 00 	li      r4,0                                   
ffc1dd68:	4b ff 53 51 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1dd6c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1dd70:	41 be 00 18 	beq+    cr7,ffc1dd88 <rtems_rfs_file_open+0x2f0><== ALWAYS TAKEN
      printf ("rtems-rfs: file-open: ino=%" PRId32 " share created\n", ino);
ffc1dd74:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1dd78:	38 63 39 f5 	addi    r3,r3,14837                            <== NOT EXECUTED
ffc1dd7c:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc1dd80:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1dd84:	48 00 3d 09 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  handle->flags  = flags;                                             
ffc1dd88:	93 3f 00 00 	stw     r25,0(r31)                             
  handle->shared = shared;                                            
                                                                      
  *file = handle;                                                     
                                                                      
  return 0;                                                           
ffc1dd8c:	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;                                            
ffc1dd90:	93 df 00 1c 	stw     r30,28(r31)                            
                                                                      
  *file = handle;                                                     
ffc1dd94:	93 fa 00 00 	stw     r31,0(r26)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc1dd98:	39 61 00 28 	addi    r11,r1,40                              
ffc1dd9c:	7f 03 c3 78 	mr      r3,r24                                 
ffc1dda0:	4b fe 4d 3c 	b       ffc02adc <_restgpr_24_x>               
                                                                      

ffc1d6dc <rtems_rfs_file_seek>: int rtems_rfs_file_seek (rtems_rfs_file_handle* handle, rtems_rfs_pos pos, rtems_rfs_pos* new_pos) {
ffc1d6dc:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1d6e0:	7c 08 02 a6 	mflr    r0                                     
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc1d6e4:	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)                  
{                                                                     
ffc1d6e8:	bf 81 00 08 	stmw    r28,8(r1)                              
ffc1d6ec:	7c 7d 1b 78 	mr      r29,r3                                 
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc1d6f0:	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)                  
{                                                                     
ffc1d6f4:	90 01 00 1c 	stw     r0,28(r1)                              
ffc1d6f8:	7c bf 2b 78 	mr      r31,r5                                 
ffc1d6fc:	7c de 33 78 	mr      r30,r6                                 
ffc1d700:	7c fc 3b 78 	mr      r28,r7                                 
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc1d704:	4b ff 59 b5 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1d708:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1d70c:	41 be 00 1c 	beq+    cr7,ffc1d728 <rtems_rfs_file_seek+0x4c><== ALWAYS TAKEN
    printf ("rtems-rfs: file-seek: new=%" PRIu64 "\n", pos);          
ffc1d710:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1d714:	38 63 39 05 	addi    r3,r3,14597                            <== NOT EXECUTED
ffc1d718:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc1d71c:	7f c6 f3 78 	mr      r6,r30                                 <== NOT EXECUTED
ffc1d720:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1d724:	48 00 43 69 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
   *     file, this function does not itself extend the size of the file."
   *                                                                  
   * This means the file needs to set the file size to the pos only when a
   * write occurs.                                                    
   */                                                                 
  if (pos < rtems_rfs_file_shared_get_size (rtems_rfs_file_fs (handle),
ffc1d728:	80 9d 00 1c 	lwz     r4,28(r29)                             
ffc1d72c:	80 64 00 98 	lwz     r3,152(r4)                             
ffc1d730:	38 84 00 84 	addi    r4,r4,132                              
ffc1d734:	4b ff ce d5 	bl      ffc1a608 <rtems_rfs_block_get_size>    
ffc1d738:	7f 83 f8 40 	cmplw   cr7,r3,r31                             
ffc1d73c:	41 9d 00 14 	bgt-    cr7,ffc1d750 <rtems_rfs_file_seek+0x74><== NEVER TAKEN
ffc1d740:	7f 83 f8 00 	cmpw    cr7,r3,r31                             
ffc1d744:	40 be 00 24 	bne+    cr7,ffc1d768 <rtems_rfs_file_seek+0x8c><== NEVER TAKEN
ffc1d748:	7f 84 f0 40 	cmplw   cr7,r4,r30                             
ffc1d74c:	40 bd 00 1c 	ble+    cr7,ffc1d768 <rtems_rfs_file_seek+0x8c><== ALWAYS TAKEN
                                            handle->shared))          
    rtems_rfs_file_set_bpos (handle, pos);                            
ffc1d750:	81 3d 00 1c 	lwz     r9,28(r29)                             <== NOT EXECUTED
ffc1d754:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc1d758:	7f c6 f3 78 	mr      r6,r30                                 <== NOT EXECUTED
ffc1d75c:	80 69 00 98 	lwz     r3,152(r9)                             <== NOT EXECUTED
ffc1d760:	38 fd 00 10 	addi    r7,r29,16                              <== NOT EXECUTED
ffc1d764:	4b ff cd c1 	bl      ffc1a524 <rtems_rfs_block_get_bpos>    <== NOT EXECUTED
                                                                      
  *new_pos = pos;                                                     
  return 0;                                                           
}                                                                     
ffc1d768:	39 61 00 18 	addi    r11,r1,24                              
   */                                                                 
  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;                                                     
ffc1d76c:	93 fc 00 00 	stw     r31,0(r28)                             
  return 0;                                                           
}                                                                     
ffc1d770:	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;                                                     
ffc1d774:	93 dc 00 04 	stw     r30,4(r28)                             
  return 0;                                                           
}                                                                     
ffc1d778:	4b fe 53 74 	b       ffc02aec <_restgpr_28_x>               
                                                                      

ffc1d77c <rtems_rfs_file_set_size>: int rtems_rfs_file_set_size (rtems_rfs_file_handle* handle, rtems_rfs_pos new_size) {
ffc1d77c:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc1d780:	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))                      
ffc1d784:	38 80 00 00 	li      r4,0                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_file_set_size (rtems_rfs_file_handle* handle,               
                         rtems_rfs_pos          new_size)             
{                                                                     
ffc1d788:	90 01 00 54 	stw     r0,84(r1)                              
ffc1d78c:	be 61 00 1c 	stmw    r19,28(r1)                             
ffc1d790:	7c 7b 1b 78 	mr      r27,r3                                 
ffc1d794:	7c df 33 78 	mr      r31,r6                                 
  rtems_rfs_block_map* map  = rtems_rfs_file_map (handle);            
ffc1d798:	83 43 00 1c 	lwz     r26,28(r3)                             
  rtems_rfs_pos        size;                                          
  int                  rc;                                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc1d79c:	38 60 00 20 	li      r3,32                                  
}                                                                     
                                                                      
int                                                                   
rtems_rfs_file_set_size (rtems_rfs_file_handle* handle,               
                         rtems_rfs_pos          new_size)             
{                                                                     
ffc1d7a0:	7c be 2b 78 	mr      r30,r5                                 
  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))                      
ffc1d7a4:	4b ff 59 15 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1d7a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
int                                                                   
rtems_rfs_file_set_size (rtems_rfs_file_handle* handle,               
                         rtems_rfs_pos          new_size)             
{                                                                     
  rtems_rfs_block_map* map  = rtems_rfs_file_map (handle);            
ffc1d7ac:	3a da 00 34 	addi    r22,r26,52                             
  rtems_rfs_pos        size;                                          
  int                  rc;                                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc1d7b0:	41 be 00 1c 	beq+    cr7,ffc1d7cc <rtems_rfs_file_set_size+0x50><== ALWAYS TAKEN
    printf ("rtems-rfs: file-set-size: size=%" PRIu64 "\n", new_size);
ffc1d7b4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1d7b8:	38 63 39 25 	addi    r3,r3,14629                            <== NOT EXECUTED
ffc1d7bc:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc1d7c0:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc1d7c4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1d7c8:	48 00 42 c5 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Short cut for the common truncate on open call.                  
   */                                                                 
  if (new_size == 0)                                                  
ffc1d7cc:	7f c0 fb 79 	or.     r0,r30,r31                             
ffc1d7d0:	80 9b 00 1c 	lwz     r4,28(r27)                             
  {                                                                   
    rc = rtems_rfs_block_map_free_all (rtems_rfs_file_fs (handle), map);
ffc1d7d4:	80 64 00 98 	lwz     r3,152(r4)                             
    printf ("rtems-rfs: file-set-size: size=%" PRIu64 "\n", new_size);
                                                                      
  /*                                                                  
   * Short cut for the common truncate on open call.                  
   */                                                                 
  if (new_size == 0)                                                  
ffc1d7d8:	40 82 00 18 	bne-    ffc1d7f0 <rtems_rfs_file_set_size+0x74>
  {                                                                   
    rc = rtems_rfs_block_map_free_all (rtems_rfs_file_fs (handle), map);
ffc1d7dc:	7e c4 b3 78 	mr      r4,r22                                 
ffc1d7e0:	4b ff da f1 	bl      ffc1b2d0 <rtems_rfs_block_map_free_all>
    if (rc > 0)                                                       
ffc1d7e4:	7c 73 1b 79 	mr.     r19,r3                                 
ffc1d7e8:	41 a1 02 70 	bgt+    ffc1da58 <rtems_rfs_file_set_size+0x2dc><== NEVER TAKEN
ffc1d7ec:	48 00 02 3c 	b       ffc1da28 <rtems_rfs_file_set_size+0x2ac>
ffc1d7f0:	38 84 00 84 	addi    r4,r4,132                              
ffc1d7f4:	4b ff ce 15 	bl      ffc1a608 <rtems_rfs_block_get_size>    
ffc1d7f8:	7c 6a 1b 78 	mr      r10,r3                                 
    size = rtems_rfs_file_size (handle);                              
                                                                      
    /*                                                                
     * If the file is same size do nothing else grow or shrink it ?   
     */                                                               
    if (size != new_size)                                             
ffc1d7fc:	7f 8a f0 00 	cmpw    cr7,r10,r30                            
ffc1d800:	7c 8b 23 78 	mr      r11,r4                                 
ffc1d804:	40 be 00 0c 	bne+    cr7,ffc1d810 <rtems_rfs_file_set_size+0x94>
ffc1d808:	7f 84 f8 00 	cmpw    cr7,r4,r31                             
ffc1d80c:	41 9e 02 1c 	beq-    cr7,ffc1da28 <rtems_rfs_file_set_size+0x2ac>
    {                                                                 
      if (size < new_size)                                            
ffc1d810:	7f 9e 50 40 	cmplw   cr7,r30,r10                            
ffc1d814:	41 9d 00 14 	bgt-    cr7,ffc1d828 <rtems_rfs_file_set_size+0xac>
ffc1d818:	7f 9e 50 00 	cmpw    cr7,r30,r10                            
ffc1d81c:	40 9e 01 4c 	bne-    cr7,ffc1d968 <rtems_rfs_file_set_size+0x1ec><== NEVER TAKEN
ffc1d820:	7f 9f 58 40 	cmplw   cr7,r31,r11                            
ffc1d824:	40 9d 01 44 	ble-    cr7,ffc1d968 <rtems_rfs_file_set_size+0x1ec><== NEVER 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));
ffc1d828:	81 3b 00 1c 	lwz     r9,28(r27)                             
         */                                                           
        rtems_rfs_pos count;                                          
        uint32_t      length;                                         
        bool          read_block;                                     
                                                                      
        count = new_size - size;                                      
ffc1d82c:	7f eb f8 10 	subfc   r31,r11,r31                            
ffc1d830:	7f ca f1 10 	subfe   r30,r10,r30                            
        length = rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
ffc1d834:	81 29 00 98 	lwz     r9,152(r9)                             
        read_block = false;                                           
ffc1d838:	3a 80 00 00 	li      r20,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);
ffc1d83c:	3a e0 00 00 	li      r23,0                                  
        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));
ffc1d840:	83 29 00 08 	lwz     r25,8(r9)                              
ffc1d844:	3b 00 00 01 	li      r24,1                                  
          }                                                           
                                                                      
          /*                                                          
           * Only read the block if the length is not the block size. 
           */                                                         
          rc = rtems_rfs_buffer_handle_request (rtems_rfs_file_fs (handle),
ffc1d848:	3a bb 00 04 	addi    r21,r27,4                              
                                                                      
        count = new_size - size;                                      
        length = rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
        read_block = false;                                           
                                                                      
        while (count)                                                 
ffc1d84c:	48 00 01 10 	b       ffc1d95c <rtems_rfs_file_set_size+0x1e0>
          /*                                                          
           * 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);
ffc1d850:	80 1a 00 40 	lwz     r0,64(r26)                             
ffc1d854:	81 3a 00 3c 	lwz     r9,60(r26)                             
ffc1d858:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1d85c:	90 01 00 10 	stw     r0,16(r1)                              
ffc1d860:	91 21 00 0c 	stw     r9,12(r1)                              
ffc1d864:	92 e1 00 14 	stw     r23,20(r1)                             
ffc1d868:	41 9e 00 0c 	beq-    cr7,ffc1d874 <rtems_rfs_file_set_size+0xf8>
ffc1d86c:	39 29 ff ff 	addi    r9,r9,-1                               
ffc1d870:	91 21 00 0c 	stw     r9,12(r1)                              
          rc = rtems_rfs_block_map_find (rtems_rfs_file_fs (handle),  
ffc1d874:	81 3b 00 1c 	lwz     r9,28(r27)                             
ffc1d878:	7e c4 b3 78 	mr      r4,r22                                 
ffc1d87c:	38 a1 00 0c 	addi    r5,r1,12                               
ffc1d880:	80 69 00 98 	lwz     r3,152(r9)                             
ffc1d884:	38 c1 00 08 	addi    r6,r1,8                                
ffc1d888:	4b ff d1 71 	bl      ffc1a9f8 <rtems_rfs_block_map_find>    
                                         map, &bpos, &block);         
          if (rc > 0)                                                 
ffc1d88c:	7c 73 1b 79 	mr.     r19,r3                                 
ffc1d890:	40 81 00 2c 	ble-    ffc1d8bc <rtems_rfs_file_set_size+0x140>
          {                                                           
            /*                                                        
             * Have we reached the EOF ?                              
             */                                                       
            if (rc != ENXIO)                                          
ffc1d894:	2f 93 00 06 	cmpwi   cr7,r19,6                              
ffc1d898:	40 9e 01 c0 	bne-    cr7,ffc1da58 <rtems_rfs_file_set_size+0x2dc><== NEVER TAKEN
              return rc;                                              
                                                                      
            rc = rtems_rfs_block_map_grow (rtems_rfs_file_fs (handle),
ffc1d89c:	81 3b 00 1c 	lwz     r9,28(r27)                             
ffc1d8a0:	7e c4 b3 78 	mr      r4,r22                                 
ffc1d8a4:	38 a0 00 01 	li      r5,1                                   
ffc1d8a8:	80 69 00 98 	lwz     r3,152(r9)                             
ffc1d8ac:	38 c1 00 08 	addi    r6,r1,8                                
ffc1d8b0:	4b ff d3 79 	bl      ffc1ac28 <rtems_rfs_block_map_grow>    
                                           map, 1, &block);           
            if (rc > 0)                                               
ffc1d8b4:	7c 73 1b 79 	mr.     r19,r3                                 
ffc1d8b8:	41 81 01 a0 	bgt-    ffc1da58 <rtems_rfs_file_set_size+0x2dc>
              return rc;                                              
          }                                                           
                                                                      
          if (count < (length - bpos.boff))                           
ffc1d8bc:	7f 97 f0 00 	cmpw    cr7,r23,r30                            
ffc1d8c0:	80 01 00 10 	lwz     r0,16(r1)                              
ffc1d8c4:	7d 20 c8 50 	subf    r9,r0,r25                              
ffc1d8c8:	40 9e 00 20 	bne-    cr7,ffc1d8e8 <rtems_rfs_file_set_size+0x16c>
ffc1d8cc:	7f 89 f8 40 	cmplw   cr7,r9,r31                             
ffc1d8d0:	40 9d 00 18 	ble-    cr7,ffc1d8e8 <rtems_rfs_file_set_size+0x16c><== NEVER TAKEN
          {                                                           
            length = count + bpos.boff;                               
ffc1d8d4:	7f 20 fa 14 	add     r25,r0,r31                             
ffc1d8d8:	9b 1a 00 34 	stb     r24,52(r26)                            
            read_block = true;                                        
ffc1d8dc:	3a 80 00 01 	li      r20,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;                                          
ffc1d8e0:	93 3a 00 40 	stw     r25,64(r26)                            
ffc1d8e4:	48 00 00 0c 	b       ffc1d8f0 <rtems_rfs_file_set_size+0x174>
ffc1d8e8:	92 fa 00 40 	stw     r23,64(r26)                            
  map->dirty = true;                                                  
ffc1d8ec:	9b 1a 00 34 	stb     r24,52(r26)                            
          }                                                           
                                                                      
          /*                                                          
           * Only read the block if the length is not the block size. 
           */                                                         
          rc = rtems_rfs_buffer_handle_request (rtems_rfs_file_fs (handle),
ffc1d8f0:	81 3b 00 1c 	lwz     r9,28(r27)                             
ffc1d8f4:	7e a4 ab 78 	mr      r4,r21                                 
ffc1d8f8:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc1d8fc:	7e 86 a3 78 	mr      r6,r20                                 
ffc1d900:	80 69 00 98 	lwz     r3,152(r9)                             
ffc1d904:	4b ff dd 61 	bl      ffc1b664 <rtems_rfs_buffer_handle_request>
                                                rtems_rfs_file_buffer (handle),
                                                block, read_block);   
          if (rc > 0)                                                 
ffc1d908:	7c 73 1b 79 	mr.     r19,r3                                 
ffc1d90c:	41 81 01 4c 	bgt-    ffc1da58 <rtems_rfs_file_set_size+0x2dc><== NEVER TAKEN
            return rc;                                                
                                                                      
          dst = rtems_rfs_buffer_data (&handle->buffer);              
ffc1d910:	81 3b 00 0c 	lwz     r9,12(r27)                             
          memset (dst + bpos.boff, 0, length - bpos.boff);            
ffc1d914:	38 80 00 00 	li      r4,0                                   
ffc1d918:	80 a1 00 10 	lwz     r5,16(r1)                              
ffc1d91c:	80 69 00 24 	lwz     r3,36(r9)                              
ffc1d920:	7c 63 2a 14 	add     r3,r3,r5                               
ffc1d924:	7c a5 c8 50 	subf    r5,r5,r25                              
ffc1d928:	48 00 3f d5 	bl      ffc218fc <memset>                      
                                                                      
          rtems_rfs_buffer_mark_dirty (rtems_rfs_file_buffer (handle));
                                                                      
          rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle),
ffc1d92c:	81 3b 00 1c 	lwz     r9,28(r27)                             
            return rc;                                                
                                                                      
          dst = rtems_rfs_buffer_data (&handle->buffer);              
          memset (dst + bpos.boff, 0, length - bpos.boff);            
                                                                      
          rtems_rfs_buffer_mark_dirty (rtems_rfs_file_buffer (handle));
ffc1d930:	9b 1b 00 04 	stb     r24,4(r27)                             
                                                                      
          rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle),
ffc1d934:	7e a4 ab 78 	mr      r4,r21                                 
ffc1d938:	80 69 00 98 	lwz     r3,152(r9)                             
ffc1d93c:	4b ff db 49 	bl      ffc1b484 <rtems_rfs_buffer_handle_release>
                                                rtems_rfs_file_buffer (handle));
          if (rc > 0)                                                 
ffc1d940:	7c 73 1b 79 	mr.     r19,r3                                 
ffc1d944:	41 81 01 14 	bgt-    ffc1da58 <rtems_rfs_file_set_size+0x2dc><== NEVER TAKEN
            return rc;                                                
                                                                      
          count -= length - bpos.boff;                                
ffc1d948:	80 01 00 10 	lwz     r0,16(r1)                              
ffc1d94c:	3b 80 00 00 	li      r28,0                                  
ffc1d950:	7f a0 c8 50 	subf    r29,r0,r25                             
ffc1d954:	7f fd f8 10 	subfc   r31,r29,r31                            
ffc1d958:	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)                                                 
ffc1d95c:	7f c9 fb 79 	or.     r9,r30,r31                             
ffc1d960:	40 82 fe f0 	bne+    ffc1d850 <rtems_rfs_file_set_size+0xd4>
ffc1d964:	48 00 00 c4 	b       ffc1da28 <rtems_rfs_file_set_size+0x2ac>
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
          rtems_rfs_block_map_count (map) -                           
          (((new_size - 1) /                                          
            rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle))) + 1);
ffc1d968:	83 3b 00 1c 	lwz     r25,28(r27)                            <== NOT EXECUTED
        rtems_rfs_block_no blocks;                                    
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
          rtems_rfs_block_map_count (map) -                           
          (((new_size - 1) /                                          
ffc1d96c:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc1d970:	30 9f ff ff 	addic   r4,r31,-1                              <== NOT EXECUTED
ffc1d974:	7c 7e 01 d4 	addme   r3,r30                                 <== NOT EXECUTED
            rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle))) + 1);
ffc1d978:	83 19 00 98 	lwz     r24,152(r25)                           <== NOT EXECUTED
        rtems_rfs_block_no blocks;                                    
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
          rtems_rfs_block_map_count (map) -                           
          (((new_size - 1) /                                          
ffc1d97c:	83 98 00 08 	lwz     r28,8(r24)                             <== NOT EXECUTED
ffc1d980:	7f 86 e3 78 	mr      r6,r28                                 <== NOT EXECUTED
ffc1d984:	48 01 16 61 	bl      ffc2efe4 <__udivdi3>                   <== NOT EXECUTED
         * Shrink                                                     
         */                                                           
        rtems_rfs_block_no blocks;                                    
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
ffc1d988:	80 1a 00 3c 	lwz     r0,60(r26)                             <== NOT EXECUTED
ffc1d98c:	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)                                                   
ffc1d990:	7c a5 02 15 	add.    r5,r5,r0                               <== NOT EXECUTED
ffc1d994:	41 a2 00 18 	beq+    ffc1d9ac <rtems_rfs_file_set_size+0x230><== NOT EXECUTED
        {                                                             
          int rc;                                                     
          rc = rtems_rfs_block_map_shrink (rtems_rfs_file_fs (handle),
ffc1d998:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc1d99c:	38 99 00 34 	addi    r4,r25,52                              <== NOT EXECUTED
ffc1d9a0:	4b ff d6 19 	bl      ffc1afb8 <rtems_rfs_block_map_shrink>  <== NOT EXECUTED
                                           rtems_rfs_file_map (handle),
                                           blocks);                   
          if (rc > 0)                                                 
ffc1d9a4:	7c 73 1b 79 	mr.     r19,r3                                 <== NOT EXECUTED
ffc1d9a8:	41 a1 00 b0 	bgt+    ffc1da58 <rtems_rfs_file_set_size+0x2dc><== 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));
ffc1d9ac:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1d9b0:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1d9b4:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc1d9b8:	7f 86 e3 78 	mr      r6,r28                                 <== NOT EXECUTED
ffc1d9bc:	48 01 1a 1d 	bl      ffc2f3d8 <__umoddi3>                   <== NOT EXECUTED
ffc1d9c0:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc1d9c4:	98 1a 00 34 	stb     r0,52(r26)                             <== 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),
ffc1d9c8:	80 1b 00 10 	lwz     r0,16(r27)                             <== 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;                                          
ffc1d9cc:	90 9a 00 40 	stw     r4,64(r26)                             <== NOT EXECUTED
ffc1d9d0:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc1d9d4:	81 3a 00 3c 	lwz     r9,60(r26)                             <== NOT EXECUTED
ffc1d9d8:	41 9e 00 0c 	beq-    cr7,ffc1d9e4 <rtems_rfs_file_set_size+0x268><== NOT EXECUTED
ffc1d9dc:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc1d9e0:	41 9e 00 24 	beq-    cr7,ffc1da04 <rtems_rfs_file_set_size+0x288><== NOT EXECUTED
ffc1d9e4:	7f 80 48 40 	cmplw   cr7,r0,r9                              <== NOT EXECUTED
ffc1d9e8:	40 9c 00 1c 	bge-    cr7,ffc1da04 <rtems_rfs_file_set_size+0x288><== NOT EXECUTED
ffc1d9ec:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc1d9f0:	7f 80 48 00 	cmpw    cr7,r0,r9                              <== NOT EXECUTED
ffc1d9f4:	40 be 00 34 	bne+    cr7,ffc1da28 <rtems_rfs_file_set_size+0x2ac><== NOT EXECUTED
ffc1d9f8:	80 1b 00 14 	lwz     r0,20(r27)                             <== NOT EXECUTED
ffc1d9fc:	7f 80 20 40 	cmplw   cr7,r0,r4                              <== NOT EXECUTED
ffc1da00:	40 9d 00 28 	ble-    cr7,ffc1da28 <rtems_rfs_file_set_size+0x2ac><== NOT EXECUTED
                                          rtems_rfs_block_map_size (map)))
          rtems_rfs_block_size_get_bpos (rtems_rfs_block_map_size (map),
ffc1da04:	2f 84 00 00 	cmpwi   cr7,r4,0                               <== NOT EXECUTED
ffc1da08:	81 3a 00 3c 	lwz     r9,60(r26)                             <== NOT EXECUTED
ffc1da0c:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1da10:	90 9b 00 14 	stw     r4,20(r27)                             <== NOT EXECUTED
ffc1da14:	91 3b 00 10 	stw     r9,16(r27)                             <== NOT EXECUTED
ffc1da18:	90 1b 00 18 	stw     r0,24(r27)                             <== NOT EXECUTED
ffc1da1c:	41 9e 00 0c 	beq-    cr7,ffc1da28 <rtems_rfs_file_set_size+0x2ac><== NOT EXECUTED
ffc1da20:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc1da24:	91 3b 00 10 	stw     r9,16(r27)                             <== NOT EXECUTED
                                         rtems_rfs_file_bpos (handle));
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  handle->shared->size.count  = rtems_rfs_block_map_count (map);      
ffc1da28:	83 db 00 1c 	lwz     r30,28(r27)                            
  handle->shared->size.offset = rtems_rfs_block_map_size_offset (map);
                                                                      
  if (rtems_rfs_file_update_mtime (handle))                           
    handle->shared->mtime = time (NULL);                              
                                                                      
  return 0;                                                           
ffc1da2c:	3a 60 00 00 	li      r19,0                                  
                                         rtems_rfs_file_bpos (handle));
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  handle->shared->size.count  = rtems_rfs_block_map_count (map);      
ffc1da30:	80 1a 00 3c 	lwz     r0,60(r26)                             
ffc1da34:	90 1e 00 84 	stw     r0,132(r30)                            
  handle->shared->size.offset = rtems_rfs_block_map_size_offset (map);
ffc1da38:	80 1a 00 40 	lwz     r0,64(r26)                             
ffc1da3c:	90 1e 00 88 	stw     r0,136(r30)                            
                                                                      
  if (rtems_rfs_file_update_mtime (handle))                           
ffc1da40:	80 1b 00 00 	lwz     r0,0(r27)                              
ffc1da44:	70 09 00 02 	andi.   r9,r0,2                                
ffc1da48:	40 a2 00 10 	bne+    ffc1da58 <rtems_rfs_file_set_size+0x2dc><== NEVER TAKEN
    handle->shared->mtime = time (NULL);                              
ffc1da4c:	38 60 00 00 	li      r3,0                                   
ffc1da50:	48 00 78 bd 	bl      ffc2530c <time>                        
ffc1da54:	90 7e 00 90 	stw     r3,144(r30)                            
                                                                      
  return 0;                                                           
}                                                                     
ffc1da58:	39 61 00 50 	addi    r11,r1,80                              
ffc1da5c:	7e 63 9b 78 	mr      r3,r19                                 
ffc1da60:	4b fe 50 68 	b       ffc02ac8 <_restgpr_19_x>               
                                                                      

ffc0fd8c <rtems_rfs_format>: return rc; } int rtems_rfs_format (const char* name, const rtems_rfs_format_config* config) {
ffc0fd8c:	94 21 fe d0 	stwu    r1,-304(r1)                            
ffc0fd90:	7c 08 02 a6 	mflr    r0                                     
ffc0fd94:	90 01 01 34 	stw     r0,308(r1)                             
  rtems_rfs_file_system fs;                                           
  int                   group;                                        
  int                   rc;                                           
                                                                      
  if (config->verbose)                                                
ffc0fd98:	88 04 00 15 	lbz     r0,21(r4)                              
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_format (const char* name, const rtems_rfs_format_config* config)
{                                                                     
ffc0fd9c:	bd e1 00 ec 	stmw    r15,236(r1)                            
ffc0fda0:	7c 7a 1b 78 	mr      r26,r3                                 
  rtems_rfs_file_system fs;                                           
  int                   group;                                        
  int                   rc;                                           
                                                                      
  if (config->verbose)                                                
ffc0fda4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_format (const char* name, const rtems_rfs_format_config* config)
{                                                                     
ffc0fda8:	7c 9c 23 78 	mr      r28,r4                                 
  rtems_rfs_file_system fs;                                           
  int                   group;                                        
  int                   rc;                                           
                                                                      
  if (config->verbose)                                                
ffc0fdac:	41 be 00 18 	beq+    cr7,ffc0fdc4 <rtems_rfs_format+0x38>   <== ALWAYS TAKEN
    printf ("rtems-rfs: format: %s\n", name);                         
ffc0fdb0:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc0fdb4:	38 63 15 00 	addi    r3,r3,5376                             <== NOT EXECUTED
ffc0fdb8:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc0fdbc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc0fdc0:	48 01 1c cd 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                                                                      
  memset (&fs, 0, sizeof (rtems_rfs_file_system));                    
ffc0fdc4:	38 80 00 00 	li      r4,0                                   
ffc0fdc8:	38 a0 00 80 	li      r5,128                                 
ffc0fdcc:	38 61 00 5c 	addi    r3,r1,92                               
ffc0fdd0:	48 01 1b 2d 	bl      ffc218fc <memset>                      
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0fdd4:	7c 29 0b 78 	mr      r9,r1                                  
ffc0fdd8:	38 01 00 a0 	addi    r0,r1,160                              
ffc0fddc:	94 09 00 9c 	stwu    r0,156(r9)                             
ffc0fde0:	38 01 00 b0 	addi    r0,r1,176                              
  fs.flags = RTEMS_RFS_FS_NO_LOCAL_CACHE;                             
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, &fs);                             
ffc0fde4:	7f 43 d3 78 	mr      r3,r26                                 
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc0fde8:	91 21 00 a4 	stw     r9,164(r1)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0fdec:	7c 29 0b 78 	mr      r9,r1                                  
ffc0fdf0:	38 81 00 5c 	addi    r4,r1,92                               
ffc0fdf4:	94 09 00 ac 	stwu    r0,172(r9)                             
ffc0fdf8:	38 01 00 c0 	addi    r0,r1,192                              
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc0fdfc:	91 21 00 b4 	stw     r9,180(r1)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0fe00:	7c 29 0b 78 	mr      r9,r1                                  
ffc0fe04:	94 09 00 bc 	stwu    r0,188(r9)                             
ffc0fe08:	38 01 00 d0 	addi    r0,r1,208                              
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc0fe0c:	91 21 00 c4 	stw     r9,196(r1)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0fe10:	7c 29 0b 78 	mr      r9,r1                                  
ffc0fe14:	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;                
ffc0fe18:	38 00 00 05 	li      r0,5                                   
ffc0fe1c:	90 01 00 98 	stw     r0,152(r1)                             
                                                                      
  fs.release_count = 0;                                               
  fs.release_modified_count = 0;                                      
                                                                      
  fs.flags = RTEMS_RFS_FS_NO_LOCAL_CACHE;                             
ffc0fe20:	38 00 00 02 	li      r0,2                                   
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc0fe24:	91 21 00 d4 	stw     r9,212(r1)                             
ffc0fe28:	90 01 00 5c 	stw     r0,92(r1)                              
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, &fs);                             
ffc0fe2c:	48 00 ba e1 	bl      ffc1b90c <rtems_rfs_buffer_open>       
  if (rc > 0)                                                         
ffc0fe30:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc0fe34:	40 a1 00 18 	ble+    ffc0fe4c <rtems_rfs_format+0xc0>       <== ALWAYS TAKEN
  {                                                                   
    printf ("rtems-rfs: format: buffer open failed: %d: %s\n",        
ffc0fe38:	48 01 29 c1 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc0fe3c:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc0fe40:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc0fe44:	38 63 15 17 	addi    r3,r3,5399                             <== NOT EXECUTED
ffc0fe48:	48 00 0b 1c 	b       ffc10964 <rtems_rfs_format+0xbd8>      <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Check the media.                                                 
   */                                                                 
  if (rtems_rfs_fs_media_block_size (&fs) == 0)                       
ffc0fe4c:	81 21 00 68 	lwz     r9,104(r1)                             
ffc0fe50:	80 09 00 24 	lwz     r0,36(r9)                              
ffc0fe54:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0fe58:	40 be 00 14 	bne+    cr7,ffc0fe6c <rtems_rfs_format+0xe0>   <== ALWAYS TAKEN
  {                                                                   
    printf ("rtems-rfs: media block is invalid: %" PRIu32 "\n",       
ffc0fe5c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc0fe60:	38 63 15 46 	addi    r3,r3,5446                             <== NOT EXECUTED
ffc0fe64:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc0fe68:	48 00 05 78 	b       ffc103e0 <rtems_rfs_format+0x654>      <== NOT EXECUTED
                                                                      
static bool                                                           
rtems_rfs_check_config (rtems_rfs_file_system*         fs,            
                        const rtems_rfs_format_config* config)        
{                                                                     
  fs->block_size = config->block_size;                                
ffc0fe6c:	80 1c 00 00 	lwz     r0,0(r28)                              
  if (!fs->block_size)                                                
ffc0fe70:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
static bool                                                           
rtems_rfs_check_config (rtems_rfs_file_system*         fs,            
                        const rtems_rfs_format_config* config)        
{                                                                     
  fs->block_size = config->block_size;                                
ffc0fe74:	90 01 00 64 	stw     r0,100(r1)                             
  if (!fs->block_size)                                                
ffc0fe78:	40 be 00 94 	bne+    cr7,ffc0ff0c <rtems_rfs_format+0x180>  <== ALWAYS TAKEN
  {                                                                   
    uint64_t total_size = rtems_rfs_fs_media_size (fs);               
ffc0fe7c:	38 61 00 5c 	addi    r3,r1,92                               <== NOT EXECUTED
ffc0fe80:	48 00 df 39 	bl      ffc1ddb8 <rtems_rfs_fs_media_size>     <== NOT EXECUTED
                                                                      
    if (total_size >= GIGS (1))                                       
ffc0fe84:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc0fe88:	40 82 00 14 	bne-    ffc0fe9c <rtems_rfs_format+0x110>      <== NOT EXECUTED
ffc0fe8c:	3c 00 00 0f 	lis     r0,15                                  <== NOT EXECUTED
ffc0fe90:	60 00 ff ff 	ori     r0,r0,65535                            <== NOT EXECUTED
ffc0fe94:	7f 84 00 40 	cmplw   cr7,r4,r0                              <== NOT EXECUTED
ffc0fe98:	40 9d 00 4c 	ble-    cr7,ffc0fee4 <rtems_rfs_format+0x158>  <== NOT EXECUTED
    {                                                                 
      uint32_t gigs = (total_size + GIGS (1)) / GIGS (1);             
ffc0fe9c:	3c 04 00 10 	addis   r0,r4,16                               <== NOT EXECUTED
      int      b;                                                     
      for (b = 31; b > 0; b--)                                        
ffc0fea0:	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);             
ffc0fea4:	7c 84 00 10 	subfc   r4,r4,r0                               <== NOT EXECUTED
ffc0fea8:	7c 84 21 10 	subfe   r4,r4,r4                               <== NOT EXECUTED
      int      b;                                                     
      for (b = 31; b > 0; b--)                                        
        if ((gigs & (1 << b)) != 0)                                   
ffc0feac:	7d 29 03 a6 	mtctr   r9                                     <== 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);             
ffc0feb0:	7c 84 18 50 	subf    r4,r4,r3                               <== NOT EXECUTED
ffc0feb4:	54 84 60 26 	rlwinm  r4,r4,12,0,19                          <== NOT EXECUTED
ffc0feb8:	54 00 65 3e 	rlwinm  r0,r0,12,20,31                         <== NOT EXECUTED
ffc0febc:	7c 84 03 78 	or      r4,r4,r0                               <== NOT EXECUTED
      int      b;                                                     
      for (b = 31; b > 0; b--)                                        
        if ((gigs & (1 << b)) != 0)                                   
ffc0fec0:	39 60 00 01 	li      r11,1                                  <== NOT EXECUTED
ffc0fec4:	7d 60 48 30 	slw     r0,r11,r9                              <== NOT EXECUTED
ffc0fec8:	7c 0a 20 39 	and.    r10,r0,r4                              <== NOT EXECUTED
ffc0fecc:	40 82 00 0c 	bne-    ffc0fed8 <rtems_rfs_format+0x14c>      <== NOT EXECUTED
                                                                      
    if (total_size >= GIGS (1))                                       
    {                                                                 
      uint32_t gigs = (total_size + GIGS (1)) / GIGS (1);             
      int      b;                                                     
      for (b = 31; b > 0; b--)                                        
ffc0fed0:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc0fed4:	42 00 ff f0 	bdnz+   ffc0fec4 <rtems_rfs_format+0x138>      <== NOT EXECUTED
        if ((gigs & (1 << b)) != 0)                                   
          break;                                                      
      fs->block_size = 1 << b;                                        
ffc0fed8:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0fedc:	7c 09 48 30 	slw     r9,r0,r9                               <== NOT EXECUTED
ffc0fee0:	91 21 00 64 	stw     r9,100(r1)                             <== NOT EXECUTED
    }                                                                 
                                                                      
    if (fs->block_size < 512)                                         
ffc0fee4:	80 01 00 64 	lwz     r0,100(r1)                             <== NOT EXECUTED
ffc0fee8:	2b 80 01 ff 	cmplwi  cr7,r0,511                             <== NOT EXECUTED
ffc0feec:	41 9d 00 0c 	bgt-    cr7,ffc0fef8 <rtems_rfs_format+0x16c>  <== NOT EXECUTED
      fs->block_size = 512;                                           
ffc0fef0:	38 00 02 00 	li      r0,512                                 <== NOT EXECUTED
ffc0fef4:	90 01 00 64 	stw     r0,100(r1)                             <== NOT EXECUTED
                                                                      
    if (fs->block_size > (4 * 1024))                                  
ffc0fef8:	80 01 00 64 	lwz     r0,100(r1)                             <== NOT EXECUTED
ffc0fefc:	2b 80 10 00 	cmplwi  cr7,r0,4096                            <== NOT EXECUTED
ffc0ff00:	40 9d 00 0c 	ble-    cr7,ffc0ff0c <rtems_rfs_format+0x180>  <== NOT EXECUTED
      fs->block_size = (4 * 1024);                                    
ffc0ff04:	38 00 10 00 	li      r0,4096                                <== NOT EXECUTED
ffc0ff08:	90 01 00 64 	stw     r0,100(r1)                             <== NOT EXECUTED
  }                                                                   
                                                                      
  if ((fs->block_size % rtems_rfs_fs_media_block_size (fs)) != 0)     
ffc0ff0c:	81 21 00 68 	lwz     r9,104(r1)                             
ffc0ff10:	80 81 00 64 	lwz     r4,100(r1)                             
ffc0ff14:	80 a9 00 24 	lwz     r5,36(r9)                              
ffc0ff18:	7c 04 2b 96 	divwu   r0,r4,r5                               
ffc0ff1c:	7c 00 29 d6 	mullw   r0,r0,r5                               
ffc0ff20:	7f 84 00 00 	cmpw    cr7,r4,r0                              
ffc0ff24:	41 be 00 10 	beq+    cr7,ffc0ff34 <rtems_rfs_format+0x1a8>  <== ALWAYS TAKEN
  {                                                                   
    printf ("block size (%zd) is not a multiple of media block size (%" PRId32 ")\n",
ffc0ff28:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc0ff2c:	38 63 15 6e 	addi    r3,r3,5486                             <== NOT EXECUTED
ffc0ff30:	48 00 0a 38 	b       ffc10968 <rtems_rfs_format+0xbdc>      <== NOT EXECUTED
            fs->block_size, rtems_rfs_fs_media_block_size (fs));      
    return false;                                                     
  }                                                                   
                                                                      
  fs->group_blocks = config->group_blocks;                            
ffc0ff34:	80 1c 00 04 	lwz     r0,4(r28)                              
ffc0ff38:	54 84 18 38 	rlwinm  r4,r4,3,0,28                           
  if (!fs->group_blocks)                                              
ffc0ff3c:	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;                            
ffc0ff40:	90 01 00 80 	stw     r0,128(r1)                             
  if (!fs->group_blocks)                                              
ffc0ff44:	40 9e 00 08 	bne-    cr7,ffc0ff4c <rtems_rfs_format+0x1c0>  <== 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);  
ffc0ff48:	90 81 00 80 	stw     r4,128(r1)                             
  }                                                                   
                                                                      
  if (fs->group_blocks > rtems_rfs_bitmap_numof_bits (fs->block_size))
ffc0ff4c:	80 01 00 80 	lwz     r0,128(r1)                             
ffc0ff50:	7f 80 20 40 	cmplw   cr7,r0,r4                              
ffc0ff54:	40 bd 00 10 	ble+    cr7,ffc0ff64 <rtems_rfs_format+0x1d8>  <== ALWAYS TAKEN
  {                                                                   
    printf ("group block count is higher than bits in block\n");      
ffc0ff58:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc0ff5c:	38 63 15 ac 	addi    r3,r3,5548                             <== NOT EXECUTED
ffc0ff60:	48 00 04 4c 	b       ffc103ac <rtems_rfs_format+0x620>      <== NOT EXECUTED
    return false;                                                     
  }                                                                   
                                                                      
  fs->blocks = rtems_rfs_fs_media_size (fs) / fs->block_size;         
ffc0ff64:	38 61 00 5c 	addi    r3,r1,92                               
ffc0ff68:	48 00 de 51 	bl      ffc1ddb8 <rtems_rfs_fs_media_size>     
ffc0ff6c:	83 e1 00 64 	lwz     r31,100(r1)                            
ffc0ff70:	38 a0 00 00 	li      r5,0                                   
ffc0ff74:	7f e6 fb 78 	mr      r6,r31                                 
ffc0ff78:	48 01 f0 6d 	bl      ffc2efe4 <__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));  
ffc0ff7c:	57 fe 18 38 	rlwinm  r30,r31,3,0,28                         
  {                                                                   
    printf ("group block count is higher than bits in block\n");      
    return false;                                                     
  }                                                                   
                                                                      
  fs->blocks = rtems_rfs_fs_media_size (fs) / fs->block_size;         
ffc0ff80:	90 81 00 60 	stw     r4,96(r1)                              
  /*                                                                  
   * 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), 
ffc0ff84:	7c 83 23 78 	mr      r3,r4                                  
  {                                                                   
    printf ("group block count is higher than bits in block\n");      
    return false;                                                     
  }                                                                   
                                                                      
  fs->blocks = rtems_rfs_fs_media_size (fs) / fs->block_size;         
ffc0ff88:	7c 9d 23 78 	mr      r29,r4                                 
  /*                                                                  
   * 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), 
ffc0ff8c:	7f c4 f3 78 	mr      r4,r30                                 
ffc0ff90:	4b ff fd 89 	bl      ffc0fd18 <rtems_rfs_rup_quotient>      
                                            rtems_rfs_bits_per_block (fs));
                                                                      
  fs->group_inodes = config->group_inodes;                            
ffc0ff94:	80 1c 00 08 	lwz     r0,8(r28)                              
  /*                                                                  
   * The bits per block sets the upper limit for the number of blocks in a
   * group. The disk will be divided into groups which are the number of bits
   * per block.                                                       
   */                                                                 
  fs->group_count = rtems_rfs_rup_quotient (rtems_rfs_fs_blocks (fs), 
ffc0ff98:	7c 64 1b 78 	mr      r4,r3                                  
ffc0ff9c:	90 61 00 7c 	stw     r3,124(r1)                             
                                            rtems_rfs_bits_per_block (fs));
                                                                      
  fs->group_inodes = config->group_inodes;                            
  if (!fs->group_inodes)                                              
ffc0ffa0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
   * 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;                            
ffc0ffa4:	90 01 00 84 	stw     r0,132(r1)                             
  if (!fs->group_inodes)                                              
ffc0ffa8:	40 9e 00 38 	bne-    cr7,ffc0ffe0 <rtems_rfs_format+0x254>  <== NEVER TAKEN
    int inode_overhead = RTEMS_RFS_INODE_OVERHEAD_PERCENTAGE;         
                                                                      
    /*                                                                
     * The number of inodes per group is set as a percentage.         
     */                                                               
    if (config->inode_overhead)                                       
ffc0ffac:	80 1c 00 0c 	lwz     r0,12(r28)                             
ffc0ffb0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ffb4:	40 9e 00 08 	bne-    cr7,ffc0ffbc <rtems_rfs_format+0x230>  <== NEVER TAKEN
                                            rtems_rfs_bits_per_block (fs));
                                                                      
  fs->group_inodes = config->group_inodes;                            
  if (!fs->group_inodes)                                              
  {                                                                   
    int inode_overhead = RTEMS_RFS_INODE_OVERHEAD_PERCENTAGE;         
ffc0ffb8:	38 00 00 01 	li      r0,1                                   
static int                                                            
rtems_rfs_inodes_from_percent (rtems_rfs_file_system* fs,             
                               int                    percentage)     
{                                                                     
  int blocks;                                                         
  blocks = ((rtems_rfs_fs_blocks (fs) -                               
ffc0ffbc:	3b bd ff ff 	addi    r29,r29,-1                             
             RTEMS_RFS_SUPERBLOCK_SIZE) * percentage) / 100;          
ffc0ffc0:	7c 00 e9 d6 	mullw   r0,r0,r29                              
  blocks = rtems_rfs_rup_quotient (blocks, fs->group_count);          
ffc0ffc4:	39 20 00 64 	li      r9,100                                 
ffc0ffc8:	7c 60 4b 96 	divwu   r3,r0,r9                               
ffc0ffcc:	4b ff fd 4d 	bl      ffc0fd18 <rtems_rfs_rup_quotient>      
  return blocks * (rtems_rfs_fs_block_size (fs) / RTEMS_RFS_INODE_SIZE);
ffc0ffd0:	38 00 00 38 	li      r0,56                                  
ffc0ffd4:	7c 1f 03 96 	divwu   r0,r31,r0                              
ffc0ffd8:	7c 03 01 d6 	mullw   r0,r3,r0                               
     * The number of inodes per group is set as a percentage.         
     */                                                               
    if (config->inode_overhead)                                       
      inode_overhead = config->inode_overhead;                        
                                                                      
    fs->group_inodes = rtems_rfs_inodes_from_percent (fs, inode_overhead);
ffc0ffdc:	90 01 00 84 	stw     r0,132(r1)                             
  }                                                                   
                                                                      
  /*                                                                  
   * 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;
ffc0ffe0:	38 00 00 38 	li      r0,56                                  
  fs->group_inodes =                                                  
    rtems_rfs_rup_quotient (fs->group_inodes,                         
ffc0ffe4:	80 61 00 84 	lwz     r3,132(r1)                             
  }                                                                   
                                                                      
  /*                                                                  
   * 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;
ffc0ffe8:	7f ff 03 96 	divwu   r31,r31,r0                             
  fs->group_inodes =                                                  
    rtems_rfs_rup_quotient (fs->group_inodes,                         
ffc0ffec:	7f e4 fb 78 	mr      r4,r31                                 
  }                                                                   
                                                                      
  /*                                                                  
   * 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;
ffc0fff0:	93 e1 00 88 	stw     r31,136(r1)                            
  fs->group_inodes =                                                  
    rtems_rfs_rup_quotient (fs->group_inodes,                         
ffc0fff4:	4b ff fd 25 	bl      ffc0fd18 <rtems_rfs_rup_quotient>      
                            fs->inodes_per_block) * fs->inodes_per_block;
ffc0fff8:	7f e3 f9 d6 	mullw   r31,r3,r31                             
                                                                      
  if (fs->group_inodes > rtems_rfs_bitmap_numof_bits (fs->block_size))
ffc0fffc:	7f 9f f0 40 	cmplw   cr7,r31,r30                            
                                                                      
  /*                                                                  
   * 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 =                                                  
ffc10000:	93 e1 00 84 	stw     r31,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))
ffc10004:	40 9d 00 08 	ble-    cr7,ffc1000c <rtems_rfs_format+0x280>  <== ALWAYS TAKEN
    fs->group_inodes = rtems_rfs_bitmap_numof_bits (fs->block_size);  
ffc10008:	93 c1 00 84 	stw     r30,132(r1)                            <== NOT EXECUTED
                                                                      
  fs->max_name_length = config->max_name_length;                      
ffc1000c:	80 1c 00 10 	lwz     r0,16(r28)                             
  if (!fs->max_name_length)                                           
ffc10010:	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;                      
ffc10014:	90 01 00 74 	stw     r0,116(r1)                             
  if (!fs->max_name_length)                                           
ffc10018:	40 9e 09 6c 	bne-    cr7,ffc10984 <rtems_rfs_format+0xbf8>  <== NEVER TAKEN
  {                                                                   
    fs->max_name_length = 512;                                        
ffc1001c:	38 00 02 00 	li      r0,512                                 
ffc10020:	90 01 00 74 	stw     r0,116(r1)                             
ffc10024:	48 00 09 60 	b       ffc10984 <rtems_rfs_format+0xbf8>      
  if (!rtems_rfs_check_config (&fs, config))                          
    return -1;                                                        
                                                                      
  if (config->verbose)                                                
  {                                                                   
    printf ("rtems-rfs: format: media size = %" PRIu64 "\n",          
ffc10028:	38 61 00 5c 	addi    r3,r1,92                               <== NOT EXECUTED
ffc1002c:	48 00 dd 8d 	bl      ffc1ddb8 <rtems_rfs_fs_media_size>     <== NOT EXECUTED
ffc10030:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc10034:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10038:	7c 86 23 78 	mr      r6,r4                                  <== NOT EXECUTED
ffc1003c:	38 63 15 db 	addi    r3,r3,5595                             <== NOT EXECUTED
ffc10040:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10044:	48 01 1a 49 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            rtems_rfs_fs_media_size (&fs));                           
    printf ("rtems-rfs: format: media blocks = %" PRIu32 "\n",        
ffc10048:	81 21 00 68 	lwz     r9,104(r1)                             <== NOT EXECUTED
ffc1004c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10050:	80 89 00 1c 	lwz     r4,28(r9)                              <== NOT EXECUTED
ffc10054:	38 63 16 01 	addi    r3,r3,5633                             <== NOT EXECUTED
ffc10058:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1005c:	48 01 1a 31 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            rtems_rfs_fs_media_blocks (&fs));                         
    printf ("rtems-rfs: format: media block size = %" PRIu32 "\n",    
ffc10060:	81 21 00 68 	lwz     r9,104(r1)                             <== NOT EXECUTED
ffc10064:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10068:	80 89 00 24 	lwz     r4,36(r9)                              <== NOT EXECUTED
ffc1006c:	38 63 16 28 	addi    r3,r3,5672                             <== NOT EXECUTED
ffc10070:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10074:	48 01 1a 19 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            rtems_rfs_fs_media_block_size (&fs));                     
    printf ("rtems-rfs: format: size = %" PRIu64 "\n",                
ffc10078:	38 61 00 5c 	addi    r3,r1,92                               <== NOT EXECUTED
ffc1007c:	48 00 dd 29 	bl      ffc1dda4 <rtems_rfs_fs_size>           <== NOT EXECUTED
ffc10080:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc10084:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10088:	7c 86 23 78 	mr      r6,r4                                  <== NOT EXECUTED
ffc1008c:	38 63 16 53 	addi    r3,r3,5715                             <== NOT EXECUTED
ffc10090:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10094:	48 01 19 f9 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            rtems_rfs_fs_size (&fs));                                 
    printf ("rtems-rfs: format: blocks = %zu\n",                      
ffc10098:	80 81 00 60 	lwz     r4,96(r1)                              <== NOT EXECUTED
ffc1009c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc100a0:	38 63 16 73 	addi    r3,r3,5747                             <== NOT EXECUTED
ffc100a4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc100a8:	48 01 19 e5 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            rtems_rfs_fs_blocks (&fs));                               
    printf ("rtems-rfs: format: block size = %zu\n",                  
ffc100ac:	80 81 00 64 	lwz     r4,100(r1)                             <== NOT EXECUTED
ffc100b0:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc100b4:	38 63 16 94 	addi    r3,r3,5780                             <== NOT EXECUTED
ffc100b8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc100bc:	48 01 19 d1 	bl      ffc21a8c <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));  
ffc100c0:	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",               
ffc100c4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc100c8:	54 84 18 38 	rlwinm  r4,r4,3,0,28                           <== NOT EXECUTED
ffc100cc:	38 63 16 b9 	addi    r3,r3,5817                             <== NOT EXECUTED
ffc100d0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc100d4:	48 01 19 b9 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            rtems_rfs_bits_per_block (&fs));                          
    printf ("rtems-rfs: format: inode size = %zu\n", RTEMS_RFS_INODE_SIZE);
ffc100d8:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc100dc:	38 80 00 38 	li      r4,56                                  <== NOT EXECUTED
ffc100e0:	38 63 16 e1 	addi    r3,r3,5857                             <== NOT EXECUTED
ffc100e4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc100e8:	48 01 19 a5 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
    printf ("rtems-rfs: format: inodes = %zu (%d.%d%%)\n",            
ffc100ec:	80 01 00 84 	lwz     r0,132(r1)                             <== NOT EXECUTED
ffc100f0:	83 e1 00 7c 	lwz     r31,124(r1)                            <== NOT EXECUTED
            fs.group_inodes * fs.group_count,                         
            rtems_rfs_inode_overhead (&fs) / 10,                      
ffc100f4:	38 61 00 5c 	addi    r3,r1,92                               <== 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",            
ffc100f8:	7f ff 01 d6 	mullw   r31,r31,r0                             <== NOT EXECUTED
            fs.group_inodes * fs.group_count,                         
            rtems_rfs_inode_overhead (&fs) / 10,                      
ffc100fc:	4b ff fc 3d 	bl      ffc0fd38 <rtems_rfs_inode_overhead>    <== 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",            
ffc10100:	38 a0 00 0a 	li      r5,10                                  <== NOT EXECUTED
ffc10104:	7c a3 2b d6 	divw    r5,r3,r5                               <== NOT EXECUTED
ffc10108:	1c c5 00 0a 	mulli   r6,r5,10                               <== NOT EXECUTED
            fs.group_inodes * fs.group_count,                         
            rtems_rfs_inode_overhead (&fs) / 10,                      
ffc1010c:	7c 60 1b 78 	mr      r0,r3                                  <== 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",            
ffc10110:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10114:	7c c6 00 50 	subf    r6,r6,r0                               <== NOT EXECUTED
ffc10118:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1011c:	38 63 17 06 	addi    r3,r3,5894                             <== NOT EXECUTED
ffc10120:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10124:	48 01 19 69 	bl      ffc21a8c <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);      
ffc10128:	80 81 00 7c 	lwz     r4,124(r1)                             <== NOT EXECUTED
ffc1012c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10130:	38 63 17 31 	addi    r3,r3,5937                             <== NOT EXECUTED
ffc10134:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10138:	48 01 19 55 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
    printf ("rtems-rfs: format: group blocks = %zu\n", fs.group_blocks);
ffc1013c:	80 81 00 80 	lwz     r4,128(r1)                             <== NOT EXECUTED
ffc10140:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10144:	38 63 17 51 	addi    r3,r3,5969                             <== NOT EXECUTED
ffc10148:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1014c:	48 01 19 41 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
    printf ("rtems-rfs: format: group inodes = %zu\n", fs.group_inodes);
ffc10150:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10154:	80 81 00 84 	lwz     r4,132(r1)                             <== NOT EXECUTED
ffc10158:	38 63 17 78 	addi    r3,r3,6008                             <== NOT EXECUTED
ffc1015c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10160:	48 01 19 2d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_setblksize (&fs, rtems_rfs_fs_block_size (&fs));
ffc10164:	3b a1 00 5c 	addi    r29,r1,92                              
ffc10168:	80 81 00 64 	lwz     r4,100(r1)                             
ffc1016c:	7f a3 eb 78 	mr      r3,r29                                 
ffc10170:	48 00 ba 0d 	bl      ffc1bb7c <rtems_rfs_buffer_setblksize> 
  if (rc > 0)                                                         
ffc10174:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc10178:	40 a1 00 18 	ble+    ffc10190 <rtems_rfs_format+0x404>      <== ALWAYS TAKEN
  {                                                                   
    printf ("rtems-rfs: format: setting block size failed: %d: %s\n", 
ffc1017c:	48 01 26 7d 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc10180:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc10184:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10188:	38 63 17 9f 	addi    r3,r3,6047                             <== NOT EXECUTED
ffc1018c:	48 00 07 d8 	b       ffc10964 <rtems_rfs_format+0xbd8>      <== NOT EXECUTED
    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);       
ffc10190:	3b c1 00 10 	addi    r30,r1,16                              
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc10194:	38 00 00 00 	li      r0,0                                   
  handle->bnum  = 0;                                                  
ffc10198:	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;                                              
ffc1019c:	98 01 00 10 	stb     r0,16(r1)                              
ffc101a0:	7f a3 eb 78 	mr      r3,r29                                 
ffc101a4:	7f c4 f3 78 	mr      r4,r30                                 
  handle->bnum  = 0;                                                  
ffc101a8:	93 e1 00 14 	stw     r31,20(r1)                             
ffc101ac:	38 a0 00 00 	li      r5,0                                   
ffc101b0:	38 c0 00 00 	li      r6,0                                   
  handle->buffer = NULL;                                              
ffc101b4:	93 e1 00 18 	stw     r31,24(r1)                             
ffc101b8:	48 00 b4 ad 	bl      ffc1b664 <rtems_rfs_buffer_handle_request>
  if (rc > 0)                                                         
ffc101bc:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc101c0:	40 81 00 2c 	ble-    ffc101ec <rtems_rfs_format+0x460>      <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
ffc101c4:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc101c8:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc101cc:	4b ff fb 11 	bl      ffc0fcdc <rtems_rfs_buffer_handle_close><== NOT EXECUTED
    printf ("rtems-rfs: write-superblock: request failed: %d: %s\n",  
ffc101d0:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc101d4:	48 01 26 25 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc101d8:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc101dc:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc101e0:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc101e4:	38 63 17 d5 	addi    r3,r3,6101                             <== NOT EXECUTED
ffc101e8:	48 00 01 b4 	b       ffc1039c <rtems_rfs_format+0x610>      <== NOT EXECUTED
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  sb = rtems_rfs_buffer_data (&handle);                               
ffc101ec:	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));                    
ffc101f0:	38 80 00 ff 	li      r4,255                                 
ffc101f4:	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);                               
ffc101f8:	83 69 00 24 	lwz     r27,36(r9)                             
                                                                      
#define write_sb(_o, _d) rtems_rfs_write_u32(sb + (_o), _d)           
                                                                      
  memset (sb, 0xff, rtems_rfs_fs_block_size (fs));                    
ffc101fc:	7f 63 db 78 	mr      r3,r27                                 
ffc10200:	48 01 16 fd 	bl      ffc218fc <memset>                      
                                                                      
  write_sb (RTEMS_RFS_SB_OFFSET_MAGIC, RTEMS_RFS_SB_MAGIC);           
ffc10204:	38 00 00 28 	li      r0,40                                  
ffc10208:	98 1b 00 00 	stb     r0,0(r27)                              
ffc1020c:	38 00 00 09 	li      r0,9                                   
ffc10210:	39 20 00 01 	li      r9,1                                   
ffc10214:	98 1b 00 01 	stb     r0,1(r27)                              
ffc10218:	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);                 
ffc1021c:	7f c4 f3 78 	mr      r4,r30                                 
                                                                      
#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);           
ffc10220:	99 3b 00 03 	stb     r9,3(r27)                              
  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);                 
ffc10224:	7f a3 eb 78 	mr      r3,r29                                 
#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);           
  write_sb (RTEMS_RFS_SB_OFFSET_VERSION, RTEMS_RFS_VERSION);          
ffc10228:	9b fb 00 04 	stb     r31,4(r27)                             
ffc1022c:	9b fb 00 05 	stb     r31,5(r27)                             
ffc10230:	9b fb 00 06 	stb     r31,6(r27)                             
ffc10234:	9b fb 00 07 	stb     r31,7(r27)                             
                                                                      
#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);           
ffc10238:	98 1b 00 02 	stb     r0,2(r27)                              
  write_sb (RTEMS_RFS_SB_OFFSET_VERSION, RTEMS_RFS_VERSION);          
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCKS, rtems_rfs_fs_blocks (fs));    
ffc1023c:	80 01 00 60 	lwz     r0,96(r1)                              
ffc10240:	54 0b 46 3e 	rlwinm  r11,r0,8,24,31                         
ffc10244:	98 1b 00 0f 	stb     r0,15(r27)                             
ffc10248:	99 7b 00 0c 	stb     r11,12(r27)                            
ffc1024c:	54 0b 84 3e 	rlwinm  r11,r0,16,16,31                        
ffc10250:	99 7b 00 0d 	stb     r11,13(r27)                            
ffc10254:	54 0b c2 3e 	rlwinm  r11,r0,24,8,31                         
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
ffc10258:	88 01 00 64 	lbz     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));    
ffc1025c:	99 7b 00 0e 	stb     r11,14(r27)                            
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
ffc10260:	98 1b 00 08 	stb     r0,8(r27)                              
ffc10264:	a0 01 00 64 	lhz     r0,100(r1)                             
ffc10268:	98 1b 00 09 	stb     r0,9(r27)                              
ffc1026c:	80 01 00 64 	lwz     r0,100(r1)                             
ffc10270:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc10274:	98 1b 00 0a 	stb     r0,10(r27)                             
ffc10278:	80 01 00 64 	lwz     r0,100(r1)                             
ffc1027c:	98 1b 00 0b 	stb     r0,11(r27)                             
  write_sb (RTEMS_RFS_SB_OFFSET_BAD_BLOCKS, fs->bad_blocks);          
ffc10280:	88 01 00 70 	lbz     r0,112(r1)                             
ffc10284:	98 1b 00 10 	stb     r0,16(r27)                             
ffc10288:	a0 01 00 70 	lhz     r0,112(r1)                             
ffc1028c:	98 1b 00 11 	stb     r0,17(r27)                             
ffc10290:	80 01 00 70 	lwz     r0,112(r1)                             
ffc10294:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc10298:	98 1b 00 12 	stb     r0,18(r27)                             
ffc1029c:	80 01 00 70 	lwz     r0,112(r1)                             
ffc102a0:	98 1b 00 13 	stb     r0,19(r27)                             
  write_sb (RTEMS_RFS_SB_OFFSET_MAX_NAME_LENGTH, fs->max_name_length);
ffc102a4:	88 01 00 74 	lbz     r0,116(r1)                             
ffc102a8:	98 1b 00 14 	stb     r0,20(r27)                             
ffc102ac:	a0 01 00 74 	lhz     r0,116(r1)                             
ffc102b0:	98 1b 00 15 	stb     r0,21(r27)                             
ffc102b4:	80 01 00 74 	lwz     r0,116(r1)                             
ffc102b8:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc102bc:	98 1b 00 16 	stb     r0,22(r27)                             
ffc102c0:	80 01 00 74 	lwz     r0,116(r1)                             
ffc102c4:	98 1b 00 17 	stb     r0,23(r27)                             
  write_sb (RTEMS_RFS_SB_OFFSET_GROUPS, fs->group_count);             
ffc102c8:	88 01 00 7c 	lbz     r0,124(r1)                             
ffc102cc:	98 1b 00 18 	stb     r0,24(r27)                             
ffc102d0:	a0 01 00 7c 	lhz     r0,124(r1)                             
ffc102d4:	98 1b 00 19 	stb     r0,25(r27)                             
ffc102d8:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc102dc:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc102e0:	98 1b 00 1a 	stb     r0,26(r27)                             
ffc102e4:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc102e8:	98 1b 00 1b 	stb     r0,27(r27)                             
  write_sb (RTEMS_RFS_SB_OFFSET_GROUP_BLOCKS, fs->group_blocks);      
ffc102ec:	88 01 00 80 	lbz     r0,128(r1)                             
ffc102f0:	98 1b 00 1c 	stb     r0,28(r27)                             
ffc102f4:	a0 01 00 80 	lhz     r0,128(r1)                             
ffc102f8:	98 1b 00 1d 	stb     r0,29(r27)                             
ffc102fc:	80 01 00 80 	lwz     r0,128(r1)                             
ffc10300:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc10304:	98 1b 00 1e 	stb     r0,30(r27)                             
ffc10308:	80 01 00 80 	lwz     r0,128(r1)                             
ffc1030c:	98 1b 00 1f 	stb     r0,31(r27)                             
  write_sb (RTEMS_RFS_SB_OFFSET_GROUP_INODES, fs->group_inodes);      
ffc10310:	88 01 00 84 	lbz     r0,132(r1)                             
ffc10314:	98 1b 00 20 	stb     r0,32(r27)                             
ffc10318:	a0 01 00 84 	lhz     r0,132(r1)                             
ffc1031c:	98 1b 00 21 	stb     r0,33(r27)                             
ffc10320:	80 01 00 84 	lwz     r0,132(r1)                             
ffc10324:	54 00 c2 3e 	rlwinm  r0,r0,24,8,31                          
ffc10328:	98 1b 00 22 	stb     r0,34(r27)                             
ffc1032c:	80 01 00 84 	lwz     r0,132(r1)                             
  write_sb (RTEMS_RFS_SB_OFFSET_INODE_SIZE, RTEMS_RFS_INODE_SIZE);    
ffc10330:	9b fb 00 24 	stb     r31,36(r27)                            
  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);      
ffc10334:	98 1b 00 23 	stb     r0,35(r27)                             
  write_sb (RTEMS_RFS_SB_OFFSET_INODE_SIZE, RTEMS_RFS_INODE_SIZE);    
ffc10338:	38 00 00 38 	li      r0,56                                  
ffc1033c:	9b fb 00 25 	stb     r31,37(r27)                            
ffc10340:	9b fb 00 26 	stb     r31,38(r27)                            
ffc10344:	98 1b 00 27 	stb     r0,39(r27)                             
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
ffc10348:	99 21 00 10 	stb     r9,16(r1)                              
                                                                      
  rc = rtems_rfs_buffer_handle_release (fs, &handle);                 
ffc1034c:	48 00 b1 39 	bl      ffc1b484 <rtems_rfs_buffer_handle_release>
  if (rc > 0)                                                         
ffc10350:	7c 7f 1b 79 	mr.     r31,r3                                 
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
ffc10354:	7f c4 f3 78 	mr      r4,r30                                 
ffc10358:	7f a3 eb 78 	mr      r3,r29                                 
  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);                 
  if (rc > 0)                                                         
ffc1035c:	40 81 00 20 	ble-    ffc1037c <rtems_rfs_format+0x5f0>      <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
ffc10360:	4b ff f9 7d 	bl      ffc0fcdc <rtems_rfs_buffer_handle_close><== NOT EXECUTED
    printf ("rtems-rfs: write-superblock: buffer release failed: %d: %s\n",
ffc10364:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc10368:	48 01 24 91 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1036c:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc10370:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10374:	38 63 18 0a 	addi    r3,r3,6154                             <== NOT EXECUTED
ffc10378:	48 00 00 20 	b       ffc10398 <rtems_rfs_format+0x60c>      <== NOT EXECUTED
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_handle_close (fs, &handle);                   
ffc1037c:	4b ff f9 61 	bl      ffc0fcdc <rtems_rfs_buffer_handle_close>
  if (rc > 0)                                                         
ffc10380:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc10384:	40 81 03 7c 	ble-    ffc10700 <rtems_rfs_format+0x974>      <== ALWAYS TAKEN
  {                                                                   
    printf ("rtems-rfs: write-superblock: buffer handle close failed: %d: %s\n",
ffc10388:	48 01 24 71 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1038c:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc10390:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10394:	38 63 18 46 	addi    r3,r3,6214                             <== NOT EXECUTED
ffc10398:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1039c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc103a0:	48 01 16 ed 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
                                                                      
  if (!rtems_rfs_write_superblock (&fs))                              
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
ffc103a4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc103a8:	38 63 18 87 	addi    r3,r3,6279                             <== NOT EXECUTED
ffc103ac:	48 01 18 95 	bl      ffc21c40 <puts>                        <== NOT EXECUTED
ffc103b0:	48 00 05 c0 	b       ffc10970 <rtems_rfs_format+0xbe4>      <== NOT EXECUTED
  size_t                   group_size;                                
  int                      blocks;                                    
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
ffc103b4:	83 61 00 80 	lwz     r27,128(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,                           
ffc103b8:	56 f7 06 3e 	clrlwi  r23,r23,24                             
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
ffc103bc:	80 01 00 60 	lwz     r0,96(r1)                              
  size_t                   group_size;                                
  int                      blocks;                                    
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
ffc103c0:	7f 1f d9 d6 	mullw   r24,r31,r27                            
    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,                           
ffc103c4:	8a 1c 00 14 	lbz     r16,20(r28)                            
  size_t                   group_size;                                
  int                      blocks;                                    
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
ffc103c8:	3a b8 00 01 	addi    r21,r24,1                              
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
ffc103cc:	7f 95 00 40 	cmplw   cr7,r21,r0                             
ffc103d0:	40 bd 00 1c 	ble+    cr7,ffc103ec <rtems_rfs_format+0x660>  <== ALWAYS TAKEN
  {                                                                   
    printf ("rtems-rfs: write-group: group %d base beyond disk limit\n",
ffc103d4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc103d8:	38 63 18 b2 	addi    r3,r3,6322                             <== NOT EXECUTED
ffc103dc:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc103e0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc103e4:	48 01 16 a9 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc103e8:	48 00 05 88 	b       ffc10970 <rtems_rfs_format+0xbe4>      <== NOT EXECUTED
  /*                                                                  
   * Be nice to strange sizes of disks. These are embedded systems after all
   * and nice numbers do not always work out. Let the last block pick up the
   * remainder of the blocks.                                         
   */                                                                 
  if ((group_base + group_size) > rtems_rfs_fs_blocks (fs))           
ffc103ec:	7d 35 da 14 	add     r9,r21,r27                             
ffc103f0:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc103f4:	40 9d 00 08 	ble-    cr7,ffc103fc <rtems_rfs_format+0x670>  <== NEVER TAKEN
    group_size = rtems_rfs_fs_blocks (fs) - group_base;               
ffc103f8:	7f 75 00 50 	subf    r27,r21,r0                             
                                                                      
  if (verbose)                                                        
ffc103fc:	2f 97 00 00 	cmpwi   cr7,r23,0                              
ffc10400:	41 be 00 1c 	beq+    cr7,ffc1041c <rtems_rfs_format+0x690>  <== ALWAYS TAKEN
    printf ("\rrtems-rfs: format: group %3d: base = %" PRId32 ", size = %zd",
ffc10404:	7e 23 8b 78 	mr      r3,r17                                 <== NOT EXECUTED
ffc10408:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1040c:	7e a5 ab 78 	mr      r5,r21                                 <== NOT EXECUTED
ffc10410:	7f 66 db 78 	mr      r6,r27                                 <== NOT EXECUTED
ffc10414:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10418:	48 01 16 75 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
    printf ("\nrtems-rfs: write-group: handle open failed: %d: %s\n", 
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  if (verbose)                                                        
ffc1041c:	2f 97 00 00 	cmpwi   cr7,r23,0                              
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc10420:	9a 41 00 10 	stb     r18,16(r1)                             
  handle->bnum  = 0;                                                  
ffc10424:	92 c1 00 14 	stw     r22,20(r1)                             
  handle->buffer = NULL;                                              
ffc10428:	92 c1 00 18 	stw     r22,24(r1)                             
ffc1042c:	41 be 00 10 	beq+    cr7,ffc1043c <rtems_rfs_format+0x6b0>  <== ALWAYS TAKEN
    printf (", blocks");                                              
ffc10430:	7e 63 9b 78 	mr      r3,r19                                 <== NOT EXECUTED
ffc10434:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10438:	48 01 16 55 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Open the block bitmap using the new buffer.                      
   */                                                                 
  rc = rtems_rfs_bitmap_open (&bitmap, fs, &handle, group_size,       
ffc1043c:	7e a7 ab 78 	mr      r7,r21                                 
ffc10440:	38 61 00 1c 	addi    r3,r1,28                               
ffc10444:	7f a4 eb 78 	mr      r4,r29                                 
ffc10448:	7f c5 f3 78 	mr      r5,r30                                 
ffc1044c:	7f 66 db 78 	mr      r6,r27                                 
ffc10450:	48 00 9d 41 	bl      ffc1a190 <rtems_rfs_bitmap_open>       
                              group_base + RTEMS_RFS_GROUP_BLOCK_BITMAP_BLOCK);
  if (rc > 0)                                                         
ffc10454:	7c 75 1b 79 	mr.     r21,r3                                 
ffc10458:	40 81 00 28 	ble-    ffc10480 <rtems_rfs_format+0x6f4>      <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
ffc1045c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc10460:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc10464:	4b ff f8 79 	bl      ffc0fcdc <rtems_rfs_buffer_handle_close><== NOT EXECUTED
    printf ("\nrtems-rfs: write-group: group %3d: open block bitmap failed: %d: %s\n",
ffc10468:	7e a3 ab 78 	mr      r3,r21                                 <== NOT EXECUTED
ffc1046c:	48 01 23 8d 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc10470:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc10474:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10478:	38 63 19 2a 	addi    r3,r3,6442                             <== NOT EXECUTED
ffc1047c:	48 00 00 50 	b       ffc104cc <rtems_rfs_format+0x740>      <== 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));
ffc10480:	81 21 00 18 	lwz     r9,24(r1)                              
ffc10484:	38 80 00 ff 	li      r4,255                                 
ffc10488:	80 a1 00 64 	lwz     r5,100(r1)                             
ffc1048c:	80 69 00 24 	lwz     r3,36(r9)                              
ffc10490:	48 01 14 6d 	bl      ffc218fc <memset>                      
                                                                      
  /*                                                                  
   * Clear the bitmap.                                                
   */                                                                 
  rc = rtems_rfs_bitmap_map_clear_all (&bitmap);                      
ffc10494:	38 61 00 1c 	addi    r3,r1,28                               
ffc10498:	48 00 9a 51 	bl      ffc19ee8 <rtems_rfs_bitmap_map_clear_all>
  if (rc > 0)                                                         
ffc1049c:	7c 75 1b 79 	mr.     r21,r3                                 
  {                                                                   
    rtems_rfs_bitmap_close (&bitmap);                                 
ffc104a0:	38 61 00 1c 	addi    r3,r1,28                               
                                                                      
  /*                                                                  
   * Clear the bitmap.                                                
   */                                                                 
  rc = rtems_rfs_bitmap_map_clear_all (&bitmap);                      
  if (rc > 0)                                                         
ffc104a4:	40 81 00 3c 	ble-    ffc104e0 <rtems_rfs_format+0x754>      <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_bitmap_close (&bitmap);                                 
ffc104a8:	48 00 9d 51 	bl      ffc1a1f8 <rtems_rfs_bitmap_close>      <== NOT EXECUTED
    rtems_rfs_buffer_handle_close (fs, &handle);                      
ffc104ac:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc104b0:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc104b4:	4b ff f8 29 	bl      ffc0fcdc <rtems_rfs_buffer_handle_close><== NOT EXECUTED
    printf ("\nrtems-rfs: write-group: group %3d: block bitmap clear all failed: %d: %s\n",
ffc104b8:	7e a3 ab 78 	mr      r3,r21                                 <== NOT EXECUTED
ffc104bc:	48 01 23 3d 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc104c0:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc104c4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc104c8:	38 63 19 70 	addi    r3,r3,6512                             <== NOT EXECUTED
ffc104cc:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc104d0:	7e a5 ab 78 	mr      r5,r21                                 <== NOT EXECUTED
ffc104d4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc104d8:	48 01 15 b5 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc104dc:	48 00 04 94 	b       ffc10970 <rtems_rfs_format+0xbe4>      <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Forced allocation of the block bitmap.                           
   */                                                                 
  rtems_rfs_bitmap_map_set (&bitmap, RTEMS_RFS_GROUP_BLOCK_BITMAP_BLOCK);
ffc104e0:	38 80 00 00 	li      r4,0                                   
ffc104e4:	48 00 97 b1 	bl      ffc19c94 <rtems_rfs_bitmap_map_set>    
                                                                      
  /*                                                                  
   * Forced allocation of the inode bitmap.                           
   */                                                                 
  rtems_rfs_bitmap_map_set (&bitmap, RTEMS_RFS_GROUP_INODE_BITMAP_BLOCK);
ffc104e8:	38 80 00 01 	li      r4,1                                   
ffc104ec:	38 61 00 1c 	addi    r3,r1,28                               
ffc104f0:	48 00 97 a5 	bl      ffc19c94 <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);
ffc104f4:	80 61 00 84 	lwz     r3,132(r1)                             
ffc104f8:	80 81 00 88 	lwz     r4,136(r1)                             
                                                                      
  /*                                                                  
   * Forced allocation of the inode blocks which follow the block bitmap.
   */                                                                 
  for (b = 0; b < blocks; b++)                                        
ffc104fc:	39 e0 00 00 	li      r15,0                                  
  rtems_rfs_bitmap_map_set (&bitmap, RTEMS_RFS_GROUP_INODE_BITMAP_BLOCK);
                                                                      
  /*                                                                  
   * Determine the number of inodes blocks in the group.              
   */                                                                 
  blocks = rtems_rfs_rup_quotient (fs->group_inodes, fs->inodes_per_block);
ffc10500:	4b ff f8 19 	bl      ffc0fd18 <rtems_rfs_rup_quotient>      
ffc10504:	7c 75 1b 78 	mr      r21,r3                                 
ffc10508:	48 00 00 10 	b       ffc10518 <rtems_rfs_format+0x78c>      
                                                                      
  /*                                                                  
   * 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);
ffc1050c:	38 8f 00 02 	addi    r4,r15,2                               
ffc10510:	48 00 97 85 	bl      ffc19c94 <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++)                                        
ffc10514:	39 ef 00 01 	addi    r15,r15,1                              
ffc10518:	7f 8f a8 00 	cmpw    cr7,r15,r21                            
    rtems_rfs_bitmap_map_set (&bitmap, b + RTEMS_RFS_GROUP_INODE_BLOCK);
ffc1051c:	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++)                                        
ffc10520:	41 9c ff ec 	blt+    cr7,ffc1050c <rtems_rfs_format+0x780>  
    rtems_rfs_bitmap_map_set (&bitmap, b + RTEMS_RFS_GROUP_INODE_BLOCK);
                                                                      
  /*                                                                  
   * Close the block bitmap.                                          
   */                                                                 
  rc = rtems_rfs_bitmap_close (&bitmap);                              
ffc10524:	48 00 9c d5 	bl      ffc1a1f8 <rtems_rfs_bitmap_close>      
  if (rc > 0)                                                         
ffc10528:	7c 6f 1b 79 	mr.     r15,r3                                 
ffc1052c:	40 a1 00 30 	ble+    ffc1055c <rtems_rfs_format+0x7d0>      <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
ffc10530:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc10534:	38 61 00 5c 	addi    r3,r1,92                               <== NOT EXECUTED
ffc10538:	4b ff f7 a5 	bl      ffc0fcdc <rtems_rfs_buffer_handle_close><== NOT EXECUTED
    printf ("\nrtems-rfs: write-group: group %3d: close block bitmap failed: %d: %s\n",
ffc1053c:	7d e3 7b 78 	mr      r3,r15                                 <== NOT EXECUTED
ffc10540:	48 01 22 b9 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc10544:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc10548:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc1054c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10550:	38 63 19 bb 	addi    r3,r3,6587                             <== NOT EXECUTED
ffc10554:	7d e5 7b 78 	mr      r5,r15                                 <== NOT EXECUTED
ffc10558:	4b ff ff 7c 	b       ffc104d4 <rtems_rfs_format+0x748>      <== NOT EXECUTED
    return false;                                                     
  }                                                                   
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  if (verbose)                                                        
ffc1055c:	2f 97 00 00 	cmpwi   cr7,r23,0                              
    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);                              
ffc10560:	9b 21 00 10 	stb     r25,16(r1)                             
                                                                      
  if (verbose)                                                        
ffc10564:	41 be 00 10 	beq+    cr7,ffc10574 <rtems_rfs_format+0x7e8>  <== ALWAYS TAKEN
    printf (", inodes");                                              
ffc10568:	7e 83 a3 78 	mr      r3,r20                                 <== NOT EXECUTED
ffc1056c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10570:	48 01 15 1d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Open the inode bitmap using the old buffer. Should release any changes.
   */                                                                 
  rc = rtems_rfs_bitmap_open (&bitmap, fs, &handle, group_size,       
ffc10574:	7f 66 db 78 	mr      r6,r27                                 
ffc10578:	38 61 00 1c 	addi    r3,r1,28                               
ffc1057c:	7f a4 eb 78 	mr      r4,r29                                 
ffc10580:	7f c5 f3 78 	mr      r5,r30                                 
ffc10584:	38 f8 00 02 	addi    r7,r24,2                               
ffc10588:	48 00 9c 09 	bl      ffc1a190 <rtems_rfs_bitmap_open>       
                              group_base + RTEMS_RFS_GROUP_INODE_BITMAP_BLOCK);
  if (rc > 0)                                                         
ffc1058c:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc10590:	40 81 00 28 	ble-    ffc105b8 <rtems_rfs_format+0x82c>      <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
ffc10594:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc10598:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1059c:	4b ff f7 41 	bl      ffc0fcdc <rtems_rfs_buffer_handle_close><== NOT EXECUTED
    printf ("\nrtems-rfs: write-group: group %3d: open inode bitmap failed: %d: %s\n",
ffc105a0:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc105a4:	48 01 22 55 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc105a8:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc105ac:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc105b0:	38 63 1a 0b 	addi    r3,r3,6667                             <== NOT EXECUTED
ffc105b4:	48 00 00 50 	b       ffc10604 <rtems_rfs_format+0x878>      <== 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));
ffc105b8:	81 21 00 18 	lwz     r9,24(r1)                              
ffc105bc:	38 80 00 00 	li      r4,0                                   
ffc105c0:	80 a1 00 64 	lwz     r5,100(r1)                             
ffc105c4:	80 69 00 24 	lwz     r3,36(r9)                              
ffc105c8:	48 01 13 35 	bl      ffc218fc <memset>                      
                                                                      
  /*                                                                  
   * Clear the inode bitmap.                                          
   */                                                                 
  rc = rtems_rfs_bitmap_map_clear_all (&bitmap);                      
ffc105cc:	38 61 00 1c 	addi    r3,r1,28                               
ffc105d0:	48 00 99 19 	bl      ffc19ee8 <rtems_rfs_bitmap_map_clear_all>
  if (rc > 0)                                                         
ffc105d4:	7c 7b 1b 79 	mr.     r27,r3                                 
  {                                                                   
    rtems_rfs_bitmap_close (&bitmap);                                 
ffc105d8:	38 61 00 1c 	addi    r3,r1,28                               
                                                                      
  /*                                                                  
   * Clear the inode bitmap.                                          
   */                                                                 
  rc = rtems_rfs_bitmap_map_clear_all (&bitmap);                      
  if (rc > 0)                                                         
ffc105dc:	40 81 00 34 	ble-    ffc10610 <rtems_rfs_format+0x884>      <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_bitmap_close (&bitmap);                                 
ffc105e0:	48 00 9c 19 	bl      ffc1a1f8 <rtems_rfs_bitmap_close>      <== NOT EXECUTED
    rtems_rfs_buffer_handle_close (fs, &handle);                      
ffc105e4:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc105e8:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc105ec:	4b ff f6 f1 	bl      ffc0fcdc <rtems_rfs_buffer_handle_close><== NOT EXECUTED
    printf ("\nrtems-rfs: write-group: group %3d: inode bitmap" \     
ffc105f0:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc105f4:	48 01 22 05 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc105f8:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc105fc:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10600:	38 63 1a 51 	addi    r3,r3,6737                             <== NOT EXECUTED
ffc10604:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc10608:	7f 65 db 78 	mr      r5,r27                                 <== NOT EXECUTED
ffc1060c:	4b ff fe c8 	b       ffc104d4 <rtems_rfs_format+0x748>      <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Close the inode bitmap.                                          
   */                                                                 
  rc = rtems_rfs_bitmap_close (&bitmap);                              
ffc10610:	48 00 9b e9 	bl      ffc1a1f8 <rtems_rfs_bitmap_close>      
  if (rc > 0)                                                         
ffc10614:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc10618:	40 a1 00 28 	ble+    ffc10640 <rtems_rfs_format+0x8b4>      <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
ffc1061c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc10620:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc10624:	4b ff f6 b9 	bl      ffc0fcdc <rtems_rfs_buffer_handle_close><== NOT EXECUTED
    printf ("\nrtems-rfs: write-group: group %3d: close inode" \      
ffc10628:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1062c:	48 01 21 cd 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc10630:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc10634:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10638:	38 63 1a 9c 	addi    r3,r3,6812                             <== NOT EXECUTED
ffc1063c:	4b ff ff c8 	b       ffc10604 <rtems_rfs_format+0x878>      <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  /*                                                                  
   * Initialise the inode tables if required to do so.                
   */                                                                 
  if (initialise_inodes)                                              
ffc10640:	2f 90 00 00 	cmpwi   cr7,r16,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);                              
ffc10644:	9b 21 00 10 	stb     r25,16(r1)                             
                                                                      
  /*                                                                  
   * Initialise the inode tables if required to do so.                
   */                                                                 
  if (initialise_inodes)                                              
ffc10648:	3b 60 00 00 	li      r27,0                                  
  {                                                                   
    for (b = 0; b < blocks; b++)                                      
    {                                                                 
      rc = rtems_rfs_buffer_handle_request (fs, &handle,              
                                            group_base + b + RTEMS_RFS_GROUP_INODE_BLOCK,
ffc1064c:	3b 18 00 03 	addi    r24,r24,3                              
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  /*                                                                  
   * Initialise the inode tables if required to do so.                
   */                                                                 
  if (initialise_inodes)                                              
ffc10650:	40 be 00 7c 	bne+    cr7,ffc106cc <rtems_rfs_format+0x940>  <== NEVER TAKEN
ffc10654:	48 00 00 80 	b       ffc106d4 <rtems_rfs_format+0x948>      
                                                                      
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_format (const char* name, const rtems_rfs_format_config* config)
ffc10658:	7e f8 da 14 	add     r23,r24,r27                            <== NOT EXECUTED
   */                                                                 
  if (initialise_inodes)                                              
  {                                                                   
    for (b = 0; b < blocks; b++)                                      
    {                                                                 
      rc = rtems_rfs_buffer_handle_request (fs, &handle,              
ffc1065c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc10660:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc10664:	7e e5 bb 78 	mr      r5,r23                                 <== NOT EXECUTED
ffc10668:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc1066c:	48 00 af f9 	bl      ffc1b664 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
                                            group_base + b + RTEMS_RFS_GROUP_INODE_BLOCK,
                                            false);                   
      if (rc > 0)                                                     
ffc10670:	7c 70 1b 79 	mr.     r16,r3                                 <== NOT EXECUTED
ffc10674:	40 a1 00 3c 	ble+    ffc106b0 <rtems_rfs_format+0x924>      <== NOT EXECUTED
      {                                                               
        rtems_rfs_buffer_handle_close (fs, &handle);                  
ffc10678:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1067c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc10680:	4b ff f6 5d 	bl      ffc0fcdc <rtems_rfs_buffer_handle_close><== NOT EXECUTED
        printf ("\nrtems-rfs: write-group: group %3d: block %" PRId32 " request failed: %d: %s\n",
ffc10684:	7e 03 83 78 	mr      r3,r16                                 <== NOT EXECUTED
ffc10688:	48 01 21 71 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1068c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc10690:	7c 67 1b 78 	mr      r7,r3                                  <== NOT EXECUTED
ffc10694:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10698:	7e e5 bb 78 	mr      r5,r23                                 <== NOT EXECUTED
ffc1069c:	7e 06 83 78 	mr      r6,r16                                 <== NOT EXECUTED
ffc106a0:	38 63 1a e3 	addi    r3,r3,6883                             <== NOT EXECUTED
ffc106a4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc106a8:	48 01 13 e5 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc106ac:	48 00 02 c4 	b       ffc10970 <rtems_rfs_format+0xbe4>      <== 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));
ffc106b0:	81 21 00 18 	lwz     r9,24(r1)                              <== NOT EXECUTED
ffc106b4:	38 80 00 ff 	li      r4,255                                 <== NOT EXECUTED
ffc106b8:	80 a1 00 64 	lwz     r5,100(r1)                             <== NOT EXECUTED
  /*                                                                  
   * Initialise the inode tables if required to do so.                
   */                                                                 
  if (initialise_inodes)                                              
  {                                                                   
    for (b = 0; b < blocks; b++)                                      
ffc106bc:	3b 7b 00 01 	addi    r27,r27,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));
ffc106c0:	80 69 00 24 	lwz     r3,36(r9)                              <== NOT EXECUTED
ffc106c4:	48 01 12 39 	bl      ffc218fc <memset>                      <== NOT EXECUTED
                                                                      
      rtems_rfs_buffer_mark_dirty (&handle);                          
ffc106c8:	9b 21 00 10 	stb     r25,16(r1)                             <== NOT EXECUTED
  /*                                                                  
   * Initialise the inode tables if required to do so.                
   */                                                                 
  if (initialise_inodes)                                              
  {                                                                   
    for (b = 0; b < blocks; b++)                                      
ffc106cc:	7f 9b a8 00 	cmpw    cr7,r27,r21                            <== NOT EXECUTED
ffc106d0:	41 9c ff 88 	blt+    cr7,ffc10658 <rtems_rfs_format+0x8cc>  <== NOT EXECUTED
                                                                      
      rtems_rfs_buffer_mark_dirty (&handle);                          
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_handle_close (fs, &handle);                   
ffc106d4:	7f a3 eb 78 	mr      r3,r29                                 
ffc106d8:	7f c4 f3 78 	mr      r4,r30                                 
ffc106dc:	4b ff f6 01 	bl      ffc0fcdc <rtems_rfs_buffer_handle_close>
  if (rc > 0)                                                         
ffc106e0:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc106e4:	40 81 02 b0 	ble-    ffc10994 <rtems_rfs_format+0xc08>      <== ALWAYS TAKEN
  {                                                                   
    printf ("\nrtems-rfs: write-group: buffer handle close failed: %d: %s\n",
ffc106e8:	48 01 21 11 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc106ec:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc106f0:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc106f4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc106f8:	38 63 1b 29 	addi    r3,r3,6953                             <== NOT EXECUTED
ffc106fc:	48 00 02 6c 	b       ffc10968 <rtems_rfs_format+0xbdc>      <== 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",
ffc10700:	3e 20 ff c3 	lis     r17,-61                                
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  if (verbose)                                                        
    printf (", blocks");                                              
ffc10704:	3e 60 ff c3 	lis     r19,-61                                
  }                                                                   
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  if (verbose)                                                        
    printf (", inodes");                                              
ffc10708:	3e 80 ff c3 	lis     r20,-61                                
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_handle_close (fs, &handle);                   
  if (rc > 0)                                                         
ffc1070c:	3b e0 00 00 	li      r31,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",
ffc10710:	3a 31 18 eb 	addi    r17,r17,6379                           
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc10714:	3a 40 00 00 	li      r18,0                                  
  handle->bnum  = 0;                                                  
ffc10718:	3a c0 00 00 	li      r22,0                                  
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  if (verbose)                                                        
    printf (", blocks");                                              
ffc1071c:	3a 73 19 21 	addi    r19,r19,6433                           
    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);                              
ffc10720:	3b 20 00 01 	li      r25,1                                  
                                                                      
  if (verbose)                                                        
    printf (", inodes");                                              
ffc10724:	3a 94 1a 02 	addi    r20,r20,6658                           
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
    return -1;                                                        
  }                                                                   
                                                                      
  for (group = 0; group < fs.group_count; group++)                    
ffc10728:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc1072c:	8a fc 00 15 	lbz     r23,21(r28)                            
ffc10730:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
ffc10734:	41 9c fc 80 	blt+    cr7,ffc103b4 <rtems_rfs_format+0x628>  
    if (!rtems_rfs_write_group (&fs, group,                           
                                config->initialise_inodes, config->verbose))
      return -1;                                                      
                                                                      
  if (config->verbose)                                                
ffc10738:	72 e0 00 ff 	andi.   r0,r23,255                             
ffc1073c:	41 a2 00 0c 	beq+    ffc10748 <rtems_rfs_format+0x9bc>      <== ALWAYS TAKEN
    printf ("\n");                                                    
ffc10740:	38 60 00 0a 	li      r3,10                                  <== NOT EXECUTED
ffc10744:	48 01 14 05 	bl      ffc21b48 <putchar>                     <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_buffer_close (&fs);                                  
ffc10748:	38 61 00 5c 	addi    r3,r1,92                               
ffc1074c:	48 00 b5 2d 	bl      ffc1bc78 <rtems_rfs_buffer_close>      
  if (rc > 0)                                                         
ffc10750:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc10754:	40 a1 00 18 	ble+    ffc1076c <rtems_rfs_format+0x9e0>      <== ALWAYS TAKEN
  {                                                                   
    printf ("rtems-rfs: format: buffer close failed: %d: %s\n",       
ffc10758:	48 01 20 a1 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1075c:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc10760:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10764:	38 63 1b 66 	addi    r3,r3,7014                             <== NOT EXECUTED
ffc10768:	48 00 01 fc 	b       ffc10964 <rtems_rfs_format+0xbd8>      <== NOT EXECUTED
  int                    rc;                                          
                                                                      
  /*                                                                  
   * External API so returns -1.                                      
   */                                                                 
  rc = rtems_rfs_fs_open (name, NULL, RTEMS_RFS_FS_FORCE_OPEN, &fs);  
ffc1076c:	7f 43 d3 78 	mr      r3,r26                                 
ffc10770:	38 80 00 00 	li      r4,0                                   
ffc10774:	38 a0 00 04 	li      r5,4                                   
ffc10778:	38 c1 00 0c 	addi    r6,r1,12                               
ffc1077c:	48 00 d6 55 	bl      ffc1ddd0 <rtems_rfs_fs_open>           
  if (rc < 0)                                                         
ffc10780:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10784:	40 bc 00 28 	bge+    cr7,ffc107ac <rtems_rfs_format+0xa20>  <== ALWAYS TAKEN
  {                                                                   
    printf ("rtems-rfs: format: file system open failed: %d: %s\n",   
            errno, strerror (errno));                                 
ffc10788:	48 01 02 21 	bl      ffc209a8 <__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",   
ffc1078c:	83 e3 00 00 	lwz     r31,0(r3)                              <== NOT EXECUTED
            errno, strerror (errno));                                 
ffc10790:	48 01 02 19 	bl      ffc209a8 <__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",   
ffc10794:	80 63 00 00 	lwz     r3,0(r3)                               <== NOT EXECUTED
ffc10798:	48 01 20 61 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1079c:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc107a0:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc107a4:	38 63 1b 96 	addi    r3,r3,7062                             <== NOT EXECUTED
ffc107a8:	48 00 01 94 	b       ffc1093c <rtems_rfs_format+0xbb0>      <== NOT EXECUTED
            errno, strerror (errno));                                 
    return -1;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_alloc (fs, RTEMS_RFS_ROOT_INO, &ino);          
ffc107ac:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc107b0:	38 80 00 01 	li      r4,1                                   
ffc107b4:	38 a1 00 08 	addi    r5,r1,8                                
ffc107b8:	48 00 09 09 	bl      ffc110c0 <rtems_rfs_inode_alloc>       
  if (rc > 0)                                                         
ffc107bc:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc107c0:	40 a1 00 24 	ble+    ffc107e4 <rtems_rfs_format+0xa58>      <== ALWAYS TAKEN
  {                                                                   
    printf ("rtems-rfs: format: inode allocation failed: %d: %s\n",   
ffc107c4:	48 01 20 35 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc107c8:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc107cc:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc107d0:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc107d4:	38 63 1b ca 	addi    r3,r3,7114                             <== NOT EXECUTED
ffc107d8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc107dc:	48 01 12 b1 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc107e0:	48 00 00 74 	b       ffc10854 <rtems_rfs_format+0xac8>      <== NOT EXECUTED
            rc, strerror (rc));                                       
    rtems_rfs_fs_close (fs);                                          
    return rc;                                                        
  }                                                                   
                                                                      
  if (ino != RTEMS_RFS_ROOT_INO)                                      
ffc107e4:	80 81 00 08 	lwz     r4,8(r1)                               
ffc107e8:	2f 84 00 01 	cmpwi   cr7,r4,1                               
ffc107ec:	41 9e 00 20 	beq-    cr7,ffc1080c <rtems_rfs_format+0xa80>  <== ALWAYS TAKEN
  {                                                                   
    printf ("rtems-rfs: format: allocated inode not root ino: %" PRId32 "\n", ino);
ffc107f0:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc107f4:	38 63 1b fe 	addi    r3,r3,7166                             <== NOT EXECUTED
ffc107f8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc107fc:	48 01 12 91 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
    rtems_rfs_fs_close (fs);                                          
ffc10800:	80 61 00 0c 	lwz     r3,12(r1)                              <== NOT EXECUTED
ffc10804:	48 00 dd cd 	bl      ffc1e5d0 <rtems_rfs_fs_close>          <== NOT EXECUTED
ffc10808:	48 00 01 70 	b       ffc10978 <rtems_rfs_format+0xbec>      <== NOT EXECUTED
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc1080c:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc10810:	38 80 00 01 	li      r4,1                                   
ffc10814:	38 a1 00 34 	addi    r5,r1,52                               
ffc10818:	38 c0 00 01 	li      r6,1                                   
ffc1081c:	48 00 09 bd 	bl      ffc111d8 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc10820:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc10824:	40 81 00 3c 	ble-    ffc10860 <rtems_rfs_format+0xad4>      <== ALWAYS TAKEN
  {                                                                   
    printf ("rtems-rfs: format: inode open failed: %d: %s\n",         
ffc10828:	48 01 1f d1 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1082c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc10830:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc10834:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10838:	38 63 1c 34 	addi    r3,r3,7220                             <== NOT EXECUTED
ffc1083c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10840:	48 01 12 4d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
    rtems_rfs_group_bitmap_free (fs, true, ino);                      
ffc10844:	80 61 00 0c 	lwz     r3,12(r1)                              <== NOT EXECUTED
ffc10848:	80 a1 00 08 	lwz     r5,8(r1)                               <== NOT EXECUTED
ffc1084c:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc10850:	48 00 06 19 	bl      ffc10e68 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
    rtems_rfs_fs_close (fs);                                          
ffc10854:	80 61 00 0c 	lwz     r3,12(r1)                              <== NOT EXECUTED
ffc10858:	48 00 dd 79 	bl      ffc1e5d0 <rtems_rfs_fs_close>          <== NOT EXECUTED
ffc1085c:	48 00 00 f4 	b       ffc10950 <rtems_rfs_format+0xbc4>      <== NOT EXECUTED
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_initialise (&inode, 0,                         
ffc10860:	38 61 00 34 	addi    r3,r1,52                               
ffc10864:	38 80 00 00 	li      r4,0                                   
ffc10868:	38 a0 41 c9 	li      r5,16841                               
ffc1086c:	38 c0 00 00 	li      r6,0                                   
ffc10870:	38 e0 00 00 	li      r7,0                                   
ffc10874:	48 00 0d a1 	bl      ffc11614 <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)                                                         
ffc10878:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1087c:	40 81 00 20 	ble-    ffc1089c <rtems_rfs_format+0xb10>      <== ALWAYS TAKEN
    printf ("rtems-rfs: format: inode initialise failed: %d: %s\n",   
ffc10880:	48 01 1f 79 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc10884:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc10888:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1088c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10890:	38 63 1c 62 	addi    r3,r3,7266                             <== NOT EXECUTED
ffc10894:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10898:	48 01 11 f5 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &inode, ".", 1, ino);             
ffc1089c:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc108a0:	3c a0 ff c3 	lis     r5,-61                                 
ffc108a4:	80 e1 00 08 	lwz     r7,8(r1)                               
ffc108a8:	38 81 00 34 	addi    r4,r1,52                               
ffc108ac:	38 a5 03 95 	addi    r5,r5,917                              
ffc108b0:	38 c0 00 01 	li      r6,1                                   
ffc108b4:	48 00 b9 75 	bl      ffc1c228 <rtems_rfs_dir_add_entry>     
  if (rc > 0)                                                         
ffc108b8:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc108bc:	40 81 00 20 	ble-    ffc108dc <rtems_rfs_format+0xb50>      <== ALWAYS TAKEN
    printf ("rtems-rfs: format: directory add failed: %d: %s\n",      
ffc108c0:	48 01 1f 39 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc108c4:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc108c8:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc108cc:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc108d0:	38 63 1c 96 	addi    r3,r3,7318                             <== NOT EXECUTED
ffc108d4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc108d8:	48 01 11 b5 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc108dc:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc108e0:	38 81 00 34 	addi    r4,r1,52                               
ffc108e4:	48 00 0a e5 	bl      ffc113c8 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc108e8:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc108ec:	40 81 00 20 	ble-    ffc1090c <rtems_rfs_format+0xb80>      <== ALWAYS TAKEN
    printf ("rtems-rfs: format: inode close failed: %d: %s\n",        
ffc108f0:	48 01 1f 09 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc108f4:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc108f8:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc108fc:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10900:	38 63 1c c7 	addi    r3,r3,7367                             <== NOT EXECUTED
ffc10904:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10908:	48 01 11 85 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_fs_close (fs);                                       
ffc1090c:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc10910:	48 00 dc c1 	bl      ffc1e5d0 <rtems_rfs_fs_close>          
  if (rc < 0)                                                         
ffc10914:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc10918:	40 a0 00 34 	bge+    ffc1094c <rtems_rfs_format+0xbc0>      <== ALWAYS TAKEN
    printf ("rtems-rfs: format: file system close failed: %d: %s\n",  
            errno, strerror (errno));                                 
ffc1091c:	48 01 00 8d 	bl      ffc209a8 <__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",  
ffc10920:	83 e3 00 00 	lwz     r31,0(r3)                              <== NOT EXECUTED
            errno, strerror (errno));                                 
ffc10924:	48 01 00 85 	bl      ffc209a8 <__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",  
ffc10928:	80 63 00 00 	lwz     r3,0(r3)                               <== NOT EXECUTED
ffc1092c:	48 01 1e cd 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc10930:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc10934:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10938:	38 63 1c f6 	addi    r3,r3,7414                             <== NOT EXECUTED
ffc1093c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc10940:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10944:	48 01 11 49 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc10948:	48 00 00 30 	b       ffc10978 <rtems_rfs_format+0xbec>      <== NOT EXECUTED
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_write_root_dir (name);                               
  if (rc > 0)                                                         
ffc1094c:	40 a1 00 2c 	ble+    ffc10978 <rtems_rfs_format+0xbec>      <== ALWAYS TAKEN
  {                                                                   
    printf ("rtems-rfs: format: writing root dir failed: %d: %s\n",   
ffc10950:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc10954:	48 01 1e a5 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc10958:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1095c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10960:	38 63 1d 2b 	addi    r3,r3,7467                             <== NOT EXECUTED
ffc10964:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc10968:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1096c:	48 01 11 21 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
    return -1;                                                        
ffc10970:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc10974:	48 00 00 08 	b       ffc1097c <rtems_rfs_format+0xbf0>      <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
ffc10978:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1097c:	39 61 01 30 	addi    r11,r1,304                             
ffc10980:	4b ff 21 38 	b       ffc02ab8 <_restgpr_15_x>               
   * Check the configuration data.                                    
   */                                                                 
  if (!rtems_rfs_check_config (&fs, config))                          
    return -1;                                                        
                                                                      
  if (config->verbose)                                                
ffc10984:	88 1c 00 15 	lbz     r0,21(r28)                             
ffc10988:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1098c:	41 9e f7 d8 	beq+    cr7,ffc10164 <rtems_rfs_format+0x3d8>  <== ALWAYS TAKEN
ffc10990:	4b ff f6 98 	b       ffc10028 <rtems_rfs_format+0x29c>      <== NOT EXECUTED
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
    return -1;                                                        
  }                                                                   
                                                                      
  for (group = 0; group < fs.group_count; group++)                    
ffc10994:	3b ff 00 01 	addi    r31,r31,1                              
ffc10998:	4b ff fd 90 	b       ffc10728 <rtems_rfs_format+0x99c>      
                                                                      

ffc1e5d0 <rtems_rfs_fs_close>: return 0; } int rtems_rfs_fs_close (rtems_rfs_file_system* fs) {
ffc1e5d0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1e5d4:	7c 08 02 a6 	mflr    r0                                     
  int group;                                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_CLOSE))                        
ffc1e5d8:	38 80 00 02 	li      r4,2                                   
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_fs_close (rtems_rfs_file_system* fs)                        
{                                                                     
ffc1e5dc:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc1e5e0:	7c 7f 1b 78 	mr      r31,r3                                 
  int group;                                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_CLOSE))                        
ffc1e5e4:	38 60 00 00 	li      r3,0                                   
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_fs_close (rtems_rfs_file_system* fs)                        
{                                                                     
ffc1e5e8:	90 01 00 14 	stw     r0,20(r1)                              
  int group;                                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_CLOSE))                        
ffc1e5ec:	4b ff 4a cd 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1e5f0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1e5f4:	41 be 00 10 	beq+    cr7,ffc1e604 <rtems_rfs_fs_close+0x34> <== ALWAYS TAKEN
    printf ("rtems-rfs: close\n");                                    
ffc1e5f8:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1e5fc:	38 63 3d 29 	addi    r3,r3,15657                            <== NOT EXECUTED
ffc1e600:	48 00 36 41 	bl      ffc21c40 <puts>                        <== NOT EXECUTED
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_fs_close (rtems_rfs_file_system* fs)                        
{                                                                     
ffc1e604:	3b c0 00 00 	li      r30,0                                  
ffc1e608:	48 00 00 1c 	b       ffc1e624 <rtems_rfs_fs_close+0x54>     
  errno = 0;                                                          
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_fs_close (rtems_rfs_file_system* fs)                        
ffc1e60c:	1c 1e 00 50 	mulli   r0,r30,80                              
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_CLOSE))                        
    printf ("rtems-rfs: close\n");                                    
                                                                      
  for (group = 0; group < fs->group_count; group++)                   
    rtems_rfs_group_close (fs, &fs->groups[group]);                   
ffc1e610:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc1e614:	7f e3 fb 78 	mr      r3,r31                                 
ffc1e618:	7c 84 02 14 	add     r4,r4,r0                               
ffc1e61c:	4b ff 25 a1 	bl      ffc10bbc <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++)                   
ffc1e620:	3b de 00 01 	addi    r30,r30,1                              
ffc1e624:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc1e628:	7f 9e 00 00 	cmpw    cr7,r30,r0                             
ffc1e62c:	41 9c ff e0 	blt+    cr7,ffc1e60c <rtems_rfs_fs_close+0x3c> 
    rtems_rfs_group_close (fs, &fs->groups[group]);                   
                                                                      
  rtems_rfs_buffer_close (fs);                                        
ffc1e630:	7f e3 fb 78 	mr      r3,r31                                 
ffc1e634:	4b ff d6 45 	bl      ffc1bc78 <rtems_rfs_buffer_close>      
                                                                      
  free (fs);                                                          
ffc1e638:	7f e3 fb 78 	mr      r3,r31                                 
ffc1e63c:	4b fe 92 ad 	bl      ffc078e8 <free>                        
  return 0;                                                           
}                                                                     
ffc1e640:	39 61 00 10 	addi    r11,r1,16                              
ffc1e644:	38 60 00 00 	li      r3,0                                   
ffc1e648:	4b fe 44 ac 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

ffc1ddd0 <rtems_rfs_fs_open>: int rtems_rfs_fs_open (const char* name, void* user, uint32_t flags, rtems_rfs_file_system** fs) {
ffc1ddd0:	94 21 ff a0 	stwu    r1,-96(r1)                             
ffc1ddd4:	7c 08 02 a6 	mflr    r0                                     
ffc1ddd8:	bf 61 00 4c 	stmw    r27,76(r1)                             
ffc1dddc:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1dde0:	7c 9c 23 78 	mr      r28,r4                                 
  size_t                 group_base;                                  
  rtems_rfs_inode_handle inode;                                       
  uint16_t               mode;                                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                         
ffc1dde4:	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)                        
{                                                                     
ffc1dde8:	90 01 00 64 	stw     r0,100(r1)                             
  size_t                 group_base;                                  
  rtems_rfs_inode_handle inode;                                       
  uint16_t               mode;                                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                         
ffc1ddec:	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)                        
{                                                                     
ffc1ddf0:	7c bd 2b 78 	mr      r29,r5                                 
ffc1ddf4:	7c de 33 78 	mr      r30,r6                                 
  size_t                 group_base;                                  
  rtems_rfs_inode_handle inode;                                       
  uint16_t               mode;                                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                         
ffc1ddf8:	4b ff 52 c1 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1ddfc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1de00:	41 be 00 18 	beq+    cr7,ffc1de18 <rtems_rfs_fs_open+0x48>  <== ALWAYS TAKEN
    printf ("rtems-rfs: open: %s\n", name);                           
ffc1de04:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1de08:	38 63 3a 22 	addi    r3,r3,14882                            <== NOT EXECUTED
ffc1de0c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1de10:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1de14:	48 00 3c 79 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                                                                      
  *fs = malloc (sizeof (rtems_rfs_file_system));                      
ffc1de18:	38 60 00 80 	li      r3,128                                 
ffc1de1c:	4b fe a2 39 	bl      ffc08054 <malloc>                      
  if (!*fs)                                                           
ffc1de20:	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));                      
ffc1de24:	90 7e 00 00 	stw     r3,0(r30)                              
  if (!*fs)                                                           
ffc1de28:	40 be 00 30 	bne+    cr7,ffc1de58 <rtems_rfs_fs_open+0x88>  <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc1de2c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1de30:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc1de34:	4b ff 52 85 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1de38:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1de3c:	41 be 00 10 	beq+    cr7,ffc1de4c <rtems_rfs_fs_open+0x7c>  <== NOT EXECUTED
      printf ("rtems-rfs: open: no memory for file system data\n");   
ffc1de40:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1de44:	38 63 3a 37 	addi    r3,r3,14903                            <== NOT EXECUTED
ffc1de48:	48 00 3d f9 	bl      ffc21c40 <puts>                        <== NOT EXECUTED
    errno = ENOMEM;                                                   
ffc1de4c:	48 00 2b 5d 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1de50:	38 00 00 0c 	li      r0,12                                  <== NOT EXECUTED
ffc1de54:	48 00 06 dc 	b       ffc1e530 <rtems_rfs_fs_open+0x760>     <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
                                                                      
  memset (*fs, 0, sizeof (rtems_rfs_file_system));                    
ffc1de58:	38 80 00 00 	li      r4,0                                   
ffc1de5c:	38 a0 00 80 	li      r5,128                                 
ffc1de60:	48 00 3a 9d 	bl      ffc218fc <memset>                      
                                                                      
  (*fs)->user = user;                                                 
ffc1de64:	81 3e 00 00 	lwz     r9,0(r30)                              
  group_base = 0;                                                     
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, *fs);                             
ffc1de68:	7f e3 fb 78 	mr      r3,r31                                 
    return -1;                                                        
  }                                                                   
                                                                      
  memset (*fs, 0, sizeof (rtems_rfs_file_system));                    
                                                                      
  (*fs)->user = user;                                                 
ffc1de6c:	93 89 00 7c 	stw     r28,124(r9)                            
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc1de70:	3b 80 00 00 	li      r28,0                                  
  rtems_chain_initialize_empty (&(*fs)->buffers);                     
ffc1de74:	81 3e 00 00 	lwz     r9,0(r30)                              
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 );                        
ffc1de78:	38 09 00 40 	addi    r0,r9,64                               
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc1de7c:	93 89 00 44 	stw     r28,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 );                        
ffc1de80:	39 69 00 44 	addi    r11,r9,68                              
                                                                      
  head->next = tail;                                                  
ffc1de84:	91 69 00 40 	stw     r11,64(r9)                             
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc1de88:	90 09 00 48 	stw     r0,72(r9)                              
  rtems_chain_initialize_empty (&(*fs)->release);                     
ffc1de8c:	81 3e 00 00 	lwz     r9,0(r30)                              
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 );                        
ffc1de90:	38 09 00 50 	addi    r0,r9,80                               
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc1de94:	93 89 00 54 	stw     r28,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 );                        
ffc1de98:	39 69 00 54 	addi    r11,r9,84                              
                                                                      
  head->next = tail;                                                  
ffc1de9c:	91 69 00 50 	stw     r11,80(r9)                             
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc1dea0:	90 09 00 58 	stw     r0,88(r9)                              
  rtems_chain_initialize_empty (&(*fs)->release_modified);            
ffc1dea4:	81 3e 00 00 	lwz     r9,0(r30)                              
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 );                        
ffc1dea8:	38 09 00 60 	addi    r0,r9,96                               
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc1deac:	93 89 00 64 	stw     r28,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 );                        
ffc1deb0:	39 69 00 64 	addi    r11,r9,100                             
                                                                      
  head->next = tail;                                                  
ffc1deb4:	91 69 00 60 	stw     r11,96(r9)                             
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc1deb8:	90 09 00 68 	stw     r0,104(r9)                             
  rtems_chain_initialize_empty (&(*fs)->file_shares);                 
ffc1debc:	81 3e 00 00 	lwz     r9,0(r30)                              
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 );                        
ffc1dec0:	38 09 00 70 	addi    r0,r9,112                              
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc1dec4:	93 89 00 74 	stw     r28,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 );                        
ffc1dec8:	39 69 00 74 	addi    r11,r9,116                             
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc1decc:	90 09 00 78 	stw     r0,120(r9)                             
                                                                      
  (*fs)->max_held_buffers = RTEMS_RFS_FS_MAX_HELD_BUFFERS;            
ffc1ded0:	38 00 00 05 	li      r0,5                                   
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc1ded4:	91 69 00 70 	stw     r11,112(r9)                            
ffc1ded8:	80 9e 00 00 	lwz     r4,0(r30)                              
  (*fs)->buffers_count = 0;                                           
  (*fs)->release_count = 0;                                           
  (*fs)->release_modified_count = 0;                                  
  (*fs)->flags = flags;                                               
ffc1dedc:	93 a4 00 00 	stw     r29,0(r4)                              
  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;            
ffc1dee0:	90 04 00 3c 	stw     r0,60(r4)                              
  (*fs)->buffers_count = 0;                                           
ffc1dee4:	93 84 00 4c 	stw     r28,76(r4)                             
  (*fs)->release_count = 0;                                           
ffc1dee8:	93 84 00 5c 	stw     r28,92(r4)                             
  (*fs)->release_modified_count = 0;                                  
ffc1deec:	93 84 00 6c 	stw     r28,108(r4)                            
  group_base = 0;                                                     
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, *fs);                             
ffc1def0:	4b ff da 1d 	bl      ffc1b90c <rtems_rfs_buffer_open>       
ffc1def4:	83 fe 00 00 	lwz     r31,0(r30)                             
  if (rc > 0)                                                         
ffc1def8:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc1defc:	40 a1 00 50 	ble+    ffc1df4c <rtems_rfs_fs_open+0x17c>     <== ALWAYS TAKEN
  {                                                                   
    free (*fs);                                                       
ffc1df00:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1df04:	4b fe 99 e5 	bl      ffc078e8 <free>                        <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc1df08:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1df0c:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc1df10:	4b ff 51 a9 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1df14:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1df18:	41 be 00 24 	beq+    cr7,ffc1df3c <rtems_rfs_fs_open+0x16c> <== NOT EXECUTED
      printf ("rtems-rfs: open: buffer open failed: %d: %s\n",        
ffc1df1c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1df20:	48 00 48 d9 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1df24:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc1df28:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1df2c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1df30:	38 63 3a 67 	addi    r3,r3,14951                            <== NOT EXECUTED
ffc1df34:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1df38:	48 00 3b 55 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
              rc, strerror (rc));                                     
    errno = rc;                                                       
ffc1df3c:	48 00 2a 6d 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1df40:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
    return -1;                                                        
ffc1df44:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1df48:	48 00 06 60 	b       ffc1e5a8 <rtems_rfs_fs_open+0x7d8>     <== NOT EXECUTED
      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);        
ffc1df4c:	7f e3 fb 78 	mr      r3,r31                                 
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc1df50:	9b 81 00 08 	stb     r28,8(r1)                              
ffc1df54:	38 81 00 08 	addi    r4,r1,8                                
ffc1df58:	38 a0 00 00 	li      r5,0                                   
  handle->bnum  = 0;                                                  
ffc1df5c:	93 81 00 0c 	stw     r28,12(r1)                             
ffc1df60:	38 c0 00 01 	li      r6,1                                   
  handle->buffer = NULL;                                              
ffc1df64:	93 81 00 10 	stw     r28,16(r1)                             
ffc1df68:	4b ff d6 fd 	bl      ffc1b664 <rtems_rfs_buffer_handle_request>
  if (rc > 0)                                                         
ffc1df6c:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1df70:	40 81 00 30 	ble-    ffc1dfa0 <rtems_rfs_fs_open+0x1d0>     <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc1df74:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1df78:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc1df7c:	4b ff 51 3d 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1df80:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1df84:	41 be 04 a4 	beq+    cr7,ffc1e428 <rtems_rfs_fs_open+0x658> <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: request failed%d: %s\n",   
ffc1df88:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1df8c:	48 00 48 6d 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1df90:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1df94:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1df98:	38 63 3a 94 	addi    r3,r3,14996                            <== NOT EXECUTED
ffc1df9c:	48 00 03 68 	b       ffc1e304 <rtems_rfs_fs_open+0x534>     <== NOT EXECUTED
              rc, strerror (rc));                                     
    return rc;                                                        
  }                                                                   
                                                                      
  sb = rtems_rfs_buffer_data (&handle);                               
ffc1dfa0:	81 21 00 10 	lwz     r9,16(r1)                              
ffc1dfa4:	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)      
ffc1dfa8:	89 3d 00 00 	lbz     r9,0(r29)                              
ffc1dfac:	88 1d 00 01 	lbz     r0,1(r29)                              
ffc1dfb0:	55 29 c0 0e 	rlwinm  r9,r9,24,0,7                           
ffc1dfb4:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc1dfb8:	7d 29 03 78 	or      r9,r9,r0                               
ffc1dfbc:	88 1d 00 03 	lbz     r0,3(r29)                              
ffc1dfc0:	7d 29 03 78 	or      r9,r9,r0                               
ffc1dfc4:	88 1d 00 02 	lbz     r0,2(r29)                              
ffc1dfc8:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
ffc1dfcc:	7d 29 03 78 	or      r9,r9,r0                               
ffc1dfd0:	6d 20 28 09 	xoris   r0,r9,10249                            
ffc1dfd4:	2f 80 20 01 	cmpwi   cr7,r0,8193                            
ffc1dfd8:	41 9e 00 24 	beq-    cr7,ffc1dffc <rtems_rfs_fs_open+0x22c> <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc1dfdc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1dfe0:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc1dfe4:	4b ff 50 d5 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1dfe8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1dfec:	41 be 01 40 	beq+    cr7,ffc1e12c <rtems_rfs_fs_open+0x35c> <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: invalid superblock, bad magic\n");
ffc1dff0:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1dff4:	38 63 3a c6 	addi    r3,r3,15046                            <== NOT EXECUTED
ffc1dff8:	48 00 00 ac 	b       ffc1e0a4 <rtems_rfs_fs_open+0x2d4>     <== NOT EXECUTED
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    return EIO;                                                       
  }                                                                   
                                                                      
  fs->blocks     = read_sb (RTEMS_RFS_SB_OFFSET_BLOCKS);              
ffc1dffc:	89 7d 00 0c 	lbz     r11,12(r29)                            
ffc1e000:	88 1d 00 0d 	lbz     r0,13(r29)                             
ffc1e004:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc1e008:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc1e00c:	7d 6b 03 78 	or      r11,r11,r0                             
ffc1e010:	88 1d 00 0f 	lbz     r0,15(r29)                             
ffc1e014:	7d 6b 03 78 	or      r11,r11,r0                             
ffc1e018:	88 1d 00 0e 	lbz     r0,14(r29)                             
ffc1e01c:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
ffc1e020:	7d 6b 03 78 	or      r11,r11,r0                             
ffc1e024:	91 7f 00 04 	stw     r11,4(r31)                             
  fs->block_size = read_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE);          
ffc1e028:	89 3d 00 08 	lbz     r9,8(r29)                              
ffc1e02c:	88 1d 00 09 	lbz     r0,9(r29)                              
ffc1e030:	55 29 c0 0e 	rlwinm  r9,r9,24,0,7                           
ffc1e034:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc1e038:	7d 20 03 78 	or      r0,r9,r0                               
ffc1e03c:	89 3d 00 0b 	lbz     r9,11(r29)                             
ffc1e040:	7c 00 4b 78 	or      r0,r0,r9                               
ffc1e044:	89 3d 00 0a 	lbz     r9,10(r29)                             
ffc1e048:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
ffc1e04c:	7c 00 4b 78 	or      r0,r0,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);  
ffc1e050:	81 3f 00 0c 	lwz     r9,12(r31)                             
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;                                         
ffc1e054:	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);          
ffc1e058:	90 1f 00 08 	stw     r0,8(r31)                              
}                                                                     
                                                                      
uint64_t                                                              
rtems_rfs_fs_media_size (rtems_rfs_file_system* fs)                   
{                                                                     
  uint64_t media_blocks = (uint64_t) rtems_rfs_fs_media_blocks (fs);  
ffc1e05c:	80 e9 00 1c 	lwz     r7,28(r9)                              
  uint64_t media_block_size = (uint64_t) rtems_rfs_fs_media_block_size (fs);
ffc1e060:	80 c9 00 24 	lwz     r6,36(r9)                              
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;                                         
ffc1e064:	7d 20 59 d6 	mullw   r9,r0,r11                              
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;                             
ffc1e068:	7d 46 38 16 	mulhwu  r10,r6,r7                              
ffc1e06c:	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))           
ffc1e070:	7f 88 50 40 	cmplw   cr7,r8,r10                             
ffc1e074:	41 9d 00 14 	bgt-    cr7,ffc1e088 <rtems_rfs_fs_open+0x2b8> <== NEVER TAKEN
ffc1e078:	7f 88 50 00 	cmpw    cr7,r8,r10                             
ffc1e07c:	40 9e 00 30 	bne-    cr7,ffc1e0ac <rtems_rfs_fs_open+0x2dc> <== NEVER TAKEN
ffc1e080:	7f 89 58 40 	cmplw   cr7,r9,r11                             
ffc1e084:	40 9d 00 28 	ble-    cr7,ffc1e0ac <rtems_rfs_fs_open+0x2dc> <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc1e088:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1e08c:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc1e090:	4b ff 50 29 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1e094:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1e098:	41 be 00 94 	beq+    cr7,ffc1e12c <rtems_rfs_fs_open+0x35c> <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: invalid superblock block/size count\n");
ffc1e09c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1e0a0:	38 63 3b 00 	addi    r3,r3,15104                            <== NOT EXECUTED
ffc1e0a4:	48 00 3b 9d 	bl      ffc21c40 <puts>                        <== NOT EXECUTED
ffc1e0a8:	48 00 00 84 	b       ffc1e12c <rtems_rfs_fs_open+0x35c>     <== NOT EXECUTED
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    return EIO;                                                       
  }                                                                   
                                                                      
  if (read_sb (RTEMS_RFS_SB_OFFSET_INODE_SIZE) != RTEMS_RFS_INODE_SIZE)
ffc1e0ac:	89 5d 00 24 	lbz     r10,36(r29)                            
ffc1e0b0:	89 3d 00 25 	lbz     r9,37(r29)                             
ffc1e0b4:	55 4a c0 0e 	rlwinm  r10,r10,24,0,7                         
ffc1e0b8:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          
ffc1e0bc:	7d 4a 4b 78 	or      r10,r10,r9                             
ffc1e0c0:	89 3d 00 27 	lbz     r9,39(r29)                             
ffc1e0c4:	7d 4a 4b 78 	or      r10,r10,r9                             
ffc1e0c8:	89 3d 00 26 	lbz     r9,38(r29)                             
ffc1e0cc:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
ffc1e0d0:	7d 4a 4b 78 	or      r10,r10,r9                             
ffc1e0d4:	2f 8a 00 38 	cmpwi   cr7,r10,56                             
ffc1e0d8:	41 9e 00 68 	beq-    cr7,ffc1e140 <rtems_rfs_fs_open+0x370> <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc1e0dc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1e0e0:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc1e0e4:	4b ff 4f d5 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1e0e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1e0ec:	41 be 00 40 	beq+    cr7,ffc1e12c <rtems_rfs_fs_open+0x35c> <== 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);
ffc1e0f0:	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",
ffc1e0f4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
ffc1e0f8:	88 1d 00 05 	lbz     r0,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",
ffc1e0fc:	38 63 3b 40 	addi    r3,r3,15168                            <== NOT EXECUTED
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
ffc1e100:	54 84 c0 0e 	rlwinm  r4,r4,24,0,7                           <== NOT EXECUTED
ffc1e104:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          <== NOT EXECUTED
ffc1e108:	7c 84 03 78 	or      r4,r4,r0                               <== NOT EXECUTED
ffc1e10c:	88 1d 00 07 	lbz     r0,7(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",
ffc1e110:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
ffc1e114:	7c 84 03 78 	or      r4,r4,r0                               <== NOT EXECUTED
ffc1e118:	88 1d 00 06 	lbz     r0,6(r29)                              <== NOT EXECUTED
ffc1e11c:	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",
ffc1e120:	7c 84 03 78 	or      r4,r4,r0                               <== NOT EXECUTED
ffc1e124:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1e128:	48 00 39 65 	bl      ffc21a8c <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);                       
ffc1e12c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1e130:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc1e134:	4b ff d3 51 	bl      ffc1b484 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    return EIO;                                                       
ffc1e138:	3b 80 00 05 	li      r28,5                                  <== NOT EXECUTED
ffc1e13c:	48 00 02 ec 	b       ffc1e428 <rtems_rfs_fs_open+0x658>     <== NOT EXECUTED
  }                                                                   
                                                                      
  fs->bad_blocks      = read_sb (RTEMS_RFS_SB_OFFSET_BAD_BLOCKS);     
ffc1e140:	89 7d 00 10 	lbz     r11,16(r29)                            
  fs->block_map_doubly_blocks =                                       
    fs->blocks_per_block * fs->blocks_per_block * RTEMS_RFS_INODE_BLOCKS;
                                                                      
  fs->inodes = fs->group_count * fs->group_inodes;                    
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
ffc1e144:	7d 40 53 96 	divwu   r10,r0,r10                             
              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);     
ffc1e148:	89 3d 00 11 	lbz     r9,17(r29)                             
ffc1e14c:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc1e150:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          
ffc1e154:	7d 69 4b 78 	or      r9,r11,r9                              
ffc1e158:	89 7d 00 13 	lbz     r11,19(r29)                            
ffc1e15c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1e160:	7d 29 5b 78 	or      r9,r9,r11                              
ffc1e164:	89 7d 00 12 	lbz     r11,18(r29)                            
ffc1e168:	38 81 00 08 	addi    r4,r1,8                                
ffc1e16c:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc1e170:	7d 29 5b 78 	or      r9,r9,r11                              
ffc1e174:	91 3f 00 14 	stw     r9,20(r31)                             
  fs->max_name_length = read_sb (RTEMS_RFS_SB_OFFSET_MAX_NAME_LENGTH);
ffc1e178:	89 7d 00 14 	lbz     r11,20(r29)                            
ffc1e17c:	89 3d 00 15 	lbz     r9,21(r29)                             
ffc1e180:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc1e184:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          
ffc1e188:	7d 69 4b 78 	or      r9,r11,r9                              
ffc1e18c:	89 7d 00 17 	lbz     r11,23(r29)                            
ffc1e190:	7d 29 5b 78 	or      r9,r9,r11                              
ffc1e194:	89 7d 00 16 	lbz     r11,22(r29)                            
ffc1e198:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc1e19c:	7d 29 5b 78 	or      r9,r9,r11                              
ffc1e1a0:	91 3f 00 18 	stw     r9,24(r31)                             
  fs->group_count     = read_sb (RTEMS_RFS_SB_OFFSET_GROUPS);         
ffc1e1a4:	89 1d 00 18 	lbz     r8,24(r29)                             
ffc1e1a8:	89 3d 00 19 	lbz     r9,25(r29)                             
ffc1e1ac:	55 08 c0 0e 	rlwinm  r8,r8,24,0,7                           
ffc1e1b0:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          
ffc1e1b4:	7d 08 4b 78 	or      r8,r8,r9                               
ffc1e1b8:	89 3d 00 1b 	lbz     r9,27(r29)                             
ffc1e1bc:	7d 08 4b 78 	or      r8,r8,r9                               
ffc1e1c0:	89 3d 00 1a 	lbz     r9,26(r29)                             
ffc1e1c4:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
ffc1e1c8:	7d 08 4b 78 	or      r8,r8,r9                               
ffc1e1cc:	91 1f 00 20 	stw     r8,32(r31)                             
  fs->group_blocks    = read_sb (RTEMS_RFS_SB_OFFSET_GROUP_BLOCKS);   
ffc1e1d0:	89 7d 00 1c 	lbz     r11,28(r29)                            
ffc1e1d4:	89 3d 00 1d 	lbz     r9,29(r29)                             
ffc1e1d8:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc1e1dc:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          
ffc1e1e0:	7d 6b 4b 78 	or      r11,r11,r9                             
ffc1e1e4:	89 3d 00 1f 	lbz     r9,31(r29)                             
ffc1e1e8:	7d 6b 4b 78 	or      r11,r11,r9                             
ffc1e1ec:	89 3d 00 1e 	lbz     r9,30(r29)                             
ffc1e1f0:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
ffc1e1f4:	7d 6b 4b 78 	or      r11,r11,r9                             
ffc1e1f8:	91 7f 00 24 	stw     r11,36(r31)                            
  fs->group_inodes    = read_sb (RTEMS_RFS_SB_OFFSET_GROUP_INODES);   
ffc1e1fc:	88 fd 00 20 	lbz     r7,32(r29)                             
ffc1e200:	89 3d 00 21 	lbz     r9,33(r29)                             
ffc1e204:	54 e7 c0 0e 	rlwinm  r7,r7,24,0,7                           
ffc1e208:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          
ffc1e20c:	7c e7 4b 78 	or      r7,r7,r9                               
ffc1e210:	89 3d 00 23 	lbz     r9,35(r29)                             
ffc1e214:	7c e7 4b 78 	or      r7,r7,r9                               
ffc1e218:	89 3d 00 22 	lbz     r9,34(r29)                             
  fs->block_map_doubly_blocks =                                       
    fs->blocks_per_block * fs->blocks_per_block * RTEMS_RFS_INODE_BLOCKS;
                                                                      
  fs->inodes = fs->group_count * fs->group_inodes;                    
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
ffc1e21c:	91 5f 00 2c 	stw     r10,44(r31)                            
                                                                      
  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);   
ffc1e220:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
ffc1e224:	7c e7 4b 78 	or      r7,r7,r9                               
                                                                      
  fs->blocks_per_block =                                              
    rtems_rfs_fs_block_size (fs) / sizeof (rtems_rfs_inode_block);    
ffc1e228:	54 09 f0 be 	rlwinm  r9,r0,30,2,31                          
                                                                      
  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);   
ffc1e22c:	90 ff 00 28 	stw     r7,40(r31)                             
  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)))     
ffc1e230:	54 00 18 38 	rlwinm  r0,r0,3,0,28                           
                                                                      
  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;                    
ffc1e234:	1c c9 00 05 	mulli   r6,r9,5                                
  fs->max_name_length = read_sb (RTEMS_RFS_SB_OFFSET_MAX_NAME_LENGTH);
  fs->group_count     = read_sb (RTEMS_RFS_SB_OFFSET_GROUPS);         
  fs->group_blocks    = read_sb (RTEMS_RFS_SB_OFFSET_GROUP_BLOCKS);   
  fs->group_inodes    = read_sb (RTEMS_RFS_SB_OFFSET_GROUP_INODES);   
                                                                      
  fs->blocks_per_block =                                              
ffc1e238:	91 3f 00 30 	stw     r9,48(r31)                             
                                                                      
  fs->inodes = fs->group_count * fs->group_inodes;                    
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
                                                                      
  if (fs->group_blocks >                                              
ffc1e23c:	7f 8b 00 40 	cmplw   cr7,r11,r0                             
  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 =                                       
ffc1e240:	90 df 00 34 	stw     r6,52(r31)                             
    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;
ffc1e244:	7d 29 49 d6 	mullw   r9,r9,r9                               
                                                                      
  fs->inodes = fs->group_count * fs->group_inodes;                    
ffc1e248:	7d 07 41 d6 	mullw   r8,r7,r8                               
    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;
ffc1e24c:	1d 29 00 05 	mulli   r9,r9,5                                
                                                                      
  fs->inodes = fs->group_count * fs->group_inodes;                    
ffc1e250:	91 1f 00 10 	stw     r8,16(r31)                             
  fs->blocks_per_block =                                              
    rtems_rfs_fs_block_size (fs) / sizeof (rtems_rfs_inode_block);    
                                                                      
  fs->block_map_singly_blocks =                                       
    fs->blocks_per_block * RTEMS_RFS_INODE_BLOCKS;                    
  fs->block_map_doubly_blocks =                                       
ffc1e254:	91 3f 00 38 	stw     r9,56(r31)                             
                                                                      
  fs->inodes = fs->group_count * fs->group_inodes;                    
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
                                                                      
  if (fs->group_blocks >                                              
ffc1e258:	40 9d 00 40 	ble-    cr7,ffc1e298 <rtems_rfs_fs_open+0x4c8> <== ALWAYS TAKEN
ffc1e25c:	4b ff d2 29 	bl      ffc1b484 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc1e260:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1e264:	98 01 00 08 	stb     r0,8(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))                       
ffc1e268:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc1e26c:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1e270:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc1e274:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: groups blocks larger than block bits\n");
    return EIO;                                                       
ffc1e278:	3b 80 00 05 	li      r28,5                                  <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc1e27c:	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))                       
ffc1e280:	4b ff 4e 39 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1e284:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1e288:	41 be 01 a0 	beq+    cr7,ffc1e428 <rtems_rfs_fs_open+0x658> <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: groups blocks larger than block bits\n");
ffc1e28c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1e290:	38 63 3b 84 	addi    r3,r3,15236                            <== NOT EXECUTED
ffc1e294:	48 00 00 d8 	b       ffc1e36c <rtems_rfs_fs_open+0x59c>     <== 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);                       
ffc1e298:	4b ff d1 ed 	bl      ffc1b484 <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));
ffc1e29c:	80 9f 00 08 	lwz     r4,8(r31)                              
  handle->dirty = false;                                              
ffc1e2a0:	38 00 00 00 	li      r0,0                                   
  handle->bnum  = 0;                                                  
ffc1e2a4:	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;                                              
ffc1e2a8:	98 01 00 08 	stb     r0,8(r1)                               
ffc1e2ac:	7f e3 fb 78 	mr      r3,r31                                 
  handle->bnum  = 0;                                                  
ffc1e2b0:	93 a1 00 0c 	stw     r29,12(r1)                             
  handle->buffer = NULL;                                              
ffc1e2b4:	93 a1 00 10 	stw     r29,16(r1)                             
ffc1e2b8:	4b ff d8 c5 	bl      ffc1bb7c <rtems_rfs_buffer_setblksize> 
  if (rc > 0)                                                         
ffc1e2bc:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1e2c0:	40 81 00 54 	ble-    ffc1e314 <rtems_rfs_fs_open+0x544>     <== 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);                       
ffc1e2c4:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc1e2c8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1e2cc:	4b ff d1 b9 	bl      ffc1b484 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc1e2d0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1e2d4:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
  handle->dirty = false;                                              
ffc1e2d8:	9b a1 00 08 	stb     r29,8(r1)                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc1e2dc:	93 a1 00 0c 	stw     r29,12(r1)                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc1e2e0:	93 a1 00 10 	stw     r29,16(r1)                             <== NOT EXECUTED
ffc1e2e4:	4b ff 4d d5 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1e2e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1e2ec:	41 be 01 3c 	beq+    cr7,ffc1e428 <rtems_rfs_fs_open+0x658> <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: invalid superblock block size%d: %s\n",
ffc1e2f0:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1e2f4:	48 00 45 05 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1e2f8:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1e2fc:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1e300:	38 63 3b c5 	addi    r3,r3,15301                            <== NOT EXECUTED
ffc1e304:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc1e308:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1e30c:	48 00 37 81 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc1e310:	48 00 01 18 	b       ffc1e428 <rtems_rfs_fs_open+0x658>     <== NOT EXECUTED
              rc, strerror (rc));                                     
    return rc;                                                        
  }                                                                   
                                                                      
  fs->groups = calloc (fs->group_count, sizeof (rtems_rfs_group));    
ffc1e314:	80 7f 00 20 	lwz     r3,32(r31)                             
ffc1e318:	38 80 00 50 	li      r4,80                                  
                                                                      
  if (!fs->groups)                                                    
ffc1e31c:	3b a0 00 00 	li      r29,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));    
ffc1e320:	4b fe 90 b9 	bl      ffc073d8 <calloc>                      
                                                                      
  if (!fs->groups)                                                    
ffc1e324:	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));    
ffc1e328:	90 7f 00 1c 	stw     r3,28(r31)                             
ffc1e32c:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  if (!fs->groups)                                                    
ffc1e330:	40 be 00 e8 	bne+    cr7,ffc1e418 <rtems_rfs_fs_open+0x648> <== 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);                       
ffc1e334:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc1e338:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1e33c:	4b ff d1 49 	bl      ffc1b484 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc1e340:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1e344:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
  handle->dirty = false;                                              
ffc1e348:	9b 81 00 08 	stb     r28,8(r1)                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc1e34c:	93 81 00 0c 	stw     r28,12(r1)                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc1e350:	93 81 00 10 	stw     r28,16(r1)                             <== NOT EXECUTED
ffc1e354:	4b ff 4d 65 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1e358:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: no memory for group table\n");
    return ENOMEM;                                                    
ffc1e35c:	3b 80 00 0c 	li      r28,12                                 <== NOT EXECUTED
  fs->groups = calloc (fs->group_count, sizeof (rtems_rfs_group));    
                                                                      
  if (!fs->groups)                                                    
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc1e360:	41 be 00 c8 	beq+    cr7,ffc1e428 <rtems_rfs_fs_open+0x658> <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: no memory for group table\n");
ffc1e364:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1e368:	38 63 3c 06 	addi    r3,r3,15366                            <== NOT EXECUTED
ffc1e36c:	48 00 38 d5 	bl      ffc21c40 <puts>                        <== NOT EXECUTED
ffc1e370:	48 00 00 b8 	b       ffc1e428 <rtems_rfs_fs_open+0x658>     <== NOT EXECUTED
   * close everything.                                                
   */                                                                 
  for (group = 0; group < fs->group_count; group++)                   
  {                                                                   
    rc = rtems_rfs_group_open (fs,                                    
                               rtems_rfs_fs_block (fs, group, 0),     
ffc1e374:	80 bf 00 24 	lwz     r5,36(r31)                             
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_fs_open (const char*             name,                      
ffc1e378:	1c 1d 00 50 	mulli   r0,r29,80                              
   * 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,                                    
ffc1e37c:	80 ff 00 1c 	lwz     r7,28(r31)                             
                               rtems_rfs_fs_block (fs, group, 0),     
ffc1e380:	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,                                    
ffc1e384:	80 df 00 28 	lwz     r6,40(r31)                             
ffc1e388:	7f e3 fb 78 	mr      r3,r31                                 
ffc1e38c:	38 84 00 01 	addi    r4,r4,1                                
ffc1e390:	7c e7 02 14 	add     r7,r7,r0                               
ffc1e394:	4b ff 26 09 	bl      ffc1099c <rtems_rfs_group_open>        
                               rtems_rfs_fs_block (fs, group, 0),     
                               fs->group_blocks,                      
                               fs->group_inodes,                      
                               &fs->groups[group]);                   
    if (rc > 0)                                                       
ffc1e398:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1e39c:	40 a1 00 78 	ble+    ffc1e414 <rtems_rfs_fs_open+0x644>     <== ALWAYS TAKEN
ffc1e3a0:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc1e3a4:	48 00 00 1c 	b       ffc1e3c0 <rtems_rfs_fs_open+0x5f0>     <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_fs_open (const char*             name,                      
ffc1e3a8:	1c 1b 00 50 	mulli   r0,r27,80                              <== NOT EXECUTED
                               &fs->groups[group]);                   
    if (rc > 0)                                                       
    {                                                                 
      int g;                                                          
      for (g = 0; g < group; g++)                                     
        rtems_rfs_group_close (fs, &fs->groups[g]);                   
ffc1e3ac:	80 9f 00 1c 	lwz     r4,28(r31)                             <== NOT EXECUTED
ffc1e3b0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1e3b4:	7c 84 02 14 	add     r4,r4,r0                               <== NOT EXECUTED
ffc1e3b8:	4b ff 28 05 	bl      ffc10bbc <rtems_rfs_group_close>       <== NOT EXECUTED
                               fs->group_inodes,                      
                               &fs->groups[group]);                   
    if (rc > 0)                                                       
    {                                                                 
      int g;                                                          
      for (g = 0; g < group; g++)                                     
ffc1e3bc:	3b 7b 00 01 	addi    r27,r27,1                              <== NOT EXECUTED
ffc1e3c0:	7f 9b e8 00 	cmpw    cr7,r27,r29                            <== NOT EXECUTED
ffc1e3c4:	41 9c ff e4 	blt+    cr7,ffc1e3a8 <rtems_rfs_fs_open+0x5d8> <== 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);                       
ffc1e3c8:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc1e3cc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1e3d0:	4b ff d0 b5 	bl      ffc1b484 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc1e3d4:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1e3d8:	98 01 00 08 	stb     r0,8(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))                     
ffc1e3dc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc1e3e0:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1e3e4:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc1e3e8:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc1e3ec:	90 01 00 10 	stw     r0,16(r1)                              <== NOT EXECUTED
ffc1e3f0:	4b ff 4c c9 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1e3f4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1e3f8:	41 be 00 30 	beq+    cr7,ffc1e428 <rtems_rfs_fs_open+0x658> <== NOT EXECUTED
        printf ("rtems-rfs: read-superblock: no memory for group table%d: %s\n",
ffc1e3fc:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1e400:	48 00 43 f9 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1e404:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1e408:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1e40c:	38 63 3c 3c 	addi    r3,r3,15420                            <== NOT EXECUTED
ffc1e410:	4b ff fe f4 	b       ffc1e304 <rtems_rfs_fs_open+0x534>     <== NOT EXECUTED
  /*                                                                  
   * Perform each phase of group initialisation at the same time. This way we
   * know how far the initialisation has gone if an error occurs and we need to
   * close everything.                                                
   */                                                                 
  for (group = 0; group < fs->group_count; group++)                   
ffc1e414:	3b bd 00 01 	addi    r29,r29,1                              
ffc1e418:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc1e41c:	7f 9d 00 00 	cmpw    cr7,r29,r0                             
ffc1e420:	41 9c ff 54 	blt+    cr7,ffc1e374 <rtems_rfs_fs_open+0x5a4> 
ffc1e424:	48 00 01 8c 	b       ffc1e5b0 <rtems_rfs_fs_open+0x7e0>     
  }                                                                   
                                                                      
  rc = rtems_rfs_fs_read_superblock (*fs);                            
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_close (*fs);                                     
ffc1e428:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc1e42c:	4b ff d8 4d 	bl      ffc1bc78 <rtems_rfs_buffer_close>      <== NOT EXECUTED
    free (*fs);                                                       
ffc1e430:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc1e434:	4b fe 94 b5 	bl      ffc078e8 <free>                        <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc1e438:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1e43c:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc1e440:	4b ff 4c 79 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1e444:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1e448:	41 be 00 24 	beq+    cr7,ffc1e46c <rtems_rfs_fs_open+0x69c> <== NOT EXECUTED
      printf ("rtems-rfs: open: reading superblock: %d: %s\n",        
ffc1e44c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1e450:	48 00 43 a9 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1e454:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc1e458:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1e45c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1e460:	38 63 3c 79 	addi    r3,r3,15481                            <== NOT EXECUTED
ffc1e464:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1e468:	48 00 36 25 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
              rc, strerror (rc));                                     
    errno = rc;                                                       
ffc1e46c:	48 00 25 3d 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1e470:	93 83 00 00 	stw     r28,0(r3)                              <== NOT EXECUTED
ffc1e474:	4b ff fa d0 	b       ffc1df44 <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);                                     
ffc1e478:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc1e47c:	4b ff d7 fd 	bl      ffc1bc78 <rtems_rfs_buffer_close>      <== NOT EXECUTED
    free (*fs);                                                       
ffc1e480:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc1e484:	4b fe 94 65 	bl      ffc078e8 <free>                        <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc1e488:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1e48c:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc1e490:	4b ff 4c 29 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1e494:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1e498:	41 be 00 f4 	beq+    cr7,ffc1e58c <rtems_rfs_fs_open+0x7bc> <== NOT EXECUTED
      printf ("rtems-rfs: open: reading root inode: %d: %s\n",        
ffc1e49c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1e4a0:	48 00 43 59 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1e4a4:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1e4a8:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1e4ac:	38 63 3c a6 	addi    r3,r3,15526                            <== NOT EXECUTED
ffc1e4b0:	48 00 00 d0 	b       ffc1e580 <rtems_rfs_fs_open+0x7b0>     <== NOT EXECUTED
              rc, strerror (rc));                                     
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  if (((*fs)->flags & RTEMS_RFS_FS_FORCE_OPEN) == 0)                  
ffc1e4b4:	80 7e 00 00 	lwz     r3,0(r30)                              
ffc1e4b8:	80 03 00 00 	lwz     r0,0(r3)                               
ffc1e4bc:	70 09 00 04 	andi.   r9,r0,4                                
ffc1e4c0:	40 82 00 78 	bne-    ffc1e538 <rtems_rfs_fs_open+0x768>     
  {                                                                   
    mode = rtems_rfs_inode_get_mode (&inode);                         
ffc1e4c4:	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);                    
ffc1e4c8:	88 09 00 02 	lbz     r0,2(r9)                               
ffc1e4cc:	89 29 00 03 	lbz     r9,3(r9)                               
ffc1e4d0:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
ffc1e4d4:	7c 00 4b 78 	or      r0,r0,r9                               
                                                                      
    if ((mode == 0xffff) || !RTEMS_RFS_S_ISDIR (mode))                
ffc1e4d8:	6c 09 ff ff 	xoris   r9,r0,65535                            
ffc1e4dc:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc1e4e0:	41 9e 00 10 	beq-    cr7,ffc1e4f0 <rtems_rfs_fs_open+0x720> <== NEVER TAKEN
ffc1e4e4:	54 00 04 26 	rlwinm  r0,r0,0,16,19                          
ffc1e4e8:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
ffc1e4ec:	41 be 00 4c 	beq+    cr7,ffc1e538 <rtems_rfs_fs_open+0x768> <== ALWAYS TAKEN
    {                                                                 
      rtems_rfs_inode_close (*fs, &inode);                            
ffc1e4f0:	38 81 00 14 	addi    r4,r1,20                               <== NOT EXECUTED
ffc1e4f4:	4b ff 2e d5 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
      rtems_rfs_buffer_close (*fs);                                   
ffc1e4f8:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc1e4fc:	4b ff d7 7d 	bl      ffc1bc78 <rtems_rfs_buffer_close>      <== NOT EXECUTED
      free (*fs);                                                     
ffc1e500:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc1e504:	4b fe 93 e5 	bl      ffc078e8 <free>                        <== NOT EXECUTED
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                     
ffc1e508:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1e50c:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc1e510:	4b ff 4b a9 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1e514:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1e518:	41 be 00 10 	beq+    cr7,ffc1e528 <rtems_rfs_fs_open+0x758> <== NOT EXECUTED
        printf ("rtems-rfs: open: invalid root inode mode\n");        
ffc1e51c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1e520:	38 63 3c d3 	addi    r3,r3,15571                            <== NOT EXECUTED
ffc1e524:	48 00 37 1d 	bl      ffc21c40 <puts>                        <== NOT EXECUTED
      errno = EIO;                                                    
ffc1e528:	48 00 24 81 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1e52c:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc1e530:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1e534:	4b ff fa 10 	b       ffc1df44 <rtems_rfs_fs_open+0x174>     <== NOT EXECUTED
      return -1;                                                      
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (*fs, &inode);                           
ffc1e538:	38 81 00 14 	addi    r4,r1,20                               
ffc1e53c:	4b ff 2e 8d 	bl      ffc113c8 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc1e540:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1e544:	40 a1 00 54 	ble+    ffc1e598 <rtems_rfs_fs_open+0x7c8>     <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_buffer_close (*fs);                                     
ffc1e548:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc1e54c:	4b ff d7 2d 	bl      ffc1bc78 <rtems_rfs_buffer_close>      <== NOT EXECUTED
    free (*fs);                                                       
ffc1e550:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc1e554:	4b fe 93 95 	bl      ffc078e8 <free>                        <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc1e558:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1e55c:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc1e560:	4b ff 4b 59 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1e564:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1e568:	41 be 00 24 	beq+    cr7,ffc1e58c <rtems_rfs_fs_open+0x7bc> <== NOT EXECUTED
      printf ("rtems-rfs: open: closing root inode: %d: %s\n", rc, strerror (rc));
ffc1e56c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1e570:	48 00 42 89 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1e574:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1e578:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1e57c:	38 63 3c fc 	addi    r3,r3,15612                            <== NOT EXECUTED
ffc1e580:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1e584:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1e588:	48 00 35 05 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
    errno = rc;                                                       
ffc1e58c:	48 00 24 1d 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1e590:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
ffc1e594:	4b ff f9 b0 	b       ffc1df44 <rtems_rfs_fs_open+0x174>     <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
                                                                      
  errno = 0;                                                          
ffc1e598:	48 00 24 11 	bl      ffc209a8 <__errno>                     
ffc1e59c:	38 00 00 00 	li      r0,0                                   
ffc1e5a0:	90 03 00 00 	stw     r0,0(r3)                               
  return 0;                                                           
ffc1e5a4:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1e5a8:	39 61 00 60 	addi    r11,r1,96                              
ffc1e5ac:	4b fe 45 3c 	b       ffc02ae8 <_restgpr_27_x>               
              rc, strerror (rc));                                     
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (*fs, RTEMS_RFS_ROOT_INO, &inode, true);  
ffc1e5b0:	80 7e 00 00 	lwz     r3,0(r30)                              
ffc1e5b4:	38 80 00 01 	li      r4,1                                   
ffc1e5b8:	38 a1 00 14 	addi    r5,r1,20                               
ffc1e5bc:	38 c0 00 01 	li      r6,1                                   
ffc1e5c0:	4b ff 2c 19 	bl      ffc111d8 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc1e5c4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1e5c8:	40 81 fe ec 	ble+    ffc1e4b4 <rtems_rfs_fs_open+0x6e4>     <== ALWAYS TAKEN
ffc1e5cc:	4b ff fe ac 	b       ffc1e478 <rtems_rfs_fs_open+0x6a8>     <== NOT EXECUTED
                                                                      

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

ffc10c70 <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) {
ffc10c70:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc10c74:	7d 80 00 26 	mfcr    r12                                    
ffc10c78:	7c 08 02 a6 	mflr    r0                                     
ffc10c7c:	be 61 00 1c 	stmw    r19,28(r1)                             
  rtems_rfs_bitmap_bit bit;                                           
  int                  offset;                                        
  bool                 updown;                                        
  int                  direction;                                     
                                                                      
  if (inode)                                                          
ffc10c80:	7c b8 2b 79 	mr.     r24,r5                                 
int                                                                   
rtems_rfs_group_bitmap_alloc (rtems_rfs_file_system* fs,              
                              rtems_rfs_bitmap_bit   goal,            
                              bool                   inode,           
                              rtems_rfs_bitmap_bit*  result)          
{                                                                     
ffc10c84:	7c 7f 1b 78 	mr      r31,r3                                 
ffc10c88:	90 01 00 54 	stw     r0,84(r1)                              
ffc10c8c:	7c d9 33 78 	mr      r25,r6                                 
ffc10c90:	91 81 00 18 	stw     r12,24(r1)                             
  rtems_rfs_bitmap_bit bit;                                           
  int                  offset;                                        
  bool                 updown;                                        
  int                  direction;                                     
                                                                      
  if (inode)                                                          
ffc10c94:	41 82 00 10 	beq-    ffc10ca4 <rtems_rfs_group_bitmap_alloc+0x34>
  {                                                                   
    size = fs->group_inodes;                                          
ffc10c98:	83 43 00 28 	lwz     r26,40(r3)                             
    goal -= RTEMS_RFS_ROOT_INO;                                       
ffc10c9c:	38 84 ff ff 	addi    r4,r4,-1                               
ffc10ca0:	48 00 00 08 	b       ffc10ca8 <rtems_rfs_group_bitmap_alloc+0x38>
  }                                                                   
  else                                                                
    size = fs->group_blocks;                                          
ffc10ca4:	83 43 00 24 	lwz     r26,36(r3)                             
                                                                      
  group_start = goal / size;                                          
ffc10ca8:	7e a4 d3 96 	divwu   r21,r4,r26                             
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
ffc10cac:	7c 15 d1 d6 	mullw   r0,r21,r26                             
ffc10cb0:	7c 37 0b 78 	mr      r23,r1                                 
ffc10cb4:	7c 80 20 50 	subf    r4,r0,r4                               
ffc10cb8:	94 97 00 0c 	stwu    r4,12(r23)                             
  offset = 0;                                                         
  updown = true;                                                      
  direction = 1;                                                      
ffc10cbc:	3b c0 00 01 	li      r30,1                                  
    size = fs->group_blocks;                                          
                                                                      
  group_start = goal / size;                                          
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
  offset = 0;                                                         
  updown = true;                                                      
ffc10cc0:	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;                                                         
ffc10cc4:	3b 80 00 00 	li      r28,0                                  
   */                                                                 
  while (true)                                                        
  {                                                                   
    rtems_rfs_bitmap_control* bitmap;                                 
    int                       group;                                  
    bool                      allocated = false;                      
ffc10cc8:	3a 80 00 00 	li      r20,0                                  
      direction = direction > 0 ? -1 : 1;                             
      updown = false;                                                 
      continue;                                                       
    }                                                                 
                                                                      
   if (inode)                                                         
ffc10ccc:	2e 18 00 00 	cmpwi   cr4,r24,0                              
ffc10cd0:	48 00 00 0c 	b       ffc10cdc <rtems_rfs_group_bitmap_alloc+0x6c>
     */                                                               
    if ((group < 0) || (group >= fs->group_count))                    
    {                                                                 
      if (!updown)                                                    
        break;                                                        
      direction = direction > 0 ? -1 : 1;                             
ffc10cd4:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
      updown = false;                                                 
ffc10cd8:	3b 60 00 00 	li      r27,0                                  
    /*                                                                
     * We can start at any location and we move out from that point in each
     * direction. The offset grows until we find a free bit or we hit an end.
     */                                                               
    group = group_start + (direction * offset);                       
    if (offset)                                                       
ffc10cdc:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
   */                                                                 
  while (true)                                                        
  {                                                                   
    rtems_rfs_bitmap_control* bitmap;                                 
    int                       group;                                  
    bool                      allocated = false;                      
ffc10ce0:	9a 81 00 08 	stb     r20,8(r1)                              
                                                                      
    /*                                                                
     * We can start at any location and we move out from that point in each
     * direction. The offset grows until we find a free bit or we hit an end.
     */                                                               
    group = group_start + (direction * offset);                       
ffc10ce4:	7f be e1 d6 	mullw   r29,r30,r28                            
ffc10ce8:	7f b5 ea 14 	add     r29,r21,r29                            
    if (offset)                                                       
ffc10cec:	41 9e 00 18 	beq-    cr7,ffc10d04 <rtems_rfs_group_bitmap_alloc+0x94>
      bit = direction > 0 ? 0 : size - 1;                             
ffc10cf0:	2f 9e 00 01 	cmpwi   cr7,r30,1                              
ffc10cf4:	38 00 00 00 	li      r0,0                                   
ffc10cf8:	41 be 00 08 	beq+    cr7,ffc10d00 <rtems_rfs_group_bitmap_alloc+0x90>
ffc10cfc:	38 1a ff ff 	addi    r0,r26,-1                              
ffc10d00:	90 01 00 0c 	stw     r0,12(r1)                              
    /*                                                                
     * If we are still looking up and down and if the group is out of range we
     * have reached one end. Stopping looking up and down and just move in the
     * one direction one group at a time.                             
     */                                                               
    if ((group < 0) || (group >= fs->group_count))                    
ffc10d04:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc10d08:	41 9c 00 10 	blt-    cr7,ffc10d18 <rtems_rfs_group_bitmap_alloc+0xa8>
ffc10d0c:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc10d10:	7f 9d 00 00 	cmpw    cr7,r29,r0                             
ffc10d14:	41 9c 00 1c 	blt-    cr7,ffc10d30 <rtems_rfs_group_bitmap_alloc+0xc0>
    {                                                                 
      if (!updown)                                                    
ffc10d18:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc10d1c:	41 9e 01 14 	beq-    cr7,ffc10e30 <rtems_rfs_group_bitmap_alloc+0x1c0>
        break;                                                        
      direction = direction > 0 ? -1 : 1;                             
ffc10d20:	2f 9e 00 01 	cmpwi   cr7,r30,1                              
ffc10d24:	41 9e ff b0 	beq+    cr7,ffc10cd4 <rtems_rfs_group_bitmap_alloc+0x64><== NEVER TAKEN
ffc10d28:	3b c0 00 01 	li      r30,1                                  
ffc10d2c:	4b ff ff ac 	b       ffc10cd8 <rtems_rfs_group_bitmap_alloc+0x68>
ffc10d30:	1c 1d 00 50 	mulli   r0,r29,80                              
ffc10d34:	82 df 00 1c 	lwz     r22,28(r31)                            
      updown = false;                                                 
      continue;                                                       
    }                                                                 
                                                                      
   if (inode)                                                         
      bitmap = &fs->groups[group].inode_bitmap;                       
ffc10d38:	7e d6 02 14 	add     r22,r22,r0                             
      direction = direction > 0 ? -1 : 1;                             
      updown = false;                                                 
      continue;                                                       
    }                                                                 
                                                                      
   if (inode)                                                         
ffc10d3c:	41 92 00 0c 	beq-    cr4,ffc10d48 <rtems_rfs_group_bitmap_alloc+0xd8>
      bitmap = &fs->groups[group].inode_bitmap;                       
ffc10d40:	3a d6 00 2c 	addi    r22,r22,44                             
ffc10d44:	48 00 00 08 	b       ffc10d4c <rtems_rfs_group_bitmap_alloc+0xdc>
    else                                                              
      bitmap = &fs->groups[group].block_bitmap;                       
ffc10d48:	3a d6 00 08 	addi    r22,r22,8                              
                                                                      
    rc = rtems_rfs_bitmap_map_alloc (bitmap, bit, &allocated, &bit);  
ffc10d4c:	80 81 00 0c 	lwz     r4,12(r1)                              
ffc10d50:	7e c3 b3 78 	mr      r3,r22                                 
ffc10d54:	38 a1 00 08 	addi    r5,r1,8                                
ffc10d58:	7e e6 bb 78 	mr      r6,r23                                 
ffc10d5c:	48 00 92 55 	bl      ffc19fb0 <rtems_rfs_bitmap_map_alloc>  
    if (rc > 0)                                                       
ffc10d60:	7c 73 1b 79 	mr.     r19,r3                                 
ffc10d64:	41 81 00 f0 	bgt-    ffc10e54 <rtems_rfs_group_bitmap_alloc+0x1e4><== NEVER TAKEN
      return rc;                                                      
                                                                      
    if (rtems_rfs_fs_release_bitmaps (fs))                            
ffc10d68:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc10d6c:	70 09 00 01 	andi.   r9,r0,1                                
ffc10d70:	40 a2 00 10 	bne+    ffc10d80 <rtems_rfs_group_bitmap_alloc+0x110><== NEVER TAKEN
      rtems_rfs_bitmap_release_buffer (fs, bitmap);                   
ffc10d74:	80 96 00 00 	lwz     r4,0(r22)                              
ffc10d78:	7f e3 fb 78 	mr      r3,r31                                 
ffc10d7c:	48 00 a7 09 	bl      ffc1b484 <rtems_rfs_buffer_handle_release>
                                                                      
    if (allocated)                                                    
ffc10d80:	88 01 00 08 	lbz     r0,8(r1)                               
ffc10d84:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc10d88:	41 be 00 88 	beq+    cr7,ffc10e10 <rtems_rfs_group_bitmap_alloc+0x1a0>
    {                                                                 
      if (inode)                                                      
ffc10d8c:	2f 98 00 00 	cmpwi   cr7,r24,0                              
ffc10d90:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc10d94:	41 9e 00 18 	beq-    cr7,ffc10dac <rtems_rfs_group_bitmap_alloc+0x13c>
        *result = rtems_rfs_group_inode (fs, group, bit);             
ffc10d98:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc10d9c:	39 29 00 01 	addi    r9,r9,1                                
ffc10da0:	7f bd 01 d6 	mullw   r29,r29,r0                             
ffc10da4:	7d 29 ea 14 	add     r9,r9,r29                              
ffc10da8:	48 00 00 14 	b       ffc10dbc <rtems_rfs_group_bitmap_alloc+0x14c>
      else                                                            
        *result = rtems_rfs_group_block (&fs->groups[group], bit);    
ffc10dac:	81 7f 00 1c 	lwz     r11,28(r31)                            
ffc10db0:	1f bd 00 50 	mulli   r29,r29,80                             
ffc10db4:	7c 0b e8 2e 	lwzx    r0,r11,r29                             
ffc10db8:	7d 29 02 14 	add     r9,r9,r0                               
ffc10dbc:	91 39 00 00 	stw     r9,0(r25)                              
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))            
ffc10dc0:	38 60 00 00 	li      r3,0                                   
ffc10dc4:	3c 80 00 02 	lis     r4,2                                   
ffc10dc8:	48 00 22 f1 	bl      ffc130b8 <rtems_rfs_trace>             
        printf ("rtems-rfs: group-bitmap-alloc: %s allocated: %" PRId32 "\n",
                inode ? "inode" : "block", *result);                  
      return 0;                                                       
ffc10dcc:	3a 60 00 00 	li      r19,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))            
ffc10dd0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10dd4:	41 9e 00 80 	beq-    cr7,ffc10e54 <rtems_rfs_group_bitmap_alloc+0x1e4><== ALWAYS TAKEN
        printf ("rtems-rfs: group-bitmap-alloc: %s allocated: %" PRId32 "\n",
ffc10dd8:	2f 98 00 00 	cmpwi   cr7,r24,0                              <== NOT EXECUTED
ffc10ddc:	41 be 00 10 	beq+    cr7,ffc10dec <rtems_rfs_group_bitmap_alloc+0x17c><== NOT EXECUTED
ffc10de0:	3c 80 ff c3 	lis     r4,-61                                 <== NOT EXECUTED
ffc10de4:	38 84 1e 70 	addi    r4,r4,7792                             <== NOT EXECUTED
ffc10de8:	48 00 00 0c 	b       ffc10df4 <rtems_rfs_group_bitmap_alloc+0x184><== NOT EXECUTED
ffc10dec:	3c 80 ff c3 	lis     r4,-61                                 <== NOT EXECUTED
ffc10df0:	38 84 15 d5 	addi    r4,r4,5589                             <== NOT EXECUTED
ffc10df4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10df8:	80 b9 00 00 	lwz     r5,0(r25)                              <== NOT EXECUTED
ffc10dfc:	38 63 1e 76 	addi    r3,r3,7798                             <== NOT EXECUTED
ffc10e00:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10e04:	48 01 0c 89 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                inode ? "inode" : "block", *result);                  
      return 0;                                                       
ffc10e08:	3a 60 00 00 	li      r19,0                                  <== NOT EXECUTED
ffc10e0c:	48 00 00 48 	b       ffc10e54 <rtems_rfs_group_bitmap_alloc+0x1e4><== NOT EXECUTED
    }                                                                 
                                                                      
    if (updown)                                                       
ffc10e10:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc10e14:	41 9e 00 14 	beq-    cr7,ffc10e28 <rtems_rfs_group_bitmap_alloc+0x1b8><== NEVER TAKEN
      direction = direction > 0 ? -1 : 1;                             
ffc10e18:	6b de 00 01 	xori    r30,r30,1                              
ffc10e1c:	33 de ff ff 	addic   r30,r30,-1                             
ffc10e20:	7f de f1 10 	subfe   r30,r30,r30                            
ffc10e24:	63 de 00 01 	ori     r30,r30,1                              
                                                                      
    offset++;                                                         
ffc10e28:	3b 9c 00 01 	addi    r28,r28,1                              
ffc10e2c:	4b ff fe b0 	b       ffc10cdc <rtems_rfs_group_bitmap_alloc+0x6c>
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
ffc10e30:	38 60 00 00 	li      r3,0                                   
ffc10e34:	3c 80 00 02 	lis     r4,2                                   
ffc10e38:	48 00 22 81 	bl      ffc130b8 <rtems_rfs_trace>             
    printf ("rtems-rfs: group-bitmap-alloc: no blocks available\n");  
                                                                      
  return ENOSPC;                                                      
ffc10e3c:	3a 60 00 1c 	li      r19,28                                 
      direction = direction > 0 ? -1 : 1;                             
                                                                      
    offset++;                                                         
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
ffc10e40:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10e44:	41 be 00 10 	beq+    cr7,ffc10e54 <rtems_rfs_group_bitmap_alloc+0x1e4><== ALWAYS TAKEN
    printf ("rtems-rfs: group-bitmap-alloc: no blocks available\n");  
ffc10e48:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10e4c:	38 63 1e a8 	addi    r3,r3,7848                             <== NOT EXECUTED
ffc10e50:	48 01 0d f1 	bl      ffc21c40 <puts>                        <== NOT EXECUTED
                                                                      
  return ENOSPC;                                                      
}                                                                     
ffc10e54:	81 81 00 18 	lwz     r12,24(r1)                             
ffc10e58:	39 61 00 50 	addi    r11,r1,80                              
ffc10e5c:	7e 63 9b 78 	mr      r3,r19                                 
ffc10e60:	7d 80 81 20 	mtcrf   8,r12                                  
ffc10e64:	4b ff 1c 64 	b       ffc02ac8 <_restgpr_19_x>               
                                                                      

ffc10e68 <rtems_rfs_group_bitmap_free>: int rtems_rfs_group_bitmap_free (rtems_rfs_file_system* fs, bool inode, rtems_rfs_bitmap_bit no) {
ffc10e68:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc10e6c:	7c 08 02 a6 	mflr    r0                                     
ffc10e70:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc10e74:	7c 7f 1b 78 	mr      r31,r3                                 
ffc10e78:	7c 9e 23 78 	mr      r30,r4                                 
  unsigned int              group;                                    
  rtems_rfs_bitmap_bit      bit;                                      
  size_t                    size;                                     
  int                       rc;                                       
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
ffc10e7c:	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)               
{                                                                     
ffc10e80:	90 01 00 1c 	stw     r0,28(r1)                              
  unsigned int              group;                                    
  rtems_rfs_bitmap_bit      bit;                                      
  size_t                    size;                                     
  int                       rc;                                       
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
ffc10e84:	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)               
{                                                                     
ffc10e88:	7c bd 2b 78 	mr      r29,r5                                 
  unsigned int              group;                                    
  rtems_rfs_bitmap_bit      bit;                                      
  size_t                    size;                                     
  int                       rc;                                       
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
ffc10e8c:	48 00 22 2d 	bl      ffc130b8 <rtems_rfs_trace>             
ffc10e90:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10e94:	41 9e 00 34 	beq-    cr7,ffc10ec8 <rtems_rfs_group_bitmap_free+0x60><== ALWAYS TAKEN
    printf ("rtems-rfs: group-bitmap-free: %s free: %" PRId32 "\n",   
ffc10e98:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== NOT EXECUTED
ffc10e9c:	41 9e 00 10 	beq-    cr7,ffc10eac <rtems_rfs_group_bitmap_free+0x44><== NOT EXECUTED
ffc10ea0:	3c 80 ff c3 	lis     r4,-61                                 <== NOT EXECUTED
ffc10ea4:	38 84 1e 70 	addi    r4,r4,7792                             <== NOT EXECUTED
ffc10ea8:	48 00 00 0c 	b       ffc10eb4 <rtems_rfs_group_bitmap_free+0x4c><== NOT EXECUTED
ffc10eac:	3c 80 ff c3 	lis     r4,-61                                 <== NOT EXECUTED
ffc10eb0:	38 84 15 d5 	addi    r4,r4,5589                             <== NOT EXECUTED
ffc10eb4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10eb8:	38 63 1e db 	addi    r3,r3,7899                             <== NOT EXECUTED
ffc10ebc:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc10ec0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10ec4:	48 01 0b c9 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            inode ? "inode" : "block", no);                           
                                                                      
  if (inode)                                                          
ffc10ec8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc10ecc:	3b bd ff ff 	addi    r29,r29,-1                             
ffc10ed0:	41 9e 00 0c 	beq-    cr7,ffc10edc <rtems_rfs_group_bitmap_free+0x74><== NEVER TAKEN
  {                                                                   
    no -= RTEMS_RFS_ROOT_INO;                                         
    size = fs->group_inodes;                                          
ffc10ed4:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc10ed8:	48 00 00 08 	b       ffc10ee0 <rtems_rfs_group_bitmap_free+0x78>
  }                                                                   
  else                                                                
  {                                                                   
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
    size = fs->group_blocks;                                          
ffc10edc:	80 1f 00 24 	lwz     r0,36(r31)                             <== NOT EXECUTED
  }                                                                   
                                                                      
  group = no / size;                                                  
ffc10ee0:	7d 3d 03 96 	divwu   r9,r29,r0                              
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
                                                                      
  if (inode)                                                          
ffc10ee4:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
ffc10ee8:	7c 89 01 d6 	mullw   r4,r9,r0                               
ffc10eec:	80 1f 00 1c 	lwz     r0,28(r31)                             
ffc10ef0:	1f c9 00 50 	mulli   r30,r9,80                              
ffc10ef4:	7c 84 e8 50 	subf    r4,r4,r29                              
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
ffc10ef8:	7f c0 f2 14 	add     r30,r0,r30                             
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
                                                                      
  if (inode)                                                          
ffc10efc:	41 be 00 0c 	beq+    cr7,ffc10f08 <rtems_rfs_group_bitmap_free+0xa0><== NEVER TAKEN
    bitmap = &fs->groups[group].inode_bitmap;                         
ffc10f00:	3b de 00 2c 	addi    r30,r30,44                             
ffc10f04:	48 00 00 08 	b       ffc10f0c <rtems_rfs_group_bitmap_free+0xa4>
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
ffc10f08:	3b de 00 08 	addi    r30,r30,8                              <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_bitmap_map_clear (bitmap, bit);                      
ffc10f0c:	7f c3 f3 78 	mr      r3,r30                                 
ffc10f10:	48 00 8e 29 	bl      ffc19d38 <rtems_rfs_bitmap_map_clear>  
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
ffc10f14:	80 9e 00 00 	lwz     r4,0(r30)                              
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
                                                                      
  rc = rtems_rfs_bitmap_map_clear (bitmap, bit);                      
ffc10f18:	7c 7d 1b 78 	mr      r29,r3                                 
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
ffc10f1c:	7f e3 fb 78 	mr      r3,r31                                 
ffc10f20:	48 00 a5 65 	bl      ffc1b484 <rtems_rfs_buffer_handle_release>
                                                                      
  return rc;                                                          
}                                                                     
ffc10f24:	39 61 00 18 	addi    r11,r1,24                              
ffc10f28:	7f a3 eb 78 	mr      r3,r29                                 
ffc10f2c:	4b ff 1b c4 	b       ffc02af0 <_restgpr_29_x>               
                                                                      

ffc10f30 <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) {
ffc10f30:	94 21 ff e0 	stwu    r1,-32(r1)                             <== NOT EXECUTED
ffc10f34:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc10f38:	bf 61 00 0c 	stmw    r27,12(r1)                             <== NOT EXECUTED
ffc10f3c:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
ffc10f40:	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))                
ffc10f44:	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)            
{                                                                     
ffc10f48:	90 01 00 24 	stw     r0,36(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))                
ffc10f4c:	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)            
{                                                                     
ffc10f50:	7c bf 2b 78 	mr      r31,r5                                 <== NOT EXECUTED
ffc10f54:	7c dc 33 78 	mr      r28,r6                                 <== NOT EXECUTED
  unsigned int              group;                                    
  rtems_rfs_bitmap_bit      bit;                                      
  size_t                    size;                                     
  int                       rc;                                       
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
ffc10f58:	48 00 21 61 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc10f5c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc10f60:	41 9e 00 34 	beq-    cr7,ffc10f94 <rtems_rfs_group_bitmap_test+0x64><== NOT EXECUTED
    printf ("rtems-rfs: group-bitmap-test: %s test: %" PRId32 "\n",   
ffc10f64:	2f 9d 00 00 	cmpwi   cr7,r29,0                              <== NOT EXECUTED
ffc10f68:	41 9e 00 10 	beq-    cr7,ffc10f78 <rtems_rfs_group_bitmap_test+0x48><== NOT EXECUTED
ffc10f6c:	3c 80 ff c3 	lis     r4,-61                                 <== NOT EXECUTED
ffc10f70:	38 84 1e 70 	addi    r4,r4,7792                             <== NOT EXECUTED
ffc10f74:	48 00 00 0c 	b       ffc10f80 <rtems_rfs_group_bitmap_test+0x50><== NOT EXECUTED
ffc10f78:	3c 80 ff c3 	lis     r4,-61                                 <== NOT EXECUTED
ffc10f7c:	38 84 15 d5 	addi    r4,r4,5589                             <== NOT EXECUTED
ffc10f80:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10f84:	38 63 1f 07 	addi    r3,r3,7943                             <== NOT EXECUTED
ffc10f88:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc10f8c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10f90:	48 01 0a fd 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            inode ? "inode" : "block", no);                           
                                                                      
  if (inode)                                                          
ffc10f94:	2f 9d 00 00 	cmpwi   cr7,r29,0                              <== NOT EXECUTED
ffc10f98:	41 9e 00 28 	beq-    cr7,ffc10fc0 <rtems_rfs_group_bitmap_test+0x90><== NOT EXECUTED
  {                                                                   
    if ((no < RTEMS_RFS_ROOT_INO) || (no > rtems_rfs_fs_inodes (fs))) 
ffc10f9c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              <== NOT EXECUTED
        return EINVAL;                                                
ffc10fa0:	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))) 
ffc10fa4:	40 9d 00 78 	ble-    cr7,ffc1101c <rtems_rfs_group_bitmap_test+0xec><== NOT EXECUTED
ffc10fa8:	80 1e 00 10 	lwz     r0,16(r30)                             <== NOT EXECUTED
ffc10fac:	7f 9f 00 40 	cmplw   cr7,r31,r0                             <== NOT EXECUTED
ffc10fb0:	41 bd 00 6c 	bgt+    cr7,ffc1101c <rtems_rfs_group_bitmap_test+0xec><== NOT EXECUTED
        return EINVAL;                                                
    no -= RTEMS_RFS_ROOT_INO;                                         
ffc10fb4:	3b ff ff ff 	addi    r31,r31,-1                             <== NOT EXECUTED
    size = fs->group_inodes;                                          
ffc10fb8:	80 9e 00 28 	lwz     r4,40(r30)                             <== NOT EXECUTED
ffc10fbc:	48 00 00 18 	b       ffc10fd4 <rtems_rfs_group_bitmap_test+0xa4><== NOT EXECUTED
  }                                                                   
  else                                                                
  {                                                                   
    if (no >= rtems_rfs_fs_blocks (fs))                               
ffc10fc0:	80 1e 00 04 	lwz     r0,4(r30)                              <== NOT EXECUTED
        return EINVAL;                                                
ffc10fc4:	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))                               
ffc10fc8:	7f 9f 00 40 	cmplw   cr7,r31,r0                             <== NOT EXECUTED
ffc10fcc:	40 bc 00 50 	bge+    cr7,ffc1101c <rtems_rfs_group_bitmap_test+0xec><== NOT EXECUTED
        return EINVAL;                                                
    size = fs->group_blocks;                                          
ffc10fd0:	80 9e 00 24 	lwz     r4,36(r30)                             <== NOT EXECUTED
  }                                                                   
                                                                      
  group = no / size;                                                  
ffc10fd4:	7c 1f 23 96 	divwu   r0,r31,r4                              <== NOT EXECUTED
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
                                                                      
  if (inode)                                                          
ffc10fd8:	2f 9d 00 00 	cmpwi   cr7,r29,0                              <== NOT EXECUTED
        return EINVAL;                                                
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
ffc10fdc:	7c 80 21 d6 	mullw   r4,r0,r4                               <== NOT EXECUTED
ffc10fe0:	1f a0 00 50 	mulli   r29,r0,80                              <== NOT EXECUTED
ffc10fe4:	80 1e 00 1c 	lwz     r0,28(r30)                             <== NOT EXECUTED
ffc10fe8:	7c 84 f8 50 	subf    r4,r4,r31                              <== NOT EXECUTED
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
ffc10fec:	7f a0 ea 14 	add     r29,r0,r29                             <== NOT EXECUTED
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
                                                                      
  if (inode)                                                          
ffc10ff0:	41 9e 00 0c 	beq-    cr7,ffc10ffc <rtems_rfs_group_bitmap_test+0xcc><== NOT EXECUTED
    bitmap = &fs->groups[group].inode_bitmap;                         
ffc10ff4:	3b bd 00 2c 	addi    r29,r29,44                             <== NOT EXECUTED
ffc10ff8:	48 00 00 08 	b       ffc11000 <rtems_rfs_group_bitmap_test+0xd0><== NOT EXECUTED
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
ffc10ffc:	3b bd 00 08 	addi    r29,r29,8                              <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_bitmap_map_test (bitmap, bit, state);                
ffc11000:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc11004:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc11008:	48 00 8d cd 	bl      ffc19dd4 <rtems_rfs_bitmap_map_test>   <== NOT EXECUTED
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
ffc1100c:	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);                
ffc11010:	7c 7b 1b 78 	mr      r27,r3                                 <== NOT EXECUTED
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
ffc11014:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc11018:	48 00 a4 6d 	bl      ffc1b484 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
                                                                      
  return rc;                                                          
}                                                                     
ffc1101c:	39 61 00 20 	addi    r11,r1,32                              <== NOT EXECUTED
ffc11020:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc11024:	4b ff 1a c4 	b       ffc02ae8 <_restgpr_27_x>               <== NOT EXECUTED
                                                                      

ffc10bbc <rtems_rfs_group_close>: int rtems_rfs_group_close (rtems_rfs_file_system* fs, rtems_rfs_group* group) {
ffc10bbc:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc10bc0:	7c 08 02 a6 	mflr    r0                                     
ffc10bc4:	bf 81 00 08 	stmw    r28,8(r1)                              
ffc10bc8:	7c 7d 1b 78 	mr      r29,r3                                 
ffc10bcc:	7c 9f 23 78 	mr      r31,r4                                 
  int result = 0;                                                     
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_CLOSE))                  
ffc10bd0:	38 60 00 00 	li      r3,0                                   
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_group_close (rtems_rfs_file_system* fs, rtems_rfs_group* group)
{                                                                     
ffc10bd4:	90 01 00 1c 	stw     r0,28(r1)                              
  int result = 0;                                                     
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_CLOSE))                  
ffc10bd8:	3c 80 00 01 	lis     r4,1                                   
ffc10bdc:	48 00 24 dd 	bl      ffc130b8 <rtems_rfs_trace>             
ffc10be0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10be4:	41 be 00 18 	beq+    cr7,ffc10bfc <rtems_rfs_group_close+0x40><== ALWAYS TAKEN
    printf ("rtems-rfs: group-close: base=%" PRId32 "\n", group->base);
ffc10be8:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10bec:	80 9f 00 00 	lwz     r4,0(r31)                              <== NOT EXECUTED
ffc10bf0:	38 63 1e 4e 	addi    r3,r3,7758                             <== NOT EXECUTED
ffc10bf4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10bf8:	48 01 0e 95 	bl      ffc21a8c <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);                 
ffc10bfc:	38 7f 00 2c 	addi    r3,r31,44                              
ffc10c00:	48 00 95 f9 	bl      ffc1a1f8 <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);                       
ffc10c04:	38 9f 00 44 	addi    r4,r31,68                              
ffc10c08:	7c 7c 1b 78 	mr      r28,r3                                 
ffc10c0c:	7f a3 eb 78 	mr      r3,r29                                 
ffc10c10:	48 00 a8 75 	bl      ffc1b484 <rtems_rfs_buffer_handle_release>
  handle->dirty = false;                                              
ffc10c14:	38 00 00 00 	li      r0,0                                   
ffc10c18:	98 1f 00 44 	stb     r0,68(r31)                             
  handle->bnum  = 0;                                                  
ffc10c1c:	38 00 00 00 	li      r0,0                                   
  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);                 
ffc10c20:	38 7f 00 08 	addi    r3,r31,8                               
ffc10c24:	90 1f 00 48 	stw     r0,72(r31)                             
  handle->buffer = NULL;                                              
ffc10c28:	90 1f 00 4c 	stw     r0,76(r31)                             
ffc10c2c:	48 00 95 cd 	bl      ffc1a1f8 <rtems_rfs_bitmap_close>      
  if (rc > 0)                                                         
ffc10c30:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc10c34:	41 a1 00 10 	bgt+    ffc10c44 <rtems_rfs_group_close+0x88>  <== NEVER TAKEN
ffc10c38:	7f 9e e0 f8 	not     r30,r28                                
ffc10c3c:	7f de fe 70 	srawi   r30,r30,31                             
ffc10c40:	7f 9e f0 38 	and     r30,r28,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);                       
ffc10c44:	7f a3 eb 78 	mr      r3,r29                                 
ffc10c48:	38 9f 00 20 	addi    r4,r31,32                              
ffc10c4c:	48 00 a8 39 	bl      ffc1b484 <rtems_rfs_buffer_handle_release>
  handle->dirty = false;                                              
ffc10c50:	38 00 00 00 	li      r0,0                                   
ffc10c54:	98 1f 00 20 	stb     r0,32(r31)                             
  rc = rtems_rfs_buffer_handle_close (fs, &group->block_bitmap_buffer);
  if (rc > 0)                                                         
    result = rc;                                                      
                                                                      
  return result;                                                      
}                                                                     
ffc10c58:	39 61 00 18 	addi    r11,r1,24                              
  handle->bnum  = 0;                                                  
ffc10c5c:	38 00 00 00 	li      r0,0                                   
ffc10c60:	7f c3 f3 78 	mr      r3,r30                                 
ffc10c64:	90 1f 00 24 	stw     r0,36(r31)                             
  handle->buffer = NULL;                                              
ffc10c68:	90 1f 00 28 	stw     r0,40(r31)                             
ffc10c6c:	4b ff 1e 80 	b       ffc02aec <_restgpr_28_x>               
                                                                      

ffc1099c <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) {
ffc1099c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc109a0:	7c 08 02 a6 	mflr    r0                                     
ffc109a4:	90 01 00 2c 	stw     r0,44(r1)                              
  int rc;                                                             
                                                                      
  if (base >= rtems_rfs_fs_blocks (fs))                               
ffc109a8:	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)                   
{                                                                     
ffc109ac:	bf 01 00 08 	stmw    r24,8(r1)                              
ffc109b0:	7c 7d 1b 78 	mr      r29,r3                                 
  int rc;                                                             
                                                                      
  if (base >= rtems_rfs_fs_blocks (fs))                               
ffc109b4:	7f 84 00 40 	cmplw   cr7,r4,r0                              
rtems_rfs_group_open (rtems_rfs_file_system* fs,                      
                      rtems_rfs_buffer_block base,                    
                      size_t                 size,                    
                      size_t                 inodes,                  
                      rtems_rfs_group*       group)                   
{                                                                     
ffc109b8:	7c 9b 23 78 	mr      r27,r4                                 
ffc109bc:	7c bc 2b 78 	mr      r28,r5                                 
ffc109c0:	7c ff 3b 78 	mr      r31,r7                                 
  int rc;                                                             
                                                                      
  if (base >= rtems_rfs_fs_blocks (fs))                               
ffc109c4:	41 bc 00 3c 	blt+    cr7,ffc10a00 <rtems_rfs_group_open+0x64><== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                 
ffc109c8:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc109cc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc109d0:	60 84 80 00 	ori     r4,r4,32768                            <== NOT EXECUTED
ffc109d4:	48 00 26 e5 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: group-open: base outside file system range: %d: %s\n",
              EIO, strerror (EIO));                                   
    return EIO;                                                       
ffc109d8:	3b 60 00 05 	li      r27,5                                  <== NOT EXECUTED
{                                                                     
  int rc;                                                             
                                                                      
  if (base >= rtems_rfs_fs_blocks (fs))                               
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                 
ffc109dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc109e0:	41 be 01 d0 	beq+    cr7,ffc10bb0 <rtems_rfs_group_open+0x214><== NOT EXECUTED
      printf ("rtems-rfs: group-open: base outside file system range: %d: %s\n",
ffc109e4:	38 60 00 05 	li      r3,5                                   <== NOT EXECUTED
ffc109e8:	48 01 1e 11 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc109ec:	38 80 00 05 	li      r4,5                                   <== NOT EXECUTED
ffc109f0:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc109f4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc109f8:	38 63 1d 5f 	addi    r3,r3,7519                             <== NOT EXECUTED
ffc109fc:	48 00 00 e4 	b       ffc10ae0 <rtems_rfs_group_open+0x144>  <== NOT EXECUTED
              EIO, strerror (EIO));                                   
    return EIO;                                                       
  }                                                                   
                                                                      
  if ((base + size) >= rtems_rfs_fs_blocks (fs))                      
ffc10a00:	7d 25 22 14 	add     r9,r5,r4                               
ffc10a04:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc10a08:	41 9c 00 08 	blt-    cr7,ffc10a10 <rtems_rfs_group_open+0x74><== NEVER TAKEN
    size = rtems_rfs_fs_blocks (fs) - base;                           
ffc10a0c:	7f 84 00 50 	subf    r28,r4,r0                              
ffc10a10:	7f 9c 30 40 	cmplw   cr7,r28,r6                             
ffc10a14:	7f 99 e3 78 	mr      r25,r28                                
ffc10a18:	40 9d 00 08 	ble-    cr7,ffc10a20 <rtems_rfs_group_open+0x84><== NEVER TAKEN
ffc10a1c:	7c d9 33 78 	mr      r25,r6                                 
   * the format configuration needs reviewing.                        
   */                                                                 
  if (inodes > size)                                                  
    inodes = size;                                                    
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                   
ffc10a20:	38 80 00 00 	li      r4,0                                   
ffc10a24:	38 60 00 00 	li      r3,0                                   
ffc10a28:	60 84 80 00 	ori     r4,r4,32768                            
ffc10a2c:	48 00 26 8d 	bl      ffc130b8 <rtems_rfs_trace>             
ffc10a30:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10a34:	41 be 00 20 	beq+    cr7,ffc10a54 <rtems_rfs_group_open+0xb8><== ALWAYS TAKEN
    printf ("rtems-rfs: group-open: base=%" PRId32 ", blocks=%zd inodes=%zd\n",
ffc10a38:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10a3c:	38 63 1d 9e 	addi    r3,r3,7582                             <== NOT EXECUTED
ffc10a40:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc10a44:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc10a48:	7f 26 cb 78 	mr      r6,r25                                 <== NOT EXECUTED
ffc10a4c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10a50:	48 01 10 3d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc10a54:	38 00 00 00 	li      r0,0                                   
            base, size, inodes);                                      
                                                                      
  group->base = base;                                                 
ffc10a58:	93 7f 00 00 	stw     r27,0(r31)                             
  handle->bnum  = 0;                                                  
ffc10a5c:	3b c0 00 00 	li      r30,0                                  
  group->size = size;                                                 
ffc10a60:	93 9f 00 04 	stw     r28,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,               
ffc10a64:	3b 1f 00 08 	addi    r24,r31,8                              
ffc10a68:	3b 5f 00 20 	addi    r26,r31,32                             
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc10a6c:	98 1f 00 20 	stb     r0,32(r31)                             
ffc10a70:	7f 67 db 78 	mr      r7,r27                                 
ffc10a74:	7f 03 c3 78 	mr      r3,r24                                 
  handle->bnum  = 0;                                                  
ffc10a78:	93 df 00 24 	stw     r30,36(r31)                            
ffc10a7c:	7f a4 eb 78 	mr      r4,r29                                 
ffc10a80:	7f 45 d3 78 	mr      r5,r26                                 
  handle->buffer = NULL;                                              
ffc10a84:	93 df 00 28 	stw     r30,40(r31)                            
ffc10a88:	7f 86 e3 78 	mr      r6,r28                                 
ffc10a8c:	48 00 97 05 	bl      ffc1a190 <rtems_rfs_bitmap_open>       
                              &group->block_bitmap_buffer, size,      
                              group->base + RTEMS_RFS_GROUP_BLOCK_BITMAP_BLOCK);
  if (rc > 0)                                                         
ffc10a90:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc10a94:	40 81 00 58 	ble-    ffc10aec <rtems_rfs_group_open+0x150>  <== 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);                       
ffc10a98:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc10a9c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc10aa0:	48 00 a9 e5 	bl      ffc1b484 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc10aa4:	9b df 00 20 	stb     r30,32(r31)                            <== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &group->block_bitmap_buffer);  
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                 
ffc10aa8:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc10aac:	93 df 00 24 	stw     r30,36(r31)                            <== NOT EXECUTED
ffc10ab0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc10ab4:	60 84 80 00 	ori     r4,r4,32768                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc10ab8:	93 df 00 28 	stw     r30,40(r31)                            <== NOT EXECUTED
ffc10abc:	48 00 25 fd 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc10ac0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc10ac4:	41 be 00 ec 	beq+    cr7,ffc10bb0 <rtems_rfs_group_open+0x214><== NOT EXECUTED
      printf ("rtems-rfs: group-open: could not open block bitmap: %d: %s\n",
ffc10ac8:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc10acc:	48 01 1d 2d 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc10ad0:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc10ad4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10ad8:	38 63 1d d6 	addi    r3,r3,7638                             <== NOT EXECUTED
ffc10adc:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc10ae0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10ae4:	48 01 0f a9 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc10ae8:	48 00 00 c8 	b       ffc10bb0 <rtems_rfs_group_open+0x214>  <== 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,               
ffc10aec:	80 ff 00 00 	lwz     r7,0(r31)                              
ffc10af0:	3b 9f 00 44 	addi    r28,r31,68                             
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc10af4:	9b df 00 44 	stb     r30,68(r31)                            
ffc10af8:	38 7f 00 2c 	addi    r3,r31,44                              
ffc10afc:	7f a4 eb 78 	mr      r4,r29                                 
  handle->bnum  = 0;                                                  
ffc10b00:	93 df 00 48 	stw     r30,72(r31)                            
ffc10b04:	7f 85 e3 78 	mr      r5,r28                                 
ffc10b08:	7f 26 cb 78 	mr      r6,r25                                 
  handle->buffer = NULL;                                              
ffc10b0c:	93 df 00 4c 	stw     r30,76(r31)                            
ffc10b10:	38 e7 00 01 	addi    r7,r7,1                                
ffc10b14:	48 00 96 7d 	bl      ffc1a190 <rtems_rfs_bitmap_open>       
                              &group->inode_bitmap_buffer, inodes,    
                              group->base + RTEMS_RFS_GROUP_INODE_BITMAP_BLOCK);
  if (rc > 0)                                                         
ffc10b18:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc10b1c:	40 81 00 6c 	ble-    ffc10b88 <rtems_rfs_group_open+0x1ec>  <== 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);                       
ffc10b20:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc10b24:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc10b28:	48 00 a9 5d 	bl      ffc1b484 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc10b2c:	9b df 00 44 	stb     r30,68(r31)                            <== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &group->inode_bitmap_buffer);  
    rtems_rfs_bitmap_close (&group->block_bitmap);                    
ffc10b30:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc10b34:	93 df 00 48 	stw     r30,72(r31)                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc10b38:	93 df 00 4c 	stw     r30,76(r31)                            <== NOT EXECUTED
ffc10b3c:	48 00 96 bd 	bl      ffc1a1f8 <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);                       
ffc10b40:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc10b44:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc10b48:	48 00 a9 3d 	bl      ffc1b484 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc10b4c:	9b df 00 20 	stb     r30,32(r31)                            <== NOT EXECUTED
    rtems_rfs_buffer_handle_close (fs, &group->block_bitmap_buffer);  
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                 
ffc10b50:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc10b54:	93 df 00 24 	stw     r30,36(r31)                            <== NOT EXECUTED
ffc10b58:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc10b5c:	60 84 80 00 	ori     r4,r4,32768                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc10b60:	93 df 00 28 	stw     r30,40(r31)                            <== NOT EXECUTED
ffc10b64:	48 00 25 55 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc10b68:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc10b6c:	41 be 00 44 	beq+    cr7,ffc10bb0 <rtems_rfs_group_open+0x214><== NOT EXECUTED
      printf ("rtems-rfs: group-open: could not open inode bitmap: %d: %s\n",
ffc10b70:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc10b74:	48 01 1c 85 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc10b78:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc10b7c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc10b80:	38 63 1e 12 	addi    r3,r3,7698                             <== NOT EXECUTED
ffc10b84:	4b ff ff 58 	b       ffc10adc <rtems_rfs_group_open+0x140>  <== NOT EXECUTED
              rc, strerror (rc));                                     
    return rc;                                                        
  }                                                                   
                                                                      
  if (rtems_rfs_fs_release_bitmaps (fs))                              
ffc10b88:	80 1d 00 00 	lwz     r0,0(r29)                              
  {                                                                   
    rtems_rfs_bitmap_release_buffer (fs, &group->block_bitmap);       
    rtems_rfs_bitmap_release_buffer (fs, &group->inode_bitmap);       
  }                                                                   
                                                                      
  return 0;                                                           
ffc10b8c:	3b 60 00 00 	li      r27,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))                              
ffc10b90:	70 09 00 01 	andi.   r9,r0,1                                
ffc10b94:	40 a2 00 1c 	bne+    ffc10bb0 <rtems_rfs_group_open+0x214>  <== NEVER TAKEN
  {                                                                   
    rtems_rfs_bitmap_release_buffer (fs, &group->block_bitmap);       
ffc10b98:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc10b9c:	7f a3 eb 78 	mr      r3,r29                                 
ffc10ba0:	48 00 a8 e5 	bl      ffc1b484 <rtems_rfs_buffer_handle_release>
    rtems_rfs_bitmap_release_buffer (fs, &group->inode_bitmap);       
ffc10ba4:	80 9f 00 2c 	lwz     r4,44(r31)                             
ffc10ba8:	7f a3 eb 78 	mr      r3,r29                                 
ffc10bac:	48 00 a8 d9 	bl      ffc1b484 <rtems_rfs_buffer_handle_release>
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc10bb0:	39 61 00 28 	addi    r11,r1,40                              
ffc10bb4:	7f 63 db 78 	mr      r3,r27                                 
ffc10bb8:	4b ff 1f 24 	b       ffc02adc <_restgpr_24_x>               
                                                                      

ffc11028 <rtems_rfs_group_usage>: size_t* blocks, size_t* inodes) { int g; *blocks = 0;
ffc11028:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc1102c:	90 04 00 00 	stw     r0,0(r4)                               <== NOT EXECUTED
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
ffc11030:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
                       size_t*                inodes)                 
{                                                                     
  int g;                                                              
                                                                      
  *blocks = 0;                                                        
  *inodes = 0;                                                        
ffc11034:	90 05 00 00 	stw     r0,0(r5)                               <== NOT EXECUTED
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
ffc11038:	48 00 00 44 	b       ffc1107c <rtems_rfs_group_usage+0x54>  <== NOT EXECUTED
                                                                      
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_group_usage (rtems_rfs_file_system* fs,                     
ffc1103c:	1c 09 00 50 	mulli   r0,r9,80                               <== NOT EXECUTED
  *blocks = 0;                                                        
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
ffc11040:	81 63 00 1c 	lwz     r11,28(r3)                             <== NOT EXECUTED
ffc11044:	7d 6b 02 14 	add     r11,r11,r0                             <== NOT EXECUTED
    *blocks +=                                                        
      rtems_rfs_bitmap_map_size(&group->block_bitmap) -               
ffc11048:	81 4b 00 14 	lwz     r10,20(r11)                            <== NOT EXECUTED
  int g;                                                              
                                                                      
  *blocks = 0;                                                        
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
ffc1104c:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    *blocks +=                                                        
      rtems_rfs_bitmap_map_size(&group->block_bitmap) -               
ffc11050:	80 0b 00 18 	lwz     r0,24(r11)                             <== NOT EXECUTED
ffc11054:	7c 00 50 50 	subf    r0,r0,r10                              <== NOT EXECUTED
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    *blocks +=                                                        
ffc11058:	81 44 00 00 	lwz     r10,0(r4)                              <== NOT EXECUTED
ffc1105c:	7c 0a 02 14 	add     r0,r10,r0                              <== NOT EXECUTED
ffc11060:	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) -              
ffc11064:	81 4b 00 38 	lwz     r10,56(r11)                            <== NOT EXECUTED
ffc11068:	80 0b 00 3c 	lwz     r0,60(r11)                             <== 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 +=                                                        
ffc1106c:	81 65 00 00 	lwz     r11,0(r5)                              <== NOT EXECUTED
      rtems_rfs_bitmap_map_size (&group->inode_bitmap) -              
ffc11070:	7c 00 50 50 	subf    r0,r0,r10                              <== 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 +=                                                        
ffc11074:	7c 0b 02 14 	add     r0,r11,r0                              <== NOT EXECUTED
ffc11078:	90 05 00 00 	stw     r0,0(r5)                               <== NOT EXECUTED
  int g;                                                              
                                                                      
  *blocks = 0;                                                        
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
ffc1107c:	80 03 00 20 	lwz     r0,32(r3)                              <== NOT EXECUTED
ffc11080:	7f 89 00 00 	cmpw    cr7,r9,r0                              <== NOT EXECUTED
ffc11084:	41 9c ff b8 	blt+    cr7,ffc1103c <rtems_rfs_group_usage+0x14><== 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))                             
ffc11088:	81 23 00 04 	lwz     r9,4(r3)                               <== NOT EXECUTED
ffc1108c:	80 04 00 00 	lwz     r0,0(r4)                               <== NOT EXECUTED
ffc11090:	7f 80 48 40 	cmplw   cr7,r0,r9                              <== NOT EXECUTED
ffc11094:	40 9d 00 08 	ble-    cr7,ffc1109c <rtems_rfs_group_usage+0x74><== NOT EXECUTED
ffc11098:	7d 20 4b 78 	mr      r0,r9                                  <== NOT EXECUTED
ffc1109c:	90 04 00 00 	stw     r0,0(r4)                               <== NOT EXECUTED
    *blocks = rtems_rfs_fs_blocks (fs);                               
  if (*inodes > rtems_rfs_fs_inodes (fs))                             
ffc110a0:	81 23 00 10 	lwz     r9,16(r3)                              <== NOT EXECUTED
ffc110a4:	80 05 00 00 	lwz     r0,0(r5)                               <== NOT EXECUTED
ffc110a8:	7f 80 48 40 	cmplw   cr7,r0,r9                              <== NOT EXECUTED
ffc110ac:	40 9d 00 08 	ble-    cr7,ffc110b4 <rtems_rfs_group_usage+0x8c><== NOT EXECUTED
ffc110b0:	7d 20 4b 78 	mr      r0,r9                                  <== NOT EXECUTED
ffc110b4:	90 05 00 00 	stw     r0,0(r5)                               <== NOT EXECUTED
    *inodes = rtems_rfs_fs_inodes (fs);                               
                                                                      
  return 0;                                                           
}                                                                     
ffc110b8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc110bc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc113c8 <rtems_rfs_inode_close>: } int rtems_rfs_inode_close (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle) {
ffc113c8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc113cc:	7c 08 02 a6 	mflr    r0                                     
ffc113d0:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc113d4:	7c 7e 1b 78 	mr      r30,r3                                 
ffc113d8:	7c 9f 23 78 	mr      r31,r4                                 
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CLOSE))                  
ffc113dc:	38 60 00 00 	li      r3,0                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_inode_close (rtems_rfs_file_system*  fs,                    
                       rtems_rfs_inode_handle* handle)                
{                                                                     
ffc113e0:	90 01 00 14 	stw     r0,20(r1)                              
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CLOSE))                  
ffc113e4:	3c 80 00 08 	lis     r4,8                                   
ffc113e8:	48 00 1c d1 	bl      ffc130b8 <rtems_rfs_trace>             
ffc113ec:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc113f0:	41 be 00 18 	beq+    cr7,ffc11408 <rtems_rfs_inode_close+0x40><== ALWAYS TAKEN
    printf ("rtems-rfs: inode-close: ino: %" PRIu32 "\n", handle->ino);
ffc113f4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc113f8:	80 9f 00 08 	lwz     r4,8(r31)                              <== NOT EXECUTED
ffc113fc:	38 63 1f c0 	addi    r3,r3,8128                             <== NOT EXECUTED
ffc11400:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc11404:	48 01 06 89 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_unload (fs, handle, true);                     
ffc11408:	7f c3 f3 78 	mr      r3,r30                                 
ffc1140c:	7f e4 fb 78 	mr      r4,r31                                 
ffc11410:	38 a0 00 01 	li      r5,1                                   
ffc11414:	4b ff fe b1 	bl      ffc112c4 <rtems_rfs_inode_unload>      
                                                                      
  if ((rc == 0) && (handle->loads > 0))                               
ffc11418:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1141c:	40 82 00 3c 	bne-    ffc11458 <rtems_rfs_inode_close+0x90>  <== NEVER TAKEN
ffc11420:	80 1f 00 24 	lwz     r0,36(r31)                             
ffc11424:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11428:	40 9d 00 30 	ble-    cr7,ffc11458 <rtems_rfs_inode_close+0x90><== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CLOSE))                
ffc1142c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc11430:	3c 80 00 08 	lis     r4,8                                   <== NOT EXECUTED
ffc11434:	48 00 1c 85 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: inode-close: bad loads number: %d\n",       
              handle->loads);                                         
    rc = EIO;                                                         
ffc11438:	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))                
ffc1143c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc11440:	41 be 00 18 	beq+    cr7,ffc11458 <rtems_rfs_inode_close+0x90><== NOT EXECUTED
      printf ("rtems-rfs: inode-close: bad loads number: %d\n",       
ffc11444:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc11448:	80 9f 00 24 	lwz     r4,36(r31)                             <== NOT EXECUTED
ffc1144c:	38 63 1f e2 	addi    r3,r3,8162                             <== NOT EXECUTED
ffc11450:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc11454:	48 01 06 39 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
              handle->loads);                                         
    rc = EIO;                                                         
  }                                                                   
                                                                      
  handle->ino = 0;                                                    
ffc11458:	38 00 00 00 	li      r0,0                                   
  return rc;                                                          
}                                                                     
ffc1145c:	39 61 00 10 	addi    r11,r1,16                              
      printf ("rtems-rfs: inode-close: bad loads number: %d\n",       
              handle->loads);                                         
    rc = EIO;                                                         
  }                                                                   
                                                                      
  handle->ino = 0;                                                    
ffc11460:	90 1f 00 08 	stw     r0,8(r31)                              
  return rc;                                                          
}                                                                     
ffc11464:	7f c3 f3 78 	mr      r3,r30                                 
ffc11468:	4b ff 16 8c 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

ffc11774 <rtems_rfs_inode_create>: uint16_t mode, uint16_t links, uid_t uid, gid_t gid, rtems_rfs_ino* ino) {
ffc11774:	94 21 ff 78 	stwu    r1,-136(r1)                            
ffc11778:	7c 08 02 a6 	mflr    r0                                     
ffc1177c:	be a1 00 5c 	stmw    r21,92(r1)                             
ffc11780:	7c 7f 1b 78 	mr      r31,r3                                 
ffc11784:	7c 9e 23 78 	mr      r30,r4                                 
  rtems_rfs_inode_handle parent_inode;                                
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
ffc11788:	38 60 00 00 	li      r3,0                                   
                        uint16_t                mode,                 
                        uint16_t                links,                
                        uid_t                   uid,                  
                        gid_t                   gid,                  
                        rtems_rfs_ino*          ino)                  
{                                                                     
ffc1178c:	90 01 00 8c 	stw     r0,140(r1)                             
  rtems_rfs_inode_handle parent_inode;                                
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
ffc11790:	3c 80 00 40 	lis     r4,64                                  
                        uint16_t                mode,                 
                        uint16_t                links,                
                        uid_t                   uid,                  
                        gid_t                   gid,                  
                        rtems_rfs_ino*          ino)                  
{                                                                     
ffc11794:	7c bc 2b 78 	mr      r28,r5                                 
ffc11798:	83 21 00 90 	lwz     r25,144(r1)                            
ffc1179c:	7c dd 33 78 	mr      r29,r6                                 
ffc117a0:	7c fb 3b 78 	mr      r27,r7                                 
ffc117a4:	7d 1a 43 78 	mr      r26,r8                                 
ffc117a8:	7d 37 4b 78 	mr      r23,r9                                 
ffc117ac:	7d 56 53 78 	mr      r22,r10                                
  rtems_rfs_inode_handle parent_inode;                                
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
ffc117b0:	48 00 19 09 	bl      ffc130b8 <rtems_rfs_trace>             
ffc117b4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc117b8:	41 9e 00 c8 	beq-    cr7,ffc11880 <rtems_rfs_inode_create+0x10c><== ALWAYS TAKEN
  {                                                                   
    const char* type = "unknown";                                     
    int         c;                                                    
    if (RTEMS_RFS_S_ISDIR (mode))                                     
ffc117bc:	57 60 04 26 	rlwinm  r0,r27,0,16,19                         <== NOT EXECUTED
ffc117c0:	2f 80 40 00 	cmpwi   cr7,r0,16384                           <== NOT EXECUTED
ffc117c4:	41 9e 00 38 	beq-    cr7,ffc117fc <rtems_rfs_inode_create+0x88><== NOT EXECUTED
      type = "dir";                                                   
    else if (RTEMS_RFS_S_ISCHR (mode))                                
ffc117c8:	2f 80 20 00 	cmpwi   cr7,r0,8192                            <== NOT EXECUTED
ffc117cc:	41 9e 00 3c 	beq-    cr7,ffc11808 <rtems_rfs_inode_create+0x94><== NOT EXECUTED
      type = "char";                                                  
    else if (RTEMS_RFS_S_ISBLK (mode))                                
ffc117d0:	2f 80 60 00 	cmpwi   cr7,r0,24576                           <== NOT EXECUTED
ffc117d4:	41 9e 00 40 	beq-    cr7,ffc11814 <rtems_rfs_inode_create+0xa0><== NOT EXECUTED
      type = "block";                                                 
    else if (RTEMS_RFS_S_ISREG (mode))                                
ffc117d8:	6c 09 ff ff 	xoris   r9,r0,65535                            <== NOT EXECUTED
ffc117dc:	2f 89 80 00 	cmpwi   cr7,r9,-32768                          <== NOT EXECUTED
ffc117e0:	41 9e 00 40 	beq-    cr7,ffc11820 <rtems_rfs_inode_create+0xac><== NOT EXECUTED
      type = "file";                                                  
    else if (RTEMS_RFS_S_ISLNK (mode))                                
ffc117e4:	6c 09 ff ff 	xoris   r9,r0,65535                            <== NOT EXECUTED
ffc117e8:	2f 89 a0 00 	cmpwi   cr7,r9,-24576                          <== NOT EXECUTED
ffc117ec:	41 9e 00 40 	beq-    cr7,ffc1182c <rtems_rfs_inode_create+0xb8><== NOT EXECUTED
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
  {                                                                   
    const char* type = "unknown";                                     
ffc117f0:	3f 00 ff c3 	lis     r24,-61                                <== NOT EXECUTED
ffc117f4:	3b 18 20 41 	addi    r24,r24,8257                           <== NOT EXECUTED
ffc117f8:	48 00 00 3c 	b       ffc11834 <rtems_rfs_inode_create+0xc0> <== NOT EXECUTED
    int         c;                                                    
    if (RTEMS_RFS_S_ISDIR (mode))                                     
      type = "dir";                                                   
ffc117fc:	3f 00 ff c3 	lis     r24,-61                                <== NOT EXECUTED
ffc11800:	3b 18 05 0c 	addi    r24,r24,1292                           <== NOT EXECUTED
ffc11804:	48 00 00 30 	b       ffc11834 <rtems_rfs_inode_create+0xc0> <== NOT EXECUTED
    else if (RTEMS_RFS_S_ISCHR (mode))                                
      type = "char";                                                  
ffc11808:	3f 00 ff c3 	lis     r24,-61                                <== NOT EXECUTED
ffc1180c:	3b 18 20 3c 	addi    r24,r24,8252                           <== NOT EXECUTED
ffc11810:	48 00 00 24 	b       ffc11834 <rtems_rfs_inode_create+0xc0> <== NOT EXECUTED
    else if (RTEMS_RFS_S_ISBLK (mode))                                
      type = "block";                                                 
ffc11814:	3f 00 ff c3 	lis     r24,-61                                <== NOT EXECUTED
ffc11818:	3b 18 15 d5 	addi    r24,r24,5589                           <== NOT EXECUTED
ffc1181c:	48 00 00 18 	b       ffc11834 <rtems_rfs_inode_create+0xc0> <== NOT EXECUTED
    else if (RTEMS_RFS_S_ISREG (mode))                                
      type = "file";                                                  
ffc11820:	3f 00 ff c3 	lis     r24,-61                                <== NOT EXECUTED
ffc11824:	3b 18 04 80 	addi    r24,r24,1152                           <== NOT EXECUTED
ffc11828:	48 00 00 0c 	b       ffc11834 <rtems_rfs_inode_create+0xc0> <== NOT EXECUTED
    else if (RTEMS_RFS_S_ISLNK (mode))                                
      type = "link";                                                  
ffc1182c:	3f 00 ff c3 	lis     r24,-61                                <== NOT EXECUTED
ffc11830:	3b 18 24 27 	addi    r24,r24,9255                           <== NOT EXECUTED
    printf("rtems-rfs: inode-create: parent:%" PRIu32 " name:", parent);
ffc11834:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc11838:	38 63 20 49 	addi    r3,r3,8265                             <== NOT EXECUTED
ffc1183c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc11840:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc11844:	48 01 02 49 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
    for (c = 0; c < length; c++)                                      
ffc11848:	3a a0 00 00 	li      r21,0                                  <== NOT EXECUTED
ffc1184c:	48 00 00 10 	b       ffc1185c <rtems_rfs_inode_create+0xe8> <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc11850:	7c 7c a8 ae 	lbzx    r3,r28,r21                             <== 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++)                                      
ffc11854:	3a b5 00 01 	addi    r21,r21,1                              <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc11858:	48 01 02 f1 	bl      ffc21b48 <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++)                                      
ffc1185c:	7f 95 e8 00 	cmpw    cr7,r21,r29                            <== NOT EXECUTED
ffc11860:	40 9e ff f0 	bne+    cr7,ffc11850 <rtems_rfs_inode_create+0xdc><== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (" type:%s mode:%04x (%03o)\n", type, mode, mode & ((1 << 10) - 1));
ffc11864:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc11868:	38 63 20 73 	addi    r3,r3,8307                             <== NOT EXECUTED
ffc1186c:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc11870:	7f 65 db 78 	mr      r5,r27                                 <== NOT EXECUTED
ffc11874:	57 66 05 be 	clrlwi  r6,r27,22                              <== NOT EXECUTED
ffc11878:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1187c:	48 01 02 11 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * The file type is field within the mode. Check we have a sane mode set.
   */                                                                 
  switch (mode & RTEMS_RFS_S_IFMT)                                    
ffc11880:	57 78 04 26 	rlwinm  r24,r27,0,16,19                        
ffc11884:	2f 98 60 00 	cmpwi   cr7,r24,24576                          
ffc11888:	41 9e 00 34 	beq-    cr7,ffc118bc <rtems_rfs_inode_create+0x148><== NEVER TAKEN
ffc1188c:	41 9d 00 14 	bgt-    cr7,ffc118a0 <rtems_rfs_inode_create+0x12c>
ffc11890:	2f 98 20 00 	cmpwi   cr7,r24,8192                           
ffc11894:	41 9e 00 28 	beq-    cr7,ffc118bc <rtems_rfs_inode_create+0x148><== NEVER TAKEN
ffc11898:	2f 98 40 00 	cmpwi   cr7,r24,16384                          
ffc1189c:	48 00 00 1c 	b       ffc118b8 <rtems_rfs_inode_create+0x144>
ffc118a0:	6f 00 ff ff 	xoris   r0,r24,65535                           
ffc118a4:	2f 80 80 00 	cmpwi   cr7,r0,-32768                          
ffc118a8:	41 9e 00 14 	beq-    cr7,ffc118bc <rtems_rfs_inode_create+0x148>
ffc118ac:	38 00 00 00 	li      r0,0                                   
ffc118b0:	60 00 a0 00 	ori     r0,r0,40960                            
ffc118b4:	7f 98 00 00 	cmpw    cr7,r24,r0                             
ffc118b8:	40 be 01 c0 	bne+    cr7,ffc11a78 <rtems_rfs_inode_create+0x304><== NEVER TAKEN
      break;                                                          
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_alloc (fs, parent, ino);                       
ffc118bc:	7f e3 fb 78 	mr      r3,r31                                 
ffc118c0:	7f c4 f3 78 	mr      r4,r30                                 
ffc118c4:	7f 25 cb 78 	mr      r5,r25                                 
ffc118c8:	4b ff f7 f9 	bl      ffc110c0 <rtems_rfs_inode_alloc>       
  if (rc > 0)                                                         
ffc118cc:	7c 75 1b 79 	mr.     r21,r3                                 
ffc118d0:	41 a1 01 b4 	bgt+    ffc11a84 <rtems_rfs_inode_create+0x310><== NEVER TAKEN
    return rc;                                                        
                                                                      
  rc = rtems_rfs_inode_open (fs, *ino, &inode, true);                 
ffc118d4:	80 99 00 00 	lwz     r4,0(r25)                              
ffc118d8:	7f e3 fb 78 	mr      r3,r31                                 
ffc118dc:	38 a1 00 08 	addi    r5,r1,8                                
ffc118e0:	38 c0 00 01 	li      r6,1                                   
ffc118e4:	4b ff f8 f5 	bl      ffc111d8 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc118e8:	7c 75 1b 79 	mr.     r21,r3                                 
ffc118ec:	41 a1 01 7c 	bgt+    ffc11a68 <rtems_rfs_inode_create+0x2f4><== NEVER TAKEN
  {                                                                   
    rtems_rfs_inode_free (fs, *ino);                                  
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_initialise (&inode, links, mode, uid, gid);    
ffc118f0:	38 61 00 08 	addi    r3,r1,8                                
ffc118f4:	7f 44 d3 78 	mr      r4,r26                                 
ffc118f8:	7f 65 db 78 	mr      r5,r27                                 
ffc118fc:	7e e6 bb 78 	mr      r6,r23                                 
ffc11900:	7e c7 b3 78 	mr      r7,r22                                 
ffc11904:	4b ff fd 11 	bl      ffc11614 <rtems_rfs_inode_initialise>  
  if (rc > 0)                                                         
ffc11908:	7c 75 1b 79 	mr.     r21,r3                                 
ffc1190c:	40 a1 00 14 	ble+    ffc11920 <rtems_rfs_inode_create+0x1ac><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
ffc11910:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc11914:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc11918:	4b ff fa b1 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
ffc1191c:	48 00 01 4c 	b       ffc11a68 <rtems_rfs_inode_create+0x2f4><== NOT EXECUTED
  /*                                                                  
   * Only handle the specifics of a directory. Let caller handle the others.
   *                                                                  
   * The inode delete will free the inode.                            
   */                                                                 
  if (RTEMS_RFS_S_ISDIR (mode))                                       
ffc11920:	2f 98 40 00 	cmpwi   cr7,r24,16384                          
ffc11924:	40 be 00 54 	bne+    cr7,ffc11978 <rtems_rfs_inode_create+0x204>
  {                                                                   
    rc = rtems_rfs_dir_add_entry (fs, &inode, ".", 1, *ino);          
ffc11928:	3c a0 ff c3 	lis     r5,-61                                 
ffc1192c:	80 f9 00 00 	lwz     r7,0(r25)                              
ffc11930:	7f e3 fb 78 	mr      r3,r31                                 
ffc11934:	38 81 00 08 	addi    r4,r1,8                                
ffc11938:	38 a5 03 95 	addi    r5,r5,917                              
ffc1193c:	38 c0 00 01 	li      r6,1                                   
ffc11940:	48 00 a8 e9 	bl      ffc1c228 <rtems_rfs_dir_add_entry>     
    if (rc == 0)                                                      
ffc11944:	7c 75 1b 79 	mr.     r21,r3                                 
ffc11948:	40 a2 00 24 	bne+    ffc1196c <rtems_rfs_inode_create+0x1f8>
      rc = rtems_rfs_dir_add_entry (fs, &inode, "..", 2, parent);     
ffc1194c:	3c a0 ff c3 	lis     r5,-61                                 
ffc11950:	7f e3 fb 78 	mr      r3,r31                                 
ffc11954:	38 81 00 08 	addi    r4,r1,8                                
ffc11958:	38 a5 03 94 	addi    r5,r5,916                              
ffc1195c:	38 c0 00 02 	li      r6,2                                   
ffc11960:	7f c7 f3 78 	mr      r7,r30                                 
ffc11964:	48 00 a8 c5 	bl      ffc1c228 <rtems_rfs_dir_add_entry>     
ffc11968:	7c 75 1b 78 	mr      r21,r3                                 
    if (rc > 0)                                                       
ffc1196c:	2f 95 00 00 	cmpwi   cr7,r21,0                              
    {                                                                 
      rtems_rfs_inode_delete (fs, &inode);                            
ffc11970:	7f e3 fb 78 	mr      r3,r31                                 
  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);     
    if (rc > 0)                                                       
ffc11974:	41 9d 00 24 	bgt-    cr7,ffc11998 <rtems_rfs_inode_create+0x224>
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
ffc11978:	7f e3 fb 78 	mr      r3,r31                                 
ffc1197c:	7f c4 f3 78 	mr      r4,r30                                 
ffc11980:	38 a1 00 30 	addi    r5,r1,48                               
ffc11984:	38 c0 00 01 	li      r6,1                                   
ffc11988:	4b ff f8 51 	bl      ffc111d8 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc1198c:	7c 75 1b 79 	mr.     r21,r3                                 
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
ffc11990:	7f e3 fb 78 	mr      r3,r31                                 
      return rc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
  if (rc > 0)                                                         
ffc11994:	40 81 00 0c 	ble-    ffc119a0 <rtems_rfs_inode_create+0x22c><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
ffc11998:	38 81 00 08 	addi    r4,r1,8                                
ffc1199c:	48 00 00 ac 	b       ffc11a48 <rtems_rfs_inode_create+0x2d4>
    rtems_rfs_inode_close (fs, &inode);                               
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &parent_inode, name, length, *ino);
ffc119a0:	80 f9 00 00 	lwz     r7,0(r25)                              
ffc119a4:	38 81 00 30 	addi    r4,r1,48                               
ffc119a8:	7f 85 e3 78 	mr      r5,r28                                 
ffc119ac:	7f a6 eb 78 	mr      r6,r29                                 
ffc119b0:	48 00 a8 79 	bl      ffc1c228 <rtems_rfs_dir_add_entry>     
  if (rc > 0)                                                         
ffc119b4:	7c 75 1b 79 	mr.     r21,r3                                 
ffc119b8:	40 a1 00 28 	ble+    ffc119e0 <rtems_rfs_inode_create+0x26c><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
ffc119bc:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc119c0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc119c4:	4b ff fa a9 	bl      ffc1146c <rtems_rfs_inode_delete>      <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &inode);                               
ffc119c8:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc119cc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc119d0:	4b ff f9 f9 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &parent_inode);                        
ffc119d4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc119d8:	38 81 00 30 	addi    r4,r1,48                               <== NOT EXECUTED
ffc119dc:	48 00 00 78 	b       ffc11a54 <rtems_rfs_inode_create+0x2e0><== NOT EXECUTED
                                                                      
  /*                                                                  
   * If the node is a directory update the parent link count as the   
   * new directory has the '..' link that points to the parent.       
   */                                                                 
  if (RTEMS_RFS_S_ISDIR (mode))                                       
ffc119e0:	2f 98 40 00 	cmpwi   cr7,r24,16384                          
ffc119e4:	40 be 00 48 	bne+    cr7,ffc11a2c <rtems_rfs_inode_create+0x2b8>
    rtems_rfs_inode_set_links (&parent_inode,                         
                               rtems_rfs_inode_get_links (&parent_inode) + 1);
ffc119e8:	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);                  
ffc119ec:	89 69 00 00 	lbz     r11,0(r9)                              
ffc119f0:	88 09 00 01 	lbz     r0,1(r9)                               
ffc119f4:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc119f8:	7d 6b 03 78 	or      r11,r11,r0                             
  if (links == 0xffff)                                                
ffc119fc:	6d 60 ff ff 	xoris   r0,r11,65535                           
ffc11a00:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc11a04:	40 9e 00 08 	bne-    cr7,ffc11a0c <rtems_rfs_inode_create+0x298><== ALWAYS TAKEN
    links = 0;                                                        
ffc11a08:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
  /*                                                                  
   * If the node is a directory update the parent link count as the   
   * new directory has the '..' link that points to the parent.       
   */                                                                 
  if (RTEMS_RFS_S_ISDIR (mode))                                       
    rtems_rfs_inode_set_links (&parent_inode,                         
ffc11a0c:	39 6b 00 01 	addi    r11,r11,1                              
ffc11a10:	55 6b 04 3e 	clrlwi  r11,r11,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);                  
ffc11a14:	55 60 c2 3e 	rlwinm  r0,r11,24,8,31                         
ffc11a18:	98 09 00 00 	stb     r0,0(r9)                               
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc11a1c:	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);                  
ffc11a20:	81 21 00 3c 	lwz     r9,60(r1)                              
ffc11a24:	99 69 00 01 	stb     r11,1(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc11a28:	98 01 00 40 	stb     r0,64(r1)                              
                               rtems_rfs_inode_get_links (&parent_inode) + 1);
                                                                      
  rc = rtems_rfs_inode_close (fs, &parent_inode);                     
ffc11a2c:	38 81 00 30 	addi    r4,r1,48                               
ffc11a30:	7f e3 fb 78 	mr      r3,r31                                 
ffc11a34:	4b ff f9 95 	bl      ffc113c8 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
ffc11a38:	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)                                                         
ffc11a3c:	7c 75 1b 79 	mr.     r21,r3                                 
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
ffc11a40:	7f e3 fb 78 	mr      r3,r31                                 
  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)                                                         
ffc11a44:	40 81 00 18 	ble-    ffc11a5c <rtems_rfs_inode_create+0x2e8><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
ffc11a48:	4b ff fa 25 	bl      ffc1146c <rtems_rfs_inode_delete>      
    rtems_rfs_inode_close (fs, &inode);                               
ffc11a4c:	7f e3 fb 78 	mr      r3,r31                                 
ffc11a50:	38 81 00 08 	addi    r4,r1,8                                
ffc11a54:	4b ff f9 75 	bl      ffc113c8 <rtems_rfs_inode_close>       
    return rc;                                                        
ffc11a58:	48 00 00 2c 	b       ffc11a84 <rtems_rfs_inode_create+0x310>
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc11a5c:	4b ff f9 6d 	bl      ffc113c8 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc11a60:	7c 75 1b 79 	mr.     r21,r3                                 
ffc11a64:	40 81 00 1c 	ble-    ffc11a80 <rtems_rfs_inode_create+0x30c><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_inode_free (fs, *ino);                                  
ffc11a68:	80 99 00 00 	lwz     r4,0(r25)                              <== NOT EXECUTED
ffc11a6c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc11a70:	4b ff f6 85 	bl      ffc110f4 <rtems_rfs_inode_free>        <== NOT EXECUTED
    return rc;                                                        
ffc11a74:	48 00 00 10 	b       ffc11a84 <rtems_rfs_inode_create+0x310><== NOT EXECUTED
    case RTEMS_RFS_S_IFBLK:                                           
    case RTEMS_RFS_S_IFREG:                                           
    case RTEMS_RFS_S_IFLNK:                                           
      break;                                                          
    default:                                                          
      return EINVAL;                                                  
ffc11a78:	3a a0 00 16 	li      r21,22                                 <== NOT EXECUTED
ffc11a7c:	48 00 00 08 	b       ffc11a84 <rtems_rfs_inode_create+0x310><== NOT EXECUTED
  {                                                                   
    rtems_rfs_inode_free (fs, *ino);                                  
    return rc;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
ffc11a80:	3a a0 00 00 	li      r21,0                                  
}                                                                     
ffc11a84:	39 61 00 88 	addi    r11,r1,136                             
ffc11a88:	7e a3 ab 78 	mr      r3,r21                                 
ffc11a8c:	4b ff 10 44 	b       ffc02ad0 <_restgpr_21_x>               
                                                                      

ffc1146c <rtems_rfs_inode_delete>: } int rtems_rfs_inode_delete (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle) {
ffc1146c:	94 21 ff a0 	stwu    r1,-96(r1)                             
ffc11470:	7c 08 02 a6 	mflr    r0                                     
ffc11474:	bf c1 00 58 	stmw    r30,88(r1)                             
ffc11478:	7c 7e 1b 78 	mr      r30,r3                                 
ffc1147c:	7c 9f 23 78 	mr      r31,r4                                 
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_DELETE))                 
ffc11480:	38 60 00 00 	li      r3,0                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_inode_delete (rtems_rfs_file_system*  fs,                   
                        rtems_rfs_inode_handle* handle)               
{                                                                     
ffc11484:	90 01 00 64 	stw     r0,100(r1)                             
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_DELETE))                 
ffc11488:	3c 80 00 80 	lis     r4,128                                 
ffc1148c:	48 00 1c 2d 	bl      ffc130b8 <rtems_rfs_trace>             
ffc11490:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11494:	41 9e 00 38 	beq-    cr7,ffc114cc <rtems_rfs_inode_delete+0x60><== ALWAYS TAKEN
    printf("rtems-rfs: inode-delete: ino:%" PRIu32 " loaded:%s\n",    
ffc11498:	80 1f 00 0c 	lwz     r0,12(r31)                             <== NOT EXECUTED
ffc1149c:	80 9f 00 08 	lwz     r4,8(r31)                              <== NOT EXECUTED
ffc114a0:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc114a4:	41 9e 00 10 	beq-    cr7,ffc114b4 <rtems_rfs_inode_delete+0x48><== NOT EXECUTED
ffc114a8:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc114ac:	38 a5 1f 33 	addi    r5,r5,7987                             <== NOT EXECUTED
ffc114b0:	48 00 00 0c 	b       ffc114bc <rtems_rfs_inode_delete+0x50> <== NOT EXECUTED
ffc114b4:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc114b8:	38 a5 23 c8 	addi    r5,r5,9160                             <== NOT EXECUTED
ffc114bc:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc114c0:	38 63 20 10 	addi    r3,r3,8208                             <== NOT EXECUTED
ffc114c4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc114c8:	48 01 05 c5 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
           rtems_rfs_inode_ino (handle),                              
           rtems_rfs_inode_is_loaded (handle) ? "yes" : "no");        
                                                                      
  if (rtems_rfs_inode_is_loaded (handle))                             
ffc114cc:	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;                                                         
ffc114d0:	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))                             
ffc114d4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc114d8:	41 9e 00 78 	beq-    cr7,ffc11550 <rtems_rfs_inode_delete+0xe4><== NEVER TAKEN
    rtems_rfs_block_map map;                                          
                                                                      
    /*                                                                
     * Free the ino number.                                           
     */                                                               
    rc = rtems_rfs_inode_free (fs, handle->ino);                      
ffc114dc:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc114e0:	7f c3 f3 78 	mr      r3,r30                                 
ffc114e4:	4b ff fc 11 	bl      ffc110f4 <rtems_rfs_inode_free>        
    if (rc > 0)                                                       
ffc114e8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc114ec:	41 a1 00 64 	bgt+    ffc11550 <rtems_rfs_inode_delete+0xe4> <== NEVER TAKEN
      return rc;                                                      
                                                                      
    /*                                                                
     * Free the blocks the inode may have attached.                   
     */                                                               
    rc = rtems_rfs_block_map_open (fs, handle, &map);                 
ffc114f0:	7f c3 f3 78 	mr      r3,r30                                 
ffc114f4:	7f e4 fb 78 	mr      r4,r31                                 
ffc114f8:	38 a1 00 08 	addi    r5,r1,8                                
ffc114fc:	48 00 91 5d 	bl      ffc1a658 <rtems_rfs_block_map_open>    
    if (rc == 0)                                                      
ffc11500:	2c 03 00 00 	cmpwi   r3,0                                   
ffc11504:	40 a2 00 4c 	bne+    ffc11550 <rtems_rfs_inode_delete+0xe4> <== NEVER TAKEN
    {                                                                 
      int rrc;                                                        
      rrc = rtems_rfs_block_map_free_all (fs, &map);                  
ffc11508:	38 81 00 08 	addi    r4,r1,8                                
ffc1150c:	7f c3 f3 78 	mr      r3,r30                                 
ffc11510:	48 00 9d c1 	bl      ffc1b2d0 <rtems_rfs_block_map_free_all>
      rc = rtems_rfs_block_map_close (fs, &map);                      
ffc11514:	38 81 00 08 	addi    r4,r1,8                                
ffc11518:	7f c3 f3 78 	mr      r3,r30                                 
ffc1151c:	48 00 92 f1 	bl      ffc1a80c <rtems_rfs_block_map_close>   
      if (rc > 0)                                                     
        rrc = rc;                                                     
      memset (handle->node, 0xff, RTEMS_RFS_INODE_SIZE);              
ffc11520:	80 7f 00 0c 	lwz     r3,12(r31)                             
ffc11524:	38 80 00 ff 	li      r4,255                                 
ffc11528:	38 a0 00 38 	li      r5,56                                  
ffc1152c:	48 01 03 d1 	bl      ffc218fc <memset>                      
      rtems_rfs_buffer_mark_dirty (&handle->buffer);                  
ffc11530:	38 00 00 01 	li      r0,1                                   
ffc11534:	7f e4 fb 78 	mr      r4,r31                                 
ffc11538:	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);     
ffc1153c:	7f c3 f3 78 	mr      r3,r30                                 
ffc11540:	48 00 9f 45 	bl      ffc1b484 <rtems_rfs_buffer_handle_release>
      handle->loads = 0;                                              
ffc11544:	38 00 00 00 	li      r0,0                                   
ffc11548:	90 1f 00 24 	stw     r0,36(r31)                             
      handle->node = NULL;                                            
ffc1154c:	90 1f 00 0c 	stw     r0,12(r31)                             
    }                                                                 
  }                                                                   
  return rc;                                                          
}                                                                     
ffc11550:	39 61 00 60 	addi    r11,r1,96                              
ffc11554:	4b ff 15 a0 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

ffc1f2e8 <rtems_rfs_inode_get_block.isra.0>: * @return uint32_t The block number. */ static inline uint32_t rtems_rfs_inode_get_block (rtems_rfs_inode_handle* handle, int block) { return rtems_rfs_read_u32 (&handle->node->data.blocks[block]);
ffc1f2e8:	54 80 10 3a 	rlwinm  r0,r4,2,0,29                           <== NOT EXECUTED
ffc1f2ec:	38 84 00 04 	addi    r4,r4,4                                <== NOT EXECUTED
ffc1f2f0:	54 84 10 3a 	rlwinm  r4,r4,2,0,29                           <== NOT EXECUTED
ffc1f2f4:	39 23 00 1c 	addi    r9,r3,28                               <== NOT EXECUTED
ffc1f2f8:	7c 63 22 14 	add     r3,r3,r4                               <== NOT EXECUTED
ffc1f2fc:	7d 29 02 14 	add     r9,r9,r0                               <== NOT EXECUTED
ffc1f300:	88 63 00 0c 	lbz     r3,12(r3)                              <== NOT EXECUTED
ffc1f304:	88 09 00 03 	lbz     r0,3(r9)                               <== NOT EXECUTED
ffc1f308:	54 63 c0 0e 	rlwinm  r3,r3,24,0,7                           <== NOT EXECUTED
ffc1f30c:	7c 03 1b 78 	or      r3,r0,r3                               <== NOT EXECUTED
ffc1f310:	88 09 00 01 	lbz     r0,1(r9)                               <== NOT EXECUTED
ffc1f314:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          <== NOT EXECUTED
ffc1f318:	7c 63 03 78 	or      r3,r3,r0                               <== NOT EXECUTED
ffc1f31c:	88 09 00 02 	lbz     r0,2(r9)                               <== NOT EXECUTED
ffc1f320:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           <== NOT EXECUTED
}                                                                     
ffc1f324:	7c 63 03 78 	or      r3,r3,r0                               <== NOT EXECUTED
ffc1f328:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc11cac <rtems_rfs_inode_get_block.isra.9>: * @return uint32_t The block number. */ static inline uint32_t rtems_rfs_inode_get_block (rtems_rfs_inode_handle* handle, int block) { return rtems_rfs_read_u32 (&handle->node->data.blocks[block]);
ffc11cac:	54 80 10 3a 	rlwinm  r0,r4,2,0,29                           <== NOT EXECUTED
ffc11cb0:	38 84 00 04 	addi    r4,r4,4                                <== NOT EXECUTED
ffc11cb4:	54 84 10 3a 	rlwinm  r4,r4,2,0,29                           <== NOT EXECUTED
ffc11cb8:	39 23 00 1c 	addi    r9,r3,28                               <== NOT EXECUTED
ffc11cbc:	7c 63 22 14 	add     r3,r3,r4                               <== NOT EXECUTED
ffc11cc0:	7d 29 02 14 	add     r9,r9,r0                               <== NOT EXECUTED
ffc11cc4:	88 63 00 0c 	lbz     r3,12(r3)                              <== NOT EXECUTED
ffc11cc8:	88 09 00 03 	lbz     r0,3(r9)                               <== NOT EXECUTED
ffc11ccc:	54 63 c0 0e 	rlwinm  r3,r3,24,0,7                           <== NOT EXECUTED
ffc11cd0:	7c 03 1b 78 	or      r3,r0,r3                               <== NOT EXECUTED
ffc11cd4:	88 09 00 01 	lbz     r0,1(r9)                               <== NOT EXECUTED
ffc11cd8:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          <== NOT EXECUTED
ffc11cdc:	7c 63 03 78 	or      r3,r3,r0                               <== NOT EXECUTED
ffc11ce0:	88 09 00 02 	lbz     r0,2(r9)                               <== NOT EXECUTED
ffc11ce4:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           <== NOT EXECUTED
}                                                                     
ffc11ce8:	7c 63 03 78 	or      r3,r3,r0                               <== NOT EXECUTED
ffc11cec:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1111c <rtems_rfs_inode_load>: } int rtems_rfs_inode_load (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle) {
ffc1111c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc11120:	7c 08 02 a6 	mflr    r0                                     
ffc11124:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc11128:	7c 7e 1b 78 	mr      r30,r3                                 
ffc1112c:	7c 9f 23 78 	mr      r31,r4                                 
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_LOAD))                   
ffc11130:	38 60 00 00 	li      r3,0                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_inode_load (rtems_rfs_file_system*  fs,                     
                      rtems_rfs_inode_handle* handle)                 
{                                                                     
ffc11134:	90 01 00 14 	stw     r0,20(r1)                              
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_LOAD))                   
ffc11138:	3c 80 00 10 	lis     r4,16                                  
ffc1113c:	48 00 1f 7d 	bl      ffc130b8 <rtems_rfs_trace>             
ffc11140:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11144:	41 9e 00 3c 	beq-    cr7,ffc11180 <rtems_rfs_inode_load+0x64><== ALWAYS TAKEN
    printf ("rtems-rfs: inode-load: ino=%" PRIu32 " loads=%i loaded=%s\n",
ffc11148:	80 1f 00 0c 	lwz     r0,12(r31)                             <== NOT EXECUTED
ffc1114c:	80 9f 00 08 	lwz     r4,8(r31)                              <== NOT EXECUTED
ffc11150:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc11154:	80 bf 00 24 	lwz     r5,36(r31)                             <== NOT EXECUTED
ffc11158:	41 9e 00 10 	beq-    cr7,ffc11168 <rtems_rfs_inode_load+0x4c><== NOT EXECUTED
ffc1115c:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc11160:	38 c6 1f 33 	addi    r6,r6,7987                             <== NOT EXECUTED
ffc11164:	48 00 00 0c 	b       ffc11170 <rtems_rfs_inode_load+0x54>   <== NOT EXECUTED
ffc11168:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc1116c:	38 c6 23 c8 	addi    r6,r6,9160                             <== NOT EXECUTED
ffc11170:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc11174:	38 63 1f 37 	addi    r3,r3,7991                             <== NOT EXECUTED
ffc11178:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1117c:	48 01 09 11 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   * An inode does not move so once loaded no need to do again.       
   */                                                                 
                                                                      
  if (!rtems_rfs_inode_is_loaded (handle))                            
ffc11180:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc11184:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11188:	40 be 00 38 	bne+    cr7,ffc111c0 <rtems_rfs_inode_load+0xa4>
  {                                                                   
    int rc;                                                           
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs,&handle->buffer,         
ffc1118c:	80 bf 00 1c 	lwz     r5,28(r31)                             
ffc11190:	7f c3 f3 78 	mr      r3,r30                                 
ffc11194:	38 9f 00 10 	addi    r4,r31,16                              
ffc11198:	38 c0 00 01 	li      r6,1                                   
ffc1119c:	48 00 a4 c9 	bl      ffc1b664 <rtems_rfs_buffer_handle_request>
                                          handle->block, true);       
    if (rc > 0)                                                       
ffc111a0:	2c 03 00 00 	cmpwi   r3,0                                   
ffc111a4:	41 a1 00 2c 	bgt+    ffc111d0 <rtems_rfs_inode_load+0xb4>   <== NEVER TAKEN
      return rc;                                                      
                                                                      
    handle->node = rtems_rfs_buffer_data (&handle->buffer);           
ffc111a8:	81 3f 00 18 	lwz     r9,24(r31)                             
    handle->node += handle->offset;                                   
ffc111ac:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc111b0:	81 29 00 24 	lwz     r9,36(r9)                              
ffc111b4:	1c 00 00 38 	mulli   r0,r0,56                               
ffc111b8:	7c 09 02 14 	add     r0,r9,r0                               
ffc111bc:	90 1f 00 0c 	stw     r0,12(r31)                             
  }                                                                   
                                                                      
  handle->loads++;                                                    
ffc111c0:	81 3f 00 24 	lwz     r9,36(r31)                             
                                                                      
  return 0;                                                           
ffc111c4:	38 60 00 00 	li      r3,0                                   
                                                                      
    handle->node = rtems_rfs_buffer_data (&handle->buffer);           
    handle->node += handle->offset;                                   
  }                                                                   
                                                                      
  handle->loads++;                                                    
ffc111c8:	38 09 00 01 	addi    r0,r9,1                                
ffc111cc:	90 1f 00 24 	stw     r0,36(r31)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc111d0:	39 61 00 10 	addi    r11,r1,16                              
ffc111d4:	4b ff 19 20 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

ffc111d8 <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) {
ffc111d8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc111dc:	7c 08 02 a6 	mflr    r0                                     
ffc111e0:	bf 81 00 08 	stmw    r28,8(r1)                              
ffc111e4:	7c 7f 1b 78 	mr      r31,r3                                 
ffc111e8:	7c 9e 23 78 	mr      r30,r4                                 
  int group;                                                          
  int gino;                                                           
  int index;                                                          
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_OPEN))                   
ffc111ec:	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)                   
{                                                                     
ffc111f0:	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))                   
ffc111f4:	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)                   
{                                                                     
ffc111f8:	7c bd 2b 78 	mr      r29,r5                                 
ffc111fc:	7c dc 33 78 	mr      r28,r6                                 
  int group;                                                          
  int gino;                                                           
  int index;                                                          
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_OPEN))                   
ffc11200:	48 00 1e b9 	bl      ffc130b8 <rtems_rfs_trace>             
ffc11204:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11208:	41 be 00 18 	beq+    cr7,ffc11220 <rtems_rfs_inode_open+0x48><== ALWAYS TAKEN
    printf ("rtems-rfs: inode-open: ino: %" PRIu32 "\n", ino);        
ffc1120c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc11210:	38 63 1f 6a 	addi    r3,r3,8042                             <== NOT EXECUTED
ffc11214:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc11218:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1121c:	48 01 08 71 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                                                                      
  if (ino == RTEMS_RFS_EMPTY_INO)                                     
ffc11220:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return EINVAL;                                                    
ffc11224:	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)                                     
ffc11228:	41 be 00 94 	beq+    cr7,ffc112bc <rtems_rfs_inode_open+0xe4><== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  if ((ino - RTEMS_RFS_ROOT_INO) > rtems_rfs_fs_inodes (fs))          
ffc1122c:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc11230:	39 3e ff ff 	addi    r9,r30,-1                              
ffc11234:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc11238:	41 bd 00 84 	bgt+    cr7,ffc112bc <rtems_rfs_inode_open+0xe4><== NEVER TAKEN
  handle->ino = ino;                                                  
  handle->node = NULL;                                                
  handle->loads = 0;                                                  
                                                                      
  gino  = ino - RTEMS_RFS_ROOT_INO;                                   
  group = gino / fs->group_inodes;                                    
ffc1123c:	81 7f 00 28 	lwz     r11,40(r31)                            
                                                                      
  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)                                              
ffc11240:	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;
ffc11244:	81 1f 00 2c 	lwz     r8,44(r31)                             
                                                                      
  if ((ino - RTEMS_RFS_ROOT_INO) > rtems_rfs_fs_inodes (fs))          
    return EINVAL;                                                    
                                                                      
  handle->ino = ino;                                                  
  handle->node = NULL;                                                
ffc11248:	38 00 00 00 	li      r0,0                                   
  handle->loads = 0;                                                  
                                                                      
  gino  = ino - RTEMS_RFS_ROOT_INO;                                   
  group = gino / fs->group_inodes;                                    
  gino  = gino % fs->group_inodes;                                    
ffc1124c:	7d 49 5b 96 	divwu   r10,r9,r11                             
    return EINVAL;                                                    
                                                                      
  if ((ino - RTEMS_RFS_ROOT_INO) > rtems_rfs_fs_inodes (fs))          
    return EINVAL;                                                    
                                                                      
  handle->ino = ino;                                                  
ffc11250:	93 dd 00 08 	stw     r30,8(r29)                             
  handle->node = NULL;                                                
ffc11254:	90 1d 00 0c 	stw     r0,12(r29)                             
  handle->loads = 0;                                                  
ffc11258:	90 1d 00 24 	stw     r0,36(r29)                             
                                                                      
  gino  = ino - RTEMS_RFS_ROOT_INO;                                   
  group = gino / fs->group_inodes;                                    
  gino  = gino % fs->group_inodes;                                    
ffc1125c:	7d 6a 59 d6 	mullw   r11,r10,r11                            
  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); 
ffc11260:	1d 4a 00 50 	mulli   r10,r10,80                             
  handle->node = NULL;                                                
  handle->loads = 0;                                                  
                                                                      
  gino  = ino - RTEMS_RFS_ROOT_INO;                                   
  group = gino / fs->group_inodes;                                    
  gino  = gino % fs->group_inodes;                                    
ffc11264:	7d 2b 48 50 	subf    r9,r11,r9                              
  index = (gino / fs->inodes_per_block) + RTEMS_RFS_GROUP_INODE_BLOCK;
                                                                      
  handle->offset = gino % fs->inodes_per_block;                       
ffc11268:	7d 69 43 96 	divwu   r11,r9,r8                              
ffc1126c:	7d 0b 41 d6 	mullw   r8,r11,r8                              
  handle->block  = rtems_rfs_group_block (&fs->groups[group], index); 
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &handle->buffer);            
ffc11270:	38 60 00 00 	li      r3,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;                       
ffc11274:	7d 28 48 50 	subf    r9,r8,r9                               
ffc11278:	91 3d 00 20 	stw     r9,32(r29)                             
  handle->block  = rtems_rfs_group_block (&fs->groups[group], index); 
ffc1127c:	81 3f 00 1c 	lwz     r9,28(r31)                             
  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;
ffc11280:	7d 29 50 2e 	lwzx    r9,r9,r10                              
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc11284:	98 1d 00 10 	stb     r0,16(r29)                             
ffc11288:	39 29 00 02 	addi    r9,r9,2                                
                                                                      
  handle->offset = gino % fs->inodes_per_block;                       
  handle->block  = rtems_rfs_group_block (&fs->groups[group], index); 
ffc1128c:	7d 69 5a 14 	add     r11,r9,r11                             
  handle->bnum  = 0;                                                  
ffc11290:	90 1d 00 14 	stw     r0,20(r29)                             
ffc11294:	91 7d 00 1c 	stw     r11,28(r29)                            
  handle->buffer = NULL;                                              
ffc11298:	90 1d 00 18 	stw     r0,24(r29)                             
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &handle->buffer);            
  if ((rc == 0) && load)                                              
ffc1129c:	41 be 00 20 	beq+    cr7,ffc112bc <rtems_rfs_inode_open+0xe4><== NEVER TAKEN
    rc = rtems_rfs_inode_load (fs, handle);                           
  return rc;                                                          
}                                                                     
ffc112a0:	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);                           
ffc112a4:	7f e3 fb 78 	mr      r3,r31                                 
ffc112a8:	7f a4 eb 78 	mr      r4,r29                                 
  return rc;                                                          
}                                                                     
ffc112ac:	bb 81 00 08 	lmw     r28,8(r1)                              
ffc112b0:	7c 08 03 a6 	mtlr    r0                                     
ffc112b4:	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);                           
ffc112b8:	4b ff fe 64 	b       ffc1111c <rtems_rfs_inode_load>        
  return rc;                                                          
}                                                                     
ffc112bc:	39 61 00 18 	addi    r11,r1,24                              <== NOT EXECUTED
ffc112c0:	4b ff 18 2c 	b       ffc02aec <_restgpr_28_x>               <== NOT EXECUTED
                                                                      

ffc0fd38 <rtems_rfs_inode_overhead>: /** * Return the inode overhead given a number of inodes. */ static int rtems_rfs_inode_overhead (rtems_rfs_file_system* fs) {
ffc0fd38:	94 21 ff f0 	stwu    r1,-16(r1)                             <== NOT EXECUTED
ffc0fd3c:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc0fd40:	90 01 00 14 	stw     r0,20(r1)                              <== NOT EXECUTED
ffc0fd44:	bf c1 00 08 	stmw    r30,8(r1)                              <== NOT EXECUTED
ffc0fd48:	7c 7f 1b 78 	mr      r31,r3                                 <== 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));      
ffc0fd4c:	83 c3 00 08 	lwz     r30,8(r3)                              <== 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,
ffc0fd50:	80 63 00 28 	lwz     r3,40(r3)                              <== NOT EXECUTED
ffc0fd54:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc0fd58:	1c 63 00 38 	mulli   r3,r3,56                               <== NOT EXECUTED
ffc0fd5c:	4b ff ff bd 	bl      ffc0fd18 <rtems_rfs_rup_quotient>      <== 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))
ffc0fd60:	81 3f 00 04 	lwz     r9,4(r31)                              <== 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));  
ffc0fd64:	57 de 18 38 	rlwinm  r30,r30,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))
ffc0fd68:	38 09 ff ff 	addi    r0,r9,-1                               <== NOT EXECUTED
ffc0fd6c:	7f 9e 00 40 	cmplw   cr7,r30,r0                             <== NOT EXECUTED
ffc0fd70:	41 bd 00 08 	bgt+    cr7,ffc0fd78 <rtems_rfs_inode_overhead+0x40><== 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));  
ffc0fd74:	7f c0 f3 78 	mr      r0,r30                                 <== 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))
    bits_per_block = rtems_rfs_fs_blocks (fs) - RTEMS_RFS_SUPERBLOCK_SIZE;
  return ((blocks + 1) * 100 * 10) / bits_per_block;                  
ffc0fd78:	38 63 00 01 	addi    r3,r3,1                                <== NOT EXECUTED
ffc0fd7c:	1c 63 03 e8 	mulli   r3,r3,1000                             <== NOT EXECUTED
}                                                                     
ffc0fd80:	39 61 00 10 	addi    r11,r1,16                              <== NOT EXECUTED
ffc0fd84:	7c 63 03 d6 	divw    r3,r3,r0                               <== NOT EXECUTED
ffc0fd88:	4b ff 2d 6c 	b       ffc02af4 <_restgpr_30_x>               <== NOT EXECUTED
                                                                      

ffc11af8 <rtems_rfs_inode_set_block>: * @param bno The block number. */ static inline void rtems_rfs_inode_set_block (rtems_rfs_inode_handle* handle, int block, uint32_t bno) { rtems_rfs_write_u32 (&handle->node->data.blocks[block], bno);
ffc11af8:	80 03 00 0c 	lwz     r0,12(r3)                              <== NOT EXECUTED
ffc11afc:	39 24 00 04 	addi    r9,r4,4                                <== NOT EXECUTED
ffc11b00:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           <== NOT EXECUTED
ffc11b04:	7d 20 4a 14 	add     r9,r0,r9                               <== NOT EXECUTED
ffc11b08:	54 a0 46 3e 	rlwinm  r0,r5,8,24,31                          <== NOT EXECUTED
ffc11b0c:	98 09 00 0c 	stb     r0,12(r9)                              <== NOT EXECUTED
ffc11b10:	54 84 10 3a 	rlwinm  r4,r4,2,0,29                           <== NOT EXECUTED
ffc11b14:	54 a0 84 3e 	rlwinm  r0,r5,16,16,31                         <== NOT EXECUTED
ffc11b18:	81 23 00 0c 	lwz     r9,12(r3)                              <== NOT EXECUTED
ffc11b1c:	7d 29 22 14 	add     r9,r9,r4                               <== NOT EXECUTED
ffc11b20:	98 09 00 1d 	stb     r0,29(r9)                              <== NOT EXECUTED
ffc11b24:	54 a0 c2 3e 	rlwinm  r0,r5,24,8,31                          <== NOT EXECUTED
ffc11b28:	81 23 00 0c 	lwz     r9,12(r3)                              <== NOT EXECUTED
ffc11b2c:	7d 29 22 14 	add     r9,r9,r4                               <== NOT EXECUTED
ffc11b30:	98 09 00 1e 	stb     r0,30(r9)                              <== NOT EXECUTED
ffc11b34:	80 03 00 0c 	lwz     r0,12(r3)                              <== NOT EXECUTED
ffc11b38:	7c 80 22 14 	add     r4,r0,r4                               <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc11b3c:	38 00 00 01 	li      r0,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);       
ffc11b40:	98 a4 00 1f 	stb     r5,31(r4)                              <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc11b44:	98 03 00 10 	stb     r0,16(r3)                              <== NOT EXECUTED
}                                                                     
ffc11b48:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc11558 <rtems_rfs_inode_time_stamp_now>: int rtems_rfs_inode_time_stamp_now (rtems_rfs_inode_handle* handle, bool atime, bool mtime) {
ffc11558:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1155c:	7c 08 02 a6 	mflr    r0                                     
ffc11560:	90 01 00 1c 	stw     r0,28(r1)                              
  time_t now;                                                         
  if (!rtems_rfs_inode_is_loaded (handle))                            
ffc11564:	80 03 00 0c 	lwz     r0,12(r3)                              
                                                                      
int                                                                   
rtems_rfs_inode_time_stamp_now (rtems_rfs_inode_handle* handle,       
                                bool                    atime,        
                                bool                    mtime)        
{                                                                     
ffc11568:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc1156c:	7c 7f 1b 78 	mr      r31,r3                                 
  time_t now;                                                         
  if (!rtems_rfs_inode_is_loaded (handle))                            
ffc11570:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
int                                                                   
rtems_rfs_inode_time_stamp_now (rtems_rfs_inode_handle* handle,       
                                bool                    atime,        
                                bool                    mtime)        
{                                                                     
ffc11574:	7c 9e 23 78 	mr      r30,r4                                 
ffc11578:	7c bd 2b 78 	mr      r29,r5                                 
  time_t now;                                                         
  if (!rtems_rfs_inode_is_loaded (handle))                            
    return ENXIO;                                                     
ffc1157c:	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))                            
ffc11580:	41 9e 00 8c 	beq-    cr7,ffc1160c <rtems_rfs_inode_time_stamp_now+0xb4><== NEVER TAKEN
    return ENXIO;                                                     
  now = time (NULL);                                                  
ffc11584:	38 60 00 00 	li      r3,0                                   
ffc11588:	48 01 3d 85 	bl      ffc2530c <time>                        
  if (atime)                                                          
ffc1158c:	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);                                                  
ffc11590:	7c 60 1b 78 	mr      r0,r3                                  
  if (atime)                                                          
ffc11594:	41 9e 00 38 	beq-    cr7,ffc115cc <rtems_rfs_inode_time_stamp_now+0x74><== 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);                  
ffc11598:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc1159c:	54 6b 46 3e 	rlwinm  r11,r3,8,24,31                         
ffc115a0:	99 69 00 10 	stb     r11,16(r9)                             
ffc115a4:	54 6b 84 3e 	rlwinm  r11,r3,16,16,31                        
ffc115a8:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc115ac:	99 69 00 11 	stb     r11,17(r9)                             
ffc115b0:	54 6b c2 3e 	rlwinm  r11,r3,24,8,31                         
ffc115b4:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc115b8:	99 69 00 12 	stb     r11,18(r9)                             
ffc115bc:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc115c0:	98 69 00 13 	stb     r3,19(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc115c4:	39 20 00 01 	li      r9,1                                   
ffc115c8:	99 3f 00 10 	stb     r9,16(r31)                             
    rtems_rfs_inode_set_atime (handle, now);                          
  if (mtime)                                                          
ffc115cc:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
    rtems_rfs_inode_set_mtime (handle, now);                          
  return 0;                                                           
ffc115d0:	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)                                                          
ffc115d4:	41 9e 00 38 	beq-    cr7,ffc1160c <rtems_rfs_inode_time_stamp_now+0xb4><== 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);                  
ffc115d8:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc115dc:	54 0b 46 3e 	rlwinm  r11,r0,8,24,31                         
ffc115e0:	99 69 00 14 	stb     r11,20(r9)                             
ffc115e4:	54 0b 84 3e 	rlwinm  r11,r0,16,16,31                        
ffc115e8:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc115ec:	99 69 00 15 	stb     r11,21(r9)                             
ffc115f0:	54 0b c2 3e 	rlwinm  r11,r0,24,8,31                         
ffc115f4:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc115f8:	99 69 00 16 	stb     r11,22(r9)                             
ffc115fc:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc11600:	98 09 00 17 	stb     r0,23(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc11604:	38 00 00 01 	li      r0,1                                   
ffc11608:	98 1f 00 10 	stb     r0,16(r31)                             
    rtems_rfs_inode_set_mtime (handle, now);                          
  return 0;                                                           
}                                                                     
ffc1160c:	39 61 00 18 	addi    r11,r1,24                              
ffc11610:	4b ff 14 e0 	b       ffc02af0 <_restgpr_29_x>               
                                                                      

ffc112c4 <rtems_rfs_inode_unload>: int rtems_rfs_inode_unload (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle, bool update_ctime) {
ffc112c4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc112c8:	7c 08 02 a6 	mflr    r0                                     
ffc112cc:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc112d0:	7c 7e 1b 78 	mr      r30,r3                                 
ffc112d4:	7c 9f 23 78 	mr      r31,r4                                 
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_UNLOAD))                 
ffc112d8:	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)         
{                                                                     
ffc112dc:	90 01 00 1c 	stw     r0,28(r1)                              
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_UNLOAD))                 
ffc112e0:	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)         
{                                                                     
ffc112e4:	7c bd 2b 78 	mr      r29,r5                                 
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_UNLOAD))                 
ffc112e8:	48 00 1d d1 	bl      ffc130b8 <rtems_rfs_trace>             
ffc112ec:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc112f0:	41 9e 00 3c 	beq-    cr7,ffc1132c <rtems_rfs_inode_unload+0x68><== ALWAYS TAKEN
    printf ("rtems-rfs: inode-unload: ino=%" PRIu32 " loads=%i loaded=%s\n",
ffc112f4:	80 1f 00 0c 	lwz     r0,12(r31)                             <== NOT EXECUTED
ffc112f8:	80 9f 00 08 	lwz     r4,8(r31)                              <== NOT EXECUTED
ffc112fc:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc11300:	80 bf 00 24 	lwz     r5,36(r31)                             <== NOT EXECUTED
ffc11304:	41 9e 00 10 	beq-    cr7,ffc11314 <rtems_rfs_inode_unload+0x50><== NOT EXECUTED
ffc11308:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc1130c:	38 c6 1f 33 	addi    r6,r6,7987                             <== NOT EXECUTED
ffc11310:	48 00 00 0c 	b       ffc1131c <rtems_rfs_inode_unload+0x58> <== NOT EXECUTED
ffc11314:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc11318:	38 c6 23 c8 	addi    r6,r6,9160                             <== NOT EXECUTED
ffc1131c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc11320:	38 63 1f 8b 	addi    r3,r3,8075                             <== NOT EXECUTED
ffc11324:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc11328:	48 01 07 65 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            handle->ino, handle->loads,                               
            rtems_rfs_inode_is_loaded (handle) ? "yes" : "no");       
                                                                      
  if (rtems_rfs_inode_is_loaded (handle))                             
ffc1132c:	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;                                                         
ffc11330:	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))                             
ffc11334:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11338:	41 9e 00 88 	beq-    cr7,ffc113c0 <rtems_rfs_inode_unload+0xfc>
  {                                                                   
    if (handle->loads == 0)                                           
ffc1133c:	81 3f 00 24 	lwz     r9,36(r31)                             
      return EIO;                                                     
ffc11340:	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)                                           
ffc11344:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11348:	41 be 00 78 	beq+    cr7,ffc113c0 <rtems_rfs_inode_unload+0xfc><== NEVER TAKEN
      return EIO;                                                     
                                                                      
    handle->loads--;                                                  
ffc1134c:	38 09 ff ff 	addi    r0,r9,-1                               
                                                                      
    if (handle->loads == 0)                                           
ffc11350:	2f 80 00 00 	cmpwi   cr7,r0,0                               
  if (rtems_rfs_inode_is_loaded (handle))                             
  {                                                                   
    if (handle->loads == 0)                                           
      return EIO;                                                     
                                                                      
    handle->loads--;                                                  
ffc11354:	90 1f 00 24 	stw     r0,36(r31)                             
int                                                                   
rtems_rfs_inode_unload (rtems_rfs_file_system*  fs,                   
                        rtems_rfs_inode_handle* handle,               
                        bool                    update_ctime)         
{                                                                     
  int rc = 0;                                                         
ffc11358:	38 60 00 00 	li      r3,0                                   
    if (handle->loads == 0)                                           
      return EIO;                                                     
                                                                      
    handle->loads--;                                                  
                                                                      
    if (handle->loads == 0)                                           
ffc1135c:	40 9e 00 64 	bne-    cr7,ffc113c0 <rtems_rfs_inode_unload+0xfc>
    {                                                                 
      /*                                                              
       * If the buffer is dirty it will be release. Also set the ctime.
       */                                                             
      if (rtems_rfs_buffer_dirty (&handle->buffer) && update_ctime)   
ffc11360:	88 1f 00 10 	lbz     r0,16(r31)                             
ffc11364:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc11368:	41 9e 00 44 	beq-    cr7,ffc113ac <rtems_rfs_inode_unload+0xe8>
ffc1136c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc11370:	41 be 00 3c 	beq+    cr7,ffc113ac <rtems_rfs_inode_unload+0xe8><== NEVER TAKEN
        rtems_rfs_inode_set_ctime (handle, time (NULL));              
ffc11374:	48 01 3f 99 	bl      ffc2530c <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);                  
ffc11378:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc1137c:	54 60 46 3e 	rlwinm  r0,r3,8,24,31                          
ffc11380:	98 09 00 18 	stb     r0,24(r9)                              
ffc11384:	54 60 84 3e 	rlwinm  r0,r3,16,16,31                         
ffc11388:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc1138c:	98 09 00 19 	stb     r0,25(r9)                              
ffc11390:	54 60 c2 3e 	rlwinm  r0,r3,24,8,31                          
ffc11394:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc11398:	98 09 00 1a 	stb     r0,26(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc1139c:	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);                  
ffc113a0:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc113a4:	98 69 00 1b 	stb     r3,27(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc113a8:	98 1f 00 10 	stb     r0,16(r31)                             
      rc = rtems_rfs_buffer_handle_release (fs, &handle->buffer);     
ffc113ac:	7f c3 f3 78 	mr      r3,r30                                 
ffc113b0:	38 9f 00 10 	addi    r4,r31,16                              
ffc113b4:	48 00 a0 d1 	bl      ffc1b484 <rtems_rfs_buffer_handle_release>
      handle->node = NULL;                                            
ffc113b8:	38 00 00 00 	li      r0,0                                   
ffc113bc:	90 1f 00 0c 	stw     r0,12(r31)                             
    }                                                                 
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc113c0:	39 61 00 18 	addi    r11,r1,24                              
ffc113c4:	4b ff 17 2c 	b       ffc02af0 <_restgpr_29_x>               
                                                                      

ffc1e64c <rtems_rfs_link>: const char* name, int length, rtems_rfs_ino parent, rtems_rfs_ino target, bool link_dir) {
ffc1e64c:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc1e650:	7c 08 02 a6 	mflr    r0                                     
ffc1e654:	bf 21 00 5c 	stmw    r25,92(r1)                             
ffc1e658:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1e65c:	7c 9d 23 78 	mr      r29,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))                         
ffc1e660:	38 60 00 00 	li      r3,0                                   
                const char*            name,                          
                int                    length,                        
                rtems_rfs_ino          parent,                        
                rtems_rfs_ino          target,                        
                bool                   link_dir)                      
{                                                                     
ffc1e664:	90 01 00 7c 	stw     r0,124(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))                         
ffc1e668:	3c 80 01 00 	lis     r4,256                                 
                const char*            name,                          
                int                    length,                        
                rtems_rfs_ino          parent,                        
                rtems_rfs_ino          target,                        
                bool                   link_dir)                      
{                                                                     
ffc1e66c:	7c be 2b 78 	mr      r30,r5                                 
ffc1e670:	7c dc 33 78 	mr      r28,r6                                 
ffc1e674:	7c fb 3b 78 	mr      r27,r7                                 
ffc1e678:	7d 1a 43 78 	mr      r26,r8                                 
  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))                         
ffc1e67c:	4b ff 4a 3d 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1e680:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1e684:	41 be 00 48 	beq+    cr7,ffc1e6cc <rtems_rfs_link+0x80>     <== ALWAYS TAKEN
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: link: parent(%" PRIu32 ") -> ", parent);      
ffc1e688:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1e68c:	38 63 3d 3a 	addi    r3,r3,15674                            <== NOT EXECUTED
ffc1e690:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc1e694:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1e698:	48 00 33 f5 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
    for (c = 0; c < length; c++)                                      
ffc1e69c:	3b 20 00 00 	li      r25,0                                  <== NOT EXECUTED
ffc1e6a0:	48 00 00 10 	b       ffc1e6b0 <rtems_rfs_link+0x64>         <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc1e6a4:	7c 7d c8 ae 	lbzx    r3,r29,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++)                                      
ffc1e6a8:	3b 39 00 01 	addi    r25,r25,1                              <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc1e6ac:	48 00 34 9d 	bl      ffc21b48 <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++)                                      
ffc1e6b0:	7f 99 f0 00 	cmpw    cr7,r25,r30                            <== NOT EXECUTED
ffc1e6b4:	41 9c ff f0 	blt+    cr7,ffc1e6a4 <rtems_rfs_link+0x58>     <== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf ("(%" PRIu32 ")\n", target);                               
ffc1e6b8:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1e6bc:	38 63 3d 7f 	addi    r3,r3,15743                            <== NOT EXECUTED
ffc1e6c0:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc1e6c4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1e6c8:	48 00 33 c5 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, target, &target_inode, true);        
ffc1e6cc:	7f e3 fb 78 	mr      r3,r31                                 
ffc1e6d0:	7f 64 db 78 	mr      r4,r27                                 
ffc1e6d4:	38 a1 00 08 	addi    r5,r1,8                                
ffc1e6d8:	38 c0 00 01 	li      r6,1                                   
ffc1e6dc:	4b ff 2a fd 	bl      ffc111d8 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc1e6e0:	7c 79 1b 79 	mr.     r25,r3                                 
ffc1e6e4:	40 82 01 08 	bne-    ffc1e7ec <rtems_rfs_link+0x1a0>        <== 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)))
ffc1e6e8:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc1e6ec:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  /*                                                                  
   * 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)))
ffc1e6f0:	40 9e 00 28 	bne-    cr7,ffc1e718 <rtems_rfs_link+0xcc>     <== NEVER TAKEN
ffc1e6f4:	81 21 00 14 	lwz     r9,20(r1)                              
ffc1e6f8:	88 09 00 02 	lbz     r0,2(r9)                               
ffc1e6fc:	54 00 44 26 	rlwinm  r0,r0,8,16,19                          
ffc1e700:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
ffc1e704:	40 be 00 14 	bne+    cr7,ffc1e718 <rtems_rfs_link+0xcc>     <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc1e708:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc1e70c:	4b ff 2c bd 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
    return ENOTSUP;                                                   
ffc1e710:	3b 20 00 86 	li      r25,134                                <== NOT EXECUTED
ffc1e714:	48 00 00 d8 	b       ffc1e7ec <rtems_rfs_link+0x1a0>        <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
ffc1e718:	7f 84 e3 78 	mr      r4,r28                                 
ffc1e71c:	38 a1 00 30 	addi    r5,r1,48                               
ffc1e720:	38 c0 00 01 	li      r6,1                                   
ffc1e724:	4b ff 2a b5 	bl      ffc111d8 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc1e728:	7c 79 1b 79 	mr.     r25,r3                                 
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc1e72c:	7f e3 fb 78 	mr      r3,r31                                 
    rtems_rfs_inode_close (fs, &target_inode);                        
    return ENOTSUP;                                                   
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
  if (rc)                                                             
ffc1e730:	40 82 00 30 	bne-    ffc1e760 <rtems_rfs_link+0x114>        <== NEVER TAKEN
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &parent_inode, name, length, target);
ffc1e734:	38 81 00 30 	addi    r4,r1,48                               
ffc1e738:	7f a5 eb 78 	mr      r5,r29                                 
ffc1e73c:	7f c6 f3 78 	mr      r6,r30                                 
ffc1e740:	7f 67 db 78 	mr      r7,r27                                 
ffc1e744:	4b ff da e5 	bl      ffc1c228 <rtems_rfs_dir_add_entry>     
  if (rc > 0)                                                         
ffc1e748:	7c 79 1b 79 	mr.     r25,r3                                 
ffc1e74c:	40 a1 00 20 	ble+    ffc1e76c <rtems_rfs_link+0x120>        <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_inode_close (fs, &parent_inode);                        
ffc1e750:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1e754:	38 81 00 30 	addi    r4,r1,48                               <== NOT EXECUTED
ffc1e758:	4b ff 2c 71 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc1e75c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1e760:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc1e764:	4b ff 2c 65 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
    return rc;                                                        
ffc1e768:	48 00 00 84 	b       ffc1e7ec <rtems_rfs_link+0x1a0>        <== NOT EXECUTED
  }                                                                   
                                                                      
  links = rtems_rfs_inode_get_links (&target_inode) + 1;              
ffc1e76c:	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);                  
ffc1e770:	89 69 00 00 	lbz     r11,0(r9)                              
ffc1e774:	88 09 00 01 	lbz     r0,1(r9)                               
ffc1e778:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc1e77c:	7d 6b 03 78 	or      r11,r11,r0                             
  if (links == 0xffff)                                                
ffc1e780:	6d 60 ff ff 	xoris   r0,r11,65535                           
ffc1e784:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc1e788:	40 9e 00 08 	bne-    cr7,ffc1e790 <rtems_rfs_link+0x144>    <== ALWAYS TAKEN
    links = 0;                                                        
ffc1e78c:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
ffc1e790:	39 6b 00 01 	addi    r11,r11,1                              
ffc1e794:	55 6b 04 3e 	clrlwi  r11,r11,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);                  
ffc1e798:	55 60 c2 3e 	rlwinm  r0,r11,24,8,31                         
ffc1e79c:	98 09 00 00 	stb     r0,0(r9)                               
  rtems_rfs_inode_set_links (&target_inode, links);                   
                                                                      
  rc = rtems_rfs_inode_time_stamp_now (&parent_inode, true, true);    
ffc1e7a0:	38 80 00 01 	li      r4,1                                   
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc1e7a4:	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);                  
ffc1e7a8:	81 21 00 14 	lwz     r9,20(r1)                              
ffc1e7ac:	38 61 00 30 	addi    r3,r1,48                               
ffc1e7b0:	38 a0 00 01 	li      r5,1                                   
ffc1e7b4:	99 69 00 01 	stb     r11,1(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc1e7b8:	98 01 00 18 	stb     r0,24(r1)                              
ffc1e7bc:	4b ff 2d 9d 	bl      ffc11558 <rtems_rfs_inode_time_stamp_now>
  if (rc > 0)                                                         
ffc1e7c0:	7c 79 1b 79 	mr.     r25,r3                                 
  {                                                                   
    rtems_rfs_inode_close (fs, &parent_inode);                        
ffc1e7c4:	38 81 00 30 	addi    r4,r1,48                               
ffc1e7c8:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  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)                                                         
ffc1e7cc:	41 81 ff 8c 	bgt+    ffc1e758 <rtems_rfs_link+0x10c>        <== NEVER TAKEN
    rtems_rfs_inode_close (fs, &parent_inode);                        
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &parent_inode);                     
ffc1e7d0:	4b ff 2b f9 	bl      ffc113c8 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc1e7d4:	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)                                                         
ffc1e7d8:	7c 79 1b 79 	mr.     r25,r3                                 
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc1e7dc:	7f e3 fb 78 	mr      r3,r31                                 
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &parent_inode);                     
  if (rc > 0)                                                         
ffc1e7e0:	41 81 ff 84 	bgt+    ffc1e764 <rtems_rfs_link+0x118>        <== NEVER TAKEN
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &target_inode);                     
ffc1e7e4:	4b ff 2b e5 	bl      ffc113c8 <rtems_rfs_inode_close>       
ffc1e7e8:	7c 79 1b 78 	mr      r25,r3                                 
                                                                      
  return rc;                                                          
}                                                                     
ffc1e7ec:	39 61 00 78 	addi    r11,r1,120                             
ffc1e7f0:	7f 23 cb 78 	mr      r3,r25                                 
ffc1e7f4:	4b fe 42 ec 	b       ffc02ae0 <_restgpr_25_x>               
                                                                      

ffc1f008 <rtems_rfs_mutex_create>: RTEMS_NO_INHERIT_PRIORITY | RTEMS_NO_PRIORITY_CEILING | RTEMS_LOCAL) #endif int rtems_rfs_mutex_create (rtems_rfs_mutex* mutex) {
ffc1f008:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1f00c:	7c 08 02 a6 	mflr    r0                                     
ffc1f010:	7c 67 1b 78 	mr      r7,r3                                  
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_create (rtems_build_name ('R', 'F', 'S', 'm'), 
ffc1f014:	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)                       
{                                                                     
ffc1f018:	bf c1 00 08 	stmw    r30,8(r1)                              
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_create (rtems_build_name ('R', 'F', 'S', 'm'), 
ffc1f01c:	60 63 53 6d 	ori     r3,r3,21357                            
ffc1f020:	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)                       
{                                                                     
ffc1f024:	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'), 
ffc1f028:	38 a0 00 24 	li      r5,36                                  
ffc1f02c:	38 c0 00 00 	li      r6,0                                   
ffc1f030:	4b fe ca 4d 	bl      ffc0ba7c <rtems_semaphore_create>      
      printf ("rtems-rfs: mutex: open failed: %s\n",                  
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
ffc1f034:	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)                                         
ffc1f038:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1f03c:	41 a2 00 38 	beq+    ffc1f074 <rtems_rfs_mutex_create+0x6c> <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc1f040:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1f044:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc1f048:	4b ff 40 71 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: mutex: open failed: %s\n",                  
              rtems_status_text (sc));                                
    return EIO;                                                       
ffc1f04c:	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))                      
ffc1f050:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1f054:	41 be 00 20 	beq+    cr7,ffc1f074 <rtems_rfs_mutex_create+0x6c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: open failed: %s\n",                  
ffc1f058:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1f05c:	4b ff 7f b5 	bl      ffc17010 <rtems_status_text>           <== NOT EXECUTED
ffc1f060:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc1f064:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1f068:	38 63 3f 58 	addi    r3,r3,16216                            <== NOT EXECUTED
ffc1f06c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1f070:	48 00 2a 1d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
}                                                                     
ffc1f074:	39 61 00 10 	addi    r11,r1,16                              
ffc1f078:	7f e3 fb 78 	mr      r3,r31                                 
ffc1f07c:	4b fe 3a 78 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

ffc1f080 <rtems_rfs_mutex_destroy>: int rtems_rfs_mutex_destroy (rtems_rfs_mutex* mutex) {
ffc1f080:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1f084:	7c 08 02 a6 	mflr    r0                                     
ffc1f088:	90 01 00 14 	stw     r0,20(r1)                              
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_delete (*mutex);                               
ffc1f08c:	80 63 00 00 	lwz     r3,0(r3)                               
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_mutex_destroy (rtems_rfs_mutex* mutex)                      
{                                                                     
ffc1f090:	bf c1 00 08 	stmw    r30,8(r1)                              
      printf ("rtems-rfs: mutex: close failed: %s\n",                 
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
ffc1f094:	3b e0 00 00 	li      r31,0                                  
int                                                                   
rtems_rfs_mutex_destroy (rtems_rfs_mutex* mutex)                      
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_delete (*mutex);                               
ffc1f098:	4b fe cb a1 	bl      ffc0bc38 <rtems_semaphore_delete>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc1f09c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1f0a0:	41 a2 00 38 	beq+    ffc1f0d8 <rtems_rfs_mutex_destroy+0x58><== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc1f0a4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1f0a8:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc1f0ac:	4b ff 40 0d 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: mutex: close failed: %s\n",                 
              rtems_status_text (sc));                                
    return EIO;                                                       
ffc1f0b0:	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))                      
ffc1f0b4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1f0b8:	41 be 00 20 	beq+    cr7,ffc1f0d8 <rtems_rfs_mutex_destroy+0x58><== NOT EXECUTED
      printf ("rtems-rfs: mutex: close failed: %s\n",                 
ffc1f0bc:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1f0c0:	4b ff 7f 51 	bl      ffc17010 <rtems_status_text>           <== NOT EXECUTED
ffc1f0c4:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc1f0c8:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1f0cc:	38 63 3f 7b 	addi    r3,r3,16251                            <== NOT EXECUTED
ffc1f0d0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1f0d4:	48 00 29 b9 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
}                                                                     
ffc1f0d8:	39 61 00 10 	addi    r11,r1,16                              
ffc1f0dc:	7f e3 fb 78 	mr      r3,r31                                 
ffc1f0e0:	4b fe 3a 14 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

ffc11cf0 <rtems_rfs_mutex_lock.isra.15>: * @param mutex The mutex to lock. * @retval true The mutex is locked. * @retval false The mutex could not be locked. */ static inline int rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)
ffc11cf0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc11cf4:	7c 08 02 a6 	mflr    r0                                     
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
ffc11cf8:	38 80 00 00 	li      r4,0                                   
ffc11cfc:	38 a0 00 00 	li      r5,0                                   
 * @param mutex The mutex to lock.                                    
 * @retval true The mutex is locked.                                  
 * @retval false The mutex could not be locked.                       
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
ffc11d00:	bf c1 00 08 	stmw    r30,8(r1)                              
              rtems_status_text (sc));                                
#endif                                                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
ffc11d04:	3b e0 00 00 	li      r31,0                                  
 * @param mutex The mutex to lock.                                    
 * @retval true The mutex is locked.                                  
 * @retval false The mutex could not be locked.                       
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
ffc11d08:	90 01 00 14 	stw     r0,20(r1)                              
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
ffc11d0c:	4b ff 9f e5 	bl      ffc0bcf0 <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc11d10:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc11d14:	41 a2 00 38 	beq+    ffc11d4c <rtems_rfs_mutex_lock.isra.15+0x5c><== ALWAYS TAKEN
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc11d18:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc11d1c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc11d20:	48 00 13 99 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
              rtems_status_text (sc));                                
#endif                                                                
    return EIO;                                                       
ffc11d24:	3b e0 00 05 	li      r31,5                                  <== 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))                      
ffc11d28:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc11d2c:	41 be 00 20 	beq+    cr7,ffc11d4c <rtems_rfs_mutex_lock.isra.15+0x5c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc11d30:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc11d34:	48 00 52 dd 	bl      ffc17010 <rtems_status_text>           <== NOT EXECUTED
ffc11d38:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc11d3c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc11d40:	38 63 21 36 	addi    r3,r3,8502                             <== NOT EXECUTED
ffc11d44:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc11d48:	48 00 fd 45 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
#endif                                                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
}                                                                     
ffc11d4c:	39 61 00 10 	addi    r11,r1,16                              
ffc11d50:	7f e3 fb 78 	mr      r3,r31                                 
ffc11d54:	4b ff 0d a0 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

ffc1b2d8 <rtems_rfs_release_chain>: static int rtems_rfs_release_chain (rtems_chain_control* chain, uint32_t* count, bool modified) {
ffc1b2d8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1b2dc:	7c 08 02 a6 	mflr    r0                                     
ffc1b2e0:	bf 41 00 08 	stmw    r26,8(r1)                              
ffc1b2e4:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1b2e8:	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))                
ffc1b2ec:	38 60 00 00 	li      r3,0                                   
                                                                      
static int                                                            
rtems_rfs_release_chain (rtems_chain_control* chain,                  
                         uint32_t*            count,                  
                         bool                 modified)               
{                                                                     
ffc1b2f0:	90 01 00 24 	stw     r0,36(r1)                              
  rtems_rfs_buffer* buffer;                                           
  int               rrc = 0;                                          
  int               rc;                                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
ffc1b2f4:	38 80 00 80 	li      r4,128                                 
                                                                      
static int                                                            
rtems_rfs_release_chain (rtems_chain_control* chain,                  
                         uint32_t*            count,                  
                         bool                 modified)               
{                                                                     
ffc1b2f8:	7c ba 2b 78 	mr      r26,r5                                 
  rtems_rfs_buffer* buffer;                                           
  int               rrc = 0;                                          
  int               rc;                                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
ffc1b2fc:	4b ff 7d bd 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1b300:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1b304:	41 be 00 18 	beq+    cr7,ffc1b31c <rtems_rfs_release_chain+0x44><== ALWAYS TAKEN
    printf ("rtems-rfs: release-chain: count=%" PRIu32 "\n", *count); 
ffc1b308:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1b30c:	80 9e 00 00 	lwz     r4,0(r30)                              <== NOT EXECUTED
ffc1b310:	38 63 2b d0 	addi    r3,r3,11216                            <== NOT EXECUTED
ffc1b314:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1b318:	48 00 67 75 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
    (*count)--;                                                       
                                                                      
    buffer->user = (void*) 0;                                         
                                                                      
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
    if ((rc > 0) && (rrc == 0))                                       
ffc1b31c:	3b a0 00 00 	li      r29,0                                  
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc1b320:	3b 7f 00 04 	addi    r27,r31,4                              
  while (!rtems_chain_is_empty (chain))                               
  {                                                                   
    buffer = (rtems_rfs_buffer*) rtems_chain_get (chain);             
    (*count)--;                                                       
                                                                      
    buffer->user = (void*) 0;                                         
ffc1b324:	3b 80 00 00 	li      r28,0                                  
ffc1b328:	48 00 00 38 	b       ffc1b360 <rtems_rfs_release_chain+0x88>
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc1b32c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1b330:	4b ff 16 e5 	bl      ffc0ca14 <_Chain_Get>                  
    printf ("rtems-rfs: release-chain: count=%" PRIu32 "\n", *count); 
                                                                      
  while (!rtems_chain_is_empty (chain))                               
  {                                                                   
    buffer = (rtems_rfs_buffer*) rtems_chain_get (chain);             
    (*count)--;                                                       
ffc1b334:	81 7e 00 00 	lwz     r11,0(r30)                             
                                                                      
    buffer->user = (void*) 0;                                         
                                                                      
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
ffc1b338:	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)--;                                                       
ffc1b33c:	38 0b ff ff 	addi    r0,r11,-1                              
ffc1b340:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
    buffer->user = (void*) 0;                                         
ffc1b344:	93 83 00 3c 	stw     r28,60(r3)                             
                                                                      
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
ffc1b348:	48 00 53 4d 	bl      ffc20694 <rtems_rfs_buffer_bdbuf_release>
    if ((rc > 0) && (rrc == 0))                                       
ffc1b34c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1b350:	40 81 00 10 	ble-    ffc1b360 <rtems_rfs_release_chain+0x88><== ALWAYS TAKEN
ffc1b354:	2f 9d 00 00 	cmpwi   cr7,r29,0                              <== NOT EXECUTED
ffc1b358:	40 9e 00 08 	bne-    cr7,ffc1b360 <rtems_rfs_release_chain+0x88><== NOT EXECUTED
ffc1b35c:	7c 7d 1b 78 	mr      r29,r3                                 <== 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))                               
ffc1b360:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc1b364:	7f 80 d8 00 	cmpw    cr7,r0,r27                             
ffc1b368:	40 9e ff c4 	bne+    cr7,ffc1b32c <rtems_rfs_release_chain+0x54>
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
    if ((rc > 0) && (rrc == 0))                                       
      rrc = rc;                                                       
  }                                                                   
  return rrc;                                                         
}                                                                     
ffc1b36c:	39 61 00 20 	addi    r11,r1,32                              
ffc1b370:	7f a3 eb 78 	mr      r3,r29                                 
ffc1b374:	4b fe 77 70 	b       ffc02ae4 <_restgpr_26_x>               
                                                                      

ffc12234 <rtems_rfs_rtems_chown>: static int rtems_rfs_rtems_chown (rtems_filesystem_location_info_t *pathloc, uid_t owner, gid_t group) {
ffc12234:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc12238:	7c 08 02 a6 	mflr    r0                                     
ffc1223c:	90 01 00 4c 	stw     r0,76(r1)                              
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc12240:	81 23 00 10 	lwz     r9,16(r3)                              
                                                                      
static int                                                            
rtems_rfs_rtems_chown (rtems_filesystem_location_info_t *pathloc,     
                       uid_t                             owner,       
                       gid_t                             group)       
{                                                                     
ffc12244:	bf 81 00 38 	stmw    r28,56(r1)                             
ffc12248:	7c 9e 23 78 	mr      r30,r4                                 
ffc1224c:	7c bd 2b 78 	mr      r29,r5                                 
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc12250:	83 e9 00 34 	lwz     r31,52(r9)                             
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
ffc12254:	83 83 00 00 	lwz     r28,0(r3)                              
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_CHOWN))            
    printf ("rtems-rfs-rtems: chown: in: ino:%" PRId32 " uid:%d gid:%d\n",
            ino, owner, group);                                       
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc12258:	80 7f 00 7c 	lwz     r3,124(r31)                            
ffc1225c:	4b ff fb cd 	bl      ffc11e28 <rtems_rfs_rtems_lock.isra.16>
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc12260:	7f 84 e3 78 	mr      r4,r28                                 
ffc12264:	7f e3 fb 78 	mr      r3,r31                                 
ffc12268:	38 a1 00 08 	addi    r5,r1,8                                
ffc1226c:	38 c0 00 01 	li      r6,1                                   
ffc12270:	4b ff ef 69 	bl      ffc111d8 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc12274:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc12278:	40 81 00 18 	ble-    ffc12290 <rtems_rfs_rtems_chown+0x5c>  <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc1227c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc12280:	4b ff f9 79 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("chown: opening inode", rc);        
ffc12284:	48 00 e7 25 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc12288:	93 83 00 00 	stw     r28,0(r3)                              <== NOT EXECUTED
ffc1228c:	48 00 00 64 	b       ffc122f0 <rtems_rfs_rtems_chown+0xbc>  <== 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);
ffc12290:	57 bd 80 1e 	rlwinm  r29,r29,16,0,15                        
ffc12294:	81 21 00 14 	lwz     r9,20(r1)                              
ffc12298:	7f bd f3 78 	or      r29,r29,r30                            
ffc1229c:	57 a0 46 3e 	rlwinm  r0,r29,8,24,31                         
ffc122a0:	98 09 00 04 	stb     r0,4(r9)                               
ffc122a4:	57 a0 84 3e 	rlwinm  r0,r29,16,16,31                        
ffc122a8:	57 bd c2 3e 	rlwinm  r29,r29,24,8,31                        
ffc122ac:	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);                            
ffc122b0:	7f e3 fb 78 	mr      r3,r31                                 
ffc122b4:	38 81 00 08 	addi    r4,r1,8                                
ffc122b8:	98 09 00 05 	stb     r0,5(r9)                               
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc122bc:	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);
ffc122c0:	81 21 00 14 	lwz     r9,20(r1)                              
ffc122c4:	9b a9 00 06 	stb     r29,6(r9)                              
ffc122c8:	81 21 00 14 	lwz     r9,20(r1)                              
ffc122cc:	9b c9 00 07 	stb     r30,7(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc122d0:	98 01 00 18 	stb     r0,24(r1)                              
ffc122d4:	4b ff f0 f5 	bl      ffc113c8 <rtems_rfs_inode_close>       
  if (rc)                                                             
ffc122d8:	7c 7e 1b 79 	mr.     r30,r3                                 
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc122dc:	7f e3 fb 78 	mr      r3,r31                                 
#endif                                                                
                                                                      
  rtems_rfs_inode_set_uid_gid (&inode, owner, group);                 
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc)                                                             
ffc122e0:	41 82 00 18 	beq-    ffc122f8 <rtems_rfs_rtems_chown+0xc4>  <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc122e4:	4b ff f9 15 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("chown: closing inode", rc);        
ffc122e8:	48 00 e6 c1 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc122ec:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc122f0:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc122f4:	48 00 00 0c 	b       ffc12300 <rtems_rfs_rtems_chown+0xcc>  <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
ffc122f8:	4b ff f9 01 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      
                                                                      
  return 0;                                                           
ffc122fc:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc12300:	39 61 00 48 	addi    r11,r1,72                              
ffc12304:	4b ff 07 e8 	b       ffc02aec <_restgpr_28_x>               
                                                                      

ffc1f240 <rtems_rfs_rtems_device_close>: * @return int */ static int rtems_rfs_rtems_device_close (rtems_libio_t* iop) {
ffc1f240:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc1f244:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1f248:	7c 69 1b 78 	mr      r9,r3                                  <== NOT EXECUTED
ffc1f24c:	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);             
ffc1f250:	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;                                                     
ffc1f254:	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;                                      
ffc1f258:	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;                                           
ffc1f25c:	80 63 00 34 	lwz     r3,52(r3)                              <== NOT EXECUTED
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop   = iop;                                                   
  args.flags = 0;                                                     
ffc1f260:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
  args.mode  = 0;                                                     
ffc1f264:	90 01 00 10 	stw     r0,16(r1)                              <== NOT EXECUTED
  int                           minor;                                
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop   = iop;                                                   
ffc1f268:	91 21 00 08 	stw     r9,8(r1)                               <== NOT EXECUTED
  args.flags = 0;                                                     
  args.mode  = 0;                                                     
                                                                      
  status = rtems_io_close (major, minor, (void *) &args);             
ffc1f26c:	48 00 10 b5 	bl      ffc20320 <rtems_io_close>              <== NOT EXECUTED
                                                                      
  return rtems_deviceio_errno (status);                               
ffc1f270:	48 00 0a bd 	bl      ffc1fd2c <rtems_deviceio_errno>        <== NOT EXECUTED
}                                                                     
ffc1f274:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc1f278:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc1f27c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1f280:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

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

ffc1f0f8 <rtems_rfs_rtems_device_ioctl>: static int rtems_rfs_rtems_device_ioctl (rtems_libio_t* iop, uint32_t command, void* buffer) {
ffc1f0f8:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc1f0fc:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1f100:	7c 69 1b 78 	mr      r9,r3                                  <== NOT EXECUTED
ffc1f104:	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;                                      
ffc1f108:	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;                                           
ffc1f10c:	80 63 00 34 	lwz     r3,52(r3)                              <== NOT EXECUTED
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop     = iop;                                                 
  args.command = command;                                             
ffc1f110:	90 81 00 0c 	stw     r4,12(r1)                              <== NOT EXECUTED
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control (major, minor, (void *) &args);           
ffc1f114:	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;                                              
ffc1f118:	90 a1 00 10 	stw     r5,16(r1)                              <== NOT EXECUTED
                                                                      
  status = rtems_io_control (major, minor, (void *) &args);           
ffc1f11c:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
  int                      minor;                                     
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop     = iop;                                                 
ffc1f120:	91 21 00 08 	stw     r9,8(r1)                               <== NOT EXECUTED
  args.command = command;                                             
  args.buffer  = buffer;                                              
                                                                      
  status = rtems_io_control (major, minor, (void *) &args);           
ffc1f124:	48 00 12 5d 	bl      ffc20380 <rtems_io_control>            <== NOT EXECUTED
  if (status)                                                         
ffc1f128:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
    return rtems_deviceio_errno (status);                             
                                                                      
  return args.ioctl_return;                                           
ffc1f12c:	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)                                                         
ffc1f130:	41 be 00 0c 	beq+    cr7,ffc1f13c <rtems_rfs_rtems_device_ioctl+0x44><== NOT EXECUTED
    return rtems_deviceio_errno (status);                             
ffc1f134:	48 00 0b f9 	bl      ffc1fd2c <rtems_deviceio_errno>        <== NOT EXECUTED
ffc1f138:	7c 60 1b 78 	mr      r0,r3                                  <== NOT EXECUTED
                                                                      
  return args.ioctl_return;                                           
}                                                                     
ffc1f13c:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
ffc1f140:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc1f144:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc1f148:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1f14c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

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

ffc1f32c <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) {
ffc1f32c:	94 21 ff a0 	stwu    r1,-96(r1)                             <== NOT EXECUTED
ffc1f330:	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);
ffc1f334:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1f338:	90 01 00 64 	stw     r0,100(r1)                             <== NOT EXECUTED
ffc1f33c:	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);
ffc1f340:	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)                    
{                                                                     
ffc1f344:	bf 41 00 48 	stmw    r26,72(r1)                             <== NOT EXECUTED
ffc1f348:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
ffc1f34c:	7c dd 33 78 	mr      r29,r6                                 <== NOT EXECUTED
  rtems_libio_open_close_args_t args;                                 
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc1f350:	83 c9 00 34 	lwz     r30,52(r9)                             <== NOT EXECUTED
  rtems_rfs_ino                 ino = rtems_rfs_rtems_get_iop_ino (iop);
ffc1f354:	83 83 00 1c 	lwz     r28,28(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                                
};                                                                    
ffc1f358:	81 3e 00 7c 	lwz     r9,124(r30)                            <== NOT EXECUTED
ffc1f35c:	80 69 00 00 	lwz     r3,0(r9)                               <== NOT EXECUTED
ffc1f360:	4b fe c9 91 	bl      ffc0bcf0 <rtems_semaphore_obtain>      <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc1f364:	7c 7b 1b 79 	mr.     r27,r3                                 <== NOT EXECUTED
ffc1f368:	41 a2 00 34 	beq+    ffc1f39c <rtems_rfs_rtems_device_open+0x70><== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc1f36c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1f370:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc1f374:	4b ff 3d 45 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1f378:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1f37c:	41 be 00 20 	beq+    cr7,ffc1f39c <rtems_rfs_rtems_device_open+0x70><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc1f380:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1f384:	4b ff 7c 8d 	bl      ffc17010 <rtems_status_text>           <== NOT EXECUTED
ffc1f388:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc1f38c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1f390:	38 63 21 36 	addi    r3,r3,8502                             <== NOT EXECUTED
ffc1f394:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1f398:	48 00 26 f5 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
  rtems_status_code             status;                               
  int                           rc;                                   
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc1f39c:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc1f3a0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1f3a4:	38 a1 00 14 	addi    r5,r1,20                               <== NOT EXECUTED
ffc1f3a8:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc1f3ac:	4b ff 1e 2d 	bl      ffc111d8 <rtems_rfs_inode_open>        <== NOT EXECUTED
  if (rc > 0)                                                         
ffc1f3b0:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc1f3b4:	40 81 00 18 	ble-    ffc1f3cc <rtems_rfs_rtems_device_open+0xa0><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc1f3b8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1f3bc:	4b ff fe c9 	bl      ffc1f284 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("device_open: opening inode", rc);  
ffc1f3c0:	48 00 15 e9 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1f3c4:	93 83 00 00 	stw     r28,0(r3)                              <== NOT EXECUTED
ffc1f3c8:	48 00 00 4c 	b       ffc1f414 <rtems_rfs_rtems_device_open+0xe8><== NOT EXECUTED
  }                                                                   
                                                                      
  major = rtems_rfs_inode_get_block (&inode, 0);                      
ffc1f3cc:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc1f3d0:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1f3d4:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1f3d8:	4b ff ff 11 	bl      ffc1f2e8 <rtems_rfs_inode_get_block.isra.0><== NOT EXECUTED
  minor = rtems_rfs_inode_get_block (&inode, 1);                      
ffc1f3dc:	38 80 00 01 	li      r4,1                                   <== 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);                      
ffc1f3e0:	7c 7b 1b 78 	mr      r27,r3                                 <== NOT EXECUTED
  minor = rtems_rfs_inode_get_block (&inode, 1);                      
ffc1f3e4:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1f3e8:	4b ff ff 01 	bl      ffc1f2e8 <rtems_rfs_inode_get_block.isra.0><== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc1f3ec:	38 81 00 14 	addi    r4,r1,20                               <== NOT EXECUTED
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("device_open: opening inode", rc);  
  }                                                                   
                                                                      
  major = rtems_rfs_inode_get_block (&inode, 0);                      
  minor = rtems_rfs_inode_get_block (&inode, 1);                      
ffc1f3f0:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc1f3f4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1f3f8:	4b ff 1f d1 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
  if (rc > 0)                                                         
ffc1f3fc:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc1f400:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
                                                                      
  major = rtems_rfs_inode_get_block (&inode, 0);                      
  minor = rtems_rfs_inode_get_block (&inode, 1);                      
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc > 0)                                                         
ffc1f404:	40 81 00 18 	ble-    ffc1f41c <rtems_rfs_rtems_device_open+0xf0><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc1f408:	4b ff fe 7d 	bl      ffc1f284 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("device_open: closing inode", rc);  
ffc1f40c:	48 00 15 9d 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1f410:	93 43 00 00 	stw     r26,0(r3)                              <== NOT EXECUTED
ffc1f414:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1f418:	48 00 00 34 	b       ffc1f44c <rtems_rfs_rtems_device_open+0x120><== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
ffc1f41c:	4b ff fe 69 	bl      ffc1f284 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
                                                                      
  iop->data0 = major;                                                 
  iop->data1 = (void*)((intptr_t) minor);                             
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
ffc1f420:	80 1f 00 18 	lwz     r0,24(r31)                             <== NOT EXECUTED
    return rtems_rfs_rtems_error ("device_open: closing inode", rc);  
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  iop->data0 = major;                                                 
ffc1f424:	93 7f 00 34 	stw     r27,52(r31)                            <== NOT EXECUTED
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
                                                                      
  status = rtems_io_open (major, minor, (void *) &args);              
ffc1f428:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc1f42c:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  iop->data0 = major;                                                 
  iop->data1 = (void*)((intptr_t) minor);                             
ffc1f430:	93 9f 00 38 	stw     r28,56(r31)                            <== NOT EXECUTED
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
                                                                      
  status = rtems_io_open (major, minor, (void *) &args);              
ffc1f434:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
                                                                      
  iop->data0 = major;                                                 
  iop->data1 = (void*)((intptr_t) minor);                             
                                                                      
  args.iop   = iop;                                                   
  args.flags = iop->flags;                                            
ffc1f438:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  iop->data0 = major;                                                 
  iop->data1 = (void*)((intptr_t) minor);                             
                                                                      
  args.iop   = iop;                                                   
ffc1f43c:	93 e1 00 08 	stw     r31,8(r1)                              <== NOT EXECUTED
  args.flags = iop->flags;                                            
  args.mode  = mode;                                                  
ffc1f440:	93 a1 00 10 	stw     r29,16(r1)                             <== NOT EXECUTED
                                                                      
  status = rtems_io_open (major, minor, (void *) &args);              
ffc1f444:	48 00 0f 9d 	bl      ffc203e0 <rtems_io_open>               <== NOT EXECUTED
                                                                      
  return rtems_deviceio_errno (status);                               
ffc1f448:	48 00 08 e5 	bl      ffc1fd2c <rtems_deviceio_errno>        <== NOT EXECUTED
}                                                                     
ffc1f44c:	39 61 00 60 	addi    r11,r1,96                              <== NOT EXECUTED
ffc1f450:	4b fe 36 94 	b       ffc02ae4 <_restgpr_26_x>               <== NOT EXECUTED
                                                                      

ffc1f1c8 <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) {
ffc1f1c8:	94 21 ff d8 	stwu    r1,-40(r1)                             <== NOT EXECUTED
ffc1f1cc:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1f1d0:	7c 69 1b 78 	mr      r9,r3                                  <== NOT EXECUTED
ffc1f1d4:	90 01 00 2c 	stw     r0,44(r1)                              <== NOT EXECUTED
  int                   minor;                                        
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop         = iop;                                             
ffc1f1d8:	91 21 00 08 	stw     r9,8(r1)                               <== NOT EXECUTED
  rtems_status_code     status;                                       
  int                   major;                                        
  int                   minor;                                        
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
ffc1f1dc:	80 09 00 38 	lwz     r0,56(r9)                              <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
ffc1f1e0:	81 49 00 10 	lwz     r10,16(r9)                             <== NOT EXECUTED
ffc1f1e4:	81 69 00 14 	lwz     r11,20(r9)                             <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
ffc1f1e8:	81 29 00 18 	lwz     r9,24(r9)                              <== NOT EXECUTED
  rtems_libio_rw_args_t args;                                         
  rtems_status_code     status;                                       
  int                   major;                                        
  int                   minor;                                        
                                                                      
  major = (int) iop->data0;                                           
ffc1f1ec:	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;                                          
ffc1f1f0:	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);              
ffc1f1f4:	7c 04 03 78 	mr      r4,r0                                  <== NOT EXECUTED
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = buffer;                                          
  args.count       = count;                                           
ffc1f1f8:	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);              
ffc1f1fc:	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;                                      
ffc1f200:	91 21 00 20 	stw     r9,32(r1)                              <== NOT EXECUTED
  args.bytes_moved = 0;                                               
ffc1f204:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
ffc1f208:	91 41 00 10 	stw     r10,16(r1)                             <== NOT EXECUTED
ffc1f20c:	91 61 00 14 	stw     r11,20(r1)                             <== NOT EXECUTED
  args.buffer      = buffer;                                          
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
  args.bytes_moved = 0;                                               
ffc1f210:	91 21 00 24 	stw     r9,36(r1)                              <== NOT EXECUTED
                                                                      
  status = rtems_io_read (major, minor, (void *) &args);              
ffc1f214:	48 00 12 2d 	bl      ffc20440 <rtems_io_read>               <== NOT EXECUTED
  if (status)                                                         
ffc1f218:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
    return rtems_deviceio_errno (status);                             
                                                                      
  return (ssize_t) args.bytes_moved;                                  
ffc1f21c:	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)                                                         
ffc1f220:	41 be 00 0c 	beq+    cr7,ffc1f22c <rtems_rfs_rtems_device_read+0x64><== NOT EXECUTED
    return rtems_deviceio_errno (status);                             
ffc1f224:	48 00 0b 09 	bl      ffc1fd2c <rtems_deviceio_errno>        <== NOT EXECUTED
ffc1f228:	7c 60 1b 78 	mr      r0,r3                                  <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
ffc1f22c:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
ffc1f230:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc1f234:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc1f238:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1f23c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1f150 <rtems_rfs_rtems_device_write>: static ssize_t rtems_rfs_rtems_device_write (rtems_libio_t* iop, const void* buffer, size_t count) {
ffc1f150:	94 21 ff d8 	stwu    r1,-40(r1)                             <== NOT EXECUTED
ffc1f154:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1f158:	7c 69 1b 78 	mr      r9,r3                                  <== NOT EXECUTED
ffc1f15c:	90 01 00 2c 	stw     r0,44(r1)                              <== NOT EXECUTED
  int                   minor;                                        
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop         = iop;                                             
ffc1f160:	91 21 00 08 	stw     r9,8(r1)                               <== NOT EXECUTED
  rtems_status_code     status;                                       
  int                   major;                                        
  int                   minor;                                        
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
ffc1f164:	80 09 00 38 	lwz     r0,56(r9)                              <== NOT EXECUTED
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
ffc1f168:	81 49 00 10 	lwz     r10,16(r9)                             <== NOT EXECUTED
ffc1f16c:	81 69 00 14 	lwz     r11,20(r9)                             <== NOT EXECUTED
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
  args.flags       = iop->flags;                                      
ffc1f170:	81 29 00 18 	lwz     r9,24(r9)                              <== NOT EXECUTED
  rtems_libio_rw_args_t args;                                         
  rtems_status_code     status;                                       
  int                   major;                                        
  int                   minor;                                        
                                                                      
  major = (int) iop->data0;                                           
ffc1f174:	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;                                 
ffc1f178:	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);             
ffc1f17c:	7c 04 03 78 	mr      r4,r0                                  <== NOT EXECUTED
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
  args.buffer      = (void *) buffer;                                 
  args.count       = count;                                           
ffc1f180:	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);             
ffc1f184:	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;                                      
ffc1f188:	91 21 00 20 	stw     r9,32(r1)                              <== NOT EXECUTED
  args.bytes_moved = 0;                                               
ffc1f18c:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
                                                                      
  major = (int) iop->data0;                                           
  minor = (intptr_t) iop->data1;                                      
                                                                      
  args.iop         = iop;                                             
  args.offset      = iop->offset;                                     
ffc1f190:	91 41 00 10 	stw     r10,16(r1)                             <== NOT EXECUTED
ffc1f194:	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;                                               
ffc1f198:	91 21 00 24 	stw     r9,36(r1)                              <== NOT EXECUTED
                                                                      
  status = rtems_io_write (major, minor, (void *) &args);             
ffc1f19c:	48 00 13 05 	bl      ffc204a0 <rtems_io_write>              <== NOT EXECUTED
  if (status)                                                         
ffc1f1a0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
    return rtems_deviceio_errno (status);                             
                                                                      
  return (ssize_t) args.bytes_moved;                                  
ffc1f1a4:	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)                                                         
ffc1f1a8:	41 be 00 0c 	beq+    cr7,ffc1f1b4 <rtems_rfs_rtems_device_write+0x64><== NOT EXECUTED
    return rtems_deviceio_errno (status);                             
ffc1f1ac:	48 00 0b 81 	bl      ffc1fd2c <rtems_deviceio_errno>        <== NOT EXECUTED
ffc1f1b0:	7c 60 1b 78 	mr      r0,r3                                  <== NOT EXECUTED
                                                                      
  return (ssize_t) args.bytes_moved;                                  
}                                                                     
ffc1f1b4:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
ffc1f1b8:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc1f1bc:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc1f1c0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1f1c4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1f4c0 <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)
ffc1f4c0:	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)                     
{                                                                     
ffc1f4c4:	94 21 ff f8 	stwu    r1,-8(r1)                              <== NOT EXECUTED
ffc1f4c8:	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;                                                           
ffc1f4cc:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
ffc1f4d0:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
 */                                                                   
static rtems_off64_t                                                  
rtems_rfs_rtems_dir_lseek (rtems_libio_t* iop,                        
                           rtems_off64_t  offset,                     
                           int            whence)                     
{                                                                     
ffc1f4d4:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
  switch (whence)                                                     
ffc1f4d8:	40 9d 00 18 	ble-    cr7,ffc1f4f0 <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); 
ffc1f4dc:	48 00 14 cd 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1f4e0:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc1f4e4:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1f4e8:	39 40 ff ff 	li      r10,-1                                 <== NOT EXECUTED
ffc1f4ec:	39 60 ff ff 	li      r11,-1                                 <== NOT EXECUTED
      break;                                                          
  }                                                                   
  return 0;                                                           
}                                                                     
ffc1f4f0:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc1f4f4:	7d 43 53 78 	mr      r3,r10                                 <== NOT EXECUTED
ffc1f4f8:	7d 64 5b 78 	mr      r4,r11                                 <== NOT EXECUTED
ffc1f4fc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1f500:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc1f504:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1f674 <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) {
ffc1f674:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc1f678:	7c 08 02 a6 	mflr    r0                                     
ffc1f67c:	90 01 00 4c 	stw     r0,76(r1)                              
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc1f680:	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)                        
{                                                                     
ffc1f684:	bf a1 00 3c 	stmw    r29,60(r1)                             
ffc1f688:	7c 7e 1b 78 	mr      r30,r3                                 
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc1f68c:	83 e9 00 34 	lwz     r31,52(r9)                             
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_iop_ino (iop);     
ffc1f690:	83 a3 00 1c 	lwz     r29,28(r3)                             
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc1f694:	80 7f 00 7c 	lwz     r3,124(r31)                            
ffc1f698:	4b ff fe 71 	bl      ffc1f508 <rtems_rfs_rtems_lock.isra.3> 
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc1f69c:	7f a4 eb 78 	mr      r4,r29                                 
ffc1f6a0:	7f e3 fb 78 	mr      r3,r31                                 
ffc1f6a4:	38 a1 00 08 	addi    r5,r1,8                                
ffc1f6a8:	38 c0 00 01 	li      r6,1                                   
ffc1f6ac:	4b ff 1b 2d 	bl      ffc111d8 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc1f6b0:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc1f6b4:	41 a2 00 18 	beq+    ffc1f6cc <rtems_rfs_rtems_dir_open+0x58><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc1f6b8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1f6bc:	4b ff fd a1 	bl      ffc1f45c <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_open: opening inode", rc);     
ffc1f6c0:	48 00 12 e9 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1f6c4:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc1f6c8:	48 00 00 38 	b       ffc1f700 <rtems_rfs_rtems_dir_open+0x8c><== 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);                    
ffc1f6cc:	81 21 00 14 	lwz     r9,20(r1)                              
ffc1f6d0:	88 09 00 02 	lbz     r0,2(r9)                               
  }                                                                   
                                                                      
  if (!RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)))         
ffc1f6d4:	54 00 44 26 	rlwinm  r0,r0,8,16,19                          
ffc1f6d8:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
ffc1f6dc:	41 be 00 2c 	beq+    cr7,ffc1f708 <rtems_rfs_rtems_dir_open+0x94><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
ffc1f6e0:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc1f6e4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1f6e8:	4b ff 1c e1 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
    rtems_rfs_rtems_unlock (fs);                                      
ffc1f6ec:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1f6f0:	4b ff fd 6d 	bl      ffc1f45c <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_open: not dir", ENOTDIR);      
ffc1f6f4:	48 00 12 b5 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1f6f8:	38 00 00 14 	li      r0,20                                  <== NOT EXECUTED
ffc1f6fc:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1f700:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1f704:	48 00 00 2c 	b       ffc1f730 <rtems_rfs_rtems_dir_open+0xbc><== NOT EXECUTED
  }                                                                   
                                                                      
  iop->offset = 0;                                                    
ffc1f708:	39 40 00 00 	li      r10,0                                  
ffc1f70c:	39 60 00 00 	li      r11,0                                  
ffc1f710:	91 5e 00 10 	stw     r10,16(r30)                            
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc1f714:	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;                                                    
ffc1f718:	91 7e 00 14 	stw     r11,20(r30)                            
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc1f71c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1f720:	4b ff 1c a9 	bl      ffc113c8 <rtems_rfs_inode_close>       
  rtems_rfs_rtems_unlock (fs);                                        
ffc1f724:	7f e3 fb 78 	mr      r3,r31                                 
ffc1f728:	4b ff fd 35 	bl      ffc1f45c <rtems_rfs_rtems_unlock>      
  return 0;                                                           
ffc1f72c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1f730:	39 61 00 48 	addi    r11,r1,72                              
ffc1f734:	4b fe 33 bc 	b       ffc02af0 <_restgpr_29_x>               
                                                                      

ffc1f56c <rtems_rfs_rtems_dir_read>: */ static ssize_t rtems_rfs_rtems_dir_read (rtems_libio_t* iop, void* buffer, size_t count) {
ffc1f56c:	94 21 ff a0 	stwu    r1,-96(r1)                             <== NOT EXECUTED
ffc1f570:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1f574:	90 01 00 64 	stw     r0,100(r1)                             <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc1f578:	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)                       
{                                                                     
ffc1f57c:	be c1 00 38 	stmw    r22,56(r1)                             <== NOT EXECUTED
ffc1f580:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
  struct dirent*         dirent;                                      
  ssize_t                bytes_transferred;                           
  int                    d;                                           
  int                    rc;                                          
                                                                      
  count  = count / sizeof (struct dirent);                            
ffc1f584:	3a e0 01 18 	li      r23,280                                <== NOT EXECUTED
static ssize_t                                                        
rtems_rfs_rtems_dir_read (rtems_libio_t* iop,                         
                          void*          buffer,                      
                          size_t         count)                       
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc1f588:	83 a9 00 34 	lwz     r29,52(r9)                             <== NOT EXECUTED
  count  = count / sizeof (struct dirent);                            
  dirent = buffer;                                                    
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc1f58c:	3b 01 00 0c 	addi    r24,r1,12                              <== NOT EXECUTED
rtems_rfs_rtems_dir_read (rtems_libio_t* iop,                         
                          void*          buffer,                      
                          size_t         count)                       
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_iop_ino (iop);     
ffc1f590:	83 63 00 1c 	lwz     r27,28(r3)                             <== NOT EXECUTED
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_dir_read (rtems_libio_t* iop,                         
                          void*          buffer,                      
                          size_t         count)                       
{                                                                     
ffc1f594:	7c 99 23 78 	mr      r25,r4                                 <== NOT EXECUTED
  int                    rc;                                          
                                                                      
  count  = count / sizeof (struct dirent);                            
  dirent = buffer;                                                    
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc1f598:	80 7d 00 7c 	lwz     r3,124(r29)                            <== NOT EXECUTED
  struct dirent*         dirent;                                      
  ssize_t                bytes_transferred;                           
  int                    d;                                           
  int                    rc;                                          
                                                                      
  count  = count / sizeof (struct dirent);                            
ffc1f59c:	7e e5 bb 96 	divwu   r23,r5,r23                             <== NOT EXECUTED
  dirent = buffer;                                                    
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc1f5a0:	4b ff ff 69 	bl      ffc1f508 <rtems_rfs_rtems_lock.isra.3> <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc1f5a4:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc1f5a8:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1f5ac:	7f 05 c3 78 	mr      r5,r24                                 <== NOT EXECUTED
ffc1f5b0:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc1f5b4:	4b ff 1c 25 	bl      ffc111d8 <rtems_rfs_inode_open>        <== NOT EXECUTED
  if (rc)                                                             
ffc1f5b8:	7c 7b 1b 79 	mr.     r27,r3                                 <== NOT EXECUTED
ffc1f5bc:	40 82 00 0c 	bne-    ffc1f5c8 <rtems_rfs_rtems_dir_read+0x5c><== 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,                         
ffc1f5c0:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc1f5c4:	48 00 00 84 	b       ffc1f648 <rtems_rfs_rtems_dir_read+0xdc><== NOT EXECUTED
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
  if (rc)                                                             
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc1f5c8:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1f5cc:	4b ff fe 91 	bl      ffc1f45c <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
ffc1f5d0:	3b 40 ff ff 	li      r26,-1                                 <== NOT EXECUTED
ffc1f5d4:	48 00 13 d5 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1f5d8:	93 63 00 00 	stw     r27,0(r3)                              <== NOT EXECUTED
ffc1f5dc:	48 00 00 8c 	b       ffc1f668 <rtems_rfs_rtems_dir_read+0xfc><== 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); 
ffc1f5e0:	80 bc 00 10 	lwz     r5,16(r28)                             <== NOT EXECUTED
ffc1f5e4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1f5e8:	80 dc 00 14 	lwz     r6,20(r28)                             <== NOT EXECUTED
ffc1f5ec:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc1f5f0:	7f 27 cb 78 	mr      r7,r25                                 <== NOT EXECUTED
ffc1f5f4:	39 01 00 08 	addi    r8,r1,8                                <== NOT EXECUTED
ffc1f5f8:	4b ff d3 b1 	bl      ffc1c9a8 <rtems_rfs_dir_read>          <== NOT EXECUTED
    if (rc == ENOENT)                                                 
ffc1f5fc:	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); 
ffc1f600:	7c 76 1b 78 	mr      r22,r3                                 <== NOT EXECUTED
    if (rc == ENOENT)                                                 
ffc1f604:	41 9e 00 50 	beq-    cr7,ffc1f654 <rtems_rfs_rtems_dir_read+0xe8><== NOT EXECUTED
    {                                                                 
      rc = 0;                                                         
      break;                                                          
    }                                                                 
    if (rc > 0)                                                       
ffc1f608:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1f60c:	40 bd 00 14 	ble+    cr7,ffc1f620 <rtems_rfs_rtems_dir_read+0xb4><== NOT EXECUTED
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
ffc1f610:	48 00 13 99 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1f614:	3b 40 ff ff 	li      r26,-1                                 <== NOT EXECUTED
ffc1f618:	92 c3 00 00 	stw     r22,0(r3)                              <== NOT EXECUTED
ffc1f61c:	48 00 00 38 	b       ffc1f654 <rtems_rfs_rtems_dir_read+0xe8><== NOT EXECUTED
      break;                                                          
    }                                                                 
    iop->offset += size;                                              
ffc1f620:	81 5c 00 10 	lwz     r10,16(r28)                            <== NOT EXECUTED
ffc1f624:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
ffc1f628:	81 7c 00 14 	lwz     r11,20(r28)                            <== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
  }                                                                   
                                                                      
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
ffc1f62c:	3b 7b 00 01 	addi    r27,r27,1                              <== NOT EXECUTED
    if (rc > 0)                                                       
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
      break;                                                          
    }                                                                 
    iop->offset += size;                                              
ffc1f630:	83 e1 00 08 	lwz     r31,8(r1)                              <== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
  }                                                                   
                                                                      
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
ffc1f634:	3b 39 01 18 	addi    r25,r25,280                            <== NOT EXECUTED
    if (rc > 0)                                                       
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
      break;                                                          
    }                                                                 
    iop->offset += size;                                              
ffc1f638:	7d 6b f8 14 	addc    r11,r11,r31                            <== NOT EXECUTED
ffc1f63c:	7d 4a f1 14 	adde    r10,r10,r30                            <== NOT EXECUTED
ffc1f640:	91 5c 00 10 	stw     r10,16(r28)                            <== NOT EXECUTED
ffc1f644:	91 7c 00 14 	stw     r11,20(r28)                            <== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
  }                                                                   
                                                                      
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
ffc1f648:	7f 9b b8 00 	cmpw    cr7,r27,r23                            <== 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,                         
ffc1f64c:	1f 5b 01 18 	mulli   r26,r27,280                            <== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
  }                                                                   
                                                                      
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
ffc1f650:	40 9e ff 90 	bne+    cr7,ffc1f5e0 <rtems_rfs_rtems_dir_read+0x74><== NOT EXECUTED
    }                                                                 
    iop->offset += size;                                              
    bytes_transferred += sizeof (struct dirent);                      
  }                                                                   
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc1f654:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1f658:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc1f65c:	4b ff 1d 6d 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
  rtems_rfs_rtems_unlock (fs);                                        
ffc1f660:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1f664:	4b ff fd f9 	bl      ffc1f45c <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
                                                                      
  return bytes_transferred;                                           
}                                                                     
ffc1f668:	39 61 00 60 	addi    r11,r1,96                              <== NOT EXECUTED
ffc1f66c:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc1f670:	4b fe 34 64 	b       ffc02ad4 <_restgpr_22_x>               <== NOT EXECUTED
                                                                      

ffc1f738 <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) {
ffc1f738:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc1f73c:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1f740:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
ffc1f744:	bf 81 00 08 	stmw    r28,8(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);
ffc1f748:	83 a4 00 00 	lwz     r29,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);  
ffc1f74c:	81 64 00 10 	lwz     r11,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)                                      
ffc1f750:	2f 9d 00 01 	cmpwi   cr7,r29,1                              <== 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);  
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_pathloc);
ffc1f754:	83 83 00 00 	lwz     r28,0(r3)                              <== 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);  
ffc1f758:	83 eb 00 34 	lwz     r31,52(r11)                            <== NOT EXECUTED
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_pathloc);
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
  uint32_t               doff = rtems_rfs_rtems_get_pathloc_doff (pathloc);
ffc1f75c:	83 c4 00 04 	lwz     r30,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)                                      
ffc1f760:	40 be 00 14 	bne+    cr7,ffc1f774 <rtems_rfs_rtems_dir_rmnod+0x3c><== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_rmnod: root inode", EBUSY);    
ffc1f764:	48 00 12 45 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1f768:	38 00 00 10 	li      r0,16                                  <== NOT EXECUTED
ffc1f76c:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc1f770:	48 00 00 3c 	b       ffc1f7ac <rtems_rfs_rtems_dir_rmnod+0x74><== NOT EXECUTED
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc1f774:	80 7f 00 7c 	lwz     r3,124(r31)                            <== NOT EXECUTED
ffc1f778:	4b ff fd 91 	bl      ffc1f508 <rtems_rfs_rtems_lock.isra.3> <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_unlink (fs, parent, ino, doff, rtems_rfs_unlink_dir_if_empty);
ffc1f77c:	7f c6 f3 78 	mr      r6,r30                                 <== NOT EXECUTED
ffc1f780:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1f784:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc1f788:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc1f78c:	38 e0 00 01 	li      r7,1                                   <== NOT EXECUTED
ffc1f790:	4b ff f0 69 	bl      ffc1e7f8 <rtems_rfs_unlink>            <== NOT EXECUTED
  if (rc)                                                             
ffc1f794:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc1f798:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
    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);
  if (rc)                                                             
ffc1f79c:	41 82 00 18 	beq-    ffc1f7b4 <rtems_rfs_rtems_dir_rmnod+0x7c><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc1f7a0:	4b ff fc bd 	bl      ffc1f45c <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_rmnod: unlinking", rc);        
ffc1f7a4:	48 00 12 05 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1f7a8:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc1f7ac:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1f7b0:	48 00 00 0c 	b       ffc1f7bc <rtems_rfs_rtems_dir_rmnod+0x84><== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
ffc1f7b4:	4b ff fc a9 	bl      ffc1f45c <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
  return 0;                                                           
ffc1f7b8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc1f7bc:	39 61 00 18 	addi    r11,r1,24                              <== NOT EXECUTED
ffc1f7c0:	4b fe 33 2c 	b       ffc02aec <_restgpr_28_x>               <== NOT EXECUTED
                                                                      

ffc12534 <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) {
ffc12534:	94 21 ff 98 	stwu    r1,-104(r1)                            
ffc12538:	7c 08 02 a6 	mflr    r0                                     
ffc1253c:	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);
ffc12540:	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);  
ffc12544:	81 24 00 10 	lwz     r9,16(r4)                              
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
ffc12548:	90 01 00 10 	stw     r0,16(r1)                              
  rtems_rfs_ino          node_ino;                                    
  uint32_t               doff = 0;                                    
ffc1254c:	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)
{                                                                     
ffc12550:	bf 21 00 4c 	stmw    r25,76(r1)                             
ffc12554:	7c 7a 1b 78 	mr      r26,r3                                 
ffc12558:	7c be 2b 78 	mr      r30,r5                                 
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc1255c:	83 89 00 34 	lwz     r28,52(r9)                             
 */                                                                   
static int                                                            
rtems_rfs_rtems_eval_for_make (const char*                       path,
                               rtems_filesystem_location_info_t* pathloc,
                               const char**                      name)
{                                                                     
ffc12560:	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);
  rtems_rfs_ino          node_ino;                                    
  uint32_t               doff = 0;                                    
ffc12564:	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);                                       
ffc12568:	48 01 02 a9 	bl      ffc22810 <strlen>                      
ffc1256c:	7c 7a 1a 14 	add     r3,r26,r3                              
ffc12570:	90 7e 00 00 	stw     r3,0(r30)                              
                                                                      
  while (*name != path)                                               
ffc12574:	48 00 00 2c 	b       ffc125a0 <rtems_rfs_rtems_eval_for_make+0x6c>
  {                                                                   
    (*name)--;                                                        
ffc12578:	38 09 ff ff 	addi    r0,r9,-1                               
ffc1257c:	90 1e 00 00 	stw     r0,0(r30)                              
    if (rtems_filesystem_is_separator (**name))                       
ffc12580:	88 69 ff ff 	lbz     r3,-1(r9)                              
ffc12584:	4b ff 6c 71 	bl      ffc091f4 <rtems_filesystem_is_separator>
ffc12588:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1258c:	41 be 00 14 	beq+    cr7,ffc125a0 <rtems_rfs_rtems_eval_for_make+0x6c>
    {                                                                 
      (*name)++;                                                      
ffc12590:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc12594:	38 09 00 01 	addi    r0,r9,1                                
ffc12598:	90 1e 00 00 	stw     r0,0(r30)                              
      break;                                                          
ffc1259c:	48 00 00 10 	b       ffc125ac <rtems_rfs_rtems_eval_for_make+0x78>
  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)                                               
ffc125a0:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc125a4:	7f 89 d0 00 	cmpw    cr7,r9,r26                             
ffc125a8:	40 9e ff d0 	bne+    cr7,ffc12578 <rtems_rfs_rtems_eval_for_make+0x44>
  }                                                                   
                                                                      
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  stripped = rtems_filesystem_prefix_separators (path, strlen(path)); 
ffc125ac:	7f 43 d3 78 	mr      r3,r26                                 
ffc125b0:	48 01 02 61 	bl      ffc22810 <strlen>                      
      }                                                               
                                                                      
      /*                                                              
       * We need to find the parent of this node.                     
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode, "..", 2, &ino, &doff);
ffc125b4:	3f 60 ff c3 	lis     r27,-61                                
  }                                                                   
                                                                      
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  stripped = rtems_filesystem_prefix_separators (path, strlen(path)); 
ffc125b8:	7c 64 1b 78 	mr      r4,r3                                  
ffc125bc:	7f 43 d3 78 	mr      r3,r26                                 
ffc125c0:	4b ff 51 b1 	bl      ffc07770 <rtems_filesystem_prefix_separators>
      }                                                               
                                                                      
      /*                                                              
       * We need to find the parent of this node.                     
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode, "..", 2, &ino, &doff);
ffc125c4:	3b 7b 03 94 	addi    r27,r27,916                            
                                                                      
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  stripped = rtems_filesystem_prefix_separators (path, strlen(path)); 
  path += stripped;                                                   
ffc125c8:	7f 5a 1a 14 	add     r26,r26,r3                             
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc125cc:	80 7c 00 7c 	lwz     r3,124(r28)                            
ffc125d0:	4b ff f8 59 	bl      ffc11e28 <rtems_rfs_rtems_lock.isra.16>
ffc125d4:	48 00 00 08 	b       ffc125dc <rtems_rfs_rtems_eval_for_make+0xa8>
                                                                      
    /*                                                                
     * Eat any separators at start of the new path.                   
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, strlen (path));
    path += stripped;                                                 
ffc125d8:	7f ba eb 78 	mr      r26,r29                                
  while (true)                                                        
  {                                                                   
    /*                                                                
     * Open and load the inode.                                       
     */                                                               
    rc = rtems_rfs_inode_open (fs, ino, &inode, true);                
ffc125dc:	80 81 00 10 	lwz     r4,16(r1)                              
ffc125e0:	7f 83 e3 78 	mr      r3,r28                                 
ffc125e4:	38 a1 00 14 	addi    r5,r1,20                               
ffc125e8:	38 c0 00 01 	li      r6,1                                   
ffc125ec:	4b ff eb ed 	bl      ffc111d8 <rtems_rfs_inode_open>        
    if (rc > 0)                                                       
ffc125f0:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc125f4:	40 a1 00 18 	ble+    ffc1260c <rtems_rfs_rtems_eval_for_make+0xd8><== ALWAYS TAKEN
    {                                                                 
      rtems_rfs_rtems_unlock (fs);                                    
ffc125f8:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc125fc:	4b ff f5 fd 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
      return rtems_rfs_rtems_error ("eval_for_make: read ino", rc);   
ffc12600:	48 00 e3 a9 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc12604:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc12608:	48 00 00 4c 	b       ffc12654 <rtems_rfs_rtems_eval_for_make+0x120><== 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)) &&      
ffc1260c:	81 21 00 20 	lwz     r9,32(r1)                              
ffc12610:	88 09 00 02 	lbz     r0,2(r9)                               
ffc12614:	54 00 44 26 	rlwinm  r0,r0,8,16,19                          
ffc12618:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
ffc1261c:	40 be 00 40 	bne+    cr7,ffc1265c <rtems_rfs_rtems_eval_for_make+0x128>
        !rtems_rfs_rtems_eval_perms (&inode, RTEMS_LIBIO_PERMS_SEARCH))
ffc12620:	38 61 00 14 	addi    r3,r1,20                               
ffc12624:	38 80 00 01 	li      r4,1                                   
ffc12628:	48 00 09 91 	bl      ffc12fb8 <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)) &&      
ffc1262c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc12630:	40 be 00 2c 	bne+    cr7,ffc1265c <rtems_rfs_rtems_eval_for_make+0x128><== ALWAYS TAKEN
        !rtems_rfs_rtems_eval_perms (&inode, RTEMS_LIBIO_PERMS_SEARCH))
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
ffc12634:	38 81 00 14 	addi    r4,r1,20                               <== NOT EXECUTED
ffc12638:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1263c:	4b ff ed 8d 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
      rtems_rfs_rtems_unlock (fs);                                    
ffc12640:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc12644:	4b ff f5 b5 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
      return rtems_rfs_rtems_error ("eval_for_make: eval perms", EACCES);
ffc12648:	48 00 e3 61 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1264c:	38 00 00 0d 	li      r0,13                                  <== NOT EXECUTED
ffc12650:	90 03 00 00 	stw     r0,0(r3)                               
ffc12654:	3b e0 ff ff 	li      r31,-1                                 
ffc12658:	48 00 02 bc 	b       ffc12914 <rtems_rfs_rtems_eval_for_make+0x3e0>
    }                                                                 
                                                                      
    /*                                                                
     * Is this the end of the pathname we where given ?               
     */                                                               
    if (path == *name)                                                
ffc1265c:	80 1e 00 00 	lwz     r0,0(r30)                              
ffc12660:	7f 9a 00 00 	cmpw    cr7,r26,r0                             
ffc12664:	41 9e 01 b4 	beq-    cr7,ffc12818 <rtems_rfs_rtems_eval_for_make+0x2e4>
ffc12668:	7f 5d d3 78 	mr      r29,r26                                
ffc1266c:	3b 20 00 00 	li      r25,0                                  
ffc12670:	48 00 00 0c 	b       ffc1267c <rtems_rfs_rtems_eval_for_make+0x148>
    node_len = 0;                                                     
    while (!rtems_filesystem_is_separator(*path) &&                   
           (*path != '\0') &&                                         
           (node_len < (rtems_rfs_fs_max_name (fs) - 1)))             
    {                                                                 
      node_len++;                                                     
ffc12674:	3b 39 00 01 	addi    r25,r25,1                              
      path++;                                                         
ffc12678:	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) &&                   
ffc1267c:	88 7d 00 00 	lbz     r3,0(r29)                              
ffc12680:	4b ff 6b 75 	bl      ffc091f4 <rtems_filesystem_is_separator>
ffc12684:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc12688:	40 9e 00 20 	bne-    cr7,ffc126a8 <rtems_rfs_rtems_eval_for_make+0x174>
ffc1268c:	88 1d 00 00 	lbz     r0,0(r29)                              
ffc12690:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc12694:	41 9e 00 14 	beq-    cr7,ffc126a8 <rtems_rfs_rtems_eval_for_make+0x174><== NEVER TAKEN
           (*path != '\0') &&                                         
           (node_len < (rtems_rfs_fs_max_name (fs) - 1)))             
ffc12698:	81 3c 00 18 	lwz     r9,24(r28)                             
ffc1269c:	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') &&                                         
ffc126a0:	7f 99 00 40 	cmplw   cr7,r25,r0                             
ffc126a4:	41 9c ff d0 	blt+    cr7,ffc12674 <rtems_rfs_rtems_eval_for_make+0x140><== ALWAYS TAKEN
    }                                                                 
                                                                      
    /*                                                                
     * Eat any separators at start of the new path.                   
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, strlen (path));
ffc126a8:	7f a3 eb 78 	mr      r3,r29                                 
ffc126ac:	48 01 01 65 	bl      ffc22810 <strlen>                      
ffc126b0:	7c 64 1b 78 	mr      r4,r3                                  
ffc126b4:	7f a3 eb 78 	mr      r3,r29                                 
ffc126b8:	4b ff 50 b9 	bl      ffc07770 <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))                                 
ffc126bc:	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;                                                 
ffc126c0:	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))                                 
ffc126c4:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc126c8:	40 be 00 38 	bne+    cr7,ffc12700 <rtems_rfs_rtems_eval_for_make+0x1cc><== ALWAYS TAKEN
ffc126cc:	88 7a 00 01 	lbz     r3,1(r26)                              <== NOT EXECUTED
ffc126d0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc126d4:	41 be 00 10 	beq+    cr7,ffc126e4 <rtems_rfs_rtems_eval_for_make+0x1b0><== NOT EXECUTED
ffc126d8:	4b ff 6b 1d 	bl      ffc091f4 <rtems_filesystem_is_separator><== NOT EXECUTED
ffc126dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc126e0:	41 9e 00 20 	beq-    cr7,ffc12700 <rtems_rfs_rtems_eval_for_make+0x1cc><== NOT EXECUTED
    {                                                                 
      if (*path)                                                      
ffc126e4:	88 1d 00 00 	lbz     r0,0(r29)                              <== NOT EXECUTED
ffc126e8:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc126ec:	41 be 01 2c 	beq+    cr7,ffc12818 <rtems_rfs_rtems_eval_for_make+0x2e4><== NOT EXECUTED
      {                                                               
        rtems_rfs_inode_close (fs, &inode);                           
ffc126f0:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc126f4:	38 81 00 14 	addi    r4,r1,20                               <== NOT EXECUTED
ffc126f8:	4b ff ec d1 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
        continue;                                                     
ffc126fc:	4b ff fe dc 	b       ffc125d8 <rtems_rfs_rtems_eval_for_make+0xa4><== 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))                                  
ffc12700:	88 1d 00 00 	lbz     r0,0(r29)                              
ffc12704:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc12708:	40 9e 00 bc 	bne-    cr7,ffc127c4 <rtems_rfs_rtems_eval_for_make+0x290><== ALWAYS TAKEN
ffc1270c:	88 1d 00 01 	lbz     r0,1(r29)                              <== NOT EXECUTED
ffc12710:	2f 80 00 2e 	cmpwi   cr7,r0,46                              <== NOT EXECUTED
ffc12714:	40 be 00 b0 	bne+    cr7,ffc127c4 <rtems_rfs_rtems_eval_for_make+0x290><== NOT EXECUTED
ffc12718:	88 7d 00 02 	lbz     r3,2(r29)                              <== NOT EXECUTED
ffc1271c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc12720:	41 be 00 10 	beq+    cr7,ffc12730 <rtems_rfs_rtems_eval_for_make+0x1fc><== NOT EXECUTED
ffc12724:	4b ff 6a d1 	bl      ffc091f4 <rtems_filesystem_is_separator><== NOT EXECUTED
ffc12728:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1272c:	41 9e 00 98 	beq-    cr7,ffc127c4 <rtems_rfs_rtems_eval_for_make+0x290><== NOT EXECUTED
    {                                                                 
      /*                                                              
       * If we are at the root inode of the file system we have a crossmount
       * path.                                                        
       */                                                             
      if (ino == RTEMS_RFS_ROOT_INO)                                  
ffc12730:	80 01 00 10 	lwz     r0,16(r1)                              <== NOT EXECUTED
ffc12734:	2f 80 00 01 	cmpwi   cr7,r0,1                               <== NOT EXECUTED
ffc12738:	40 be 00 4c 	bne+    cr7,ffc12784 <rtems_rfs_rtems_eval_for_make+0x250><== NOT EXECUTED
      {                                                               
        if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_FOR_MAKE))
          printf("rtems-rfs-rtems: eval-for-make: crossmount: path:%s\n",
                 path - node_len);                                    
                                                                      
        rtems_rfs_inode_close (fs, &inode);                           
ffc1273c:	38 81 00 14 	addi    r4,r1,20                               <== NOT EXECUTED
ffc12740:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc12744:	4b ff ec 85 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
        rtems_rfs_rtems_unlock (fs);                                  
ffc12748:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1274c:	4b ff f4 ad 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
        *pathloc = pathloc->mt_entry->mt_point_node;                  
ffc12750:	81 7f 00 10 	lwz     r11,16(r31)                            <== NOT EXECUTED
        return (*pathloc->ops->evalformake_h)(path + 2, pathloc, name);
ffc12754:	7f e4 fb 78 	mr      r4,r31                                 <== 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;                  
ffc12758:	39 6b 00 08 	addi    r11,r11,8                              <== NOT EXECUTED
ffc1275c:	7c ab a4 aa 	lswi    r5,r11,20                              <== NOT EXECUTED
ffc12760:	7c bf a5 aa 	stswi   r5,r31,20                              <== NOT EXECUTED
        return (*pathloc->ops->evalformake_h)(path + 2, pathloc, name);
ffc12764:	38 7d 00 02 	addi    r3,r29,2                               <== NOT EXECUTED
ffc12768:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc1276c:	81 3f 00 0c 	lwz     r9,12(r31)                             <== NOT EXECUTED
ffc12770:	80 09 00 04 	lwz     r0,4(r9)                               <== NOT EXECUTED
ffc12774:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc12778:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc1277c:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
ffc12780:	48 00 01 94 	b       ffc12914 <rtems_rfs_rtems_eval_for_make+0x3e0><== 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)))     
ffc12784:	81 21 00 20 	lwz     r9,32(r1)                              <== NOT EXECUTED
      {                                                               
        rtems_rfs_inode_close (fs, &inode);                           
ffc12788:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1278c:	38 81 00 14 	addi    r4,r1,20                               <== NOT EXECUTED
ffc12790:	88 09 00 02 	lbz     r0,2(r9)                               <== 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)))     
ffc12794:	54 00 44 26 	rlwinm  r0,r0,8,16,19                          <== NOT EXECUTED
ffc12798:	2f 80 40 00 	cmpwi   cr7,r0,16384                           <== NOT EXECUTED
ffc1279c:	41 be 00 1c 	beq+    cr7,ffc127b8 <rtems_rfs_rtems_eval_for_make+0x284><== NOT EXECUTED
      {                                                               
        rtems_rfs_inode_close (fs, &inode);                           
ffc127a0:	4b ff ec 29 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
        rtems_rfs_rtems_unlock (fs);                                  
ffc127a4:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc127a8:	4b ff f4 51 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
        return rtems_rfs_rtems_error ("eval_for_make: not dir", ENOTSUP);
ffc127ac:	48 00 e1 fd 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc127b0:	38 00 00 86 	li      r0,134                                 <== NOT EXECUTED
ffc127b4:	4b ff fe 9c 	b       ffc12650 <rtems_rfs_rtems_eval_for_make+0x11c><== NOT EXECUTED
      }                                                               
                                                                      
      /*                                                              
       * We need to find the parent of this node.                     
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode, "..", 2, &ino, &doff);
ffc127b8:	7f 65 db 78 	mr      r5,r27                                 <== NOT EXECUTED
ffc127bc:	38 c0 00 02 	li      r6,2                                   <== NOT EXECUTED
ffc127c0:	48 00 00 14 	b       ffc127d4 <rtems_rfs_rtems_eval_for_make+0x2a0><== NOT EXECUTED
    else                                                              
    {                                                                 
      /*                                                              
       * Read the inode so we know it exists and what type it is.     
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode,                      
ffc127c4:	7f 83 e3 78 	mr      r3,r28                                 
ffc127c8:	38 81 00 14 	addi    r4,r1,20                               
ffc127cc:	7f 45 d3 78 	mr      r5,r26                                 
ffc127d0:	7f 26 cb 78 	mr      r6,r25                                 
ffc127d4:	38 e1 00 10 	addi    r7,r1,16                               
ffc127d8:	39 01 00 08 	addi    r8,r1,8                                
ffc127dc:	48 00 95 6d 	bl      ffc1bd48 <rtems_rfs_dir_lookup_ino>    
                                     node, node_len - stripped, &ino, &doff);
      if (rc > 0)                                                     
      {                                                               
        rtems_rfs_inode_close (fs, &inode);                           
ffc127e0:	38 81 00 14 	addi    r4,r1,20                               
      /*                                                              
       * Read the inode so we know it exists and what type it is.     
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode,                      
                                     node, node_len - stripped, &ino, &doff);
      if (rc > 0)                                                     
ffc127e4:	7c 7a 1b 79 	mr.     r26,r3                                 
      {                                                               
        rtems_rfs_inode_close (fs, &inode);                           
ffc127e8:	7f 83 e3 78 	mr      r3,r28                                 
      /*                                                              
       * Read the inode so we know it exists and what type it is.     
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode,                      
                                     node, node_len - stripped, &ino, &doff);
      if (rc > 0)                                                     
ffc127ec:	40 a1 00 0c 	ble+    ffc127f8 <rtems_rfs_rtems_eval_for_make+0x2c4>
      {                                                               
        rtems_rfs_inode_close (fs, &inode);                           
ffc127f0:	4b ff eb d9 	bl      ffc113c8 <rtems_rfs_inode_close>       
ffc127f4:	48 00 00 10 	b       ffc12804 <rtems_rfs_rtems_eval_for_make+0x2d0>
      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);                          
ffc127f8:	4b ff eb d1 	bl      ffc113c8 <rtems_rfs_inode_close>       
    if (rc > 0)                                                       
ffc127fc:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc12800:	40 81 fd d8 	ble+    ffc125d8 <rtems_rfs_rtems_eval_for_make+0xa4><== ALWAYS TAKEN
    {                                                                 
      rtems_rfs_rtems_unlock (fs);                                    
ffc12804:	7f 83 e3 78 	mr      r3,r28                                 
ffc12808:	4b ff f3 f1 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      
      return rtems_rfs_rtems_error ("eval_for_make: closing node", rc);
ffc1280c:	48 00 e1 9d 	bl      ffc209a8 <__errno>                     
ffc12810:	93 43 00 00 	stw     r26,0(r3)                              
ffc12814:	4b ff fe 40 	b       ffc12654 <rtems_rfs_rtems_eval_for_make+0x120>
    }                                                                 
  }                                                                   
                                                                      
  if (!RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)))         
ffc12818:	81 21 00 20 	lwz     r9,32(r1)                              
ffc1281c:	88 09 00 02 	lbz     r0,2(r9)                               
ffc12820:	54 00 44 26 	rlwinm  r0,r0,8,16,19                          
ffc12824:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
ffc12828:	41 be 00 24 	beq+    cr7,ffc1284c <rtems_rfs_rtems_eval_for_make+0x318>
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
ffc1282c:	38 81 00 14 	addi    r4,r1,20                               
ffc12830:	7f 83 e3 78 	mr      r3,r28                                 
ffc12834:	4b ff eb 95 	bl      ffc113c8 <rtems_rfs_inode_close>       
    rtems_rfs_rtems_unlock (fs);                                      
ffc12838:	7f 83 e3 78 	mr      r3,r28                                 
ffc1283c:	4b ff f3 bd 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      
    return rtems_rfs_rtems_error ("eval_for_make: not dir", ENOTDIR); 
ffc12840:	48 00 e1 69 	bl      ffc209a8 <__errno>                     
ffc12844:	38 00 00 14 	li      r0,20                                  
ffc12848:	4b ff fe 08 	b       ffc12650 <rtems_rfs_rtems_eval_for_make+0x11c>
  }                                                                   
                                                                      
  if (!rtems_rfs_rtems_eval_perms (&inode, RTEMS_LIBIO_PERMS_WX))     
ffc1284c:	38 61 00 14 	addi    r3,r1,20                               
ffc12850:	38 80 00 03 	li      r4,3                                   
ffc12854:	48 00 07 65 	bl      ffc12fb8 <rtems_rfs_rtems_eval_perms>  
ffc12858:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1285c:	41 be fd d8 	beq-    cr7,ffc12634 <rtems_rfs_rtems_eval_for_make+0x100><== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Make sure the name does not already exists in the directory.     
   */                                                                 
  rc = rtems_rfs_dir_lookup_ino (fs, &inode, *name, strlen (*name),   
ffc12860:	83 de 00 00 	lwz     r30,0(r30)                             
ffc12864:	7f c3 f3 78 	mr      r3,r30                                 
ffc12868:	48 00 ff a9 	bl      ffc22810 <strlen>                      
ffc1286c:	7f c5 f3 78 	mr      r5,r30                                 
ffc12870:	7c 66 1b 78 	mr      r6,r3                                  
ffc12874:	38 81 00 14 	addi    r4,r1,20                               
ffc12878:	7f 83 e3 78 	mr      r3,r28                                 
ffc1287c:	38 e1 00 0c 	addi    r7,r1,12                               
ffc12880:	39 01 00 08 	addi    r8,r1,8                                
ffc12884:	48 00 94 c5 	bl      ffc1bd48 <rtems_rfs_dir_lookup_ino>    
                                 &node_ino, &doff);                   
  if (rc == 0)                                                        
ffc12888:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1288c:	40 a2 00 24 	bne+    ffc128b0 <rtems_rfs_rtems_eval_for_make+0x37c>
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
ffc12890:	38 81 00 14 	addi    r4,r1,20                               
ffc12894:	7f 83 e3 78 	mr      r3,r28                                 
ffc12898:	4b ff eb 31 	bl      ffc113c8 <rtems_rfs_inode_close>       
    rtems_rfs_rtems_unlock (fs);                                      
ffc1289c:	7f 83 e3 78 	mr      r3,r28                                 
ffc128a0:	4b ff f3 59 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      
    return rtems_rfs_rtems_error ("eval_for_make: found name", EEXIST);
ffc128a4:	48 00 e1 05 	bl      ffc209a8 <__errno>                     
ffc128a8:	38 00 00 11 	li      r0,17                                  
ffc128ac:	4b ff fd a4 	b       ffc12650 <rtems_rfs_rtems_eval_for_make+0x11c>
  }                                                                   
                                                                      
  if (rc != ENOENT)                                                   
ffc128b0:	2f 9e 00 02 	cmpwi   cr7,r30,2                              
ffc128b4:	41 9e 00 24 	beq-    cr7,ffc128d8 <rtems_rfs_rtems_eval_for_make+0x3a4><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
ffc128b8:	38 81 00 14 	addi    r4,r1,20                               <== NOT EXECUTED
ffc128bc:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc128c0:	4b ff eb 09 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
    rtems_rfs_rtems_unlock (fs);                                      
ffc128c4:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc128c8:	4b ff f3 31 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("eval_for_make: look up", rc);      
ffc128cc:	48 00 e0 dd 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc128d0:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc128d4:	4b ff fd 80 	b       ffc12654 <rtems_rfs_rtems_eval_for_make+0x120><== NOT EXECUTED
                                                                      
  /*                                                                  
   * Set the parent ino in the path location.                         
   */                                                                 
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
ffc128d8:	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;      
ffc128dc:	7f e3 fb 78 	mr      r3,r31                                 
ffc128e0:	38 81 00 14 	addi    r4,r1,20                               
                                                                      
  /*                                                                  
   * Set the parent ino in the path location.                         
   */                                                                 
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
ffc128e4:	90 1f 00 00 	stw     r0,0(r31)                              
  rtems_rfs_rtems_set_pathloc_doff (pathloc, doff);                   
ffc128e8:	80 01 00 08 	lwz     r0,8(r1)                               
ffc128ec:	90 1f 00 04 	stw     r0,4(r31)                              
                                                                      
  rc = rtems_rfs_rtems_set_handlers (pathloc, &inode) ? 0 : EIO;      
ffc128f0:	48 00 07 05 	bl      ffc12ff4 <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);                                 
ffc128f4:	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;      
ffc128f8:	30 63 ff ff 	addic   r3,r3,-1                               
ffc128fc:	7c 63 19 10 	subfe   r3,r3,r3                               
ffc12900:	70 7f 00 05 	andi.   r31,r3,5                               
                                                                      
  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);                                 
ffc12904:	7f 83 e3 78 	mr      r3,r28                                 
ffc12908:	4b ff ea c1 	bl      ffc113c8 <rtems_rfs_inode_close>       
  rtems_rfs_rtems_unlock (fs);                                        
ffc1290c:	7f 83 e3 78 	mr      r3,r28                                 
ffc12910:	4b ff f2 e9 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      
                                                                      
  return rc;                                                          
}                                                                     
ffc12914:	39 61 00 68 	addi    r11,r1,104                             
ffc12918:	7f e3 fb 78 	mr      r3,r31                                 
ffc1291c:	4b ff 01 c4 	b       ffc02ae0 <_restgpr_25_x>               
                                                                      

ffc12920 <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) {
ffc12920:	94 21 ff a0 	stwu    r1,-96(r1)                             
ffc12924:	7c 08 02 a6 	mflr    r0                                     
ffc12928:	90 01 00 64 	stw     r0,100(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);
ffc1292c:	80 06 00 00 	lwz     r0,0(r6)                               
rtems_rfs_rtems_eval_path (const char*                       path,    
                           size_t                            pathlen, 
                           int                               flags,   
                           rtems_filesystem_location_info_t* pathloc) 
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc12930:	81 26 00 10 	lwz     r9,16(r6)                              
static int                                                            
rtems_rfs_rtems_eval_path (const char*                       path,    
                           size_t                            pathlen, 
                           int                               flags,   
                           rtems_filesystem_location_info_t* pathloc) 
{                                                                     
ffc12934:	be e1 00 3c 	stmw    r23,60(r1)                             
ffc12938:	7c 9e 23 78 	mr      r30,r4                                 
ffc1293c:	7c 78 1b 78 	mr      r24,r3                                 
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc12940:	83 49 00 34 	lwz     r26,52(r9)                             
static int                                                            
rtems_rfs_rtems_eval_path (const char*                       path,    
                           size_t                            pathlen, 
                           int                               flags,   
                           rtems_filesystem_location_info_t* pathloc) 
{                                                                     
ffc12944:	7c bb 2b 78 	mr      r27,r5                                 
  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);
ffc12948:	90 01 00 0c 	stw     r0,12(r1)                              
  uint32_t               doff = 0;                                    
ffc1294c:	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) 
{                                                                     
ffc12950:	7c df 33 78 	mr      r31,r6                                 
  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;                                    
ffc12954:	90 01 00 08 	stw     r0,8(r1)                               
            path, pathlen, ino);                                      
                                                                      
  /*                                                                  
   * Eat any separators at the start of the path.                     
   */                                                                 
  stripped = rtems_filesystem_prefix_separators (path, pathlen);      
ffc12958:	4b ff 4e 19 	bl      ffc07770 <rtems_filesystem_prefix_separators>
  path += stripped;                                                   
ffc1295c:	7f 18 1a 14 	add     r24,r24,r3                             
  pathlen -= stripped;                                                
ffc12960:	7f c3 f0 50 	subf    r30,r3,r30                             
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc12964:	80 7a 00 7c 	lwz     r3,124(r26)                            
      }                                                               
                                                                      
      /*                                                              
       * We need to find the parent of this node.                     
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode, "..", 2, &ino, &doff);
ffc12968:	3f 20 ff c3 	lis     r25,-61                                
   */                                                                 
  stripped = rtems_filesystem_prefix_separators (path, pathlen);      
  path += stripped;                                                   
  pathlen -= stripped;                                                
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc1296c:	4b ff f4 bd 	bl      ffc11e28 <rtems_rfs_rtems_lock.isra.16>
      }                                                               
                                                                      
      /*                                                              
       * We need to find the parent of this node.                     
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode, "..", 2, &ino, &doff);
ffc12970:	3b 39 03 94 	addi    r25,r25,916                            
ffc12974:	48 00 00 08 	b       ffc1297c <rtems_rfs_rtems_eval_path+0x5c>
                                                                      
    /*                                                                
     * Eat any separators at start of the path.                       
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, pathlen);    
    path += stripped;                                                 
ffc12978:	7f b8 eb 78 	mr      r24,r29                                
  while (true)                                                        
  {                                                                   
    /*                                                                
     * Open and load the inode.                                       
     */                                                               
    rc = rtems_rfs_inode_open (fs, ino, &inode, true);                
ffc1297c:	80 81 00 0c 	lwz     r4,12(r1)                              
ffc12980:	7f 43 d3 78 	mr      r3,r26                                 
ffc12984:	38 a1 00 10 	addi    r5,r1,16                               
ffc12988:	38 c0 00 01 	li      r6,1                                   
ffc1298c:	4b ff e8 4d 	bl      ffc111d8 <rtems_rfs_inode_open>        
    if (rc > 0)                                                       
ffc12990:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc12994:	40 a1 00 18 	ble+    ffc129ac <rtems_rfs_rtems_eval_path+0x8c><== ALWAYS TAKEN
    {                                                                 
      rtems_rfs_rtems_unlock (fs);                                    
ffc12998:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc1299c:	4b ff f2 5d 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
      return rtems_rfs_rtems_error ("eval_path: opening inode", rc);  
ffc129a0:	48 00 e0 09 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc129a4:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc129a8:	48 00 00 6c 	b       ffc12a14 <rtems_rfs_rtems_eval_path+0xf4><== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * Is this the end of the pathname we where given ?               
     */                                                               
    if ((*path == '\0') || (pathlen == 0))                            
ffc129ac:	88 18 00 00 	lbz     r0,0(r24)                              
ffc129b0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc129b4:	41 9e 01 ec 	beq-    cr7,ffc12ba0 <rtems_rfs_rtems_eval_path+0x280>
ffc129b8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc129bc:	41 9e 01 e4 	beq-    cr7,ffc12ba0 <rtems_rfs_rtems_eval_path+0x280>
      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)) &&      
ffc129c0:	81 21 00 1c 	lwz     r9,28(r1)                              
ffc129c4:	88 09 00 02 	lbz     r0,2(r9)                               
ffc129c8:	54 00 44 26 	rlwinm  r0,r0,8,16,19                          
ffc129cc:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
ffc129d0:	40 be 00 18 	bne+    cr7,ffc129e8 <rtems_rfs_rtems_eval_path+0xc8>
        !rtems_rfs_rtems_eval_perms (&inode, RTEMS_LIBIO_PERMS_SEARCH))
ffc129d4:	38 61 00 10 	addi    r3,r1,16                               
ffc129d8:	38 80 00 01 	li      r4,1                                   
ffc129dc:	48 00 05 dd 	bl      ffc12fb8 <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)) &&      
ffc129e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc129e4:	41 9e 00 10 	beq-    cr7,ffc129f4 <rtems_rfs_rtems_eval_path+0xd4><== NEVER TAKEN
                                                                      
    /*                                                                
     * Eat any separators at start of the path.                       
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, pathlen);    
    path += stripped;                                                 
ffc129e8:	7f 1d c3 78 	mr      r29,r24                                
ffc129ec:	3a e0 00 00 	li      r23,0                                  
ffc129f0:	48 00 00 38 	b       ffc12a28 <rtems_rfs_rtems_eval_path+0x108>
     * 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);                             
ffc129f4:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc129f8:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc129fc:	4b ff e9 cd 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
      rtems_rfs_rtems_unlock (fs);                                    
ffc12a00:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc12a04:	4b ff f1 f5 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
      return rtems_rfs_rtems_error ("eval_path: eval perms", EACCES); 
ffc12a08:	48 00 df a1 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc12a0c:	38 00 00 0d 	li      r0,13                                  <== NOT EXECUTED
ffc12a10:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc12a14:	3b e0 ff ff 	li      r31,-1                                 
ffc12a18:	48 00 01 c4 	b       ffc12bdc <rtems_rfs_rtems_eval_path+0x2bc>
    node_len = 0;                                                     
    while (!rtems_filesystem_is_separator (*path) &&                  
           (*path != '\0') && pathlen &&                              
           ((node_len + 1) < rtems_rfs_fs_max_name (fs)))             
    {                                                                 
      path++;                                                         
ffc12a1c:	3b bd 00 01 	addi    r29,r29,1                              
      pathlen--;                                                      
ffc12a20:	3b de ff ff 	addi    r30,r30,-1                             
ffc12a24:	7c 17 03 78 	mr      r23,r0                                 
    /*                                                                
     * Extract the node name we will look for this time around.       
     */                                                               
    node = path;                                                      
    node_len = 0;                                                     
    while (!rtems_filesystem_is_separator (*path) &&                  
ffc12a28:	88 7d 00 00 	lbz     r3,0(r29)                              
ffc12a2c:	4b ff 67 c9 	bl      ffc091f4 <rtems_filesystem_is_separator>
ffc12a30:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc12a34:	40 9e 00 28 	bne-    cr7,ffc12a5c <rtems_rfs_rtems_eval_path+0x13c>
ffc12a38:	88 1d 00 00 	lbz     r0,0(r29)                              
ffc12a3c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc12a40:	41 9e 00 1c 	beq-    cr7,ffc12a5c <rtems_rfs_rtems_eval_path+0x13c><== NEVER TAKEN
           (*path != '\0') && pathlen &&                              
ffc12a44:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc12a48:	41 9e 00 14 	beq-    cr7,ffc12a5c <rtems_rfs_rtems_eval_path+0x13c><== NEVER TAKEN
ffc12a4c:	81 3a 00 18 	lwz     r9,24(r26)                             
           ((node_len + 1) < rtems_rfs_fs_max_name (fs)))             
ffc12a50:	38 17 00 01 	addi    r0,r23,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') && pathlen &&                              
ffc12a54:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc12a58:	41 9c ff c4 	blt+    cr7,ffc12a1c <rtems_rfs_rtems_eval_path+0xfc><== ALWAYS TAKEN
    }                                                                 
                                                                      
    /*                                                                
     * Eat any separators at start of the path.                       
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, pathlen);    
ffc12a5c:	7f a3 eb 78 	mr      r3,r29                                 
ffc12a60:	7f c4 f3 78 	mr      r4,r30                                 
ffc12a64:	4b ff 4d 0d 	bl      ffc07770 <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))                                 
ffc12a68:	88 18 00 00 	lbz     r0,0(r24)                              
                                                                      
    /*                                                                
     * Eat any separators at start of the path.                       
     */                                                               
    stripped = rtems_filesystem_prefix_separators (path, pathlen);    
    path += stripped;                                                 
ffc12a6c:	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))                                 
ffc12a70:	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;                                              
ffc12a74:	7f c3 f0 50 	subf    r30,r3,r30                             
    node_len += stripped;                                             
ffc12a78:	7f 83 ba 14 	add     r28,r3,r23                             
                                                                      
    /*                                                                
     * 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))                                 
ffc12a7c:	40 be 00 38 	bne+    cr7,ffc12ab4 <rtems_rfs_rtems_eval_path+0x194>
ffc12a80:	88 78 00 01 	lbz     r3,1(r24)                              
ffc12a84:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc12a88:	41 be 00 10 	beq+    cr7,ffc12a98 <rtems_rfs_rtems_eval_path+0x178>
ffc12a8c:	4b ff 67 69 	bl      ffc091f4 <rtems_filesystem_is_separator>
ffc12a90:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc12a94:	41 9e 00 20 	beq-    cr7,ffc12ab4 <rtems_rfs_rtems_eval_path+0x194><== ALWAYS TAKEN
    {                                                                 
      if (*path)                                                      
ffc12a98:	88 1d 00 00 	lbz     r0,0(r29)                              
ffc12a9c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc12aa0:	41 be 01 00 	beq+    cr7,ffc12ba0 <rtems_rfs_rtems_eval_path+0x280><== ALWAYS TAKEN
      {                                                               
        rtems_rfs_inode_close (fs, &inode);                           
ffc12aa4:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc12aa8:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc12aac:	4b ff e9 1d 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
        continue;                                                     
ffc12ab0:	4b ff fe c8 	b       ffc12978 <rtems_rfs_rtems_eval_path+0x58><== NOT EXECUTED
    /*                                                                
     * If the node is a parent we must move up one directory. If the location
     * is on another file system we have a crossmount so we call that file
     * system to handle the remainder of the path.                    
     */                                                               
    if (rtems_rfs_parent_dir (node))                                  
ffc12ab4:	88 18 00 00 	lbz     r0,0(r24)                              
ffc12ab8:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc12abc:	40 9e 00 8c 	bne-    cr7,ffc12b48 <rtems_rfs_rtems_eval_path+0x228>
ffc12ac0:	88 18 00 01 	lbz     r0,1(r24)                              
ffc12ac4:	2f 80 00 2e 	cmpwi   cr7,r0,46                              
ffc12ac8:	40 be 00 80 	bne+    cr7,ffc12b48 <rtems_rfs_rtems_eval_path+0x228><== NEVER TAKEN
ffc12acc:	88 78 00 02 	lbz     r3,2(r24)                              
ffc12ad0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc12ad4:	41 be 00 10 	beq+    cr7,ffc12ae4 <rtems_rfs_rtems_eval_path+0x1c4><== ALWAYS TAKEN
ffc12ad8:	4b ff 67 1d 	bl      ffc091f4 <rtems_filesystem_is_separator><== NOT EXECUTED
ffc12adc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc12ae0:	41 9e 00 68 	beq-    cr7,ffc12b48 <rtems_rfs_rtems_eval_path+0x228><== NOT EXECUTED
    {                                                                 
      /*                                                              
       * If we are at root inode of the file system we have a crossmount path.
       */                                                             
      if (ino == RTEMS_RFS_ROOT_INO)                                  
ffc12ae4:	80 01 00 0c 	lwz     r0,12(r1)                              
      {                                                               
        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);                           
ffc12ae8:	7f 43 d3 78 	mr      r3,r26                                 
ffc12aec:	38 81 00 10 	addi    r4,r1,16                               
    if (rtems_rfs_parent_dir (node))                                  
    {                                                                 
      /*                                                              
       * If we are at root inode of the file system we have a crossmount path.
       */                                                             
      if (ino == RTEMS_RFS_ROOT_INO)                                  
ffc12af0:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc12af4:	40 be 00 48 	bne+    cr7,ffc12b3c <rtems_rfs_rtems_eval_path+0x21c>
      {                                                               
        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);                           
ffc12af8:	4b ff e8 d1 	bl      ffc113c8 <rtems_rfs_inode_close>       
        rtems_rfs_rtems_unlock (fs);                                  
ffc12afc:	7f 43 d3 78 	mr      r3,r26                                 
ffc12b00:	4b ff f0 f9 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      
        *pathloc = pathloc->mt_entry->mt_point_node;                  
ffc12b04:	81 7f 00 10 	lwz     r11,16(r31)                            
        return (*pathloc->ops->evalpath_h)(path - node_len, pathlen + node_len,
ffc12b08:	7c 7c e8 50 	subf    r3,r28,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;                  
ffc12b0c:	39 6b 00 08 	addi    r11,r11,8                              
ffc12b10:	7c ab a4 aa 	lswi    r5,r11,20                              
ffc12b14:	7c bf a5 aa 	stswi   r5,r31,20                              
        return (*pathloc->ops->evalpath_h)(path - node_len, pathlen + node_len,
ffc12b18:	7c 9e e2 14 	add     r4,r30,r28                             
ffc12b1c:	7f e6 fb 78 	mr      r6,r31                                 
ffc12b20:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc12b24:	7f 65 db 78 	mr      r5,r27                                 
ffc12b28:	80 09 00 00 	lwz     r0,0(r9)                               
ffc12b2c:	7c 09 03 a6 	mtctr   r0                                     
ffc12b30:	4e 80 04 21 	bctrl                                          
ffc12b34:	7c 7f 1b 78 	mr      r31,r3                                 
ffc12b38:	48 00 00 a4 	b       ffc12bdc <rtems_rfs_rtems_eval_path+0x2bc>
      }                                                               
                                                                      
      /*                                                              
       * We need to find the parent of this node.                     
       */                                                             
      rc = rtems_rfs_dir_lookup_ino (fs, &inode, "..", 2, &ino, &doff);
ffc12b3c:	7f 25 cb 78 	mr      r5,r25                                 
ffc12b40:	38 c0 00 02 	li      r6,2                                   
ffc12b44:	48 00 00 14 	b       ffc12b58 <rtems_rfs_rtems_eval_path+0x238>
      /*                                                              
       * 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,                      
ffc12b48:	7f 43 d3 78 	mr      r3,r26                                 
ffc12b4c:	38 81 00 10 	addi    r4,r1,16                               
ffc12b50:	7f 05 c3 78 	mr      r5,r24                                 
ffc12b54:	7e e6 bb 78 	mr      r6,r23                                 
ffc12b58:	38 e1 00 0c 	addi    r7,r1,12                               
ffc12b5c:	39 01 00 08 	addi    r8,r1,8                                
ffc12b60:	48 00 91 e9 	bl      ffc1bd48 <rtems_rfs_dir_lookup_ino>    
                                     node, node_len - stripped, &ino, &doff);
      if (rc > 0)                                                     
ffc12b64:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc12b68:	41 81 00 18 	bgt-    ffc12b80 <rtems_rfs_rtems_eval_path+0x260>
      }                                                               
      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);                          
ffc12b6c:	7f 43 d3 78 	mr      r3,r26                                 
ffc12b70:	38 81 00 10 	addi    r4,r1,16                               
ffc12b74:	4b ff e8 55 	bl      ffc113c8 <rtems_rfs_inode_close>       
    if (rc > 0)                                                       
ffc12b78:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc12b7c:	40 81 fd fc 	ble+    ffc12978 <rtems_rfs_rtems_eval_path+0x58><== ALWAYS TAKEN
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
ffc12b80:	38 81 00 10 	addi    r4,r1,16                               
ffc12b84:	7f 43 d3 78 	mr      r3,r26                                 
ffc12b88:	4b ff e8 41 	bl      ffc113c8 <rtems_rfs_inode_close>       
      rtems_rfs_rtems_unlock (fs);                                    
ffc12b8c:	7f 43 d3 78 	mr      r3,r26                                 
ffc12b90:	4b ff f0 69 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      
      return rtems_rfs_rtems_error ("eval_path: closing node", rc);   
ffc12b94:	48 00 de 15 	bl      ffc209a8 <__errno>                     
ffc12b98:	93 83 00 00 	stw     r28,0(r3)                              
ffc12b9c:	4b ff fe 78 	b       ffc12a14 <rtems_rfs_rtems_eval_path+0xf4>
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
ffc12ba0:	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;      
ffc12ba4:	7f e3 fb 78 	mr      r3,r31                                 
ffc12ba8:	38 81 00 10 	addi    r4,r1,16                               
      rtems_rfs_rtems_unlock (fs);                                    
      return rtems_rfs_rtems_error ("eval_path: closing node", rc);   
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_rtems_set_pathloc_ino (pathloc, ino);                     
ffc12bac:	90 1f 00 00 	stw     r0,0(r31)                              
  rtems_rfs_rtems_set_pathloc_doff (pathloc, doff);                   
ffc12bb0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc12bb4:	90 1f 00 04 	stw     r0,4(r31)                              
                                                                      
  rc = rtems_rfs_rtems_set_handlers (pathloc, &inode) ? 0 : EIO;      
ffc12bb8:	48 00 04 3d 	bl      ffc12ff4 <rtems_rfs_rtems_set_handlers>
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc12bbc:	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;      
ffc12bc0:	30 63 ff ff 	addic   r3,r3,-1                               
ffc12bc4:	7c 63 19 10 	subfe   r3,r3,r3                               
ffc12bc8:	70 7f 00 05 	andi.   r31,r3,5                               
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc12bcc:	7f 43 d3 78 	mr      r3,r26                                 
ffc12bd0:	4b ff e7 f9 	bl      ffc113c8 <rtems_rfs_inode_close>       
  rtems_rfs_rtems_unlock (fs);                                        
ffc12bd4:	7f 43 d3 78 	mr      r3,r26                                 
ffc12bd8:	4b ff f0 21 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_EVAL_PATH))        
    printf("rtems-rfs-rtems: eval-path: ino:%" PRId32 "\n", ino);     
                                                                      
  return rc;                                                          
}                                                                     
ffc12bdc:	39 61 00 60 	addi    r11,r1,96                              
ffc12be0:	7f e3 fb 78 	mr      r3,r31                                 
ffc12be4:	4b fe fe f4 	b       ffc02ad8 <_restgpr_23_x>               
                                                                      

ffc12eb4 <rtems_rfs_rtems_fchmod>: } int rtems_rfs_rtems_fchmod (rtems_filesystem_location_info_t* pathloc, mode_t mode) {
ffc12eb4:	94 21 ff b8 	stwu    r1,-72(r1)                             <== NOT EXECUTED
ffc12eb8:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc12ebc:	90 01 00 4c 	stw     r0,76(r1)                              <== NOT EXECUTED
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
ffc12ec0:	81 23 00 10 	lwz     r9,16(r3)                              <== NOT EXECUTED
}                                                                     
                                                                      
int                                                                   
rtems_rfs_rtems_fchmod (rtems_filesystem_location_info_t* pathloc,    
                        mode_t                            mode)       
{                                                                     
ffc12ec4:	bf a1 00 3c 	stmw    r29,60(r1)                             <== NOT EXECUTED
ffc12ec8:	7c 9e 23 78 	mr      r30,r4                                 <== NOT EXECUTED
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
ffc12ecc:	83 e9 00 34 	lwz     r31,52(r9)                             <== NOT EXECUTED
  rtems_rfs_ino           ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
ffc12ed0:	83 a3 00 00 	lwz     r29,0(r3)                              <== NOT EXECUTED
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FCHMOD))           
    printf ("rtems-rfs-rtems: fchmod: in: ino:%" PRId32 " mode:%06" PRIomode_t "\n",
            ino, mode);                                               
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc12ed4:	80 7f 00 7c 	lwz     r3,124(r31)                            <== NOT EXECUTED
ffc12ed8:	4b ff ef 51 	bl      ffc11e28 <rtems_rfs_rtems_lock.isra.16><== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc12edc:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc12ee0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc12ee4:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc12ee8:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc12eec:	4b ff e2 ed 	bl      ffc111d8 <rtems_rfs_inode_open>        <== NOT EXECUTED
  if (rc)                                                             
ffc12ef0:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc12ef4:	41 82 00 18 	beq-    ffc12f0c <rtems_rfs_rtems_fchmod+0x58> <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc12ef8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc12efc:	4b ff ec fd 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("fchmod: opening inode", rc);       
ffc12f00:	48 00 da a9 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc12f04:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc12f08:	48 00 00 54 	b       ffc12f5c <rtems_rfs_rtems_fchmod+0xa8> <== NOT EXECUTED
  }                                                                   
                                                                      
  imode = rtems_rfs_inode_get_mode (&inode);                          
ffc12f0c:	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);
ffc12f10:	57 de 05 3e 	clrlwi  r30,r30,20                             <== NOT EXECUTED
                                                                      
  rtems_rfs_inode_set_mode (&inode, imode);                           
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc12f14:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
 * @return uint16_t The mode.                                         
 */                                                                   
static inline uint16_t                                                
rtems_rfs_inode_get_mode (rtems_rfs_inode_handle* handle)             
{                                                                     
  return rtems_rfs_read_u16 (&handle->node->mode);                    
ffc12f18:	88 09 00 02 	lbz     r0,2(r9)                               <== NOT EXECUTED
ffc12f1c:	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);
ffc12f20:	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);
ffc12f24:	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);                    
ffc12f28:	57 c0 c2 3e 	rlwinm  r0,r30,24,8,31                         <== NOT EXECUTED
ffc12f2c:	98 09 00 02 	stb     r0,2(r9)                               <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc12f30:	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);                    
ffc12f34:	81 21 00 14 	lwz     r9,20(r1)                              <== NOT EXECUTED
ffc12f38:	9b c9 00 03 	stb     r30,3(r9)                              <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc12f3c:	98 01 00 18 	stb     r0,24(r1)                              <== NOT EXECUTED
                                                                      
  rtems_rfs_inode_set_mode (&inode, imode);                           
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc12f40:	4b ff e4 89 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
  if (rc > 0)                                                         
ffc12f44:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc12f48:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
  imode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
                                                                      
  rtems_rfs_inode_set_mode (&inode, imode);                           
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc > 0)                                                         
ffc12f4c:	40 81 00 18 	ble-    ffc12f64 <rtems_rfs_rtems_fchmod+0xb0> <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc12f50:	4b ff ec a9 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("fchmod: closing inode", rc);       
ffc12f54:	48 00 da 55 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc12f58:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc12f5c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc12f60:	48 00 00 0c 	b       ffc12f6c <rtems_rfs_rtems_fchmod+0xb8> <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
ffc12f64:	4b ff ec 95 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
                                                                      
  return 0;                                                           
ffc12f68:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc12f6c:	39 61 00 48 	addi    r11,r1,72                              <== NOT EXECUTED
ffc12f70:	4b fe fb 80 	b       ffc02af0 <_restgpr_29_x>               <== NOT EXECUTED
                                                                      

ffc12f74 <rtems_rfs_rtems_fdatasync>: * @param iop * @return int */ int rtems_rfs_rtems_fdatasync (rtems_libio_t* iop) {
ffc12f74:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc12f78:	7c 2b 0b 78 	mr      r11,r1                                 <== NOT EXECUTED
ffc12f7c:	94 21 ff f0 	stwu    r1,-16(r1)                             <== NOT EXECUTED
ffc12f80:	90 01 00 14 	stw     r0,20(r1)                              <== NOT EXECUTED
ffc12f84:	4b fe fb 29 	bl      ffc02aac <_savegpr_31>                 <== NOT EXECUTED
  int rc;                                                             
                                                                      
  rc = rtems_rfs_buffer_sync (rtems_rfs_rtems_pathloc_dev (&iop->pathinfo));
ffc12f88:	81 23 00 2c 	lwz     r9,44(r3)                              <== NOT EXECUTED
ffc12f8c:	80 69 00 34 	lwz     r3,52(r9)                              <== NOT EXECUTED
ffc12f90:	48 00 8a c5 	bl      ffc1ba54 <rtems_rfs_buffer_sync>       <== NOT EXECUTED
  if (rc)                                                             
    return rtems_rfs_rtems_error ("fdatasync: sync", rc);             
                                                                      
  return 0;                                                           
ffc12f94:	38 00 00 00 	li      r0,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)                                                             
ffc12f98:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc12f9c:	41 a2 00 10 	beq+    ffc12fac <rtems_rfs_rtems_fdatasync+0x38><== NOT EXECUTED
    return rtems_rfs_rtems_error ("fdatasync: sync", rc);             
ffc12fa0:	48 00 da 09 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc12fa4:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc12fa8:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
ffc12fac:	39 61 00 10 	addi    r11,r1,16                              <== NOT EXECUTED
ffc12fb0:	7c 03 03 78 	mr      r3,r0                                  <== NOT EXECUTED
ffc12fb4:	4b fe fb 44 	b       ffc02af8 <_restgpr_31_x>               <== NOT EXECUTED
                                                                      

ffc1fc18 <rtems_rfs_rtems_file_close>: * @param iop * @return int */ static int rtems_rfs_rtems_file_close (rtems_libio_t* iop) {
ffc1fc18:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1fc1c:	7c 08 02 a6 	mflr    r0                                     
ffc1fc20:	90 01 00 14 	stw     r0,20(r1)                              
ffc1fc24:	bf c1 00 08 	stmw    r30,8(r1)                              
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
ffc1fc28:	83 c3 00 20 	lwz     r30,32(r3)                             
  rtems_rfs_file_system* fs = rtems_rfs_file_fs (file);               
ffc1fc2c:	81 3e 00 1c 	lwz     r9,28(r30)                             
ffc1fc30:	83 e9 00 98 	lwz     r31,152(r9)                            
  int                    rc;                                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_CLOSE))       
    printf("rtems-rfs: file-close: handle:%p\n", file);               
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc1fc34:	80 7f 00 7c 	lwz     r3,124(r31)                            
ffc1fc38:	4b ff fb f9 	bl      ffc1f830 <rtems_rfs_rtems_lock.isra.1> 
                                                                      
  rc = rtems_rfs_file_close (fs, file);                               
ffc1fc3c:	7f c4 f3 78 	mr      r4,r30                                 
ffc1fc40:	7f e3 fb 78 	mr      r3,r31                                 
ffc1fc44:	4b ff d2 fd 	bl      ffc1cf40 <rtems_rfs_file_close>        
  if (rc > 0)                                                         
ffc1fc48:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1fc4c:	40 81 00 10 	ble-    ffc1fc5c <rtems_rfs_rtems_file_close+0x44><== ALWAYS TAKEN
    rc = rtems_rfs_rtems_error ("file-close: file close", rc);        
ffc1fc50:	48 00 0d 59 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1fc54:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc1fc58:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
ffc1fc5c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1fc60:	4b ff fb 6d 	bl      ffc1f7cc <rtems_rfs_rtems_unlock>      
  return rc;                                                          
}                                                                     
ffc1fc64:	39 61 00 10 	addi    r11,r1,16                              
ffc1fc68:	7f c3 f3 78 	mr      r3,r30                                 
ffc1fc6c:	4b fe 2e 88 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

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

ffc1f918 <rtems_rfs_rtems_file_lseek>: */ static rtems_off64_t rtems_rfs_rtems_file_lseek (rtems_libio_t* iop, rtems_off64_t offset, int whence) {
ffc1f918:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc1f91c:	7c 08 02 a6 	mflr    r0                                     
ffc1f920:	90 01 00 2c 	stw     r0,44(r1)                              
ffc1f924:	bf a1 00 1c 	stmw    r29,28(r1)                             
ffc1f928:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
ffc1f92c:	83 c3 00 20 	lwz     r30,32(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));                    
ffc1f930:	81 3e 00 1c 	lwz     r9,28(r30)                             
  .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                                
};                                                                    
ffc1f934:	81 29 00 98 	lwz     r9,152(r9)                             
  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));                    
ffc1f938:	80 69 00 7c 	lwz     r3,124(r9)                             
ffc1f93c:	4b ff fe f5 	bl      ffc1f830 <rtems_rfs_rtems_lock.isra.1> 
                                                                      
  pos = iop->offset;                                                  
ffc1f940:	80 bf 00 10 	lwz     r5,16(r31)                             
ffc1f944:	7c 27 0b 78 	mr      r7,r1                                  
ffc1f948:	80 df 00 14 	lwz     r6,20(r31)                             
ffc1f94c:	94 a7 00 08 	stwu    r5,8(r7)                               
                                                                      
  rc = rtems_rfs_file_seek (file, pos, &pos);                         
ffc1f950:	7f c3 f3 78 	mr      r3,r30                                 
  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;                                                  
ffc1f954:	90 c7 00 04 	stw     r6,4(r7)                               
                                                                      
  rc = rtems_rfs_file_seek (file, pos, &pos);                         
ffc1f958:	4b ff dd 85 	bl      ffc1d6dc <rtems_rfs_file_seek>         
ffc1f95c:	81 3e 00 1c 	lwz     r9,28(r30)                             
  if (rc)                                                             
ffc1f960:	7c 7d 1b 79 	mr.     r29,r3                                 
  {                                                                   
    rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                
ffc1f964:	80 69 00 98 	lwz     r3,152(r9)                             
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  pos = iop->offset;                                                  
                                                                      
  rc = rtems_rfs_file_seek (file, pos, &pos);                         
  if (rc)                                                             
ffc1f968:	41 82 00 1c 	beq-    ffc1f984 <rtems_rfs_rtems_file_lseek+0x6c><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                
ffc1f96c:	4b ff fe 61 	bl      ffc1f7cc <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("file_lseek: lseek", rc);           
ffc1f970:	48 00 10 39 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1f974:	39 40 ff ff 	li      r10,-1                                 <== NOT EXECUTED
ffc1f978:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc1f97c:	39 60 ff ff 	li      r11,-1                                 <== NOT EXECUTED
ffc1f980:	48 00 00 10 	b       ffc1f990 <rtems_rfs_rtems_file_lseek+0x78><== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc1f984:	4b ff fe 49 	bl      ffc1f7cc <rtems_rfs_rtems_unlock>      
                                                                      
  return iop->offset;                                                 
ffc1f988:	81 5f 00 10 	lwz     r10,16(r31)                            
ffc1f98c:	81 7f 00 14 	lwz     r11,20(r31)                            
}                                                                     
ffc1f990:	7d 64 5b 78 	mr      r4,r11                                 
ffc1f994:	39 61 00 28 	addi    r11,r1,40                              
ffc1f998:	7d 43 53 78 	mr      r3,r10                                 
ffc1f99c:	4b fe 31 54 	b       ffc02af0 <_restgpr_29_x>               
                                                                      

ffc1fc70 <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) {
ffc1fc70:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc1fc74:	7c 08 02 a6 	mflr    r0                                     
ffc1fc78:	90 01 00 2c 	stw     r0,44(r1)                              
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc1fc7c:	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)                       
{                                                                     
ffc1fc80:	bf a1 00 1c 	stmw    r29,28(r1)                             
ffc1fc84:	7c 7e 1b 78 	mr      r30,r3                                 
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc1fc88:	83 e9 00 34 	lwz     r31,52(r9)                             
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_OPEN))        
    printf("rtems-rfs: file-open: path:%s ino:%" PRId32 " flags:%04" PRIx32 " mode:%04" PRIx32 "\n",
           pathname, ino, flags, mode);                               
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc1fc8c:	80 7f 00 7c 	lwz     r3,124(r31)                            
ffc1fc90:	4b ff fb a1 	bl      ffc1f830 <rtems_rfs_rtems_lock.isra.1> 
                                                                      
  ino = rtems_rfs_rtems_get_iop_ino (iop);                            
                                                                      
  rc = rtems_rfs_file_open (fs, ino, flags, &file);                   
ffc1fc94:	80 9e 00 1c 	lwz     r4,28(r30)                             
ffc1fc98:	7f e3 fb 78 	mr      r3,r31                                 
ffc1fc9c:	38 a0 00 00 	li      r5,0                                   
ffc1fca0:	38 c1 00 08 	addi    r6,r1,8                                
ffc1fca4:	4b ff dd f5 	bl      ffc1da98 <rtems_rfs_file_open>         
  if (rc > 0)                                                         
ffc1fca8:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc1fcac:	40 81 00 1c 	ble-    ffc1fcc8 <rtems_rfs_rtems_file_open+0x58><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc1fcb0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1fcb4:	4b ff fb 19 	bl      ffc1f7cc <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("file-open: open", rc);             
ffc1fcb8:	48 00 0c f1 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1fcbc:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc1fcc0:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1fcc4:	48 00 00 34 	b       ffc1fcf8 <rtems_rfs_rtems_file_open+0x88><== 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);                             
ffc1fcc8:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1fccc:	80 89 00 1c 	lwz     r4,28(r9)                              
ffc1fcd0:	80 64 00 98 	lwz     r3,152(r4)                             
ffc1fcd4:	38 84 00 84 	addi    r4,r4,132                              
ffc1fcd8:	4b ff a9 31 	bl      ffc1a608 <rtems_rfs_block_get_size>    
  rtems_rfs_rtems_set_iop_file_handle (iop, file);                    
ffc1fcdc:	80 01 00 08 	lwz     r0,8(r1)                               
  }                                                                   
                                                                      
  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);                             
ffc1fce0:	90 7e 00 08 	stw     r3,8(r30)                              
  rtems_rfs_rtems_set_iop_file_handle (iop, file);                    
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
ffc1fce4:	7f e3 fb 78 	mr      r3,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);                             
ffc1fce8:	90 9e 00 0c 	stw     r4,12(r30)                             
  rtems_rfs_rtems_set_iop_file_handle (iop, file);                    
ffc1fcec:	90 1e 00 20 	stw     r0,32(r30)                             
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
ffc1fcf0:	4b ff fa dd 	bl      ffc1f7cc <rtems_rfs_rtems_unlock>      
  return 0;                                                           
ffc1fcf4:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1fcf8:	39 61 00 28 	addi    r11,r1,40                              
ffc1fcfc:	4b fe 2d f4 	b       ffc02af0 <_restgpr_29_x>               
                                                                      

ffc1fb08 <rtems_rfs_rtems_file_read>: */ static ssize_t rtems_rfs_rtems_file_read (rtems_libio_t* iop, void* buffer, size_t count) {
ffc1fb08:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc1fb0c:	7c 08 02 a6 	mflr    r0                                     
ffc1fb10:	90 01 00 34 	stw     r0,52(r1)                              
ffc1fb14:	bf 61 00 1c 	stmw    r27,28(r1)                             
ffc1fb18:	7c 7e 1b 78 	mr      r30,r3                                 
ffc1fb1c:	7c 9b 23 78 	mr      r27,r4                                 
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
ffc1fb20:	83 e3 00 20 	lwz     r31,32(r3)                             
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_file_read (rtems_libio_t* iop,                        
                           void*          buffer,                     
                           size_t         count)                      
{                                                                     
ffc1fb24:	7c bd 2b 78 	mr      r29,r5                                 
  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));                    
ffc1fb28:	81 3f 00 1c 	lwz     r9,28(r31)                             
  .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                                
};                                                                    
ffc1fb2c:	81 29 00 98 	lwz     r9,152(r9)                             
  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));                    
ffc1fb30:	80 69 00 7c 	lwz     r3,124(r9)                             
ffc1fb34:	4b ff fc fd 	bl      ffc1f830 <rtems_rfs_rtems_lock.isra.1> 
                                                                      
  pos = iop->offset;                                                  
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
ffc1fb38:	80 9f 00 1c 	lwz     r4,28(r31)                             
  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;                                                  
ffc1fb3c:	83 9e 00 10 	lwz     r28,16(r30)                            
ffc1fb40:	80 64 00 98 	lwz     r3,152(r4)                             
ffc1fb44:	38 84 00 84 	addi    r4,r4,132                              
ffc1fb48:	83 de 00 14 	lwz     r30,20(r30)                            
ffc1fb4c:	4b ff aa bd 	bl      ffc1a608 <rtems_rfs_block_get_size>    
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
ffc1fb50:	7f 83 e0 40 	cmplw   cr7,r3,r28                             
ffc1fb54:	41 bd 00 a0 	bgt+    cr7,ffc1fbf4 <rtems_rfs_rtems_file_read+0xec><== NEVER TAKEN
ffc1fb58:	7f 83 e0 00 	cmpw    cr7,r3,r28                             
ffc1fb5c:	40 9e 00 0c 	bne-    cr7,ffc1fb68 <rtems_rfs_rtems_file_read+0x60><== NEVER TAKEN
ffc1fb60:	7f 84 f0 40 	cmplw   cr7,r4,r30                             
ffc1fb64:	41 bd 00 90 	bgt+    cr7,ffc1fbf4 <rtems_rfs_rtems_file_read+0xec><== ALWAYS TAKEN
                           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;                                    
ffc1fb68:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
ffc1fb6c:	48 00 00 94 	b       ffc1fc00 <rtems_rfs_rtems_file_read+0xf8><== NOT EXECUTED
  {                                                                   
    while (count)                                                     
    {                                                                 
      size_t size;                                                    
                                                                      
      rc = rtems_rfs_file_io_start (file, &size, true);               
ffc1fb70:	7f e3 fb 78 	mr      r3,r31                                 
ffc1fb74:	38 81 00 08 	addi    r4,r1,8                                
ffc1fb78:	38 a0 00 01 	li      r5,1                                   
ffc1fb7c:	4b ff d6 85 	bl      ffc1d200 <rtems_rfs_file_io_start>     
      if (rc > 0)                                                     
ffc1fb80:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1fb84:	41 81 00 60 	bgt-    ffc1fbe4 <rtems_rfs_rtems_file_read+0xdc><== NEVER TAKEN
      {                                                               
        read = rtems_rfs_rtems_error ("file-read: read: io-start", rc);
        break;                                                        
      }                                                               
                                                                      
      if (size == 0)                                                  
ffc1fb88:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1fb8c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc1fb90:	41 9e 00 70 	beq-    cr7,ffc1fc00 <rtems_rfs_rtems_file_read+0xf8><== NEVER TAKEN
        break;                                                        
                                                                      
      if (size > count)                                               
ffc1fb94:	7f 80 e8 40 	cmplw   cr7,r0,r29                             
ffc1fb98:	40 9d 00 08 	ble-    cr7,ffc1fba0 <rtems_rfs_rtems_file_read+0x98><== ALWAYS TAKEN
        size = count;                                                 
ffc1fb9c:	93 a1 00 08 	stw     r29,8(r1)                              <== NOT EXECUTED
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
ffc1fba0:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc1fba4:	7f 63 db 78 	mr      r3,r27                                 
ffc1fba8:	83 81 00 08 	lwz     r28,8(r1)                              
ffc1fbac:	80 89 00 24 	lwz     r4,36(r9)                              
ffc1fbb0:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc1fbb4:	7f 85 e3 78 	mr      r5,r28                                 
                                                                      
      data  += size;                                                  
ffc1fbb8:	7f 7b e2 14 	add     r27,r27,r28                            
        break;                                                        
                                                                      
      if (size > count)                                               
        size = count;                                                 
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
ffc1fbbc:	7c 84 02 14 	add     r4,r4,r0                               
ffc1fbc0:	48 00 1b 25 	bl      ffc216e4 <memcpy>                      
                                                                      
      data  += size;                                                  
      count -= size;                                                  
      read  += size;                                                  
                                                                      
      rc = rtems_rfs_file_io_end (file, size, true);                  
ffc1fbc4:	7f 84 e3 78 	mr      r4,r28                                 
ffc1fbc8:	7f e3 fb 78 	mr      r3,r31                                 
ffc1fbcc:	38 a0 00 01 	li      r5,1                                   
ffc1fbd0:	4b ff d8 55 	bl      ffc1d424 <rtems_rfs_file_io_end>       
        size = count;                                                 
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
                                                                      
      data  += size;                                                  
      count -= size;                                                  
ffc1fbd4:	7f bc e8 50 	subf    r29,r28,r29                            
      read  += size;                                                  
ffc1fbd8:	7f de e2 14 	add     r30,r30,r28                            
                                                                      
      rc = rtems_rfs_file_io_end (file, size, true);                  
      if (rc > 0)                                                     
ffc1fbdc:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1fbe0:	40 a1 00 18 	ble+    ffc1fbf8 <rtems_rfs_rtems_file_read+0xf0><== ALWAYS TAKEN
      {                                                               
        read = rtems_rfs_rtems_error ("file-read: read: io-end", rc); 
ffc1fbe4:	48 00 0d c5 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1fbe8:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc1fbec:	93 83 00 00 	stw     r28,0(r3)                              <== NOT EXECUTED
ffc1fbf0:	48 00 00 10 	b       ffc1fc00 <rtems_rfs_rtems_file_read+0xf8><== NOT EXECUTED
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  pos = iop->offset;                                                  
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
ffc1fbf4:	3b c0 00 00 	li      r30,0                                  
  {                                                                   
    while (count)                                                     
ffc1fbf8:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc1fbfc:	40 9e ff 74 	bne+    cr7,ffc1fb70 <rtems_rfs_rtems_file_read+0x68>
        break;                                                        
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc1fc00:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc1fc04:	80 69 00 98 	lwz     r3,152(r9)                             
ffc1fc08:	4b ff fb c5 	bl      ffc1f7cc <rtems_rfs_rtems_unlock>      
                                                                      
  return read;                                                        
}                                                                     
ffc1fc0c:	39 61 00 30 	addi    r11,r1,48                              
ffc1fc10:	7f c3 f3 78 	mr      r3,r30                                 
ffc1fc14:	4b fe 2e d4 	b       ffc02ae8 <_restgpr_27_x>               
                                                                      

ffc1f9a0 <rtems_rfs_rtems_file_write>: */ static ssize_t rtems_rfs_rtems_file_write (rtems_libio_t* iop, const void* buffer, size_t count) {
ffc1f9a0:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc1f9a4:	7c 08 02 a6 	mflr    r0                                     
ffc1f9a8:	90 01 00 3c 	stw     r0,60(r1)                              
ffc1f9ac:	bf 21 00 1c 	stmw    r25,28(r1)                             
ffc1f9b0:	7c 7b 1b 78 	mr      r27,r3                                 
ffc1f9b4:	7c 9a 23 78 	mr      r26,r4                                 
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
ffc1f9b8:	83 e3 00 20 	lwz     r31,32(r3)                             
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_file_write (rtems_libio_t* iop,                       
                            const void*    buffer,                    
                            size_t         count)                     
{                                                                     
ffc1f9bc:	7c be 2b 78 	mr      r30,r5                                 
  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));                    
ffc1f9c0:	81 3f 00 1c 	lwz     r9,28(r31)                             
  .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                                
};                                                                    
ffc1f9c4:	81 29 00 98 	lwz     r9,152(r9)                             
  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));                    
ffc1f9c8:	80 69 00 7c 	lwz     r3,124(r9)                             
ffc1f9cc:	4b ff fe 65 	bl      ffc1f830 <rtems_rfs_rtems_lock.isra.1> 
   * 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))                              
ffc1f9d0:	80 9f 00 1c 	lwz     r4,28(r31)                             
  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;                                                  
ffc1f9d4:	83 9b 00 10 	lwz     r28,16(r27)                            
ffc1f9d8:	80 64 00 98 	lwz     r3,152(r4)                             
ffc1f9dc:	38 84 00 84 	addi    r4,r4,132                              
ffc1f9e0:	83 bb 00 14 	lwz     r29,20(r27)                            
ffc1f9e4:	4b ff ac 25 	bl      ffc1a608 <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))                              
ffc1f9e8:	7f 83 e0 40 	cmplw   cr7,r3,r28                             
ffc1f9ec:	41 9d 00 48 	bgt-    cr7,ffc1fa34 <rtems_rfs_rtems_file_write+0x94><== NEVER TAKEN
ffc1f9f0:	7f 83 e0 00 	cmpw    cr7,r3,r28                             
ffc1f9f4:	40 9e 00 0c 	bne-    cr7,ffc1fa00 <rtems_rfs_rtems_file_write+0x60><== NEVER TAKEN
ffc1f9f8:	7f 84 e8 40 	cmplw   cr7,r4,r29                             
ffc1f9fc:	41 9d 00 38 	bgt-    cr7,ffc1fa34 <rtems_rfs_rtems_file_write+0x94>
  {                                                                   
    rc = rtems_rfs_file_set_size (file, pos + 1);                     
ffc1fa00:	7f e3 fb 78 	mr      r3,r31                                 
ffc1fa04:	30 dd 00 01 	addic   r6,r29,1                               
ffc1fa08:	7c bc 01 94 	addze   r5,r28                                 
ffc1fa0c:	4b ff dd 71 	bl      ffc1d77c <rtems_rfs_file_set_size>     
    if (rc)                                                           
ffc1fa10:	7c 79 1b 79 	mr.     r25,r3                                 
ffc1fa14:	41 a2 00 20 	beq+    ffc1fa34 <rtems_rfs_rtems_file_write+0x94><== ALWAYS TAKEN
    {                                                                 
      rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));              
ffc1fa18:	81 3f 00 1c 	lwz     r9,28(r31)                             <== NOT EXECUTED
      return rtems_rfs_rtems_error ("file-write: write extend", rc);  
ffc1fa1c:	3b 80 ff ff 	li      r28,-1                                 <== 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));              
ffc1fa20:	80 69 00 98 	lwz     r3,152(r9)                             <== NOT EXECUTED
ffc1fa24:	4b ff fd a9 	bl      ffc1f7cc <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
      return rtems_rfs_rtems_error ("file-write: write extend", rc);  
ffc1fa28:	48 00 0f 81 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1fa2c:	93 23 00 00 	stw     r25,0(r3)                              <== NOT EXECUTED
ffc1fa30:	48 00 00 cc 	b       ffc1fafc <rtems_rfs_rtems_file_write+0x15c><== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_file_set_bpos (file, pos);                                
ffc1fa34:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc1fa38:	7f 85 e3 78 	mr      r5,r28                                 
ffc1fa3c:	7f a6 eb 78 	mr      r6,r29                                 
ffc1fa40:	80 69 00 98 	lwz     r3,152(r9)                             
ffc1fa44:	38 ff 00 10 	addi    r7,r31,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;                                   
ffc1fa48:	3b 80 00 00 	li      r28,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);                                
ffc1fa4c:	4b ff aa d9 	bl      ffc1a524 <rtems_rfs_block_get_bpos>    
                                                                      
  while (count)                                                       
ffc1fa50:	48 00 00 80 	b       ffc1fad0 <rtems_rfs_rtems_file_write+0x130>
  {                                                                   
    size_t size = count;                                              
                                                                      
    rc = rtems_rfs_file_io_start (file, &size, false);                
ffc1fa54:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  rtems_rfs_file_set_bpos (file, pos);                                
                                                                      
  while (count)                                                       
  {                                                                   
    size_t size = count;                                              
ffc1fa58:	93 c1 00 08 	stw     r30,8(r1)                              
                                                                      
    rc = rtems_rfs_file_io_start (file, &size, false);                
ffc1fa5c:	38 81 00 08 	addi    r4,r1,8                                
ffc1fa60:	38 a0 00 00 	li      r5,0                                   
ffc1fa64:	4b ff d7 9d 	bl      ffc1d200 <rtems_rfs_file_io_start>     
    if (rc)                                                           
ffc1fa68:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc1fa6c:	40 82 00 54 	bne-    ffc1fac0 <rtems_rfs_rtems_file_write+0x120><== NEVER TAKEN
    {                                                                 
      write = rtems_rfs_rtems_error ("file-write: write open", rc);   
      break;                                                          
    }                                                                 
                                                                      
    if (size > count)                                                 
ffc1fa70:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1fa74:	7f 80 f0 40 	cmplw   cr7,r0,r30                             
ffc1fa78:	40 9d 00 08 	ble-    cr7,ffc1fa80 <rtems_rfs_rtems_file_write+0xe0><== NEVER TAKEN
      size = count;                                                   
ffc1fa7c:	93 c1 00 08 	stw     r30,8(r1)                              
                                                                      
    memcpy (rtems_rfs_file_data (file), data, size);                  
ffc1fa80:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc1fa84:	7f 44 d3 78 	mr      r4,r26                                 
ffc1fa88:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc1fa8c:	80 69 00 24 	lwz     r3,36(r9)                              
ffc1fa90:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc1fa94:	7c 63 02 14 	add     r3,r3,r0                               
ffc1fa98:	48 00 1c 4d 	bl      ffc216e4 <memcpy>                      
                                                                      
    data  += size;                                                    
ffc1fa9c:	80 81 00 08 	lwz     r4,8(r1)                               
    count -= size;                                                    
    write  += size;                                                   
                                                                      
    rc = rtems_rfs_file_io_end (file, size, false);                   
ffc1faa0:	7f e3 fb 78 	mr      r3,r31                                 
ffc1faa4:	38 a0 00 00 	li      r5,0                                   
    if (size > count)                                                 
      size = count;                                                   
                                                                      
    memcpy (rtems_rfs_file_data (file), data, size);                  
                                                                      
    data  += size;                                                    
ffc1faa8:	7f 5a 22 14 	add     r26,r26,r4                             
    count -= size;                                                    
ffc1faac:	7f c4 f0 50 	subf    r30,r4,r30                             
    write  += size;                                                   
ffc1fab0:	7f 9c 22 14 	add     r28,r28,r4                             
                                                                      
    rc = rtems_rfs_file_io_end (file, size, false);                   
ffc1fab4:	4b ff d9 71 	bl      ffc1d424 <rtems_rfs_file_io_end>       
    if (rc)                                                           
ffc1fab8:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc1fabc:	41 a2 00 14 	beq+    ffc1fad0 <rtems_rfs_rtems_file_write+0x130><== ALWAYS TAKEN
    {                                                                 
      write = rtems_rfs_rtems_error ("file-write: write close", rc);  
ffc1fac0:	48 00 0e e9 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1fac4:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc1fac8:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc1facc:	48 00 00 0c 	b       ffc1fad8 <rtems_rfs_rtems_file_write+0x138><== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_file_set_bpos (file, pos);                                
                                                                      
  while (count)                                                       
ffc1fad0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc1fad4:	40 9e ff 80 	bne+    cr7,ffc1fa54 <rtems_rfs_rtems_file_write+0xb4>
      write = rtems_rfs_rtems_error ("file-write: write close", rc);  
      break;                                                          
    }                                                                 
  }                                                                   
                                                                      
  iop->size = rtems_rfs_file_size (file);                             
ffc1fad8:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc1fadc:	80 64 00 98 	lwz     r3,152(r4)                             
ffc1fae0:	38 84 00 84 	addi    r4,r4,132                              
ffc1fae4:	4b ff ab 25 	bl      ffc1a608 <rtems_rfs_block_get_size>    
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc1fae8:	81 3f 00 1c 	lwz     r9,28(r31)                             
      write = rtems_rfs_rtems_error ("file-write: write close", rc);  
      break;                                                          
    }                                                                 
  }                                                                   
                                                                      
  iop->size = rtems_rfs_file_size (file);                             
ffc1faec:	90 7b 00 08 	stw     r3,8(r27)                              
ffc1faf0:	90 9b 00 0c 	stw     r4,12(r27)                             
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc1faf4:	80 69 00 98 	lwz     r3,152(r9)                             
ffc1faf8:	4b ff fc d5 	bl      ffc1f7cc <rtems_rfs_rtems_unlock>      
                                                                      
  return write;                                                       
}                                                                     
ffc1fafc:	39 61 00 38 	addi    r11,r1,56                              
ffc1fb00:	7f 83 e3 78 	mr      r3,r28                                 
ffc1fb04:	4b fe 2f dc 	b       ffc02ae0 <_restgpr_25_x>               
                                                                      

ffc12be8 <rtems_rfs_rtems_fstat>: } int rtems_rfs_rtems_fstat (rtems_filesystem_location_info_t* pathloc, struct stat* buf) {
ffc12be8:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc12bec:	7c 08 02 a6 	mflr    r0                                     
ffc12bf0:	90 01 00 54 	stw     r0,84(r1)                              
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc12bf4:	81 23 00 10 	lwz     r9,16(r3)                              
}                                                                     
                                                                      
int                                                                   
rtems_rfs_rtems_fstat (rtems_filesystem_location_info_t* pathloc,     
                       struct stat*                      buf)         
{                                                                     
ffc12bf8:	bf 61 00 3c 	stmw    r27,60(r1)                             
ffc12bfc:	7c 9f 23 78 	mr      r31,r4                                 
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc12c00:	83 c9 00 34 	lwz     r30,52(r9)                             
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
ffc12c04:	83 a3 00 00 	lwz     r29,0(r3)                              
  int                    rc;                                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_STAT))             
    printf ("rtems-rfs-rtems: stat: in: ino:%" PRId32 "\n", ino);     
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc12c08:	80 7e 00 7c 	lwz     r3,124(r30)                            
ffc12c0c:	4b ff f2 1d 	bl      ffc11e28 <rtems_rfs_rtems_lock.isra.16>
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc12c10:	7f a4 eb 78 	mr      r4,r29                                 
ffc12c14:	7f c3 f3 78 	mr      r3,r30                                 
ffc12c18:	38 a1 00 08 	addi    r5,r1,8                                
ffc12c1c:	38 c0 00 01 	li      r6,1                                   
ffc12c20:	4b ff e5 b9 	bl      ffc111d8 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc12c24:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc12c28:	41 a2 00 18 	beq+    ffc12c40 <rtems_rfs_rtems_fstat+0x58>  <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc12c2c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc12c30:	4b ff ef c9 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("stat: opening inode", rc);         
ffc12c34:	48 00 dd 75 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc12c38:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc12c3c:	48 00 02 60 	b       ffc12e9c <rtems_rfs_rtems_fstat+0x2b4> <== NOT EXECUTED
  }                                                                   
                                                                      
  mode = rtems_rfs_inode_get_mode (&inode);                           
ffc12c40:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc12c44:	8b 9d 00 02 	lbz     r28,2(r29)                             
ffc12c48:	88 1d 00 03 	lbz     r0,3(r29)                              
ffc12c4c:	57 9c 40 2e 	rlwinm  r28,r28,8,0,23                         
                                                                      
  if (RTEMS_RFS_S_ISCHR (mode) || RTEMS_RFS_S_ISBLK (mode))           
ffc12c50:	7f 9c 03 78 	or      r28,r28,r0                             
ffc12c54:	57 80 04 26 	rlwinm  r0,r28,0,16,19                         
ffc12c58:	2f 80 20 00 	cmpwi   cr7,r0,8192                            
ffc12c5c:	41 9e 00 0c 	beq-    cr7,ffc12c68 <rtems_rfs_rtems_fstat+0x80><== NEVER TAKEN
ffc12c60:	2f 80 60 00 	cmpwi   cr7,r0,24576                           
ffc12c64:	40 be 00 28 	bne+    cr7,ffc12c8c <rtems_rfs_rtems_fstat+0xa4><== ALWAYS TAKEN
  {                                                                   
    buf->st_rdev =                                                    
      rtems_filesystem_make_dev_t (rtems_rfs_inode_get_block (&inode, 0),
ffc12c68:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc12c6c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc12c70:	4b ff f0 3d 	bl      ffc11cac <rtems_rfs_inode_get_block.isra.9><== NOT EXECUTED
ffc12c74:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc12c78:	7c 7b 1b 78 	mr      r27,r3                                 <== NOT EXECUTED
ffc12c7c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc12c80:	4b ff f0 2d 	bl      ffc11cac <rtems_rfs_inode_get_block.isra.9><== NOT EXECUTED
                                                                      
  mode = rtems_rfs_inode_get_mode (&inode);                           
                                                                      
  if (RTEMS_RFS_S_ISCHR (mode) || RTEMS_RFS_S_ISBLK (mode))           
  {                                                                   
    buf->st_rdev =                                                    
ffc12c84:	93 7f 00 18 	stw     r27,24(r31)                            <== NOT EXECUTED
ffc12c88:	90 7f 00 1c 	stw     r3,28(r31)                             <== NOT EXECUTED
      rtems_filesystem_make_dev_t (rtems_rfs_inode_get_block (&inode, 0),
                                   rtems_rfs_inode_get_block (&inode, 1));
  }                                                                   
                                                                      
  buf->st_dev     = rtems_rfs_fs_device (fs);                         
ffc12c8c:	81 3e 00 0c 	lwz     r9,12(r30)                             
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
  buf->st_mode    = rtems_rfs_rtems_mode (mode);                      
ffc12c90:	7f 83 e3 78 	mr      r3,r28                                 
      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);                         
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
ffc12c94:	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);                         
ffc12c98:	81 69 00 04 	lwz     r11,4(r9)                              
ffc12c9c:	81 49 00 00 	lwz     r10,0(r9)                              
ffc12ca0:	91 7f 00 04 	stw     r11,4(r31)                             
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
ffc12ca4:	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);                         
ffc12ca8:	91 5f 00 00 	stw     r10,0(r31)                             
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
  buf->st_mode    = rtems_rfs_rtems_mode (mode);                      
ffc12cac:	48 00 04 09 	bl      ffc130b4 <rtems_rfs_rtems_mode>        
  buf->st_nlink   = rtems_rfs_inode_get_links (&inode);               
ffc12cb0:	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);                      
ffc12cb4:	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);                  
ffc12cb8:	88 09 00 00 	lbz     r0,0(r9)                               
ffc12cbc:	89 69 00 01 	lbz     r11,1(r9)                              
ffc12cc0:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
ffc12cc4:	7c 00 5b 78 	or      r0,r0,r11                              
  if (links == 0xffff)                                                
ffc12cc8:	6c 0b ff ff 	xoris   r11,r0,65535                           
ffc12ccc:	2f 8b ff ff 	cmpwi   cr7,r11,-1                             
ffc12cd0:	40 9e 00 08 	bne-    cr7,ffc12cd8 <rtems_rfs_rtems_fstat+0xf0><== ALWAYS TAKEN
    links = 0;                                                        
ffc12cd4:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
  buf->st_nlink   = rtems_rfs_inode_get_links (&inode);               
ffc12cd8:	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));
ffc12cdc:	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;          
ffc12ce0:	88 09 00 06 	lbz     r0,6(r9)                               
ffc12ce4:	89 69 00 07 	lbz     r11,7(r9)                              
ffc12ce8:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
ffc12cec:	80 81 00 10 	lwz     r4,16(r1)                              
ffc12cf0:	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);                 
ffc12cf4:	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;  
ffc12cf8:	89 69 00 04 	lbz     r11,4(r9)                              
ffc12cfc:	88 09 00 05 	lbz     r0,5(r9)                               
ffc12d00:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc12d04:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc12d08:	7d 60 03 78 	or      r0,r11,r0                              
ffc12d0c:	54 00 84 3e 	rlwinm  r0,r0,16,16,31                         
ffc12d10:	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));
ffc12d14:	48 00 ad 51 	bl      ffc1da64 <rtems_rfs_file_get_shared>   
                                                                      
  if (shared)                                                         
ffc12d18:	7c 64 1b 79 	mr.     r4,r3                                  
ffc12d1c:	41 82 00 5c 	beq-    ffc12d78 <rtems_rfs_rtems_fstat+0x190> <== ALWAYS TAKEN
  {                                                                   
    buf->st_atime   = rtems_rfs_file_shared_get_atime (shared);       
ffc12d20:	80 04 00 8c 	lwz     r0,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))                                       
ffc12d24:	81 3f 00 0c 	lwz     r9,12(r31)                             <== 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);       
ffc12d28:	90 1f 00 28 	stw     r0,40(r31)                             <== 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))                                       
ffc12d2c:	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);       
ffc12d30:	80 04 00 90 	lwz     r0,144(r4)                             <== NOT EXECUTED
ffc12d34:	90 1f 00 30 	stw     r0,48(r31)                             <== NOT EXECUTED
    buf->st_ctime   = rtems_rfs_file_shared_get_ctime (shared);       
ffc12d38:	80 04 00 94 	lwz     r0,148(r4)                             <== NOT EXECUTED
ffc12d3c:	90 1f 00 38 	stw     r0,56(r31)                             <== NOT EXECUTED
    buf->st_blocks  = rtems_rfs_file_shared_get_block_count (shared); 
ffc12d40:	80 04 00 84 	lwz     r0,132(r4)                             <== NOT EXECUTED
ffc12d44:	90 1f 00 44 	stw     r0,68(r31)                             <== NOT EXECUTED
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
ffc12d48:	6d 20 ff ff 	xoris   r0,r9,65535                            <== NOT EXECUTED
ffc12d4c:	2f 80 a0 00 	cmpwi   cr7,r0,-24576                          <== NOT EXECUTED
ffc12d50:	40 9e 00 18 	bne-    cr7,ffc12d68 <rtems_rfs_rtems_fstat+0x180><== NOT EXECUTED
      buf->st_size = rtems_rfs_file_shared_get_block_offset (shared); 
ffc12d54:	a0 04 00 8a 	lhz     r0,138(r4)                             <== NOT EXECUTED
ffc12d58:	90 1f 00 24 	stw     r0,36(r31)                             <== NOT EXECUTED
ffc12d5c:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc12d60:	90 1f 00 20 	stw     r0,32(r31)                             <== NOT EXECUTED
ffc12d64:	48 00 01 0c 	b       ffc12e70 <rtems_rfs_rtems_fstat+0x288> <== 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);                
ffc12d68:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc12d6c:	38 84 00 84 	addi    r4,r4,132                              <== NOT EXECUTED
ffc12d70:	48 00 78 99 	bl      ffc1a608 <rtems_rfs_block_get_size>    <== NOT EXECUTED
ffc12d74:	48 00 00 f4 	b       ffc12e68 <rtems_rfs_rtems_fstat+0x280> <== NOT EXECUTED
    else                                                              
      buf->st_size = rtems_rfs_file_shared_get_size (fs, shared);     
  }                                                                   
  else                                                                
  {                                                                   
    buf->st_atime   = rtems_rfs_inode_get_atime (&inode);             
ffc12d78:	81 21 00 14 	lwz     r9,20(r1)                              
 * @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);                   
ffc12d7c:	89 69 00 10 	lbz     r11,16(r9)                             
ffc12d80:	88 09 00 11 	lbz     r0,17(r9)                              
ffc12d84:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc12d88:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc12d8c:	7d 60 03 78 	or      r0,r11,r0                              
ffc12d90:	89 69 00 13 	lbz     r11,19(r9)                             
ffc12d94:	7c 00 5b 78 	or      r0,r0,r11                              
ffc12d98:	89 69 00 12 	lbz     r11,18(r9)                             
ffc12d9c:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc12da0:	7c 00 5b 78 	or      r0,r0,r11                              
ffc12da4:	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);                   
ffc12da8:	89 69 00 14 	lbz     r11,20(r9)                             
ffc12dac:	88 09 00 15 	lbz     r0,21(r9)                              
ffc12db0:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc12db4:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc12db8:	7d 60 03 78 	or      r0,r11,r0                              
ffc12dbc:	89 69 00 17 	lbz     r11,23(r9)                             
ffc12dc0:	7c 00 5b 78 	or      r0,r0,r11                              
ffc12dc4:	89 69 00 16 	lbz     r11,22(r9)                             
ffc12dc8:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc12dcc:	7c 00 5b 78 	or      r0,r0,r11                              
    buf->st_mtime   = rtems_rfs_inode_get_mtime (&inode);             
ffc12dd0:	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);                   
ffc12dd4:	89 69 00 18 	lbz     r11,24(r9)                             
ffc12dd8:	88 09 00 19 	lbz     r0,25(r9)                              
ffc12ddc:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc12de0:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc12de4:	7d 60 03 78 	or      r0,r11,r0                              
ffc12de8:	89 69 00 1b 	lbz     r11,27(r9)                             
ffc12dec:	7c 00 5b 78 	or      r0,r0,r11                              
ffc12df0:	89 69 00 1a 	lbz     r11,26(r9)                             
ffc12df4:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc12df8:	7c 00 5b 78 	or      r0,r0,r11                              
    buf->st_ctime   = rtems_rfs_inode_get_ctime (&inode);             
ffc12dfc:	90 1f 00 38 	stw     r0,56(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);             
ffc12e00:	89 69 00 0c 	lbz     r11,12(r9)                             
ffc12e04:	88 09 00 0d 	lbz     r0,13(r9)                              
ffc12e08:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc12e0c:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc12e10:	7d 60 03 78 	or      r0,r11,r0                              
ffc12e14:	89 69 00 0f 	lbz     r11,15(r9)                             
ffc12e18:	7c 00 5b 78 	or      r0,r0,r11                              
ffc12e1c:	89 69 00 0e 	lbz     r11,14(r9)                             
ffc12e20:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc12e24:	7c 00 5b 78 	or      r0,r0,r11                              
    buf->st_blocks  = rtems_rfs_inode_get_block_count (&inode);       
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
ffc12e28:	81 7f 00 0c 	lwz     r11,12(r31)                            
  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);       
ffc12e2c:	90 1f 00 44 	stw     r0,68(r31)                             
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
ffc12e30:	55 6b 04 26 	rlwinm  r11,r11,0,16,19                        
ffc12e34:	6d 60 ff ff 	xoris   r0,r11,65535                           
ffc12e38:	2f 80 a0 00 	cmpwi   cr7,r0,-24576                          
ffc12e3c:	40 9e 00 20 	bne-    cr7,ffc12e5c <rtems_rfs_rtems_fstat+0x274>
 * @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);            
ffc12e40:	88 09 00 0a 	lbz     r0,10(r9)                              
ffc12e44:	89 29 00 0b 	lbz     r9,11(r9)                              
ffc12e48:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
      buf->st_size = rtems_rfs_inode_get_block_offset (&inode);       
ffc12e4c:	90 9f 00 20 	stw     r4,32(r31)                             
ffc12e50:	7c 00 4b 78 	or      r0,r0,r9                               
ffc12e54:	90 1f 00 24 	stw     r0,36(r31)                             
ffc12e58:	48 00 00 18 	b       ffc12e70 <rtems_rfs_rtems_fstat+0x288> 
    else                                                              
      buf->st_size = rtems_rfs_inode_get_size (fs, &inode);           
ffc12e5c:	7f c3 f3 78 	mr      r3,r30                                 
ffc12e60:	38 81 00 08 	addi    r4,r1,8                                
ffc12e64:	4b ff ec 2d 	bl      ffc11a90 <rtems_rfs_inode_get_size>    
ffc12e68:	90 7f 00 20 	stw     r3,32(r31)                             
ffc12e6c:	90 9f 00 24 	stw     r4,36(r31)                             
  }                                                                   
                                                                      
  buf->st_blksize = rtems_rfs_fs_block_size (fs);                     
ffc12e70:	80 1e 00 08 	lwz     r0,8(r30)                              
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc12e74:	7f c3 f3 78 	mr      r3,r30                                 
ffc12e78:	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);                     
ffc12e7c:	90 1f 00 40 	stw     r0,64(r31)                             
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc12e80:	4b ff e5 49 	bl      ffc113c8 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc12e84:	7c 7f 1b 79 	mr.     r31,r3                                 
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc12e88:	7f c3 f3 78 	mr      r3,r30                                 
  }                                                                   
                                                                      
  buf->st_blksize = rtems_rfs_fs_block_size (fs);                     
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc > 0)                                                         
ffc12e8c:	40 81 00 18 	ble-    ffc12ea4 <rtems_rfs_rtems_fstat+0x2bc> <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc12e90:	4b ff ed 69 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("stat: closing inode", rc);         
ffc12e94:	48 00 db 15 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc12e98:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
ffc12e9c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc12ea0:	48 00 00 0c 	b       ffc12eac <rtems_rfs_rtems_fstat+0x2c4> <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
ffc12ea4:	4b ff ed 55 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      
  return 0;                                                           
ffc12ea8:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc12eac:	39 61 00 50 	addi    r11,r1,80                              
ffc12eb0:	4b fe fc 38 	b       ffc02ae8 <_restgpr_27_x>               
                                                                      

ffc11d58 <rtems_rfs_rtems_initialise>: */ int rtems_rfs_rtems_initialise (rtems_filesystem_mount_table_entry_t* mt_entry, const void* data) {
ffc11d58:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc11d5c:	7c 08 02 a6 	mflr    r0                                     
ffc11d60:	bf a1 00 1c 	stmw    r29,28(r1)                             
ffc11d64:	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));                  
ffc11d68:	38 60 00 04 	li      r3,4                                   
 */                                                                   
                                                                      
int                                                                   
rtems_rfs_rtems_initialise (rtems_filesystem_mount_table_entry_t* mt_entry,
                            const void*                           data)
{                                                                     
ffc11d6c:	90 01 00 2c 	stw     r0,44(r1)                              
  rtems_rfs_rtems_private* rtems;                                     
  rtems_rfs_file_system*   fs;                                        
  int                      rc;                                        
                                                                      
  rtems = malloc (sizeof (rtems_rfs_rtems_private));                  
ffc11d70:	4b ff 62 e5 	bl      ffc08054 <malloc>                      
  if (!rtems)                                                         
ffc11d74:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc11d78:	40 a2 00 14 	bne+    ffc11d8c <rtems_rfs_rtems_initialise+0x34><== ALWAYS TAKEN
    return rtems_rfs_rtems_error ("initialise: local data", ENOMEM);  
ffc11d7c:	48 00 ec 2d 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc11d80:	38 00 00 0c 	li      r0,12                                  <== NOT EXECUTED
ffc11d84:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc11d88:	48 00 00 28 	b       ffc11db0 <rtems_rfs_rtems_initialise+0x58><== NOT EXECUTED
                                                                      
  memset (rtems, 0, sizeof (rtems_rfs_rtems_private));                
ffc11d8c:	38 00 00 00 	li      r0,0                                   
ffc11d90:	90 1f 00 00 	stw     r0,0(r31)                              
                                                                      
  rc = rtems_rfs_mutex_create (&rtems->access);                       
ffc11d94:	48 00 d2 75 	bl      ffc1f008 <rtems_rfs_mutex_create>      
  if (rc > 0)                                                         
ffc11d98:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc11d9c:	40 81 00 1c 	ble-    ffc11db8 <rtems_rfs_rtems_initialise+0x60><== ALWAYS TAKEN
  {                                                                   
    free (rtems);                                                     
ffc11da0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc11da4:	4b ff 5b 45 	bl      ffc078e8 <free>                        <== NOT EXECUTED
    return rtems_rfs_rtems_error ("initialise: cannot create mutex", rc);
ffc11da8:	48 00 ec 01 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc11dac:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc11db0:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc11db4:	48 00 00 6c 	b       ffc11e20 <rtems_rfs_rtems_initialise+0xc8><== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_mutex_lock (&rtems->access);                         
ffc11db8:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc11dbc:	4b ff ff 35 	bl      ffc11cf0 <rtems_rfs_mutex_lock.isra.15>
  if (rc > 0)                                                         
ffc11dc0:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc11dc4:	40 81 00 10 	ble-    ffc11dd4 <rtems_rfs_rtems_initialise+0x7c><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_mutex_destroy (&rtems->access);                         
ffc11dc8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc11dcc:	48 00 d2 b5 	bl      ffc1f080 <rtems_rfs_mutex_destroy>     <== NOT EXECUTED
ffc11dd0:	4b ff ff d0 	b       ffc11da0 <rtems_rfs_rtems_initialise+0x48><== NOT EXECUTED
    free (rtems);                                                     
    return rtems_rfs_rtems_error ("initialise: cannot lock access  mutex", rc);
  }                                                                   
                                                                      
  rc = rtems_rfs_fs_open (mt_entry->dev, rtems, 0, &fs);              
ffc11dd4:	80 7e 00 70 	lwz     r3,112(r30)                            
ffc11dd8:	7f e4 fb 78 	mr      r4,r31                                 
ffc11ddc:	38 a0 00 00 	li      r5,0                                   
ffc11de0:	38 c1 00 08 	addi    r6,r1,8                                
ffc11de4:	48 00 bf ed 	bl      ffc1ddd0 <rtems_rfs_fs_open>           
  if (rc)                                                             
ffc11de8:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc11dec:	40 a2 ff b4 	bne-    ffc11da0 <rtems_rfs_rtems_initialise+0x48><== NEVER TAKEN
    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;      
ffc11df0:	38 00 00 01 	li      r0,1                                   
  {                                                                   
    free (rtems);                                                     
    return rtems_rfs_rtems_error ("initialise: open", rc);            
  }                                                                   
                                                                      
  mt_entry->fs_info = fs;                                             
ffc11df4:	80 61 00 08 	lwz     r3,8(r1)                               
                                                                      
  mt_entry->mt_fs_root.node_access = (void*) RTEMS_RFS_ROOT_INO;      
  mt_entry->mt_fs_root.handlers    = &rtems_rfs_rtems_dir_handlers;   
ffc11df8:	3d 20 ff c3 	lis     r9,-61                                 
    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;      
ffc11dfc:	90 1e 00 1c 	stw     r0,28(r30)                             
  mt_entry->mt_fs_root.handlers    = &rtems_rfs_rtems_dir_handlers;   
ffc11e00:	38 09 3f d8 	addi    r0,r9,16344                            
  mt_entry->mt_fs_root.ops         = &rtems_rfs_ops;                  
ffc11e04:	3d 20 ff c3 	lis     r9,-61                                 
  }                                                                   
                                                                      
  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;   
ffc11e08:	90 1e 00 24 	stw     r0,36(r30)                             
  mt_entry->mt_fs_root.ops         = &rtems_rfs_ops;                  
ffc11e0c:	38 09 20 90 	addi    r0,r9,8336                             
  {                                                                   
    free (rtems);                                                     
    return rtems_rfs_rtems_error ("initialise: open", rc);            
  }                                                                   
                                                                      
  mt_entry->fs_info = fs;                                             
ffc11e10:	90 7e 00 34 	stw     r3,52(r30)                             
                                                                      
  mt_entry->mt_fs_root.node_access = (void*) RTEMS_RFS_ROOT_INO;      
  mt_entry->mt_fs_root.handlers    = &rtems_rfs_rtems_dir_handlers;   
  mt_entry->mt_fs_root.ops         = &rtems_rfs_ops;                  
ffc11e14:	90 1e 00 28 	stw     r0,40(r30)                             
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
ffc11e18:	4b ff fd e1 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      
                                                                      
  return 0;                                                           
ffc11e1c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc11e20:	39 61 00 28 	addi    r11,r1,40                              
ffc11e24:	4b ff 0c cc 	b       ffc02af0 <_restgpr_29_x>               
                                                                      

ffc11f5c <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) {
ffc11f5c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc11f60:	7c 08 02 a6 	mflr    r0                                     
ffc11f64:	90 01 00 1c 	stw     r0,28(r1)                              
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (to_loc);   
ffc11f68:	81 23 00 10 	lwz     r9,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)         
{                                                                     
ffc11f6c:	bf 81 00 08 	stmw    r28,8(r1)                              
ffc11f70:	7c bc 2b 78 	mr      r28,r5                                 
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (to_loc);   
ffc11f74:	83 e9 00 34 	lwz     r31,52(r9)                             
  rtems_rfs_ino          target = rtems_rfs_rtems_get_pathloc_ino (to_loc);
ffc11f78:	83 c3 00 00 	lwz     r30,0(r3)                              
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_LINK))             
    printf ("rtems-rfs-rtems: link: in: parent:%" PRId32 " target:%" PRId32 "\n",
            parent, target);                                          
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc11f7c:	80 7f 00 7c 	lwz     r3,124(r31)                            
                      rtems_filesystem_location_info_t* parent_loc,   
                      const char*                       name)         
{                                                                     
  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);
ffc11f80:	83 a4 00 00 	lwz     r29,0(r4)                              
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_LINK))             
    printf ("rtems-rfs-rtems: link: in: parent:%" PRId32 " target:%" PRId32 "\n",
            parent, target);                                          
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc11f84:	4b ff fe a5 	bl      ffc11e28 <rtems_rfs_rtems_lock.isra.16>
                                                                      
  rc = rtems_rfs_link (fs, name, strlen (name), parent, target, false);
ffc11f88:	7f 83 e3 78 	mr      r3,r28                                 
ffc11f8c:	48 01 08 85 	bl      ffc22810 <strlen>                      
ffc11f90:	7f c7 f3 78 	mr      r7,r30                                 
ffc11f94:	7c 65 1b 78 	mr      r5,r3                                  
ffc11f98:	7f 84 e3 78 	mr      r4,r28                                 
ffc11f9c:	7f e3 fb 78 	mr      r3,r31                                 
ffc11fa0:	7f a6 eb 78 	mr      r6,r29                                 
ffc11fa4:	39 00 00 00 	li      r8,0                                   
ffc11fa8:	48 00 c6 a5 	bl      ffc1e64c <rtems_rfs_link>              
  if (rc)                                                             
ffc11fac:	7c 7e 1b 79 	mr.     r30,r3                                 
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc11fb0:	7f e3 fb 78 	mr      r3,r31                                 
            parent, target);                                          
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_link (fs, name, strlen (name), parent, target, false);
  if (rc)                                                             
ffc11fb4:	41 82 00 18 	beq-    ffc11fcc <rtems_rfs_rtems_link+0x70>   <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc11fb8:	4b ff fc 41 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("link: linking", rc);               
ffc11fbc:	48 00 e9 ed 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc11fc0:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc11fc4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc11fc8:	48 00 00 0c 	b       ffc11fd4 <rtems_rfs_rtems_link+0x78>   <== NOT EXECUTED
	}                                                                    
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
ffc11fcc:	4b ff fc 2d 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      
                                                                      
	return 0;                                                            
ffc11fd0:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc11fd4:	39 61 00 18 	addi    r11,r1,24                              
ffc11fd8:	4b ff 0b 14 	b       ffc02aec <_restgpr_28_x>               
                                                                      

ffc1f830 <rtems_rfs_rtems_lock.isra.1>: /** * Lock the RFS file system. */ static inline void rtems_rfs_rtems_lock (rtems_rfs_file_system* fs)
ffc1f830:	7c 2b 0b 78 	mr      r11,r1                                 
ffc1f834:	7c 08 02 a6 	mflr    r0                                     
ffc1f838:	94 21 ff f0 	stwu    r1,-16(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);
ffc1f83c:	38 80 00 00 	li      r4,0                                   
ffc1f840:	38 a0 00 00 	li      r5,0                                   
ffc1f844:	90 01 00 14 	stw     r0,20(r1)                              
ffc1f848:	4b fe 32 65 	bl      ffc02aac <_savegpr_31>                 
ffc1f84c:	80 63 00 00 	lwz     r3,0(r3)                               
ffc1f850:	4b fe c4 a1 	bl      ffc0bcf0 <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc1f854:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1f858:	41 a2 00 34 	beq+    ffc1f88c <rtems_rfs_rtems_lock.isra.1+0x5c><== ALWAYS TAKEN
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc1f85c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1f860:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc1f864:	4b ff 38 55 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1f868:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1f86c:	41 be 00 20 	beq+    cr7,ffc1f88c <rtems_rfs_rtems_lock.isra.1+0x5c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc1f870:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1f874:	4b ff 77 9d 	bl      ffc17010 <rtems_status_text>           <== NOT EXECUTED
ffc1f878:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc1f87c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1f880:	38 63 21 36 	addi    r3,r3,8502                             <== NOT EXECUTED
ffc1f884:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1f888:	48 00 22 05 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
  rtems_rfs_mutex_lock (&rtems->access);                              
}                                                                     
ffc1f88c:	39 61 00 10 	addi    r11,r1,16                              
ffc1f890:	4b fe 32 68 	b       ffc02af8 <_restgpr_31_x>               
                                                                      

ffc1f508 <rtems_rfs_rtems_lock.isra.3>: /** * Lock the RFS file system. */ static inline void rtems_rfs_rtems_lock (rtems_rfs_file_system* fs)
ffc1f508:	7c 2b 0b 78 	mr      r11,r1                                 
ffc1f50c:	7c 08 02 a6 	mflr    r0                                     
ffc1f510:	94 21 ff f0 	stwu    r1,-16(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);
ffc1f514:	38 80 00 00 	li      r4,0                                   
ffc1f518:	38 a0 00 00 	li      r5,0                                   
ffc1f51c:	90 01 00 14 	stw     r0,20(r1)                              
ffc1f520:	4b fe 35 8d 	bl      ffc02aac <_savegpr_31>                 
ffc1f524:	80 63 00 00 	lwz     r3,0(r3)                               
ffc1f528:	4b fe c7 c9 	bl      ffc0bcf0 <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc1f52c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1f530:	41 a2 00 34 	beq+    ffc1f564 <rtems_rfs_rtems_lock.isra.3+0x5c><== ALWAYS TAKEN
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc1f534:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1f538:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc1f53c:	4b ff 3b 7d 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1f540:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1f544:	41 be 00 20 	beq+    cr7,ffc1f564 <rtems_rfs_rtems_lock.isra.3+0x5c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc1f548:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1f54c:	4b ff 7a c5 	bl      ffc17010 <rtems_status_text>           <== NOT EXECUTED
ffc1f550:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc1f554:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1f558:	38 63 21 36 	addi    r3,r3,8502                             <== NOT EXECUTED
ffc1f55c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1f560:	48 00 25 2d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
  rtems_rfs_mutex_lock (&rtems->access);                              
}                                                                     
ffc1f564:	39 61 00 10 	addi    r11,r1,16                              
ffc1f568:	4b fe 35 90 	b       ffc02af8 <_restgpr_31_x>               
                                                                      

ffc123dc <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) {
ffc123dc:	94 21 ff a0 	stwu    r1,-96(r1)                             
ffc123e0:	7c 08 02 a6 	mflr    r0                                     
ffc123e4:	90 01 00 64 	stw     r0,100(r1)                             
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
ffc123e8:	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)     
{                                                                     
ffc123ec:	bf 21 00 44 	stmw    r25,68(r1)                             
ffc123f0:	7c 7b 1b 78 	mr      r27,r3                                 
ffc123f4:	7c 9e 23 78 	mr      r30,r4                                 
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
ffc123f8:	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)     
{                                                                     
ffc123fc:	7c bc 2b 78 	mr      r28,r5                                 
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
  rtems_rfs_ino           parent = rtems_rfs_rtems_get_pathloc_ino (pathloc);
ffc12400:	83 27 00 00 	lwz     r25,0(r7)                              
static int                                                            
rtems_rfs_rtems_mknod (const char                       *name,        
                       mode_t                            mode,        
                       dev_t                             dev,         
                       rtems_filesystem_location_info_t *pathloc)     
{                                                                     
ffc12404:	7c dd 33 78 	mr      r29,r6                                 
#else                                                                 
  uid = 0;                                                            
  gid = 0;                                                            
#endif                                                                
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc12408:	80 7f 00 7c 	lwz     r3,124(r31)                            
ffc1240c:	4b ff fa 1d 	bl      ffc11e28 <rtems_rfs_rtems_lock.isra.16>
                                                                      
  rc = rtems_rfs_inode_create (fs, parent, name, strlen (name),       
ffc12410:	7f 63 db 78 	mr      r3,r27                                 
ffc12414:	48 01 03 fd 	bl      ffc22810 <strlen>                      
ffc12418:	7c 7a 1b 78 	mr      r26,r3                                 
ffc1241c:	7f c3 f3 78 	mr      r3,r30                                 
ffc12420:	48 00 0c 8d 	bl      ffc130ac <rtems_rfs_rtems_imode>       
ffc12424:	38 01 00 10 	addi    r0,r1,16                               
ffc12428:	7c 67 1b 78 	mr      r7,r3                                  
ffc1242c:	90 01 00 08 	stw     r0,8(r1)                               
ffc12430:	7f 65 db 78 	mr      r5,r27                                 
ffc12434:	7f e3 fb 78 	mr      r3,r31                                 
ffc12438:	7f 24 cb 78 	mr      r4,r25                                 
ffc1243c:	7f 46 d3 78 	mr      r6,r26                                 
ffc12440:	39 00 00 01 	li      r8,1                                   
ffc12444:	39 20 00 00 	li      r9,0                                   
ffc12448:	39 40 00 00 	li      r10,0                                  
ffc1244c:	4b ff f3 29 	bl      ffc11774 <rtems_rfs_inode_create>      
                               rtems_rfs_rtems_imode (mode),          
                               1, uid, gid, &ino);                    
  if (rc > 0)                                                         
ffc12450:	7c 7b 1b 79 	mr.     r27,r3                                 
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc12454:	7f e3 fb 78 	mr      r3,r31                                 
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_create (fs, parent, name, strlen (name),       
                               rtems_rfs_rtems_imode (mode),          
                               1, uid, gid, &ino);                    
  if (rc > 0)                                                         
ffc12458:	41 a1 00 20 	bgt+    ffc12478 <rtems_rfs_rtems_mknod+0x9c>  
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("mknod: inode create", rc);         
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc1245c:	80 81 00 10 	lwz     r4,16(r1)                              
ffc12460:	38 a1 00 14 	addi    r5,r1,20                               
ffc12464:	38 c0 00 01 	li      r6,1                                   
ffc12468:	4b ff ed 71 	bl      ffc111d8 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc1246c:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc12470:	40 81 00 1c 	ble-    ffc1248c <rtems_rfs_rtems_mknod+0xb0>  <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc12474:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc12478:	4b ff f7 81 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      
    return rtems_rfs_rtems_error ("mknod: inode open", rc);           
ffc1247c:	48 00 e5 2d 	bl      ffc209a8 <__errno>                     
ffc12480:	93 63 00 00 	stw     r27,0(r3)                              
ffc12484:	38 60 ff ff 	li      r3,-1                                  
ffc12488:	48 00 00 a4 	b       ffc1252c <rtems_rfs_rtems_mknod+0x150> 
  }                                                                   
                                                                      
  if (S_ISDIR(mode) || S_ISREG(mode))                                 
ffc1248c:	57 de 04 26 	rlwinm  r30,r30,0,16,19                        
ffc12490:	2f 9e 40 00 	cmpwi   cr7,r30,16384                          
ffc12494:	41 9e 00 68 	beq-    cr7,ffc124fc <rtems_rfs_rtems_mknod+0x120>
ffc12498:	6f c0 ff ff 	xoris   r0,r30,65535                           
ffc1249c:	2f 80 80 00 	cmpwi   cr7,r0,-32768                          
ffc124a0:	41 9e 00 5c 	beq-    cr7,ffc124fc <rtems_rfs_rtems_mknod+0x120><== ALWAYS TAKEN
  {                                                                   
  }                                                                   
  else if (S_ISCHR (mode) || S_ISBLK (mode))                          
ffc124a4:	2f 9e 20 00 	cmpwi   cr7,r30,8192                           <== NOT EXECUTED
ffc124a8:	41 9e 00 0c 	beq-    cr7,ffc124b4 <rtems_rfs_rtems_mknod+0xd8><== NOT EXECUTED
ffc124ac:	2f 9e 60 00 	cmpwi   cr7,r30,24576                          <== NOT EXECUTED
ffc124b0:	40 9e 00 28 	bne-    cr7,ffc124d8 <rtems_rfs_rtems_mknod+0xfc><== NOT EXECUTED
  {                                                                   
    int major;                                                        
    int minor;                                                        
    rtems_filesystem_split_dev_t (dev, major, minor);                 
    rtems_rfs_inode_set_block (&inode, 0, major);                     
ffc124b4:	38 61 00 14 	addi    r3,r1,20                               <== NOT EXECUTED
ffc124b8:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc124bc:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc124c0:	4b ff f6 39 	bl      ffc11af8 <rtems_rfs_inode_set_block>   <== NOT EXECUTED
    rtems_rfs_inode_set_block (&inode, 1, minor);                     
ffc124c4:	38 61 00 14 	addi    r3,r1,20                               <== NOT EXECUTED
ffc124c8:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc124cc:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc124d0:	4b ff f6 29 	bl      ffc11af8 <rtems_rfs_inode_set_block>   <== NOT EXECUTED
                                                                      
  if (S_ISDIR(mode) || S_ISREG(mode))                                 
  {                                                                   
  }                                                                   
  else if (S_ISCHR (mode) || S_ISBLK (mode))                          
  {                                                                   
ffc124d4:	48 00 00 28 	b       ffc124fc <rtems_rfs_rtems_mknod+0x120> <== 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);                               
ffc124d8:	38 81 00 14 	addi    r4,r1,20                               <== NOT EXECUTED
ffc124dc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc124e0:	4b ff ee e9 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
    rtems_rfs_rtems_unlock (fs);                                      
ffc124e4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc124e8:	4b ff f7 11 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("mknod: bad mode", EINVAL);         
ffc124ec:	48 00 e4 bd 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc124f0:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc124f4:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc124f8:	4b ff ff 8c 	b       ffc12484 <rtems_rfs_rtems_mknod+0xa8>  <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc124fc:	7f e3 fb 78 	mr      r3,r31                                 
ffc12500:	38 81 00 14 	addi    r4,r1,20                               
ffc12504:	4b ff ee c5 	bl      ffc113c8 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc12508:	7c 7e 1b 79 	mr.     r30,r3                                 
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc1250c:	7f e3 fb 78 	mr      r3,r31                                 
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("mknod: bad mode", EINVAL);         
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc > 0)                                                         
ffc12510:	40 81 00 14 	ble-    ffc12524 <rtems_rfs_rtems_mknod+0x148> <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc12514:	4b ff f6 e5 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("mknod: closing inode", rc);        
ffc12518:	48 00 e4 91 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1251c:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc12520:	4b ff ff 64 	b       ffc12484 <rtems_rfs_rtems_mknod+0xa8>  <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
ffc12524:	4b ff f6 d5 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      
  return 0;                                                           
ffc12528:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1252c:	39 61 00 60 	addi    r11,r1,96                              
ffc12530:	4b ff 05 b0 	b       ffc02ae0 <_restgpr_25_x>               
                                                                      

ffc12308 <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) {
ffc12308:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc1230c:	7c 08 02 a6 	mflr    r0                                     
ffc12310:	90 01 00 4c 	stw     r0,76(r1)                              
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (pathloc);
ffc12314:	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) 
{                                                                     
ffc12318:	bf a1 00 3c 	stmw    r29,60(r1)                             
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (pathloc);
ffc1231c:	83 e9 00 34 	lwz     r31,52(r9)                             
  rtems_rfs_ino                 ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
ffc12320:	83 c3 00 00 	lwz     r30,0(r3)                              
  rtems_filesystem_node_types_t type;                                 
  rtems_rfs_inode_handle        inode;                                
  uint16_t                      mode;                                 
  int                           rc;                                   
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc12324:	80 7f 00 7c 	lwz     r3,124(r31)                            
ffc12328:	4b ff fb 01 	bl      ffc11e28 <rtems_rfs_rtems_lock.isra.16>
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc1232c:	7f c4 f3 78 	mr      r4,r30                                 
ffc12330:	7f e3 fb 78 	mr      r3,r31                                 
ffc12334:	38 a1 00 08 	addi    r5,r1,8                                
ffc12338:	38 c0 00 01 	li      r6,1                                   
ffc1233c:	4b ff ee 9d 	bl      ffc111d8 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc12340:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc12344:	40 81 00 18 	ble-    ffc1235c <rtems_rfs_rtems_node_type+0x54><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc12348:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1234c:	4b ff f8 ad 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("node_type: opening inode", rc);    
ffc12350:	48 00 e6 59 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc12354:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc12358:	48 00 00 6c 	b       ffc123c4 <rtems_rfs_rtems_node_type+0xbc><== 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);                    
ffc1235c:	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;                                
ffc12360:	3b c0 00 01 	li      r30,1                                  
ffc12364:	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))                                       
ffc12368:	54 00 44 26 	rlwinm  r0,r0,8,16,19                          
ffc1236c:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
ffc12370:	41 9e 00 30 	beq-    cr7,ffc123a0 <rtems_rfs_rtems_node_type+0x98>
    type = RTEMS_FILESYSTEM_DIRECTORY;                                
  else if (RTEMS_RFS_S_ISLNK (mode))                                  
ffc12374:	6c 09 ff ff 	xoris   r9,r0,65535                            
ffc12378:	2f 89 a0 00 	cmpwi   cr7,r9,-24576                          
    type = RTEMS_FILESYSTEM_SYM_LINK;                                 
ffc1237c:	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))                                  
ffc12380:	41 9e 00 20 	beq-    cr7,ffc123a0 <rtems_rfs_rtems_node_type+0x98>
    type = RTEMS_FILESYSTEM_SYM_LINK;                                 
  else if (RTEMS_RFS_S_ISBLK (mode) || RTEMS_RFS_S_ISCHR (mode))      
ffc12384:	2f 80 60 00 	cmpwi   cr7,r0,24576                           
    type = RTEMS_FILESYSTEM_DEVICE;                                   
ffc12388:	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))      
ffc1238c:	41 9e 00 14 	beq-    cr7,ffc123a0 <rtems_rfs_rtems_node_type+0x98><== NEVER TAKEN
ffc12390:	2f 80 20 00 	cmpwi   cr7,r0,8192                            
    type = RTEMS_FILESYSTEM_DEVICE;                                   
  else                                                                
    type = RTEMS_FILESYSTEM_MEMORY_FILE;                              
ffc12394:	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))      
ffc12398:	40 be 00 08 	bne+    cr7,ffc123a0 <rtems_rfs_rtems_node_type+0x98><== ALWAYS TAKEN
    type = RTEMS_FILESYSTEM_DEVICE;                                   
ffc1239c:	3b c0 00 02 	li      r30,2                                  <== NOT EXECUTED
  else                                                                
    type = RTEMS_FILESYSTEM_MEMORY_FILE;                              
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc123a0:	7f e3 fb 78 	mr      r3,r31                                 
ffc123a4:	38 81 00 08 	addi    r4,r1,8                                
ffc123a8:	4b ff f0 21 	bl      ffc113c8 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc123ac:	7c 7d 1b 79 	mr.     r29,r3                                 
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc123b0:	7f e3 fb 78 	mr      r3,r31                                 
    type = RTEMS_FILESYSTEM_DEVICE;                                   
  else                                                                
    type = RTEMS_FILESYSTEM_MEMORY_FILE;                              
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc > 0)                                                         
ffc123b4:	40 81 00 18 	ble-    ffc123cc <rtems_rfs_rtems_node_type+0xc4><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc123b8:	4b ff f8 41 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("node_type: closing inode", rc);    
ffc123bc:	48 00 e5 ed 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc123c0:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc123c4:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc123c8:	48 00 00 08 	b       ffc123d0 <rtems_rfs_rtems_node_type+0xc8><== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
ffc123cc:	4b ff f8 2d 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      
                                                                      
  return type;                                                        
}                                                                     
ffc123d0:	39 61 00 48 	addi    r11,r1,72                              
ffc123d4:	7f c3 f3 78 	mr      r3,r30                                 
ffc123d8:	4b ff 07 18 	b       ffc02af0 <_restgpr_29_x>               
                                                                      

ffc11e30 <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) {
ffc11e30:	94 21 ff e0 	stwu    r1,-32(r1)                             <== NOT EXECUTED
ffc11e34:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc11e38:	90 01 00 24 	stw     r0,36(r1)                              <== NOT EXECUTED
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (old_loc); 
ffc11e3c:	81 64 00 10 	lwz     r11,16(r4)                             <== 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)    
{                                                                     
ffc11e40:	bf 41 00 08 	stmw    r26,8(r1)                              <== NOT EXECUTED
ffc11e44:	7c da 33 78 	mr      r26,r6                                 <== NOT EXECUTED
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (old_loc); 
ffc11e48:	83 eb 00 34 	lwz     r31,52(r11)                            <== 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);      
ffc11e4c:	83 83 00 00 	lwz     r28,0(r3)                              <== NOT EXECUTED
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_RENAME))           
    printf ("rtems-rfs: rename: ino:%" PRId32 " doff:%" PRIu32 ", new parent:%" PRId32 " new name:%s\n",
            ino, doff, new_parent, new_name);                         
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc11e50:	80 7f 00 7c 	lwz     r3,124(r31)                            <== 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);      
ffc11e54:	83 65 00 00 	lwz     r27,0(r5)                              <== NOT EXECUTED
                                                                      
  ino  = rtems_rfs_rtems_get_pathloc_ino (old_loc);                   
ffc11e58:	83 c4 00 00 	lwz     r30,0(r4)                              <== NOT EXECUTED
  doff = rtems_rfs_rtems_get_pathloc_doff (old_loc);                  
ffc11e5c:	83 a4 00 04 	lwz     r29,4(r4)                              <== NOT EXECUTED
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_RENAME))           
    printf ("rtems-rfs: rename: ino:%" PRId32 " doff:%" PRIu32 ", new parent:%" PRId32 " new name:%s\n",
            ino, doff, new_parent, new_name);                         
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc11e60:	4b ff ff c9 	bl      ffc11e28 <rtems_rfs_rtems_lock.isra.16><== 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);
ffc11e64:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc11e68:	48 01 09 a9 	bl      ffc22810 <strlen>                      <== NOT EXECUTED
ffc11e6c:	7f 66 db 78 	mr      r6,r27                                 <== NOT EXECUTED
ffc11e70:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc11e74:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc11e78:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc11e7c:	7f c7 f3 78 	mr      r7,r30                                 <== NOT EXECUTED
ffc11e80:	39 00 00 01 	li      r8,1                                   <== NOT EXECUTED
ffc11e84:	48 00 c7 c9 	bl      ffc1e64c <rtems_rfs_link>              <== NOT EXECUTED
  if (rc)                                                             
ffc11e88:	7c 7b 1b 79 	mr.     r27,r3                                 <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc11e8c:	7f e3 fb 78 	mr      r3,r31                                 <== 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);
  if (rc)                                                             
ffc11e90:	41 82 00 14 	beq-    ffc11ea4 <rtems_rfs_rtems_rename+0x74> <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc11e94:	4b ff fd 65 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("rename: linking", rc);             
ffc11e98:	48 00 eb 11 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc11e9c:	93 63 00 00 	stw     r27,0(r3)                              <== NOT EXECUTED
ffc11ea0:	48 00 00 30 	b       ffc11ed0 <rtems_rfs_rtems_rename+0xa0> <== 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,                   
ffc11ea4:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc11ea8:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc11eac:	7f a6 eb 78 	mr      r6,r29                                 <== NOT EXECUTED
ffc11eb0:	38 e0 00 02 	li      r7,2                                   <== NOT EXECUTED
ffc11eb4:	48 00 c9 45 	bl      ffc1e7f8 <rtems_rfs_unlink>            <== NOT EXECUTED
                         rtems_rfs_unlink_dir_allowed);               
  if (rc)                                                             
ffc11eb8:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc11ebc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
   * Unlink all inodes even directories with the dir option as false because a
   * directory may not be empty.                                      
   */                                                                 
  rc = rtems_rfs_unlink (fs, old_parent, ino, doff,                   
                         rtems_rfs_unlink_dir_allowed);               
  if (rc)                                                             
ffc11ec0:	41 82 00 18 	beq-    ffc11ed8 <rtems_rfs_rtems_rename+0xa8> <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc11ec4:	4b ff fd 35 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("rename: unlinking", rc);           
ffc11ec8:	48 00 ea e1 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc11ecc:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc11ed0:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc11ed4:	48 00 00 0c 	b       ffc11ee0 <rtems_rfs_rtems_rename+0xb0> <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
ffc11ed8:	4b ff fd 21 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
                                                                      
  return 0;                                                           
ffc11edc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc11ee0:	39 61 00 20 	addi    r11,r1,32                              <== NOT EXECUTED
ffc11ee4:	4b ff 0c 00 	b       ffc02ae4 <_restgpr_26_x>               <== NOT EXECUTED
                                                                      

ffc11fdc <rtems_rfs_rtems_rmnod>: * @return int */ int rtems_rfs_rtems_rmnod (rtems_filesystem_location_info_t* parent_pathloc, rtems_filesystem_location_info_t* pathloc) {
ffc11fdc:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc11fe0:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc11fe4:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc11fe8:	81 64 00 10 	lwz     r11,16(r4)                             <== NOT EXECUTED
 * @return int                                                        
 */                                                                   
int                                                                   
rtems_rfs_rtems_rmnod (rtems_filesystem_location_info_t* parent_pathloc,
                       rtems_filesystem_location_info_t* pathloc)     
{                                                                     
ffc11fec:	bf 81 00 08 	stmw    r28,8(r1)                              <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc11ff0:	83 eb 00 34 	lwz     r31,52(r11)                            <== NOT EXECUTED
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_pathloc);
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
  uint32_t               doff = rtems_rfs_rtems_get_pathloc_doff (pathloc);
ffc11ff4:	83 c4 00 04 	lwz     r30,4(r4)                              <== 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);
ffc11ff8:	83 83 00 00 	lwz     r28,0(r3)                              <== NOT EXECUTED
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
ffc11ffc:	83 a4 00 00 	lwz     r29,0(r4)                              <== NOT EXECUTED
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_RMNOD))            
    printf ("rtems-rfs: rmnod: parent:%" PRId32 " doff:%" PRIu32 ", ino:%" PRId32 "\n",
            parent, doff, ino);                                       
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc12000:	80 7f 00 7c 	lwz     r3,124(r31)                            <== NOT EXECUTED
ffc12004:	4b ff fe 25 	bl      ffc11e28 <rtems_rfs_rtems_lock.isra.16><== NOT EXECUTED
                                                                      
  rc = rtems_rfs_unlink (fs, parent, ino, doff, rtems_rfs_unlink_dir_denied);
ffc12008:	7f c6 f3 78 	mr      r6,r30                                 <== NOT EXECUTED
ffc1200c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc12010:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc12014:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc12018:	38 e0 00 00 	li      r7,0                                   <== NOT EXECUTED
ffc1201c:	48 00 c7 dd 	bl      ffc1e7f8 <rtems_rfs_unlink>            <== NOT EXECUTED
  if (rc)                                                             
ffc12020:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc12024:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
            parent, doff, ino);                                       
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_unlink (fs, parent, ino, doff, rtems_rfs_unlink_dir_denied);
  if (rc)                                                             
ffc12028:	41 82 00 18 	beq-    ffc12040 <rtems_rfs_rtems_rmnod+0x64>  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc1202c:	4b ff fb cd 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("rmnod: unlinking", rc);            
ffc12030:	48 00 e9 79 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc12034:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc12038:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1203c:	48 00 00 0c 	b       ffc12048 <rtems_rfs_rtems_rmnod+0x6c>  <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
ffc12040:	4b ff fb b9 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
  return 0;                                                           
ffc12044:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc12048:	39 61 00 18 	addi    r11,r1,24                              <== NOT EXECUTED
ffc1204c:	4b ff 0a a0 	b       ffc02aec <_restgpr_28_x>               <== NOT EXECUTED
                                                                      

ffc12ff4 <rtems_rfs_rtems_set_handlers>: */ bool rtems_rfs_rtems_set_handlers (rtems_filesystem_location_info_t* loc, rtems_rfs_inode_handle* inode) {
ffc12ff4:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc12ff8:	7c 08 02 a6 	mflr    r0                                     
ffc12ffc:	90 01 00 0c 	stw     r0,12(r1)                              
{                                                                     
  /*                                                                  
   * Mapping matches RTEMS so no need to change.                      
   */                                                                 
  return imode;                                                       
}                                                                     
ffc13000:	81 24 00 0c 	lwz     r9,12(r4)                              
ffc13004:	88 89 00 02 	lbz     r4,2(r9)                               
ffc13008:	88 09 00 03 	lbz     r0,3(r9)                               
ffc1300c:	54 84 40 2e 	rlwinm  r4,r4,8,0,23                           
ffc13010:	7c 84 03 78 	or      r4,r4,r0                               
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;                                               
ffc13014:	38 00 00 00 	li      r0,0                                   
ffc13018:	90 03 00 08 	stw     r0,8(r3)                               
  if (RTEMS_RFS_S_ISDIR (mode))                                       
ffc1301c:	54 80 04 26 	rlwinm  r0,r4,0,16,19                          
ffc13020:	2f 80 40 00 	cmpwi   cr7,r0,16384                           
ffc13024:	40 be 00 10 	bne+    cr7,ffc13034 <rtems_rfs_rtems_set_handlers+0x40>
    loc->handlers = rtems_rfs_rtems_handlers (dir);                   
ffc13028:	3d 20 ff c3 	lis     r9,-61                                 
ffc1302c:	38 09 3f d8 	addi    r0,r9,16344                            
ffc13030:	48 00 00 1c 	b       ffc1304c <rtems_rfs_rtems_set_handlers+0x58>
  else if (RTEMS_RFS_S_ISCHR (mode) || RTEMS_RFS_S_ISBLK(mode))       
ffc13034:	2f 80 20 00 	cmpwi   cr7,r0,8192                            
ffc13038:	41 9e 00 0c 	beq-    cr7,ffc13044 <rtems_rfs_rtems_set_handlers+0x50><== NEVER TAKEN
ffc1303c:	2f 80 60 00 	cmpwi   cr7,r0,24576                           
ffc13040:	40 be 00 18 	bne+    cr7,ffc13058 <rtems_rfs_rtems_set_handlers+0x64><== ALWAYS TAKEN
    loc->handlers = rtems_rfs_rtems_handlers (device);                
ffc13044:	3d 20 ff c3 	lis     r9,-61                                 <== NOT EXECUTED
ffc13048:	38 09 3f a0 	addi    r0,r9,16288                            <== NOT EXECUTED
ffc1304c:	90 03 00 08 	stw     r0,8(r3)                               
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
    return false;                                                     
  }                                                                   
  return true;                                                        
ffc13050:	38 60 00 01 	li      r3,1                                   
  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);                
ffc13054:	48 00 00 48 	b       ffc1309c <rtems_rfs_rtems_set_handlers+0xa8>
  else if (RTEMS_RFS_S_ISLNK (mode))                                  
ffc13058:	6c 09 ff ff 	xoris   r9,r0,65535                            
ffc1305c:	2f 89 a0 00 	cmpwi   cr7,r9,-24576                          
ffc13060:	40 9e 00 10 	bne-    cr7,ffc13070 <rtems_rfs_rtems_set_handlers+0x7c>
    loc->handlers = rtems_rfs_rtems_handlers (link);                  
ffc13064:	3d 20 ff c3 	lis     r9,-61                                 
ffc13068:	38 09 20 d8 	addi    r0,r9,8408                             
ffc1306c:	4b ff ff e0 	b       ffc1304c <rtems_rfs_rtems_set_handlers+0x58>
  else if (RTEMS_RFS_S_ISREG (mode))                                  
ffc13070:	6c 09 ff ff 	xoris   r9,r0,65535                            
ffc13074:	2f 89 80 00 	cmpwi   cr7,r9,-32768                          
ffc13078:	40 9e 00 10 	bne-    cr7,ffc13088 <rtems_rfs_rtems_set_handlers+0x94><== NEVER TAKEN
    loc->handlers = rtems_rfs_rtems_handlers (file);                  
ffc1307c:	3d 20 ff c3 	lis     r9,-61                                 
ffc13080:	38 09 40 10 	addi    r0,r9,16400                            
ffc13084:	4b ff ff c8 	b       ffc1304c <rtems_rfs_rtems_set_handlers+0x58>
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
ffc13088:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1308c:	38 63 21 5b 	addi    r3,r3,8539                             <== NOT EXECUTED
ffc13090:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13094:	48 00 e9 f9 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
    return false;                                                     
ffc13098:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
  }                                                                   
  return true;                                                        
}                                                                     
ffc1309c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc130a0:	38 21 00 08 	addi    r1,r1,8                                
ffc130a4:	7c 08 03 a6 	mtlr    r0                                     
ffc130a8:	4e 80 00 20 	blr                                            
                                                                      

ffc11c5c <rtems_rfs_rtems_shutdown>: /** * Shutdown the file system. */ int rtems_rfs_rtems_shutdown (rtems_filesystem_mount_table_entry_t* mt_entry) {
ffc11c5c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc11c60:	7c 08 02 a6 	mflr    r0                                     
ffc11c64:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_rfs_file_system*   fs = mt_entry->fs_info;                    
ffc11c68:	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)
{                                                                     
ffc11c6c:	bf c1 00 08 	stmw    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);                                     
ffc11c70:	83 c3 00 7c 	lwz     r30,124(r3)                            
                                                                      
  rc = rtems_rfs_fs_close(fs);                                        
ffc11c74:	48 00 c9 5d 	bl      ffc1e5d0 <rtems_rfs_fs_close>          
ffc11c78:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
ffc11c7c:	7f c3 f3 78 	mr      r3,r30                                 
ffc11c80:	48 00 d4 01 	bl      ffc1f080 <rtems_rfs_mutex_destroy>     
  free (rtems);                                                       
ffc11c84:	7f c3 f3 78 	mr      r3,r30                                 
ffc11c88:	4b ff 5c 61 	bl      ffc078e8 <free>                        
                                                                      
  return rtems_rfs_rtems_error ("shutdown: close", rc);               
ffc11c8c:	48 00 ed 1d 	bl      ffc209a8 <__errno>                     
ffc11c90:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc11c94:	93 e3 00 00 	stw     r31,0(r3)                              
ffc11c98:	38 60 ff ff 	li      r3,-1                                  
ffc11c9c:	40 9e 00 08 	bne-    cr7,ffc11ca4 <rtems_rfs_rtems_shutdown+0x48><== NEVER TAKEN
ffc11ca0:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc11ca4:	39 61 00 10 	addi    r11,r1,16                              
ffc11ca8:	4b ff 0e 4c 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

ffc11b4c <rtems_rfs_rtems_statvfs>: * @return int */ static int rtems_rfs_rtems_statvfs (rtems_filesystem_location_info_t* pathloc, struct statvfs* sb) {
ffc11b4c:	94 21 ff e0 	stwu    r1,-32(r1)                             <== NOT EXECUTED
ffc11b50:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc11b54:	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);                       
ffc11b58:	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);  
ffc11b5c:	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)        
{                                                                     
ffc11b60:	bf c1 00 18 	stmw    r30,24(r1)                             <== NOT EXECUTED
ffc11b64:	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);                       
ffc11b68:	38 81 00 0c 	addi    r4,r1,12                               <== 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);  
ffc11b6c:	83 c9 00 34 	lwz     r30,52(r9)                             <== NOT EXECUTED
  size_t                 blocks;                                      
  size_t                 inodes;                                      
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
ffc11b70:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc11b74:	4b ff f4 b5 	bl      ffc11028 <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);                 
ffc11b78:	81 3e 00 0c 	lwz     r9,12(r30)                             <== NOT EXECUTED
  size_t                 blocks;                                      
  size_t                 inodes;                                      
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
                                                                      
  sb->f_bsize   = rtems_rfs_fs_block_size (fs);                       
ffc11b7c:	80 1e 00 08 	lwz     r0,8(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;                                                           
}                                                                     
ffc11b80:	38 60 00 00 	li      r3,0                                   <== 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;                  
ffc11b84:	81 7e 00 04 	lwz     r11,4(r30)                             <== NOT EXECUTED
  size_t                 blocks;                                      
  size_t                 inodes;                                      
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
                                                                      
  sb->f_bsize   = rtems_rfs_fs_block_size (fs);                       
ffc11b88:	90 1f 00 00 	stw     r0,0(r31)                              <== NOT EXECUTED
  sb->f_frsize  = rtems_rfs_fs_media_block_size (fs);                 
ffc11b8c:	80 09 00 24 	lwz     r0,36(r9)                              <== NOT EXECUTED
ffc11b90:	90 1f 00 04 	stw     r0,4(r31)                              <== NOT EXECUTED
  sb->f_blocks  = rtems_rfs_fs_media_blocks (fs);                     
ffc11b94:	80 09 00 1c 	lwz     r0,28(r9)                              <== NOT EXECUTED
  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;                  
ffc11b98:	81 21 00 0c 	lwz     r9,12(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);                     
ffc11b9c:	90 1f 00 0c 	stw     r0,12(r31)                             <== NOT EXECUTED
ffc11ba0:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;                  
ffc11ba4:	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);                     
ffc11ba8:	90 1f 00 08 	stw     r0,8(r31)                              <== NOT EXECUTED
  sb->f_fsid    = RTEMS_RFS_SB_MAGIC;                                 
  sb->f_flag    = rtems_rfs_fs_flags (fs);                            
  sb->f_namemax = rtems_rfs_fs_max_name (fs);                         
                                                                      
  return 0;                                                           
}                                                                     
ffc11bac:	39 61 00 20 	addi    r11,r1,32                              <== 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;                  
ffc11bb0:	90 1f 00 10 	stw     r0,16(r31)                             <== NOT EXECUTED
ffc11bb4:	91 3f 00 14 	stw     r9,20(r31)                             <== NOT EXECUTED
  sb->f_bavail  = sb->f_bfree;                                        
ffc11bb8:	90 1f 00 18 	stw     r0,24(r31)                             <== NOT EXECUTED
ffc11bbc:	91 3f 00 1c 	stw     r9,28(r31)                             <== NOT EXECUTED
  sb->f_files   = rtems_rfs_fs_inodes (fs);                           
ffc11bc0:	80 1e 00 10 	lwz     r0,16(r30)                             <== NOT EXECUTED
  sb->f_ffree   = rtems_rfs_fs_inodes (fs) - inodes;                  
ffc11bc4:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
  sb->f_bsize   = rtems_rfs_fs_block_size (fs);                       
  sb->f_frsize  = rtems_rfs_fs_media_block_size (fs);                 
  sb->f_blocks  = rtems_rfs_fs_media_blocks (fs);                     
  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;                  
  sb->f_bavail  = sb->f_bfree;                                        
  sb->f_files   = rtems_rfs_fs_inodes (fs);                           
ffc11bc8:	90 1f 00 20 	stw     r0,32(r31)                             <== NOT EXECUTED
  sb->f_ffree   = rtems_rfs_fs_inodes (fs) - inodes;                  
ffc11bcc:	7c 09 00 50 	subf    r0,r9,r0                               <== NOT EXECUTED
ffc11bd0:	90 1f 00 24 	stw     r0,36(r31)                             <== NOT EXECUTED
  sb->f_favail  = sb->f_ffree;                                        
ffc11bd4:	90 1f 00 28 	stw     r0,40(r31)                             <== NOT EXECUTED
  sb->f_fsid    = RTEMS_RFS_SB_MAGIC;                                 
ffc11bd8:	3c 00 28 09 	lis     r0,10249                               <== NOT EXECUTED
ffc11bdc:	60 00 20 01 	ori     r0,r0,8193                             <== NOT EXECUTED
ffc11be0:	90 1f 00 2c 	stw     r0,44(r31)                             <== NOT EXECUTED
  sb->f_flag    = rtems_rfs_fs_flags (fs);                            
ffc11be4:	80 1e 00 00 	lwz     r0,0(r30)                              <== NOT EXECUTED
ffc11be8:	90 1f 00 30 	stw     r0,48(r31)                             <== NOT EXECUTED
  sb->f_namemax = rtems_rfs_fs_max_name (fs);                         
ffc11bec:	80 1e 00 18 	lwz     r0,24(r30)                             <== NOT EXECUTED
ffc11bf0:	90 1f 00 34 	stw     r0,52(r31)                             <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
ffc11bf4:	4b ff 0f 00 	b       ffc02af4 <_restgpr_30_x>               <== NOT EXECUTED
                                                                      

ffc120c4 <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) {
ffc120c4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc120c8:	7c 08 02 a6 	mflr    r0                                     
ffc120cc:	90 01 00 24 	stw     r0,36(r1)                              
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
ffc120d0:	81 23 00 10 	lwz     r9,16(r3)                              
                                                                      
static int                                                            
rtems_rfs_rtems_symlink (rtems_filesystem_location_info_t* parent_loc,
                         const char*                       link_name, 
                         const char*                       node_name) 
{                                                                     
ffc120d4:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc120d8:	7c bb 2b 78 	mr      r27,r5                                 
ffc120dc:	7c 9d 23 78 	mr      r29,r4                                 
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
ffc120e0:	83 e9 00 34 	lwz     r31,52(r9)                             
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_loc);
ffc120e4:	83 c3 00 00 	lwz     r30,0(r3)                              
#else                                                                 
  uid = 0;                                                            
  gid = 0;                                                            
#endif                                                                
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc120e8:	80 7f 00 7c 	lwz     r3,124(r31)                            
ffc120ec:	4b ff fd 3d 	bl      ffc11e28 <rtems_rfs_rtems_lock.isra.16>
                                                                      
  rc = rtems_rfs_symlink (fs, node_name, strlen (node_name),          
ffc120f0:	7f 63 db 78 	mr      r3,r27                                 
ffc120f4:	48 01 07 1d 	bl      ffc22810 <strlen>                      
ffc120f8:	7c 7c 1b 78 	mr      r28,r3                                 
                          link_name, strlen (link_name),              
ffc120fc:	7f a3 eb 78 	mr      r3,r29                                 
ffc12100:	48 01 07 11 	bl      ffc22810 <strlen>                      
  gid = 0;                                                            
#endif                                                                
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_symlink (fs, node_name, strlen (node_name),          
ffc12104:	7f ca f3 78 	mr      r10,r30                                
                          link_name, strlen (link_name),              
ffc12108:	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),          
ffc1210c:	7f 64 db 78 	mr      r4,r27                                 
ffc12110:	7f e3 fb 78 	mr      r3,r31                                 
ffc12114:	7f 85 e3 78 	mr      r5,r28                                 
ffc12118:	7f a6 eb 78 	mr      r6,r29                                 
ffc1211c:	39 00 00 00 	li      r8,0                                   
ffc12120:	39 20 00 00 	li      r9,0                                   
ffc12124:	48 00 ca 95 	bl      ffc1ebb8 <rtems_rfs_symlink>           
                          link_name, strlen (link_name),              
                          uid, gid, parent);                          
  if (rc)                                                             
ffc12128:	7c 7e 1b 79 	mr.     r30,r3                                 
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc1212c:	7f e3 fb 78 	mr      r3,r31                                 
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_symlink (fs, node_name, strlen (node_name),          
                          link_name, strlen (link_name),              
                          uid, gid, parent);                          
  if (rc)                                                             
ffc12130:	41 82 00 18 	beq-    ffc12148 <rtems_rfs_rtems_symlink+0x84><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc12134:	4b ff fa c5 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("symlink: linking", rc);            
ffc12138:	48 00 e8 71 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc1213c:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc12140:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc12144:	48 00 00 0c 	b       ffc12150 <rtems_rfs_rtems_symlink+0x8c><== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
ffc12148:	4b ff fa b1 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      
                                                                      
  return 0;                                                           
ffc1214c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc12150:	39 61 00 20 	addi    r11,r1,32                              
ffc12154:	4b ff 09 94 	b       ffc02ae8 <_restgpr_27_x>               
                                                                      

ffc11ee8 <rtems_rfs_rtems_unlink>: */ static int rtems_rfs_rtems_unlink (rtems_filesystem_location_info_t* parent_loc, rtems_filesystem_location_info_t* loc) {
ffc11ee8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc11eec:	7c 08 02 a6 	mflr    r0                                     
ffc11ef0:	90 01 00 1c 	stw     r0,28(r1)                              
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
ffc11ef4:	81 23 00 10 	lwz     r9,16(r3)                              
 */                                                                   
                                                                      
static int                                                            
rtems_rfs_rtems_unlink (rtems_filesystem_location_info_t* parent_loc, 
                        rtems_filesystem_location_info_t* loc)        
{                                                                     
ffc11ef8:	bf 81 00 08 	stmw    r28,8(r1)                              
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
ffc11efc:	83 e9 00 34 	lwz     r31,52(r9)                             
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_loc);
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (loc); 
  uint32_t               doff = rtems_rfs_rtems_get_pathloc_doff (loc);
ffc11f00:	83 c4 00 04 	lwz     r30,4(r4)                              
static int                                                            
rtems_rfs_rtems_unlink (rtems_filesystem_location_info_t* parent_loc, 
                        rtems_filesystem_location_info_t* loc)        
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_loc);
ffc11f04:	83 83 00 00 	lwz     r28,0(r3)                              
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (loc); 
ffc11f08:	83 a4 00 00 	lwz     r29,0(r4)                              
  uint32_t               doff = rtems_rfs_rtems_get_pathloc_doff (loc);
  int                    rc;                                          
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc11f0c:	80 7f 00 7c 	lwz     r3,124(r31)                            
ffc11f10:	4b ff ff 19 	bl      ffc11e28 <rtems_rfs_rtems_lock.isra.16>
                                                                      
  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);
ffc11f14:	7f c6 f3 78 	mr      r6,r30                                 
ffc11f18:	7f e3 fb 78 	mr      r3,r31                                 
ffc11f1c:	7f 84 e3 78 	mr      r4,r28                                 
ffc11f20:	7f a5 eb 78 	mr      r5,r29                                 
ffc11f24:	38 e0 00 00 	li      r7,0                                   
ffc11f28:	48 00 c8 d1 	bl      ffc1e7f8 <rtems_rfs_unlink>            
  if (rc)                                                             
ffc11f2c:	7c 7e 1b 79 	mr.     r30,r3                                 
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc11f30:	7f e3 fb 78 	mr      r3,r31                                 
  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);
  if (rc)                                                             
ffc11f34:	41 82 00 18 	beq-    ffc11f4c <rtems_rfs_rtems_unlink+0x64> <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc11f38:	4b ff fc c1 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("unlink: unlink inode", rc);        
ffc11f3c:	48 00 ea 6d 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc11f40:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc11f44:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc11f48:	48 00 00 0c 	b       ffc11f54 <rtems_rfs_rtems_unlink+0x6c> <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
ffc11f4c:	4b ff fc ad 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      
                                                                      
  return 0;                                                           
ffc11f50:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc11f54:	39 61 00 18 	addi    r11,r1,24                              
ffc11f58:	4b ff 0b 94 	b       ffc02aec <_restgpr_28_x>               
                                                                      

ffc11bf8 <rtems_rfs_rtems_unlock>: /** * Unlock the RFS file system. */ static inline void rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs) {
ffc11bf8:	7c 2b 0b 78 	mr      r11,r1                                 
ffc11bfc:	7c 08 02 a6 	mflr    r0                                     
ffc11c00:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc11c04:	90 01 00 14 	stw     r0,20(r1)                              
ffc11c08:	4b ff 0e a5 	bl      ffc02aac <_savegpr_31>                 
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
ffc11c0c:	83 e3 00 7c 	lwz     r31,124(r3)                            
  rtems_rfs_buffers_release (fs);                                     
ffc11c10:	48 00 9e dd 	bl      ffc1baec <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);            
ffc11c14:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc11c18:	4b ff a2 05 	bl      ffc0be1c <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc11c1c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc11c20:	41 a2 00 34 	beq+    ffc11c54 <rtems_rfs_rtems_unlock+0x5c> <== ALWAYS TAKEN
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc11c24:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc11c28:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc11c2c:	48 00 14 8d 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc11c30:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc11c34:	41 be 00 20 	beq+    cr7,ffc11c54 <rtems_rfs_rtems_unlock+0x5c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc11c38:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc11c3c:	48 00 53 d5 	bl      ffc17010 <rtems_status_text>           <== NOT EXECUTED
ffc11c40:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc11c44:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc11c48:	38 63 21 10 	addi    r3,r3,8464                             <== NOT EXECUTED
ffc11c4c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc11c50:	48 00 fe 3d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
  rtems_rfs_mutex_unlock (&rtems->access);                            
}                                                                     
ffc11c54:	39 61 00 10 	addi    r11,r1,16                              
ffc11c58:	4b ff 0e a0 	b       ffc02af8 <_restgpr_31_x>               
                                                                      

ffc12158 <rtems_rfs_rtems_utime>: static int rtems_rfs_rtems_utime(rtems_filesystem_location_info_t* pathloc, time_t atime, time_t mtime) {
ffc12158:	94 21 ff b8 	stwu    r1,-72(r1)                             <== NOT EXECUTED
ffc1215c:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc12160:	90 01 00 4c 	stw     r0,76(r1)                              <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc12164:	81 23 00 10 	lwz     r9,16(r3)                              <== NOT EXECUTED
                                                                      
static int                                                            
rtems_rfs_rtems_utime(rtems_filesystem_location_info_t* pathloc,      
                      time_t                            atime,        
                      time_t                            mtime)        
{                                                                     
ffc12168:	bf 81 00 38 	stmw    r28,56(r1)                             <== NOT EXECUTED
ffc1216c:	7c 9d 23 78 	mr      r29,r4                                 <== NOT EXECUTED
ffc12170:	7c be 2b 78 	mr      r30,r5                                 <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc12174:	83 e9 00 34 	lwz     r31,52(r9)                             <== NOT EXECUTED
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
ffc12178:	83 83 00 00 	lwz     r28,0(r3)                              <== NOT EXECUTED
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
ffc1217c:	80 7f 00 7c 	lwz     r3,124(r31)                            <== NOT EXECUTED
ffc12180:	4b ff fc a9 	bl      ffc11e28 <rtems_rfs_rtems_lock.isra.16><== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc12184:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc12188:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1218c:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc12190:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc12194:	4b ff f0 45 	bl      ffc111d8 <rtems_rfs_inode_open>        <== NOT EXECUTED
  if (rc)                                                             
ffc12198:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc1219c:	41 82 00 18 	beq-    ffc121b4 <rtems_rfs_rtems_utime+0x5c>  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc121a0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc121a4:	4b ff fa 55 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("utime: read inode", rc);           
ffc121a8:	48 00 e8 01 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc121ac:	93 83 00 00 	stw     r28,0(r3)                              <== NOT EXECUTED
ffc121b0:	48 00 00 6c 	b       ffc1221c <rtems_rfs_rtems_utime+0xc4>  <== 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);                  
ffc121b4:	81 21 00 14 	lwz     r9,20(r1)                              <== NOT EXECUTED
ffc121b8:	57 a0 46 3e 	rlwinm  r0,r29,8,24,31                         <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_inode_set_atime (&inode, atime);                          
  rtems_rfs_inode_set_mtime (&inode, mtime);                          
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc121bc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc121c0:	98 09 00 10 	stb     r0,16(r9)                              <== NOT EXECUTED
ffc121c4:	57 a0 84 3e 	rlwinm  r0,r29,16,16,31                        <== NOT EXECUTED
ffc121c8:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc121cc:	98 09 00 11 	stb     r0,17(r9)                              <== NOT EXECUTED
ffc121d0:	57 a0 c2 3e 	rlwinm  r0,r29,24,8,31                         <== NOT EXECUTED
ffc121d4:	98 09 00 12 	stb     r0,18(r9)                              <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc121d8:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc121dc:	98 01 00 18 	stb     r0,24(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);                  
ffc121e0:	57 c0 46 3e 	rlwinm  r0,r30,8,24,31                         <== NOT EXECUTED
ffc121e4:	98 09 00 14 	stb     r0,20(r9)                              <== NOT EXECUTED
ffc121e8:	57 c0 84 3e 	rlwinm  r0,r30,16,16,31                        <== NOT EXECUTED
ffc121ec:	98 09 00 15 	stb     r0,21(r9)                              <== NOT EXECUTED
ffc121f0:	57 c0 c2 3e 	rlwinm  r0,r30,24,8,31                         <== NOT EXECUTED
ffc121f4:	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);                  
ffc121f8:	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);                  
ffc121fc:	98 09 00 16 	stb     r0,22(r9)                              <== NOT EXECUTED
ffc12200:	4b ff f1 c9 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
  if (rc)                                                             
ffc12204:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc12208:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
                                                                      
  rtems_rfs_inode_set_atime (&inode, atime);                          
  rtems_rfs_inode_set_mtime (&inode, mtime);                          
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc)                                                             
ffc1220c:	41 82 00 18 	beq-    ffc12224 <rtems_rfs_rtems_utime+0xcc>  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
ffc12210:	4b ff f9 e9 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
    return rtems_rfs_rtems_error ("utime: closing inode", rc);        
ffc12214:	48 00 e7 95 	bl      ffc209a8 <__errno>                     <== NOT EXECUTED
ffc12218:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc1221c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc12220:	48 00 00 0c 	b       ffc1222c <rtems_rfs_rtems_utime+0xd4>  <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
ffc12224:	4b ff f9 d5 	bl      ffc11bf8 <rtems_rfs_rtems_unlock>      <== NOT EXECUTED
                                                                      
  return 0;                                                           
ffc12228:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc1222c:	39 61 00 48 	addi    r11,r1,72                              <== NOT EXECUTED
ffc12230:	4b ff 08 bc 	b       ffc02aec <_restgpr_28_x>               <== NOT EXECUTED
                                                                      

ffc0fd18 <rtems_rfs_rup_quotient>: * "quotient = dividend / divisor" */ int rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor) { if (dividend == 0)
ffc0fd18:	2c 03 00 00 	cmpwi   r3,0                                   
    return 1;                                                         
ffc0fd1c:	38 00 00 01 	li      r0,1                                   
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc0fd20:	41 82 00 10 	beq-    ffc0fd30 <rtems_rfs_rup_quotient+0x18> <== NEVER TAKEN
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
ffc0fd24:	38 03 ff ff 	addi    r0,r3,-1                               
ffc0fd28:	7c 80 23 96 	divwu   r4,r0,r4                               
ffc0fd2c:	38 04 00 01 	addi    r0,r4,1                                
}                                                                     
ffc0fd30:	7c 03 03 78 	mr      r3,r0                                  
ffc0fd34:	4e 80 00 20 	blr                                            
                                                                      

ffc1b378 <rtems_rfs_scan_chain>: */ static rtems_rfs_buffer* rtems_rfs_scan_chain (rtems_chain_control* chain, uint32_t* count, rtems_rfs_buffer_block block) {
ffc1b378:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1b37c:	7c 08 02 a6 	mflr    r0                                     
ffc1b380:	90 01 00 24 	stw     r0,36(r1)                              
ffc1b384:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc1b388:	7c 7d 1b 78 	mr      r29,r3                                 
ffc1b38c:	7c 9e 23 78 	mr      r30,r4                                 
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Last(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Tail( the_chain )->previous;                          
ffc1b390:	83 e3 00 08 	lwz     r31,8(r3)                              
  rtems_rfs_buffer* buffer;                                           
  rtems_chain_node* node;                                             
                                                                      
  node = rtems_chain_last (chain);                                    
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
ffc1b394:	38 80 00 80 	li      r4,128                                 
ffc1b398:	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)                   
{                                                                     
ffc1b39c:	7c bc 2b 78 	mr      r28,r5                                 
  rtems_rfs_buffer* buffer;                                           
  rtems_chain_node* node;                                             
                                                                      
  node = rtems_chain_last (chain);                                    
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
ffc1b3a0:	4b ff 7d 19 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1b3a4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1b3a8:	41 be 00 9c 	beq+    cr7,ffc1b444 <rtems_rfs_scan_chain+0xcc><== ALWAYS TAKEN
    printf ("rtems-rfs: buffer-scan: count=%" PRIu32 ", block=%" PRIu32 ": ", *count, block);
ffc1b3ac:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1b3b0:	80 9e 00 00 	lwz     r4,0(r30)                              <== NOT EXECUTED
ffc1b3b4:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc1b3b8:	38 63 2b f5 	addi    r3,r3,11253                            <== NOT EXECUTED
ffc1b3bc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1b3c0:	48 00 66 cd 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc1b3c4:	48 00 00 80 	b       ffc1b444 <rtems_rfs_scan_chain+0xcc>   <== NOT EXECUTED
                                                                      
  while (!rtems_chain_is_head (chain, node))                          
  {                                                                   
    buffer = (rtems_rfs_buffer*) node;                                
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))              
ffc1b3c8:	4b ff 7c f1 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1b3cc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1b3d0:	41 be 00 14 	beq+    cr7,ffc1b3e4 <rtems_rfs_scan_chain+0x6c><== ALWAYS TAKEN
      printf ("%" PRIuPTR " ", ((intptr_t) buffer->user));            
ffc1b3d4:	80 9f 00 3c 	lwz     r4,60(r31)                             <== NOT EXECUTED
ffc1b3d8:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1b3dc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1b3e0:	48 00 66 ad 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                                                                      
    if (((rtems_rfs_buffer_block) ((intptr_t)(buffer->user))) == block)
ffc1b3e4:	80 1f 00 3c 	lwz     r0,60(r31)                             
ffc1b3e8:	7f 80 e0 00 	cmpw    cr7,r0,r28                             
ffc1b3ec:	40 be 00 50 	bne+    cr7,ffc1b43c <rtems_rfs_scan_chain+0xc4>
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))            
ffc1b3f0:	38 60 00 00 	li      r3,0                                   
ffc1b3f4:	38 80 00 80 	li      r4,128                                 
ffc1b3f8:	4b ff 7c c1 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1b3fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1b400:	41 be 00 18 	beq+    cr7,ffc1b418 <rtems_rfs_scan_chain+0xa0><== ALWAYS TAKEN
        printf (": found block=%" PRIuPTR "\n",                       
ffc1b404:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1b408:	80 9f 00 3c 	lwz     r4,60(r31)                             <== NOT EXECUTED
ffc1b40c:	38 63 2c 29 	addi    r3,r3,11305                            <== NOT EXECUTED
ffc1b410:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1b414:	48 00 66 79 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                ((intptr_t)(buffer->user)));                          
                                                                      
      (*count)--;                                                     
ffc1b418:	81 3e 00 00 	lwz     r9,0(r30)                              
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc1b41c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1b420:	38 09 ff ff 	addi    r0,r9,-1                               
ffc1b424:	90 1e 00 00 	stw     r0,0(r30)                              
ffc1b428:	4b ff 15 c5 	bl      ffc0c9ec <_Chain_Extract>              
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
ffc1b42c:	38 00 00 00 	li      r0,0                                   
ffc1b430:	90 1f 00 04 	stw     r0,4(r31)                              
ffc1b434:	90 1f 00 00 	stw     r0,0(r31)                              
      rtems_chain_extract (node);                                     
      rtems_chain_set_off_chain (node);                               
      return buffer;                                                  
ffc1b438:	48 00 00 40 	b       ffc1b478 <rtems_rfs_scan_chain+0x100>  
                                true);                                
  if ((rc > 0) && (rrc == 0))                                         
    rrc = rc;                                                         
                                                                      
  return rrc;                                                         
}                                                                     
ffc1b43c:	83 ff 00 04 	lwz     r31,4(r31)                             
ffc1b440:	48 00 00 0c 	b       ffc1b44c <rtems_rfs_scan_chain+0xd4>   
  while (!rtems_chain_is_head (chain, node))                          
  {                                                                   
    buffer = (rtems_rfs_buffer*) node;                                
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))              
      printf ("%" PRIuPTR " ", ((intptr_t) buffer->user));            
ffc1b444:	3f 60 ff c3 	lis     r27,-61                                
ffc1b448:	3b 7b 2c 24 	addi    r27,r27,11300                          
  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))                          
ffc1b44c:	7f 9f e8 00 	cmpw    cr7,r31,r29                            
  {                                                                   
    buffer = (rtems_rfs_buffer*) node;                                
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))              
ffc1b450:	38 60 00 00 	li      r3,0                                   
ffc1b454:	38 80 00 80 	li      r4,128                                 
  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))                          
ffc1b458:	40 9e ff 70 	bne+    cr7,ffc1b3c8 <rtems_rfs_scan_chain+0x50>
      return buffer;                                                  
    }                                                                 
    node = rtems_chain_previous (node);                               
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
ffc1b45c:	4b ff 7c 5d 	bl      ffc130b8 <rtems_rfs_trace>             
    printf (": not found\n");                                         
                                                                      
  return NULL;                                                        
ffc1b460:	3b e0 00 00 	li      r31,0                                  
      return buffer;                                                  
    }                                                                 
    node = rtems_chain_previous (node);                               
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
ffc1b464:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1b468:	41 be 00 10 	beq+    cr7,ffc1b478 <rtems_rfs_scan_chain+0x100><== ALWAYS TAKEN
    printf (": not found\n");                                         
ffc1b46c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1b470:	38 63 2c 3c 	addi    r3,r3,11324                            <== NOT EXECUTED
ffc1b474:	48 00 67 cd 	bl      ffc21c40 <puts>                        <== NOT EXECUTED
                                                                      
  return NULL;                                                        
}                                                                     
ffc1b478:	39 61 00 20 	addi    r11,r1,32                              
ffc1b47c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1b480:	4b fe 76 68 	b       ffc02ae8 <_restgpr_27_x>               
                                                                      

ffc19a58 <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,
ffc19a58:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc19a5c:	7c 08 02 a6 	mflr    r0                                     
ffc19a60:	90 01 00 44 	stw     r0,68(r1)                              
  rtems_rfs_bitmap_element* map_bits;                                 
  int                       map_index;                                
  int                       map_offset;                               
  int                       rc;                                       
                                                                      
  *found = false;                                                     
ffc19a64:	38 00 00 00 	li      r0,0                                   
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
ffc19a68:	be c1 00 18 	stmw    r22,24(r1)                             
ffc19a6c:	7c 9e 23 78 	mr      r30,r4                                 
  *found = false;                                                     
                                                                      
  /*                                                                  
   * Load the bitmap.                                                 
   */                                                                 
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc19a70:	38 81 00 08 	addi    r4,r1,8                                
  rtems_rfs_bitmap_element* map_bits;                                 
  int                       map_index;                                
  int                       map_offset;                               
  int                       rc;                                       
                                                                      
  *found = false;                                                     
ffc19a74:	98 05 00 00 	stb     r0,0(r5)                               
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
ffc19a78:	7c 7f 1b 78 	mr      r31,r3                                 
ffc19a7c:	7c bd 2b 78 	mr      r29,r5                                 
ffc19a80:	7c dc 33 78 	mr      r28,r6                                 
  *found = false;                                                     
                                                                      
  /*                                                                  
   * Load the bitmap.                                                 
   */                                                                 
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc19a84:	4b ff ff 71 	bl      ffc199f4 <rtems_rfs_bitmap_load_map>   
  if (rc > 0)                                                         
ffc19a88:	2c 03 00 00 	cmpwi   r3,0                                   
ffc19a8c:	41 a1 01 c8 	bgt+    ffc19c54 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1fc><== NEVER TAKEN
    return rc;                                                        
                                                                      
  /*                                                                  
   * Calculate the bit we are testing plus the end point we search over.
   */                                                                 
  test_bit = *bit;                                                    
ffc19a90:	80 1e 00 00 	lwz     r0,0(r30)                              
  end_bit  = test_bit + (window * direction);                         
ffc19a94:	57 8a 58 28 	rlwinm  r10,r28,11,0,20                        
                                                                      
  if (end_bit < 0)                                                    
ffc19a98:	7d 4a 02 15 	add.    r10,r10,r0                             
ffc19a9c:	41 80 00 18 	blt-    ffc19ab4 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x5c>
    end_bit = 0;                                                      
  else if (end_bit >= control->size)                                  
ffc19aa0:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc19aa4:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc19aa8:	41 9c 00 10 	blt-    cr7,ffc19ab8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x60><== NEVER TAKEN
    end_bit = control->size - 1;                                      
ffc19aac:	39 49 ff ff 	addi    r10,r9,-1                              
ffc19ab0:	48 00 00 08 	b       ffc19ab8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x60>
   */                                                                 
  test_bit = *bit;                                                    
  end_bit  = test_bit + (window * direction);                         
                                                                      
  if (end_bit < 0)                                                    
    end_bit = 0;                                                      
ffc19ab4:	39 40 00 00 	li      r10,0                                  
            map_offset += direction;                                  
            test_bit   += direction;                                  
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
ffc19ab8:	2f 9c 00 00 	cmpwi   cr7,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];                  
ffc19abc:	80 ff 00 14 	lwz     r7,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);             
ffc19ac0:	7c 06 56 70 	srawi   r6,r0,10                               
  search_offset = rtems_rfs_bitmap_map_offset (map_index);            
                                                                      
  search_bits = &control->search_bits[search_index];                  
  map_bits    = &map[map_index];                                      
ffc19ac4:	80 a1 00 08 	lwz     r5,8(r1)                               
  if (end_bit < 0)                                                    
    end_bit = 0;                                                      
  else if (end_bit >= control->size)                                  
    end_bit = control->size - 1;                                      
                                                                      
  map_index     = rtems_rfs_bitmap_map_index (test_bit);              
ffc19ac8:	7c 08 2e 70 	srawi   r8,r0,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];                  
ffc19acc:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           
ffc19ad0:	7c c7 32 14 	add     r6,r7,r6                               
  map_bits    = &map[map_index];                                      
ffc19ad4:	55 07 10 3a 	rlwinm  r7,r8,2,0,29                           
ffc19ad8:	7c e5 3a 14 	add     r7,r5,r7                               
    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);             
ffc19adc:	54 0b 06 fe 	clrlwi  r11,r0,27                              
  search_index  = rtems_rfs_bitmap_map_index (map_index);             
  search_offset = rtems_rfs_bitmap_map_offset (map_index);            
ffc19ae0:	55 09 06 fe 	clrlwi  r9,r8,27                               
            map_offset += direction;                                  
            test_bit   += direction;                                  
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
ffc19ae4:	57 99 10 3a 	rlwinm  r25,r28,2,0,29                         
ffc19ae8:	38 a0 00 1f 	li      r5,31                                  
ffc19aec:	40 9d 00 1c 	ble-    cr7,ffc19b08 <rtems_rfs_search_map_for_clear_bit.constprop.1+0xb0>
ffc19af0:	38 a0 00 00 	li      r5,0                                   
ffc19af4:	48 00 00 14 	b       ffc19b08 <rtems_rfs_search_map_for_clear_bit.constprop.1+0xb0>
      map_bits += direction * bits_skipped;                           
      map_index += direction * bits_skipped;                          
    }                                                                 
                                                                      
    search_bits  += direction;                                        
    search_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
ffc19af8:	39 20 00 1f 	li      r9,31                                  <== NOT EXECUTED
ffc19afc:	48 00 00 18 	b       ffc19b14 <rtems_rfs_search_map_for_clear_bit.constprop.1+0xbc><== NOT EXECUTED
ffc19b00:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc19b04:	48 00 00 10 	b       ffc19b14 <rtems_rfs_search_map_for_clear_bit.constprop.1+0xbc><== NOT EXECUTED
       * Align test_bit either up or down depending on the direction to next 32
       * bit boundary.                                                
       */                                                             
      rtems_rfs_bitmap_bit bits_skipped;                              
      test_bit &= ~((1 << RTEMS_RFS_ELEMENT_BITS_POWER_2) - 1);       
      if (direction > 0)                                              
ffc19b08:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
ffc19b0c:	57 97 28 34 	rlwinm  r23,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);                     
ffc19b10:	3b 40 00 01 	li      r26,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))
ffc19b14:	83 06 00 00 	lwz     r24,0(r6)                              
ffc19b18:	2f 18 00 00 	cmpwi   cr6,r24,0                              
ffc19b1c:	41 9a 00 cc 	beq-    cr6,ffc19be8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x190><== NEVER TAKEN
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
ffc19b20:	7c 88 e2 14 	add     r4,r8,r28                              
ffc19b24:	54 84 28 34 	rlwinm  r4,r4,5,0,26                           
ffc19b28:	7c 84 2a 14 	add     r4,r4,r5                               
ffc19b2c:	48 00 00 b0 	b       ffc19bdc <rtems_rfs_search_map_for_clear_bit.constprop.1+0x184>
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
ffc19b30:	7f 43 48 30 	slw     r3,r26,r9                              
    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))     
ffc19b34:	7c 76 c0 39 	and.    r22,r3,r24                             
ffc19b38:	41 82 00 70 	beq-    ffc19ba8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x150>
ffc19b3c:	48 00 00 64 	b       ffc19ba0 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x148>
           * 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))       
ffc19b40:	81 87 00 00 	lwz     r12,0(r7)                              
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
ffc19b44:	7f 5b 58 30 	slw     r27,r26,r11                            
           * 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))       
ffc19b48:	7f 76 60 39 	and.    r22,r27,r12                            
ffc19b4c:	41 a2 00 44 	beq+    ffc19b90 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x138>
 */                                                                   
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);                    
ffc19b50:	7d 89 d8 78 	andc    r9,r12,r27                             
                 && (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,                   
ffc19b54:	2f 89 00 00 	cmpwi   cr7,r9,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);
ffc19b58:	91 27 00 00 	stw     r9,0(r7)                               
              if (rtems_rfs_bitmap_match(*map_bits,                   
ffc19b5c:	40 9e 00 10 	bne-    cr7,ffc19b6c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x114>
 */                                                                   
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);                    
ffc19b60:	81 26 00 00 	lwz     r9,0(r6)                               
ffc19b64:	7d 23 18 78 	andc    r3,r9,r3                               
            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,    
ffc19b68:	90 66 00 00 	stw     r3,0(r6)                               
                                                     1 << search_offset);
              control->free--;                                        
ffc19b6c:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc19b70:	39 29 ff ff 	addi    r9,r9,-1                               
ffc19b74:	91 3f 00 10 	stw     r9,16(r31)                             
              *bit = test_bit;                                        
              *found = true;                                          
              rtems_rfs_buffer_mark_dirty (control->buffer);          
ffc19b78:	81 3f 00 00 	lwz     r9,0(r31)                              
              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--;                                        
              *bit = test_bit;                                        
ffc19b7c:	90 1e 00 00 	stw     r0,0(r30)                              
              *found = true;                                          
ffc19b80:	38 00 00 01 	li      r0,1                                   
ffc19b84:	98 1d 00 00 	stb     r0,0(r29)                              
              rtems_rfs_buffer_mark_dirty (control->buffer);          
ffc19b88:	98 09 00 00 	stb     r0,0(r9)                               
ffc19b8c:	48 00 00 c4 	b       ffc19c50 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1f8>
              return 0;                                               
            }                                                         
                                                                      
            if (test_bit == end_bit)                                  
ffc19b90:	7f 00 50 00 	cmpw    cr6,r0,r10                             
ffc19b94:	41 9a 00 14 	beq-    cr6,ffc19ba8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x150>
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
ffc19b98:	7d 6b e2 14 	add     r11,r11,r28                            
ffc19b9c:	7c 00 e2 14 	add     r0,r0,r28                              
        {                                                             
          /*                                                          
           * 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)                                    
ffc19ba0:	2b 0b 00 1f 	cmplwi  cr6,r11,31                             
ffc19ba4:	40 99 ff 9c 	ble+    cr6,ffc19b40 <rtems_rfs_search_map_for_clear_bit.constprop.1+0xe8><== ALWAYS TAKEN
            map_offset += direction;                                  
            test_bit   += direction;                                  
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
ffc19ba8:	7c e7 ca 14 	add     r7,r7,r25                              
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
ffc19bac:	7d 08 e2 14 	add     r8,r8,r28                              
                                                                      
        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;
ffc19bb0:	7c 80 23 78 	mr      r0,r4                                  
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
ffc19bb4:	7d 29 e2 14 	add     r9,r9,r28                              
                                                                      
        test_bit = (map_index * rtems_rfs_bitmap_element_bits ()) + map_offset;
                                                                      
        search_offset += direction;                                   
                                                                      
        if (((direction < 0) && (test_bit <= end_bit))                
ffc19bb8:	40 bc 00 10 	bge+    cr7,ffc19bc8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x170>
ffc19bbc:	7f 04 50 00 	cmpw    cr6,r4,r10                             
ffc19bc0:	41 b9 00 14 	bgt+    cr6,ffc19bd4 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x17c><== NEVER TAKEN
ffc19bc4:	48 00 00 68 	b       ffc19c2c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1d4>
            || ((direction > 0) && (test_bit >= end_bit)))            
ffc19bc8:	41 9e 00 0c 	beq-    cr7,ffc19bd4 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x17c><== NEVER TAKEN
ffc19bcc:	7f 04 50 00 	cmpw    cr6,r4,r10                             
ffc19bd0:	40 98 00 5c 	bge-    cr6,ffc19c2c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1d4>
ffc19bd4:	7c 84 ba 14 	add     r4,r4,r23                              
      map_bits += direction * bits_skipped;                           
      map_index += direction * bits_skipped;                          
    }                                                                 
                                                                      
    search_bits  += direction;                                        
    search_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
ffc19bd8:	7c ab 2b 78 	mr      r11,r5                                 
     * 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)                                     
ffc19bdc:	2b 09 00 1f 	cmplwi  cr6,r9,31                              
ffc19be0:	40 99 ff 50 	ble+    cr6,ffc19b30 <rtems_rfs_search_map_for_clear_bit.constprop.1+0xd8><== ALWAYS TAKEN
ffc19be4:	48 00 00 4c 	b       ffc19c30 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1d8><== 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);       
ffc19be8:	54 00 00 34 	rlwinm  r0,r0,0,0,26                           <== NOT EXECUTED
      if (direction > 0)                                              
ffc19bec:	40 9d 00 18 	ble-    cr7,ffc19c04 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1ac><== NOT EXECUTED
      {                                                               
        bits_skipped = rtems_rfs_bitmap_element_bits () - search_offset;
ffc19bf0:	20 89 00 20 	subfic  r4,r9,32                               <== NOT EXECUTED
        test_bit += bits_skipped * rtems_rfs_bitmap_element_bits ();  
ffc19bf4:	54 89 28 34 	rlwinm  r9,r4,5,0,26                           <== NOT EXECUTED
ffc19bf8:	7c 09 02 14 	add     r0,r9,r0                               <== NOT EXECUTED
        map_offset = 0;                                               
ffc19bfc:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
ffc19c00:	48 00 00 18 	b       ffc19c18 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1c0><== NOT EXECUTED
      }                                                               
      else                                                            
      {                                                               
        bits_skipped = search_offset + 1;                             
ffc19c04:	38 89 00 01 	addi    r4,r9,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;
ffc19c08:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           <== NOT EXECUTED
ffc19c0c:	7d 29 48 f8 	not     r9,r9                                  <== NOT EXECUTED
ffc19c10:	7c 09 02 14 	add     r0,r9,r0                               <== NOT EXECUTED
        map_offset = rtems_rfs_bitmap_element_bits () - 1;            
ffc19c14:	39 60 00 1f 	li      r11,31                                 <== NOT EXECUTED
      }                                                               
      map_bits += direction * bits_skipped;                           
ffc19c18:	7c 9c 21 d6 	mullw   r4,r28,r4                              <== NOT EXECUTED
ffc19c1c:	54 89 10 3a 	rlwinm  r9,r4,2,0,29                           <== NOT EXECUTED
ffc19c20:	7c e7 4a 14 	add     r7,r7,r9                               <== NOT EXECUTED
      map_index += direction * bits_skipped;                          
ffc19c24:	7d 08 22 14 	add     r8,r8,r4                               <== NOT EXECUTED
ffc19c28:	48 00 00 08 	b       ffc19c30 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1d8><== 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)))            
ffc19c2c:	7c ab 2b 78 	mr      r11,r5                                 
      }                                                               
      map_bits += direction * bits_skipped;                           
      map_index += direction * bits_skipped;                          
    }                                                                 
                                                                      
    search_bits  += direction;                                        
ffc19c30:	7c c6 ca 14 	add     r6,r6,r25                              
    search_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
ffc19c34:	41 bd 00 14 	bgt+    cr7,ffc19c48 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1f0>
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
         || ((direction > 0) && (test_bit <= end_bit)));              
ffc19c38:	41 9e 00 18 	beq-    cr7,ffc19c50 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1f8><== NEVER TAKEN
    }                                                                 
                                                                      
    search_bits  += direction;                                        
    search_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
ffc19c3c:	7f 00 50 00 	cmpw    cr6,r0,r10                             
ffc19c40:	40 b8 fe b8 	bge-    cr6,ffc19af8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0xa0><== NEVER TAKEN
ffc19c44:	48 00 00 0c 	b       ffc19c50 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1f8>
         || ((direction > 0) && (test_bit <= end_bit)));              
ffc19c48:	7f 00 50 00 	cmpw    cr6,r0,r10                             
ffc19c4c:	40 99 fe b4 	ble+    cr6,ffc19b00 <rtems_rfs_search_map_for_clear_bit.constprop.1+0xa8><== NEVER TAKEN
                                                                      
  return 0;                                                           
ffc19c50:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc19c54:	39 61 00 40 	addi    r11,r1,64                              
ffc19c58:	4b fe 8e 7c 	b       ffc02ad4 <_restgpr_22_x>               
                                                                      

ffc1ebb8 <rtems_rfs_symlink>: const char* link, int link_length, uid_t uid, gid_t gid, rtems_rfs_ino parent) {
ffc1ebb8:	94 21 ff 38 	stwu    r1,-200(r1)                            
ffc1ebbc:	7c 08 02 a6 	mflr    r0                                     
ffc1ebc0:	be e1 00 a4 	stmw    r23,164(r1)                            
ffc1ebc4:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1ebc8:	7c 9c 23 78 	mr      r28,r4                                 
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino;                                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK))                      
ffc1ebcc:	38 60 00 02 	li      r3,2                                   
                   const char*            link,                       
                   int                    link_length,                
                   uid_t                  uid,                        
                   gid_t                  gid,                        
                   rtems_rfs_ino          parent)                     
{                                                                     
ffc1ebd0:	90 01 00 cc 	stw     r0,204(r1)                             
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino;                                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK))                      
ffc1ebd4:	38 80 00 00 	li      r4,0                                   
                   const char*            link,                       
                   int                    link_length,                
                   uid_t                  uid,                        
                   gid_t                  gid,                        
                   rtems_rfs_ino          parent)                     
{                                                                     
ffc1ebd8:	7c b9 2b 78 	mr      r25,r5                                 
ffc1ebdc:	7c dd 33 78 	mr      r29,r6                                 
ffc1ebe0:	7c fe 3b 78 	mr      r30,r7                                 
ffc1ebe4:	7d 1a 43 78 	mr      r26,r8                                 
ffc1ebe8:	7d 3b 4b 78 	mr      r27,r9                                 
ffc1ebec:	7d 58 53 78 	mr      r24,r10                                
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino;                                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK))                      
ffc1ebf0:	4b ff 44 c9 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1ebf4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1ebf8:	41 be 00 60 	beq+    cr7,ffc1ec58 <rtems_rfs_symlink+0xa0>  <== ALWAYS TAKEN
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: symlink: parent:%" PRIu32 " name:", parent);  
ffc1ebfc:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1ec00:	38 63 3f 09 	addi    r3,r3,16137                            <== NOT EXECUTED
ffc1ec04:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc1ec08:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1ec0c:	48 00 2e 81 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
    for (c = 0; c < length; c++)                                      
ffc1ec10:	3a e0 00 00 	li      r23,0                                  <== NOT EXECUTED
ffc1ec14:	48 00 00 10 	b       ffc1ec24 <rtems_rfs_symlink+0x6c>      <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc1ec18:	7c 7c b8 ae 	lbzx    r3,r28,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++)                                      
ffc1ec1c:	3a f7 00 01 	addi    r23,r23,1                              <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc1ec20:	48 00 2f 29 	bl      ffc21b48 <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++)                                      
ffc1ec24:	7f 97 c8 00 	cmpw    cr7,r23,r25                            <== NOT EXECUTED
ffc1ec28:	41 9c ff f0 	blt+    cr7,ffc1ec18 <rtems_rfs_symlink+0x60>  <== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (" link:");                                                
ffc1ec2c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1ec30:	38 63 3f 2e 	addi    r3,r3,16174                            <== NOT EXECUTED
ffc1ec34:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1ec38:	48 00 2e 55 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
    for (c = 0; c < link_length; c++)                                 
ffc1ec3c:	3b 20 00 00 	li      r25,0                                  <== NOT EXECUTED
ffc1ec40:	48 00 00 10 	b       ffc1ec50 <rtems_rfs_symlink+0x98>      <== NOT EXECUTED
      printf ("%c", link[c]);                                         
ffc1ec44:	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++)                                 
ffc1ec48:	3b 39 00 01 	addi    r25,r25,1                              <== NOT EXECUTED
      printf ("%c", link[c]);                                         
ffc1ec4c:	48 00 2e fd 	bl      ffc21b48 <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++)                                 
ffc1ec50:	7f 99 f0 00 	cmpw    cr7,r25,r30                            <== NOT EXECUTED
ffc1ec54:	41 9c ff f0 	blt+    cr7,ffc1ec44 <rtems_rfs_symlink+0x8c>  <== NOT EXECUTED
      printf ("%c", link[c]);                                         
  }                                                                   
                                                                      
  if (link_length >= rtems_rfs_fs_block_size (fs))                    
ffc1ec58:	80 1f 00 08 	lwz     r0,8(r31)                              
    return ENAMETOOLONG;                                              
ffc1ec5c:	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))                    
ffc1ec60:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc1ec64:	40 bc 01 bc 	bge+    cr7,ffc1ee20 <rtems_rfs_symlink+0x268> <== NEVER TAKEN
    return ENAMETOOLONG;                                              
                                                                      
  rc = rtems_rfs_inode_create (fs, parent, name, strlen (name),       
ffc1ec68:	7f 83 e3 78 	mr      r3,r28                                 
ffc1ec6c:	48 00 3b a5 	bl      ffc22810 <strlen>                      
ffc1ec70:	38 e0 00 00 	li      r7,0                                   
ffc1ec74:	7c 66 1b 78 	mr      r6,r3                                  
ffc1ec78:	38 01 00 14 	addi    r0,r1,20                               
ffc1ec7c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1ec80:	90 01 00 08 	stw     r0,8(r1)                               
ffc1ec84:	7f 04 c3 78 	mr      r4,r24                                 
ffc1ec88:	7f 85 e3 78 	mr      r5,r28                                 
ffc1ec8c:	60 e7 a1 ff 	ori     r7,r7,41471                            
ffc1ec90:	39 00 00 01 	li      r8,1                                   
ffc1ec94:	7f 49 d3 78 	mr      r9,r26                                 
ffc1ec98:	7f 6a db 78 	mr      r10,r27                                
ffc1ec9c:	4b ff 2a d9 	bl      ffc11774 <rtems_rfs_inode_create>      
                               RTEMS_RFS_S_SYMLINK,                   
                               1, uid, gid, &ino);                    
  if (rc > 0)                                                         
ffc1eca0:	7c 79 1b 79 	mr.     r25,r3                                 
ffc1eca4:	41 a1 01 7c 	bgt+    ffc1ee20 <rtems_rfs_symlink+0x268>     <== NEVER TAKEN
    return rc;                                                        
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc1eca8:	80 81 00 14 	lwz     r4,20(r1)                              
ffc1ecac:	7f e3 fb 78 	mr      r3,r31                                 
ffc1ecb0:	38 a1 00 24 	addi    r5,r1,36                               
ffc1ecb4:	38 c0 00 01 	li      r6,1                                   
ffc1ecb8:	4b ff 25 21 	bl      ffc111d8 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc1ecbc:	7c 79 1b 79 	mr.     r25,r3                                 
ffc1ecc0:	41 a1 01 60 	bgt+    ffc1ee20 <rtems_rfs_symlink+0x268>     <== 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)                   
ffc1ecc4:	2b 9e 00 13 	cmplwi  cr7,r30,19                             
ffc1ecc8:	41 9d 00 54 	bgt-    cr7,ffc1ed1c <rtems_rfs_symlink+0x164> <== NEVER TAKEN
  {                                                                   
    memset (inode.node->data.name, 0, RTEMS_RFS_INODE_DATA_NAME_SIZE);
ffc1eccc:	80 61 00 30 	lwz     r3,48(r1)                              
ffc1ecd0:	38 80 00 00 	li      r4,0                                   
ffc1ecd4:	38 a0 00 14 	li      r5,20                                  
ffc1ecd8:	38 63 00 1c 	addi    r3,r3,28                               
ffc1ecdc:	48 00 2c 21 	bl      ffc218fc <memset>                      
    memcpy (inode.node->data.name, link, link_length);                
ffc1ece0:	80 61 00 30 	lwz     r3,48(r1)                              
ffc1ece4:	7f a4 eb 78 	mr      r4,r29                                 
ffc1ece8:	38 63 00 1c 	addi    r3,r3,28                               
ffc1ecec:	7f c5 f3 78 	mr      r5,r30                                 
ffc1ecf0:	48 00 29 f5 	bl      ffc216e4 <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);      
ffc1ecf4:	81 21 00 30 	lwz     r9,48(r1)                              
ffc1ecf8:	38 00 00 00 	li      r0,0                                   
ffc1ecfc:	98 09 00 0c 	stb     r0,12(r9)                              
ffc1ed00:	81 21 00 30 	lwz     r9,48(r1)                              
ffc1ed04:	98 09 00 0d 	stb     r0,13(r9)                              
ffc1ed08:	81 21 00 30 	lwz     r9,48(r1)                              
ffc1ed0c:	98 09 00 0e 	stb     r0,14(r9)                              
ffc1ed10:	81 21 00 30 	lwz     r9,48(r1)                              
ffc1ed14:	98 09 00 0f 	stb     r0,15(r9)                              
ffc1ed18:	48 00 00 d8 	b       ffc1edf0 <rtems_rfs_symlink+0x238>     
    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);                 
ffc1ed1c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1ed20:	38 81 00 24 	addi    r4,r1,36                               <== NOT EXECUTED
ffc1ed24:	38 a1 00 4c 	addi    r5,r1,76                               <== NOT EXECUTED
ffc1ed28:	4b ff b9 31 	bl      ffc1a658 <rtems_rfs_block_map_open>    <== NOT EXECUTED
    if (rc > 0)                                                       
ffc1ed2c:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
ffc1ed30:	7f e3 fb 78 	mr      r3,r31                                 <== 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)                                                       
ffc1ed34:	41 a1 00 5c 	bgt+    ffc1ed90 <rtems_rfs_symlink+0x1d8>     <== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    rc = rtems_rfs_block_map_grow (fs, &map, 1, &block);              
ffc1ed38:	38 81 00 4c 	addi    r4,r1,76                               <== NOT EXECUTED
ffc1ed3c:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc1ed40:	38 c1 00 10 	addi    r6,r1,16                               <== NOT EXECUTED
ffc1ed44:	4b ff be e5 	bl      ffc1ac28 <rtems_rfs_block_map_grow>    <== NOT EXECUTED
    if (rc > 0)                                                       
ffc1ed48:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc1ed4c:	41 a1 00 34 	bgt+    ffc1ed80 <rtems_rfs_symlink+0x1c8>     <== 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); 
ffc1ed50:	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;                                              
ffc1ed54:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc1ed58:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc1ed5c:	98 01 00 18 	stb     r0,24(r1)                              <== NOT EXECUTED
ffc1ed60:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1ed64:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc1ed68:	93 81 00 1c 	stw     r28,28(r1)                             <== NOT EXECUTED
ffc1ed6c:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc1ed70:	93 81 00 20 	stw     r28,32(r1)                             <== NOT EXECUTED
ffc1ed74:	4b ff c8 f1 	bl      ffc1b664 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
    if (rc > 0)                                                       
ffc1ed78:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc1ed7c:	40 81 00 20 	ble-    ffc1ed9c <rtems_rfs_symlink+0x1e4>     <== NOT EXECUTED
    {                                                                 
      rtems_rfs_block_map_close (fs, &map);                           
ffc1ed80:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1ed84:	38 81 00 4c 	addi    r4,r1,76                               <== NOT EXECUTED
ffc1ed88:	4b ff ba 85 	bl      ffc1a80c <rtems_rfs_block_map_close>   <== NOT EXECUTED
      rtems_rfs_inode_close (fs, &inode);                             
ffc1ed8c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1ed90:	38 81 00 24 	addi    r4,r1,36                               <== NOT EXECUTED
ffc1ed94:	4b ff 26 35 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
      return rc;                                                      
ffc1ed98:	48 00 00 88 	b       ffc1ee20 <rtems_rfs_symlink+0x268>     <== NOT EXECUTED
    }                                                                 
                                                                      
    data = rtems_rfs_buffer_data (&buffer);                           
ffc1ed9c:	81 21 00 20 	lwz     r9,32(r1)                              <== NOT EXECUTED
                                                                      
    memset (data, 0xff, rtems_rfs_fs_block_size (fs));                
ffc1eda0:	38 80 00 ff 	li      r4,255                                 <== NOT EXECUTED
ffc1eda4:	80 bf 00 08 	lwz     r5,8(r31)                              <== NOT EXECUTED
      rtems_rfs_block_map_close (fs, &map);                           
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    data = rtems_rfs_buffer_data (&buffer);                           
ffc1eda8:	83 69 00 24 	lwz     r27,36(r9)                             <== NOT EXECUTED
                                                                      
    memset (data, 0xff, rtems_rfs_fs_block_size (fs));                
ffc1edac:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1edb0:	48 00 2b 4d 	bl      ffc218fc <memset>                      <== NOT EXECUTED
    memcpy (data, link, link_length);                                 
ffc1edb4:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc1edb8:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc1edbc:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1edc0:	48 00 29 25 	bl      ffc216e4 <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);                       
ffc1edc4:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc1edc8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1edcc:	4b ff c6 b9 	bl      ffc1b484 <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);                        
ffc1edd0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1edd4:	38 81 00 4c 	addi    r4,r1,76                               <== NOT EXECUTED
  handle->dirty = false;                                              
ffc1edd8:	9b 81 00 18 	stb     r28,24(r1)                             <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc1eddc:	93 81 00 1c 	stw     r28,28(r1)                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc1ede0:	93 81 00 20 	stw     r28,32(r1)                             <== NOT EXECUTED
ffc1ede4:	4b ff ba 29 	bl      ffc1a80c <rtems_rfs_block_map_close>   <== NOT EXECUTED
    if (rc > 0)                                                       
ffc1ede8:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc1edec:	41 a1 ff a0 	bgt-    ffc1ed8c <rtems_rfs_symlink+0x1d4>     <== NOT EXECUTED
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_block_offset (rtems_rfs_inode_handle* handle,     
                                  uint16_t                block_offset)
{                                                                     
  rtems_rfs_write_u16 (&handle->node->block_offset, block_offset);    
ffc1edf0:	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);             
ffc1edf4:	57 de 04 3e 	clrlwi  r30,r30,16                             
ffc1edf8:	57 c0 c2 3e 	rlwinm  r0,r30,24,8,31                         
ffc1edfc:	98 09 00 0a 	stb     r0,10(r9)                              
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc1ee00:	7f e3 fb 78 	mr      r3,r31                                 
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc1ee04:	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);    
ffc1ee08:	81 21 00 30 	lwz     r9,48(r1)                              
ffc1ee0c:	38 81 00 24 	addi    r4,r1,36                               
ffc1ee10:	9b c9 00 0b 	stb     r30,11(r9)                             
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc1ee14:	98 01 00 34 	stb     r0,52(r1)                              
ffc1ee18:	4b ff 25 b1 	bl      ffc113c8 <rtems_rfs_inode_close>       
ffc1ee1c:	7c 79 1b 78 	mr      r25,r3                                 
                                                                      
  return rc;                                                          
}                                                                     
ffc1ee20:	39 61 00 c8 	addi    r11,r1,200                             
ffc1ee24:	7f 23 cb 78 	mr      r3,r25                                 
ffc1ee28:	4b fe 3c b0 	b       ffc02ad8 <_restgpr_23_x>               
                                                                      

ffc1ee2c <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) {
ffc1ee2c:	94 21 ff 50 	stwu    r1,-176(r1)                            
ffc1ee30:	7c 08 02 a6 	mflr    r0                                     
ffc1ee34:	bf 41 00 98 	stmw    r26,152(r1)                            
ffc1ee38:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1ee3c:	7c 9c 23 78 	mr      r28,r4                                 
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK_READ))                 
ffc1ee40:	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)                
{                                                                     
ffc1ee44:	90 01 00 b4 	stw     r0,180(r1)                             
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK_READ))                 
ffc1ee48:	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)                
{                                                                     
ffc1ee4c:	7c be 2b 78 	mr      r30,r5                                 
ffc1ee50:	7c db 33 78 	mr      r27,r6                                 
ffc1ee54:	7c fd 3b 78 	mr      r29,r7                                 
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK_READ))                 
ffc1ee58:	4b ff 42 61 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1ee5c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1ee60:	41 be 00 18 	beq+    cr7,ffc1ee78 <rtems_rfs_symlink_read+0x4c><== ALWAYS TAKEN
    printf ("rtems-rfs: symlink-read: link:%" PRIu32 "\n", link);     
ffc1ee64:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1ee68:	38 63 3f 35 	addi    r3,r3,16181                            <== NOT EXECUTED
ffc1ee6c:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc1ee70:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1ee74:	48 00 2c 19 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_open (fs, link, &inode, true);                 
ffc1ee78:	7f e3 fb 78 	mr      r3,r31                                 
ffc1ee7c:	7f 84 e3 78 	mr      r4,r28                                 
ffc1ee80:	38 a1 00 18 	addi    r5,r1,24                               
ffc1ee84:	38 c0 00 01 	li      r6,1                                   
ffc1ee88:	4b ff 23 51 	bl      ffc111d8 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc1ee8c:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc1ee90:	40 82 01 6c 	bne-    ffc1effc <rtems_rfs_symlink_read+0x1d0><== NEVER TAKEN
    return rc;                                                        
                                                                      
  if (!RTEMS_RFS_S_ISLNK (rtems_rfs_inode_get_mode (&inode)))         
ffc1ee94:	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);                    
ffc1ee98:	89 24 00 02 	lbz     r9,2(r4)                               
ffc1ee9c:	55 29 44 26 	rlwinm  r9,r9,8,16,19                          
ffc1eea0:	6d 20 ff ff 	xoris   r0,r9,65535                            
ffc1eea4:	2f 80 a0 00 	cmpwi   cr7,r0,-24576                          
ffc1eea8:	40 9e 00 20 	bne-    cr7,ffc1eec8 <rtems_rfs_symlink_read+0x9c><== NEVER TAKEN
 * @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);            
ffc1eeac:	88 a4 00 0a 	lbz     r5,10(r4)                              
ffc1eeb0:	88 04 00 0b 	lbz     r0,11(r4)                              
ffc1eeb4:	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);                
ffc1eeb8:	7c a5 03 78 	or      r5,r5,r0                               
                                                                      
  if (size < *length)                                                 
ffc1eebc:	7f 9b 28 40 	cmplw   cr7,r27,r5                             
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
    return EINVAL;                                                    
  }                                                                   
                                                                      
  *length = rtems_rfs_inode_get_block_offset (&inode);                
ffc1eec0:	90 bd 00 00 	stw     r5,0(r29)                              
                                                                      
  if (size < *length)                                                 
ffc1eec4:	40 9c 00 18 	bge-    cr7,ffc1eedc <rtems_rfs_symlink_read+0xb0>
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
ffc1eec8:	7f e3 fb 78 	mr      r3,r31                                 
ffc1eecc:	38 81 00 18 	addi    r4,r1,24                               
ffc1eed0:	4b ff 24 f9 	bl      ffc113c8 <rtems_rfs_inode_close>       
    return EINVAL;                                                    
ffc1eed4:	3b 40 00 16 	li      r26,22                                 
ffc1eed8:	48 00 01 24 	b       ffc1effc <rtems_rfs_symlink_read+0x1d0>
 * @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);             
ffc1eedc:	89 24 00 0c 	lbz     r9,12(r4)                              
ffc1eee0:	88 04 00 0d 	lbz     r0,13(r4)                              
ffc1eee4:	55 29 c0 0e 	rlwinm  r9,r9,24,0,7                           
ffc1eee8:	54 00 80 1e 	rlwinm  r0,r0,16,0,15                          
ffc1eeec:	7d 29 03 78 	or      r9,r9,r0                               
ffc1eef0:	88 04 00 0f 	lbz     r0,15(r4)                              
ffc1eef4:	7d 29 03 78 	or      r9,r9,r0                               
ffc1eef8:	88 04 00 0e 	lbz     r0,14(r4)                              
ffc1eefc:	54 00 40 2e 	rlwinm  r0,r0,8,0,23                           
  }                                                                   
                                                                      
  if (rtems_rfs_inode_get_block_count (&inode) == 0)                  
ffc1ef00:	7d 2b 03 79 	or.     r11,r9,r0                              
ffc1ef04:	40 82 00 14 	bne-    ffc1ef18 <rtems_rfs_symlink_read+0xec> <== NEVER TAKEN
  {                                                                   
    memcpy (path, inode.node->data.name, *length);                    
ffc1ef08:	7f c3 f3 78 	mr      r3,r30                                 
ffc1ef0c:	38 84 00 1c 	addi    r4,r4,28                               
ffc1ef10:	48 00 27 d5 	bl      ffc216e4 <memcpy>                      
ffc1ef14:	48 00 00 cc 	b       ffc1efe0 <rtems_rfs_symlink_read+0x1b4>
    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);                 
ffc1ef18:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1ef1c:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc1ef20:	38 a1 00 40 	addi    r5,r1,64                               <== NOT EXECUTED
ffc1ef24:	4b ff b7 35 	bl      ffc1a658 <rtems_rfs_block_map_open>    <== NOT EXECUTED
    if (rc > 0)                                                       
ffc1ef28:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
ffc1ef2c:	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)                                                       
ffc1ef30:	41 a1 00 a4 	bgt+    ffc1efd4 <rtems_rfs_symlink_read+0x1a8><== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    rc = rtems_rfs_block_map_seek (fs, &map, 0, &block);              
ffc1ef34:	38 81 00 40 	addi    r4,r1,64                               <== NOT EXECUTED
ffc1ef38:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc1ef3c:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc1ef40:	38 e1 00 08 	addi    r7,r1,8                                <== NOT EXECUTED
ffc1ef44:	4b ff bc 15 	bl      ffc1ab58 <rtems_rfs_block_map_seek>    <== NOT EXECUTED
    if (rc > 0)                                                       
ffc1ef48:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
ffc1ef4c:	41 a1 00 34 	bgt+    ffc1ef80 <rtems_rfs_symlink_read+0x154><== 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); 
ffc1ef50:	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;                                              
ffc1ef54:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc1ef58:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc1ef5c:	98 01 00 0c 	stb     r0,12(r1)                              <== NOT EXECUTED
ffc1ef60:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1ef64:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc1ef68:	93 81 00 10 	stw     r28,16(r1)                             <== NOT EXECUTED
ffc1ef6c:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc1ef70:	93 81 00 14 	stw     r28,20(r1)                             <== NOT EXECUTED
ffc1ef74:	4b ff c6 f1 	bl      ffc1b664 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
    if (rc > 0)                                                       
ffc1ef78:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
ffc1ef7c:	40 81 00 14 	ble-    ffc1ef90 <rtems_rfs_symlink_read+0x164><== NOT EXECUTED
    {                                                                 
      rtems_rfs_block_map_close (fs, &map);                           
ffc1ef80:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1ef84:	38 81 00 40 	addi    r4,r1,64                               <== NOT EXECUTED
ffc1ef88:	4b ff b8 85 	bl      ffc1a80c <rtems_rfs_block_map_close>   <== NOT EXECUTED
ffc1ef8c:	48 00 00 44 	b       ffc1efd0 <rtems_rfs_symlink_read+0x1a4><== NOT EXECUTED
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    data = rtems_rfs_buffer_data (&buffer);                           
    memcpy (path, data, *length);                                     
ffc1ef90:	81 21 00 14 	lwz     r9,20(r1)                              <== NOT EXECUTED
ffc1ef94:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1ef98:	80 bd 00 00 	lwz     r5,0(r29)                              <== NOT EXECUTED
ffc1ef9c:	80 89 00 24 	lwz     r4,36(r9)                              <== NOT EXECUTED
ffc1efa0:	48 00 27 45 	bl      ffc216e4 <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);                       
ffc1efa4:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc1efa8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1efac:	4b ff c4 d9 	bl      ffc1b484 <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);                        
ffc1efb0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1efb4:	38 81 00 40 	addi    r4,r1,64                               <== NOT EXECUTED
  handle->dirty = false;                                              
ffc1efb8:	9b 81 00 0c 	stb     r28,12(r1)                             <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc1efbc:	93 81 00 10 	stw     r28,16(r1)                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc1efc0:	93 81 00 14 	stw     r28,20(r1)                             <== NOT EXECUTED
ffc1efc4:	4b ff b8 49 	bl      ffc1a80c <rtems_rfs_block_map_close>   <== NOT EXECUTED
    if (rc > 0)                                                       
ffc1efc8:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
ffc1efcc:	40 a1 00 14 	ble+    ffc1efe0 <rtems_rfs_symlink_read+0x1b4><== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
ffc1efd0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1efd4:	38 81 00 18 	addi    r4,r1,24                               <== NOT EXECUTED
ffc1efd8:	4b ff 23 f1 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
      return rc;                                                      
ffc1efdc:	48 00 00 20 	b       ffc1effc <rtems_rfs_symlink_read+0x1d0><== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  path[*length] = '\0';                                               
ffc1efe0:	80 1d 00 00 	lwz     r0,0(r29)                              
ffc1efe4:	39 20 00 00 	li      r9,0                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc1efe8:	7f e3 fb 78 	mr      r3,r31                                 
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  path[*length] = '\0';                                               
ffc1efec:	7d 3e 01 ae 	stbx    r9,r30,r0                              
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc1eff0:	38 81 00 18 	addi    r4,r1,24                               
ffc1eff4:	4b ff 23 d5 	bl      ffc113c8 <rtems_rfs_inode_close>       
ffc1eff8:	7c 7a 1b 78 	mr      r26,r3                                 
                                                                      
  return rc;                                                          
}                                                                     
ffc1effc:	39 61 00 b0 	addi    r11,r1,176                             
ffc1f000:	7f 43 d3 78 	mr      r3,r26                                 
ffc1f004:	4b fe 3a e0 	b       ffc02ae4 <_restgpr_26_x>               
                                                                      

ffc13110 <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;
ffc13110:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc13114:	39 49 29 f0 	addi    r10,r9,10736                           <== NOT EXECUTED
ffc13118:	81 69 29 f0 	lwz     r11,10736(r9)                          <== NOT EXECUTED
ffc1311c:	80 0a 00 04 	lwz     r0,4(r10)                              <== NOT EXECUTED
  rtems_rfs_trace_flags &= ~mask;                                     
ffc13120:	7d 63 18 78 	andc    r3,r11,r3                              <== NOT EXECUTED
ffc13124:	7c 04 20 78 	andc    r4,r0,r4                               <== NOT EXECUTED
ffc13128:	90 69 29 f0 	stw     r3,10736(r9)                           <== NOT EXECUTED
  return state;                                                       
}                                                                     
ffc1312c:	7d 63 5b 78 	mr      r3,r11                                 <== 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;                                     
ffc13130:	90 8a 00 04 	stw     r4,4(r10)                              <== NOT EXECUTED
  return state;                                                       
}                                                                     
ffc13134:	7c 04 03 78 	mr      r4,r0                                  <== NOT EXECUTED
ffc13138:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc130e4 <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;
ffc130e4:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc130e8:	39 49 29 f0 	addi    r10,r9,10736                           <== NOT EXECUTED
ffc130ec:	81 69 29 f0 	lwz     r11,10736(r9)                          <== NOT EXECUTED
ffc130f0:	80 0a 00 04 	lwz     r0,4(r10)                              <== NOT EXECUTED
  rtems_rfs_trace_flags |= mask;                                      
ffc130f4:	7c 63 5b 78 	or      r3,r3,r11                              <== NOT EXECUTED
ffc130f8:	7c 84 03 78 	or      r4,r4,r0                               <== NOT EXECUTED
ffc130fc:	90 69 29 f0 	stw     r3,10736(r9)                           <== NOT EXECUTED
  return state;                                                       
}                                                                     
ffc13100:	7d 63 5b 78 	mr      r3,r11                                 <== 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;                                      
ffc13104:	90 8a 00 04 	stw     r4,4(r10)                              <== NOT EXECUTED
  return state;                                                       
}                                                                     
ffc13108:	7c 04 03 78 	mr      r4,r0                                  <== NOT EXECUTED
ffc1310c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1313c <rtems_rfs_trace_shell_command>: int rtems_rfs_trace_shell_command (int argc, char *argv[]) {
ffc1313c:	94 21 ff 10 	stwu    r1,-240(r1)                            <== NOT EXECUTED
ffc13140:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
  const char* table[] =                                               
ffc13144:	38 a0 00 98 	li      r5,152                                 <== NOT EXECUTED
  return state;                                                       
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
{                                                                     
ffc13148:	bd e1 00 ac 	stmw    r15,172(r1)                            <== NOT EXECUTED
ffc1314c:	7c 9b 23 78 	mr      r27,r4                                 <== NOT EXECUTED
  const char* table[] =                                               
ffc13150:	3c 80 ff c3 	lis     r4,-61                                 <== NOT EXECUTED
  return state;                                                       
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
{                                                                     
ffc13154:	7c 7a 1b 78 	mr      r26,r3                                 <== NOT EXECUTED
ffc13158:	90 01 00 f4 	stw     r0,244(r1)                             <== NOT EXECUTED
  const char* table[] =                                               
ffc1315c:	38 61 00 08 	addi    r3,r1,8                                <== NOT EXECUTED
ffc13160:	38 84 21 80 	addi    r4,r4,8576                             <== NOT EXECUTED
          return 1;                                                   
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      if (strcmp (argv[arg], "set") == 0)                             
ffc13164:	3d e0 ff c3 	lis     r15,-61                                <== NOT EXECUTED
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
{                                                                     
  const char* table[] =                                               
ffc13168:	48 00 e5 7d 	bl      ffc216e4 <memcpy>                      <== NOT EXECUTED
    }                                                                 
    else                                                              
    {                                                                 
      if (strcmp (argv[arg], "set") == 0)                             
        set = true;                                                   
      if (strcmp (argv[arg], "clear") == 0)                           
ffc1316c:	3e 00 ff c3 	lis     r16,-61                                <== NOT EXECUTED
        set = false;                                                  
      else if (strcmp (argv[arg], "all") == 0)                        
ffc13170:	3e 20 ff c3 	lis     r17,-61                                <== NOT EXECUTED
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
{                                                                     
  const char* table[] =                                               
ffc13174:	7f 73 db 78 	mr      r19,r27                                <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc13178:	3a a0 00 01 	li      r21,1                                  <== NOT EXECUTED
    "file-io"                                                         
  };                                                                  
                                                                      
  rtems_rfs_trace_mask set_value = 0;                                 
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
ffc1317c:	3a e0 00 01 	li      r23,1                                  <== NOT EXECUTED
    "file-close",                                                     
    "file-io"                                                         
  };                                                                  
                                                                      
  rtems_rfs_trace_mask set_value = 0;                                 
  rtems_rfs_trace_mask clear_value = 0;                               
ffc13180:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
ffc13184:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
    "file-open",                                                      
    "file-close",                                                     
    "file-io"                                                         
  };                                                                  
                                                                      
  rtems_rfs_trace_mask set_value = 0;                                 
ffc13188:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
ffc1318c:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
          return 1;                                                   
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      if (strcmp (argv[arg], "set") == 0)                             
ffc13190:	39 ef 22 7f 	addi    r15,r15,8831                           <== NOT EXECUTED
        set = true;                                                   
ffc13194:	3a 80 00 01 	li      r20,1                                  <== NOT EXECUTED
      if (strcmp (argv[arg], "clear") == 0)                           
ffc13198:	3a 10 22 83 	addi    r16,r16,8835                           <== NOT EXECUTED
        set = false;                                                  
      else if (strcmp (argv[arg], "all") == 0)                        
ffc1319c:	3a 31 22 89 	addi    r17,r17,8841                           <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_trace_flags |= set_value;                             
      rtems_rfs_trace_flags &= ~clear_value;                          
ffc131a0:	3e c0 00 00 	lis     r22,0                                  <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc131a4:	48 00 01 78 	b       ffc1331c <rtems_rfs_trace_shell_command+0x1e0><== NOT EXECUTED
  {                                                                   
    if (argv[arg][0] == '-')                                          
ffc131a8:	87 33 00 04 	lwzu    r25,4(r19)                             <== NOT EXECUTED
ffc131ac:	88 19 00 00 	lbz     r0,0(r25)                              <== NOT EXECUTED
ffc131b0:	2f 80 00 2d 	cmpwi   cr7,r0,45                              <== NOT EXECUTED
ffc131b4:	40 be 00 8c 	bne+    cr7,ffc13240 <rtems_rfs_trace_shell_command+0x104><== NOT EXECUTED
    {                                                                 
      switch (argv[arg][1])                                           
ffc131b8:	88 19 00 01 	lbz     r0,1(r25)                              <== NOT EXECUTED
ffc131bc:	2f 80 00 68 	cmpwi   cr7,r0,104                             <== NOT EXECUTED
ffc131c0:	41 9e 00 10 	beq-    cr7,ffc131d0 <rtems_rfs_trace_shell_command+0x94><== NOT EXECUTED
ffc131c4:	2f 80 00 6c 	cmpwi   cr7,r0,108                             <== NOT EXECUTED
ffc131c8:	40 be 00 64 	bne+    cr7,ffc1322c <rtems_rfs_trace_shell_command+0xf0><== NOT EXECUTED
ffc131cc:	48 00 00 1c 	b       ffc131e8 <rtems_rfs_trace_shell_command+0xac><== NOT EXECUTED
      {                                                               
        case 'h':                                                     
          printf ("usage: %s [-hl] [set/clear] [flags]\n", argv[0]);  
ffc131d0:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc131d4:	80 9b 00 00 	lwz     r4,0(r27)                              <== NOT EXECUTED
ffc131d8:	38 63 22 18 	addi    r3,r3,8728                             <== NOT EXECUTED
ffc131dc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc131e0:	48 00 e8 ad 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc131e4:	48 00 01 40 	b       ffc13324 <rtems_rfs_trace_shell_command+0x1e8><== NOT EXECUTED
          return 0;                                                   
        case 'l':                                                     
          printf ("%s: valid flags to set or clear are:\n", argv[0]); 
ffc131e8:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc131ec:	80 9b 00 00 	lwz     r4,0(r27)                              <== NOT EXECUTED
ffc131f0:	38 63 22 3d 	addi    r3,r3,8765                             <== NOT EXECUTED
          for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++)
            printf ("  %s\n", table[t]);                              
ffc131f4:	3f 80 ff c3 	lis     r28,-61                                <== 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]); 
ffc131f8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc131fc:	48 00 e8 91 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
ffc13200:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
          for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++)
            printf ("  %s\n", table[t]);                              
ffc13204:	3b 9c 22 63 	addi    r28,r28,8803                           <== NOT EXECUTED
ffc13208:	39 21 00 08 	addi    r9,r1,8                                <== NOT EXECUTED
ffc1320c:	7c 89 f0 2e 	lwzx    r4,r9,r30                              <== NOT EXECUTED
ffc13210:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc13214:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc13218:	48 00 e8 75 	bl      ffc21a8c <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++)
ffc1321c:	2f 9e 00 94 	cmpwi   cr7,r30,148                            <== NOT EXECUTED
ffc13220:	3b de 00 04 	addi    r30,r30,4                              <== NOT EXECUTED
ffc13224:	40 9e ff e4 	bne+    cr7,ffc13208 <rtems_rfs_trace_shell_command+0xcc><== NOT EXECUTED
ffc13228:	48 00 00 fc 	b       ffc13324 <rtems_rfs_trace_shell_command+0x1e8><== NOT EXECUTED
            printf ("  %s\n", table[t]);                              
          return 0;                                                   
        default:                                                      
          printf ("error: unknown option\n");                         
ffc1322c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc13230:	38 63 22 69 	addi    r3,r3,8809                             <== NOT EXECUTED
ffc13234:	48 00 ea 0d 	bl      ffc21c40 <puts>                        <== NOT EXECUTED
          return 1;                                                   
ffc13238:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc1323c:	48 00 00 ec 	b       ffc13328 <rtems_rfs_trace_shell_command+0x1ec><== NOT EXECUTED
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      if (strcmp (argv[arg], "set") == 0)                             
ffc13240:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc13244:	7d e4 7b 78 	mr      r4,r15                                 <== NOT EXECUTED
ffc13248:	48 00 ef ed 	bl      ffc22234 <strcmp>                      <== NOT EXECUTED
ffc1324c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc13250:	40 9e 00 08 	bne-    cr7,ffc13258 <rtems_rfs_trace_shell_command+0x11c><== NOT EXECUTED
        set = true;                                                   
ffc13254:	3a e0 00 01 	li      r23,1                                  <== NOT EXECUTED
      if (strcmp (argv[arg], "clear") == 0)                           
ffc13258:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc1325c:	7e 04 83 78 	mr      r4,r16                                 <== NOT EXECUTED
ffc13260:	48 00 ef d5 	bl      ffc22234 <strcmp>                      <== NOT EXECUTED
ffc13264:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc13268:	41 9e 00 7c 	beq-    cr7,ffc132e4 <rtems_rfs_trace_shell_command+0x1a8><== NOT EXECUTED
        set = false;                                                  
      else if (strcmp (argv[arg], "all") == 0)                        
ffc1326c:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc13270:	7e 24 8b 78 	mr      r4,r17                                 <== NOT EXECUTED
ffc13274:	48 00 ef c1 	bl      ffc22234 <strcmp>                      <== NOT EXECUTED
ffc13278:	3a 41 00 04 	addi    r18,r1,4                               <== NOT EXECUTED
ffc1327c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc13280:	3b 00 00 00 	li      r24,0                                  <== NOT EXECUTED
ffc13284:	40 9e 00 18 	bne-    cr7,ffc1329c <rtems_rfs_trace_shell_command+0x160><== NOT EXECUTED
      {                                                               
        if (set)                                                      
ffc13288:	2f 97 00 00 	cmpwi   cr7,r23,0                              <== NOT EXECUTED
ffc1328c:	41 9e 00 60 	beq-    cr7,ffc132ec <rtems_rfs_trace_shell_command+0x1b0><== NOT EXECUTED
          set_value = RTEMS_RFS_TRACE_ALL;                            
ffc13290:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc13294:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc13298:	48 00 00 5c 	b       ffc132f4 <rtems_rfs_trace_shell_command+0x1b8><== NOT EXECUTED
      }                                                               
      else                                                            
      {                                                               
        for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++) 
        {                                                             
          if (strcmp (argv[arg], table[t]) == 0)                      
ffc1329c:	84 92 00 04 	lwzu    r4,4(r18)                              <== NOT EXECUTED
ffc132a0:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc132a4:	48 00 ef 91 	bl      ffc22234 <strcmp>                      <== NOT EXECUTED
ffc132a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc132ac:	40 be 00 28 	bne+    cr7,ffc132d4 <rtems_rfs_trace_shell_command+0x198><== NOT EXECUTED
          {                                                           
            if (set)                                                  
ffc132b0:	2f 97 00 00 	cmpwi   cr7,r23,0                              <== NOT EXECUTED
              set_value = 1 << t;                                     
ffc132b4:	7e 98 c0 30 	slw     r24,r20,r24                            <== NOT EXECUTED
      {                                                               
        for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++) 
        {                                                             
          if (strcmp (argv[arg], table[t]) == 0)                      
          {                                                           
            if (set)                                                  
ffc132b8:	41 9e 00 10 	beq-    cr7,ffc132c8 <rtems_rfs_trace_shell_command+0x18c><== NOT EXECUTED
              set_value = 1 << t;                                     
ffc132bc:	7f 1f c3 78 	mr      r31,r24                                <== NOT EXECUTED
ffc132c0:	7f 1e fe 70 	srawi   r30,r24,31                             <== NOT EXECUTED
ffc132c4:	48 00 00 30 	b       ffc132f4 <rtems_rfs_trace_shell_command+0x1b8><== NOT EXECUTED
            else                                                      
              clear_value = 1 << t;                                   
ffc132c8:	7f 1d c3 78 	mr      r29,r24                                <== NOT EXECUTED
ffc132cc:	7f 1c fe 70 	srawi   r28,r24,31                             <== NOT EXECUTED
ffc132d0:	48 00 00 24 	b       ffc132f4 <rtems_rfs_trace_shell_command+0x1b8><== NOT EXECUTED
        else                                                          
          clear_value = RTEMS_RFS_TRACE_ALL;                          
      }                                                               
      else                                                            
      {                                                               
        for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++) 
ffc132d4:	2f 98 00 25 	cmpwi   cr7,r24,37                             <== NOT EXECUTED
ffc132d8:	3b 18 00 01 	addi    r24,r24,1                              <== NOT EXECUTED
ffc132dc:	40 9e ff c0 	bne+    cr7,ffc1329c <rtems_rfs_trace_shell_command+0x160><== NOT EXECUTED
ffc132e0:	48 00 00 14 	b       ffc132f4 <rtems_rfs_trace_shell_command+0x1b8><== NOT EXECUTED
    else                                                              
    {                                                                 
      if (strcmp (argv[arg], "set") == 0)                             
        set = true;                                                   
      if (strcmp (argv[arg], "clear") == 0)                           
        set = false;                                                  
ffc132e4:	3a e0 00 00 	li      r23,0                                  <== NOT EXECUTED
ffc132e8:	48 00 00 0c 	b       ffc132f4 <rtems_rfs_trace_shell_command+0x1b8><== NOT EXECUTED
      else if (strcmp (argv[arg], "all") == 0)                        
      {                                                               
        if (set)                                                      
          set_value = RTEMS_RFS_TRACE_ALL;                            
        else                                                          
          clear_value = RTEMS_RFS_TRACE_ALL;                          
ffc132ec:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc132f0:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_trace_flags |= set_value;                             
      rtems_rfs_trace_flags &= ~clear_value;                          
ffc132f4:	39 36 29 f0 	addi    r9,r22,10736                           <== NOT EXECUTED
            break;                                                    
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_trace_flags |= set_value;                             
ffc132f8:	81 76 29 f0 	lwz     r11,10736(r22)                         <== NOT EXECUTED
ffc132fc:	80 09 00 04 	lwz     r0,4(r9)                               <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc13300:	3a b5 00 01 	addi    r21,r21,1                              <== NOT EXECUTED
            break;                                                    
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_trace_flags |= set_value;                             
ffc13304:	7d 6b f3 78 	or      r11,r11,r30                            <== NOT EXECUTED
ffc13308:	7c 00 fb 78 	or      r0,r0,r31                              <== NOT EXECUTED
      rtems_rfs_trace_flags &= ~clear_value;                          
ffc1330c:	7d 6b e0 78 	andc    r11,r11,r28                            <== NOT EXECUTED
ffc13310:	7c 00 e8 78 	andc    r0,r0,r29                              <== NOT EXECUTED
ffc13314:	91 76 29 f0 	stw     r11,10736(r22)                         <== NOT EXECUTED
ffc13318:	90 09 00 04 	stw     r0,4(r9)                               <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc1331c:	7f 95 d0 00 	cmpw    cr7,r21,r26                            <== NOT EXECUTED
ffc13320:	41 9c fe 88 	blt+    cr7,ffc131a8 <rtems_rfs_trace_shell_command+0x6c><== NOT EXECUTED
      rtems_rfs_trace_flags |= set_value;                             
      rtems_rfs_trace_flags &= ~clear_value;                          
    }                                                                 
  }                                                                   
                                                                      
  return 0;                                                           
ffc13324:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc13328:	39 61 00 f0 	addi    r11,r1,240                             <== NOT EXECUTED
ffc1332c:	4b fe f7 8c 	b       ffc02ab8 <_restgpr_15_x>               <== NOT EXECUTED
                                                                      

ffc1e7f8 <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) {
ffc1e7f8:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc1e7fc:	7c 08 02 a6 	mflr    r0                                     
ffc1e800:	bf 21 00 5c 	stmw    r25,92(r1)                             
ffc1e804:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1e808:	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))                       
ffc1e80c:	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)                    
{                                                                     
ffc1e810:	90 01 00 7c 	stw     r0,124(r1)                             
  rtems_rfs_inode_handle target_inode;                                
  uint16_t               links;                                       
  bool                   dir;                                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                       
ffc1e814:	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)                    
{                                                                     
ffc1e818:	7c be 2b 78 	mr      r30,r5                                 
ffc1e81c:	7c dc 33 78 	mr      r28,r6                                 
ffc1e820:	7c fa 3b 78 	mr      r26,r7                                 
  rtems_rfs_inode_handle target_inode;                                
  uint16_t               links;                                       
  bool                   dir;                                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                       
ffc1e824:	4b ff 48 95 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1e828:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1e82c:	41 be 00 1c 	beq+    cr7,ffc1e848 <rtems_rfs_unlink+0x50>   <== ALWAYS TAKEN
    printf ("rtems-rfs: unlink: parent(%" PRIu32 ") -X-> (%" PRIu32 ")\n", parent, target);
ffc1e830:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1e834:	38 63 3d 5b 	addi    r3,r3,15707                            <== NOT EXECUTED
ffc1e838:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc1e83c:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc1e840:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1e844:	48 00 32 49 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_open (fs, target, &target_inode, true);        
ffc1e848:	7f e3 fb 78 	mr      r3,r31                                 
ffc1e84c:	7f c4 f3 78 	mr      r4,r30                                 
ffc1e850:	38 a1 00 08 	addi    r5,r1,8                                
ffc1e854:	38 c0 00 01 	li      r6,1                                   
ffc1e858:	4b ff 29 81 	bl      ffc111d8 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc1e85c:	7c 79 1b 79 	mr.     r25,r3                                 
ffc1e860:	40 82 03 4c 	bne-    ffc1ebac <rtems_rfs_unlink+0x3b4>      <== NEVER TAKEN
 * @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);                    
ffc1e864:	81 21 00 14 	lwz     r9,20(r1)                              
ffc1e868:	8b 69 00 02 	lbz     r27,2(r9)                              
                                                                      
  /*                                                                  
   * If a directory process the unlink mode.                          
   */                                                                 
                                                                      
  dir = RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&target_inode)); 
ffc1e86c:	57 7b 44 26 	rlwinm  r27,r27,8,16,19                        
  if (dir)                                                            
ffc1e870:	6b 7b 40 00 	xori    r27,r27,16384                          
ffc1e874:	7f 7b 00 34 	cntlzw  r27,r27                                
ffc1e878:	57 7b d9 7f 	rlwinm. r27,r27,27,5,31                        
ffc1e87c:	41 82 00 8c 	beq-    ffc1e908 <rtems_rfs_unlink+0x110>      <== ALWAYS TAKEN
  {                                                                   
    switch (dir_mode)                                                 
ffc1e880:	2f 9a 00 00 	cmpwi   cr7,r26,0                              <== NOT EXECUTED
ffc1e884:	41 9e 00 10 	beq-    cr7,ffc1e894 <rtems_rfs_unlink+0x9c>   <== NOT EXECUTED
ffc1e888:	2f 9a 00 01 	cmpwi   cr7,r26,1                              <== NOT EXECUTED
ffc1e88c:	40 be 00 7c 	bne+    cr7,ffc1e908 <rtems_rfs_unlink+0x110>  <== NOT EXECUTED
ffc1e890:	48 00 00 38 	b       ffc1e8c8 <rtems_rfs_unlink+0xd0>       <== NOT EXECUTED
    {                                                                 
      case rtems_rfs_unlink_dir_denied:                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                 
ffc1e894:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1e898:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc1e89c:	4b ff 48 1d 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1e8a0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1e8a4:	41 be 00 10 	beq+    cr7,ffc1e8b4 <rtems_rfs_unlink+0xbc>   <== NOT EXECUTED
          printf ("rtems-rfs: link is a directory\n");                
ffc1e8a8:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1e8ac:	38 63 3d 86 	addi    r3,r3,15750                            <== NOT EXECUTED
ffc1e8b0:	48 00 33 91 	bl      ffc21c40 <puts>                        <== NOT EXECUTED
        rtems_rfs_inode_close (fs, &target_inode);                    
ffc1e8b4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1e8b8:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc1e8bc:	4b ff 2b 0d 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
        return EISDIR;                                                
ffc1e8c0:	3b 20 00 15 	li      r25,21                                 <== NOT EXECUTED
ffc1e8c4:	48 00 02 e8 	b       ffc1ebac <rtems_rfs_unlink+0x3b4>      <== NOT EXECUTED
                                                                      
      case rtems_rfs_unlink_dir_if_empty:                             
        rc = rtems_rfs_dir_empty (fs, &target_inode);                 
ffc1e8c8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1e8cc:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc1e8d0:	4b ff e4 55 	bl      ffc1cd24 <rtems_rfs_dir_empty>         <== NOT EXECUTED
        if (rc > 0)                                                   
ffc1e8d4:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc1e8d8:	40 81 00 30 	ble-    ffc1e908 <rtems_rfs_unlink+0x110>      <== NOT EXECUTED
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))               
ffc1e8dc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1e8e0:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc1e8e4:	4b ff 47 d5 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1e8e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1e8ec:	41 be 02 68 	beq+    cr7,ffc1eb54 <rtems_rfs_unlink+0x35c>  <== NOT EXECUTED
            printf ("rtems-rfs: dir-empty: %d: %s\n", rc, strerror (rc));
ffc1e8f0:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc1e8f4:	48 00 3f 05 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1e8f8:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1e8fc:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1e900:	38 63 3d a5 	addi    r3,r3,15781                            <== NOT EXECUTED
ffc1e904:	48 00 02 44 	b       ffc1eb48 <rtems_rfs_unlink+0x350>      <== NOT EXECUTED
      default:                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
ffc1e908:	7f e3 fb 78 	mr      r3,r31                                 
ffc1e90c:	7f a4 eb 78 	mr      r4,r29                                 
ffc1e910:	38 a1 00 30 	addi    r5,r1,48                               
ffc1e914:	38 c0 00 01 	li      r6,1                                   
ffc1e918:	4b ff 28 c1 	bl      ffc111d8 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc1e91c:	7c 79 1b 79 	mr.     r25,r3                                 
ffc1e920:	41 82 00 30 	beq-    ffc1e950 <rtems_rfs_unlink+0x158>      <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
ffc1e924:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1e928:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc1e92c:	4b ff 47 8d 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1e930:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1e934:	41 be 02 20 	beq+    cr7,ffc1eb54 <rtems_rfs_unlink+0x35c>  <== NOT EXECUTED
      printf ("rtems-rfs: link: inode-open failed: %d: %s\n",         
ffc1e938:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc1e93c:	48 00 3e bd 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1e940:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1e944:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1e948:	38 63 3d c3 	addi    r3,r3,15811                            <== NOT EXECUTED
ffc1e94c:	48 00 01 fc 	b       ffc1eb48 <rtems_rfs_unlink+0x350>      <== NOT EXECUTED
              rc, strerror (rc));                                     
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_dir_del_entry (fs, &parent_inode, target, doff);     
ffc1e950:	7f e3 fb 78 	mr      r3,r31                                 
ffc1e954:	38 81 00 30 	addi    r4,r1,48                               
ffc1e958:	7f c5 f3 78 	mr      r5,r30                                 
ffc1e95c:	7f 86 e3 78 	mr      r6,r28                                 
ffc1e960:	4b ff dc 5d 	bl      ffc1c5bc <rtems_rfs_dir_del_entry>     
  if (rc > 0)                                                         
ffc1e964:	7c 79 1b 79 	mr.     r25,r3                                 
ffc1e968:	40 81 00 30 	ble-    ffc1e998 <rtems_rfs_unlink+0x1a0>      <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
ffc1e96c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1e970:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc1e974:	4b ff 47 45 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1e978:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1e97c:	41 be 01 80 	beq+    cr7,ffc1eafc <rtems_rfs_unlink+0x304>  <== NOT EXECUTED
      printf ("rtems-rfs: unlink: dir-del failed: %d: %s\n",          
ffc1e980:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc1e984:	48 00 3e 75 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1e988:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1e98c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1e990:	38 63 3d ef 	addi    r3,r3,15855                            <== NOT EXECUTED
ffc1e994:	48 00 01 5c 	b       ffc1eaf0 <rtems_rfs_unlink+0x2f8>      <== 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);                  
ffc1e998:	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);                  
ffc1e99c:	8b a9 00 00 	lbz     r29,0(r9)                              
ffc1e9a0:	88 09 00 01 	lbz     r0,1(r9)                               
ffc1e9a4:	57 bd 40 2e 	rlwinm  r29,r29,8,0,23                         
ffc1e9a8:	7f bd 03 78 	or      r29,r29,r0                             
  if (links == 0xffff)                                                
ffc1e9ac:	6f a0 ff ff 	xoris   r0,r29,65535                           
ffc1e9b0:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc1e9b4:	40 9e 00 08 	bne-    cr7,ffc1e9bc <rtems_rfs_unlink+0x1c4>  <== ALWAYS TAKEN
    links = 0;                                                        
ffc1e9b8:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                       
ffc1e9bc:	38 60 00 00 	li      r3,0                                   
ffc1e9c0:	3c 80 02 00 	lis     r4,512                                 
ffc1e9c4:	4b ff 46 f5 	bl      ffc130b8 <rtems_rfs_trace>             
ffc1e9c8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1e9cc:	41 be 00 1c 	beq+    cr7,ffc1e9e8 <rtems_rfs_unlink+0x1f0>  <== ALWAYS TAKEN
    printf ("rtems-rfs: unlink: target:%" PRIu32 " links:%u\n", target, links);
ffc1e9d0:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1e9d4:	38 63 3e 1a 	addi    r3,r3,15898                            <== NOT EXECUTED
ffc1e9d8:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc1e9dc:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc1e9e0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1e9e4:	48 00 30 a9 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
                                                                      
  if (links > 1)                                                      
ffc1e9e8:	2b 9d 00 01 	cmplwi  cr7,r29,1                              
ffc1e9ec:	40 9d 00 2c 	ble-    cr7,ffc1ea18 <rtems_rfs_unlink+0x220>  
  {                                                                   
    links--;                                                          
ffc1e9f0:	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);                  
ffc1e9f4:	81 21 00 14 	lwz     r9,20(r1)                              
ffc1e9f8:	57 bd 04 3e 	clrlwi  r29,r29,16                             
ffc1e9fc:	57 a0 c2 3e 	rlwinm  r0,r29,24,8,31                         
ffc1ea00:	98 09 00 00 	stb     r0,0(r9)                               
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc1ea04:	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);                  
ffc1ea08:	81 21 00 14 	lwz     r9,20(r1)                              
ffc1ea0c:	9b a9 00 01 	stb     r29,1(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc1ea10:	98 01 00 18 	stb     r0,24(r1)                              
ffc1ea14:	48 00 00 9c 	b       ffc1eab0 <rtems_rfs_unlink+0x2b8>      
  else                                                                
  {                                                                   
    /*                                                                
     * Erasing the inode releases all blocks attached to it.          
     */                                                               
    rc = rtems_rfs_inode_delete (fs, &target_inode);                  
ffc1ea18:	7f e3 fb 78 	mr      r3,r31                                 
ffc1ea1c:	38 81 00 08 	addi    r4,r1,8                                
ffc1ea20:	4b ff 2a 4d 	bl      ffc1146c <rtems_rfs_inode_delete>      
    if (rc > 0)                                                       
ffc1ea24:	7c 79 1b 79 	mr.     r25,r3                                 
ffc1ea28:	40 81 00 30 	ble-    ffc1ea58 <rtems_rfs_unlink+0x260>      <== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                   
ffc1ea2c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1ea30:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc1ea34:	4b ff 46 85 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1ea38:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1ea3c:	41 be 00 c0 	beq+    cr7,ffc1eafc <rtems_rfs_unlink+0x304>  <== NOT EXECUTED
        printf ("rtems-rfs: unlink: inode-del failed: %d: %s\n",      
ffc1ea40:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc1ea44:	48 00 3d b5 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1ea48:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1ea4c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1ea50:	38 63 3e 42 	addi    r3,r3,15938                            <== NOT EXECUTED
ffc1ea54:	48 00 00 9c 	b       ffc1eaf0 <rtems_rfs_unlink+0x2f8>      <== NOT EXECUTED
      rtems_rfs_inode_close (fs, &parent_inode);                      
      rtems_rfs_inode_close (fs, &target_inode);                      
      return rc;                                                      
    }                                                                 
                                                                      
    if (dir)                                                          
ffc1ea58:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc1ea5c:	41 9e 00 54 	beq-    cr7,ffc1eab0 <rtems_rfs_unlink+0x2b8>  <== ALWAYS TAKEN
    {                                                                 
      links = rtems_rfs_inode_get_links (&parent_inode);              
ffc1ea60:	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);                  
ffc1ea64:	89 2b 00 00 	lbz     r9,0(r11)                              <== NOT EXECUTED
ffc1ea68:	88 0b 00 01 	lbz     r0,1(r11)                              <== NOT EXECUTED
ffc1ea6c:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           <== NOT EXECUTED
ffc1ea70:	7d 29 03 78 	or      r9,r9,r0                               <== NOT EXECUTED
  if (links == 0xffff)                                                
ffc1ea74:	6d 20 ff ff 	xoris   r0,r9,65535                            <== NOT EXECUTED
ffc1ea78:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              <== NOT EXECUTED
ffc1ea7c:	41 9e 00 18 	beq-    cr7,ffc1ea94 <rtems_rfs_unlink+0x29c>  <== NOT EXECUTED
      if (links > 1)                                                  
ffc1ea80:	2b 89 00 01 	cmplwi  cr7,r9,1                               <== NOT EXECUTED
ffc1ea84:	40 9d 00 14 	ble-    cr7,ffc1ea98 <rtems_rfs_unlink+0x2a0>  <== NOT EXECUTED
        links--;                                                      
ffc1ea88:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc1ea8c:	55 29 04 3e 	clrlwi  r9,r9,16                               <== NOT EXECUTED
ffc1ea90:	48 00 00 08 	b       ffc1ea98 <rtems_rfs_unlink+0x2a0>      <== NOT EXECUTED
    links = 0;                                                        
ffc1ea94:	39 20 00 00 	li      r9,0                                   <== 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);                  
ffc1ea98:	55 20 c2 3e 	rlwinm  r0,r9,24,8,31                          <== NOT EXECUTED
ffc1ea9c:	98 0b 00 00 	stb     r0,0(r11)                              <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc1eaa0:	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);                  
ffc1eaa4:	81 61 00 3c 	lwz     r11,60(r1)                             <== NOT EXECUTED
ffc1eaa8:	99 2b 00 01 	stb     r9,1(r11)                              <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc1eaac:	98 01 00 40 	stb     r0,64(r1)                              <== NOT EXECUTED
      rtems_rfs_inode_set_links (&parent_inode, links);               
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_time_stamp_now (&parent_inode, true, true);    
ffc1eab0:	38 61 00 30 	addi    r3,r1,48                               
ffc1eab4:	38 80 00 01 	li      r4,1                                   
ffc1eab8:	38 a0 00 01 	li      r5,1                                   
ffc1eabc:	4b ff 2a 9d 	bl      ffc11558 <rtems_rfs_inode_time_stamp_now>
  if (rc > 0)                                                         
ffc1eac0:	7c 79 1b 79 	mr.     r25,r3                                 
ffc1eac4:	40 81 00 48 	ble-    ffc1eb0c <rtems_rfs_unlink+0x314>      <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
ffc1eac8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1eacc:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc1ead0:	4b ff 45 e9 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1ead4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1ead8:	41 be 00 24 	beq+    cr7,ffc1eafc <rtems_rfs_unlink+0x304>  <== NOT EXECUTED
      printf ("rtems-rfs: link: inode-time-stamp failed: %d: %s\n",   
ffc1eadc:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc1eae0:	48 00 3d 19 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1eae4:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1eae8:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1eaec:	38 63 3e 6f 	addi    r3,r3,15983                            <== NOT EXECUTED
ffc1eaf0:	7f 24 cb 78 	mr      r4,r25                                 <== NOT EXECUTED
ffc1eaf4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1eaf8:	48 00 2f 95 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
              rc, strerror (rc));                                     
    rtems_rfs_inode_close (fs, &parent_inode);                        
ffc1eafc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1eb00:	38 81 00 30 	addi    r4,r1,48                               <== NOT EXECUTED
ffc1eb04:	4b ff 28 c5 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
ffc1eb08:	48 00 00 4c 	b       ffc1eb54 <rtems_rfs_unlink+0x35c>      <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &parent_inode);                     
ffc1eb0c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1eb10:	38 81 00 30 	addi    r4,r1,48                               
ffc1eb14:	4b ff 28 b5 	bl      ffc113c8 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc1eb18:	7c 79 1b 79 	mr.     r25,r3                                 
ffc1eb1c:	40 81 00 48 	ble-    ffc1eb64 <rtems_rfs_unlink+0x36c>      <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
ffc1eb20:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1eb24:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc1eb28:	4b ff 45 91 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1eb2c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1eb30:	41 be 00 24 	beq+    cr7,ffc1eb54 <rtems_rfs_unlink+0x35c>  <== NOT EXECUTED
      printf ("rtems-rfs: link: parent inode-close failed: %d: %s\n", 
ffc1eb34:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc1eb38:	48 00 3c c1 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1eb3c:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1eb40:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1eb44:	38 63 3e a1 	addi    r3,r3,16033                            <== NOT EXECUTED
ffc1eb48:	7f 24 cb 78 	mr      r4,r25                                 <== NOT EXECUTED
ffc1eb4c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1eb50:	48 00 2f 3d 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
              rc, strerror (rc));                                     
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc1eb54:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1eb58:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc1eb5c:	4b ff 28 6d 	bl      ffc113c8 <rtems_rfs_inode_close>       <== NOT EXECUTED
    return rc;                                                        
ffc1eb60:	48 00 00 4c 	b       ffc1ebac <rtems_rfs_unlink+0x3b4>      <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &target_inode);                     
ffc1eb64:	7f e3 fb 78 	mr      r3,r31                                 
ffc1eb68:	38 81 00 08 	addi    r4,r1,8                                
ffc1eb6c:	4b ff 28 5d 	bl      ffc113c8 <rtems_rfs_inode_close>       
                                                                      
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))           
ffc1eb70:	7c 79 1b 79 	mr.     r25,r3                                 
ffc1eb74:	40 81 00 38 	ble-    ffc1ebac <rtems_rfs_unlink+0x3b4>      <== ALWAYS TAKEN
ffc1eb78:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1eb7c:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc1eb80:	4b ff 45 39 	bl      ffc130b8 <rtems_rfs_trace>             <== NOT EXECUTED
ffc1eb84:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1eb88:	41 be 00 24 	beq+    cr7,ffc1ebac <rtems_rfs_unlink+0x3b4>  <== NOT EXECUTED
    printf ("rtems-rfs: link: target inode-close failed: %d: %s\n",   
ffc1eb8c:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc1eb90:	48 00 3c 69 	bl      ffc227f8 <strerror>                    <== NOT EXECUTED
ffc1eb94:	7f 24 cb 78 	mr      r4,r25                                 <== NOT EXECUTED
ffc1eb98:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1eb9c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1eba0:	38 63 3e d5 	addi    r3,r3,16085                            <== NOT EXECUTED
ffc1eba4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1eba8:	48 00 2e e5 	bl      ffc21a8c <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  return rc;                                                          
}                                                                     
ffc1ebac:	39 61 00 78 	addi    r11,r1,120                             
ffc1ebb0:	7f 23 cb 78 	mr      r3,r25                                 
ffc1ebb4:	4b fe 3f 2c 	b       ffc02ae0 <_restgpr_25_x>               
                                                                      

ffc17c98 <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
ffc17c98:	7c 2b 0b 78 	mr      r11,r1                                 
ffc17c9c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc17ca0:	7c 08 02 a6 	mflr    r0                                     
ffc17ca4:	48 01 64 0d 	bl      ffc2e0b0 <_savegpr_31>                 
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
ffc17ca8:	7c 9f 23 79 	mr.     r31,r4                                 
                                                                      
rtems_status_code rtems_signal_send(                                  
  rtems_id          id,                                               
  rtems_signal_set  signal_set                                        
)                                                                     
{                                                                     
ffc17cac:	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;                                      
ffc17cb0:	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 )                                                  
ffc17cb4:	41 a2 00 ac 	beq+    ffc17d60 <rtems_signal_send+0xc8>      
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc17cb8:	38 81 00 08 	addi    r4,r1,8                                
ffc17cbc:	48 00 4a f9 	bl      ffc1c7b4 <_Thread_Get>                 
  switch ( location ) {                                               
ffc17cc0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc17cc4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc17cc8:	40 9e 00 94 	bne-    cr7,ffc17d5c <rtems_signal_send+0xc4>  
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
ffc17ccc:	81 23 01 2c 	lwz     r9,300(r3)                             
      asr = &api->Signal;                                             
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
ffc17cd0:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc17cd4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc17cd8:	41 9e 00 78 	beq-    cr7,ffc17d50 <rtems_signal_send+0xb8>  
        if ( asr->is_enabled ) {                                      
ffc17cdc:	88 09 00 08 	lbz     r0,8(r9)                               
ffc17ce0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc17ce4:	7c 00 00 a6 	mfmsr   r0                                     
ffc17ce8:	7d 70 42 a6 	mfsprg  r11,0                                  
ffc17cec:	7c 0b 58 78 	andc    r11,r0,r11                             
ffc17cf0:	7d 60 01 24 	mtmsr   r11                                    
ffc17cf4:	41 9e 00 40 	beq-    cr7,ffc17d34 <rtems_signal_send+0x9c>  
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
    *signal_set |= signals;                                           
ffc17cf8:	81 69 00 14 	lwz     r11,20(r9)                             
ffc17cfc:	7d 7f fb 78 	or      r31,r11,r31                            
ffc17d00:	93 e9 00 14 	stw     r31,20(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc17d04:	7c 00 01 24 	mtmsr   r0                                     
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
ffc17d08:	3d 20 00 00 	lis     r9,0                                   
ffc17d0c:	39 29 71 d8 	addi    r9,r9,29144                            
ffc17d10:	80 09 00 08 	lwz     r0,8(r9)                               
ffc17d14:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc17d18:	41 9e 00 2c 	beq-    cr7,ffc17d44 <rtems_signal_send+0xac>  
ffc17d1c:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc17d20:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc17d24:	40 be 00 20 	bne+    cr7,ffc17d44 <rtems_signal_send+0xac>  <== NEVER TAKEN
            _Thread_Dispatch_necessary = true;                        
ffc17d28:	38 00 00 01 	li      r0,1                                   
ffc17d2c:	98 09 00 18 	stb     r0,24(r9)                              
ffc17d30:	48 00 00 14 	b       ffc17d44 <rtems_signal_send+0xac>      
ffc17d34:	81 69 00 18 	lwz     r11,24(r9)                             
ffc17d38:	7d 7f fb 78 	or      r31,r11,r31                            
ffc17d3c:	93 e9 00 18 	stw     r31,24(r9)                             
ffc17d40:	7c 00 01 24 	mtmsr   r0                                     
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
ffc17d44:	48 00 4a 35 	bl      ffc1c778 <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc17d48:	38 00 00 00 	li      r0,0                                   
ffc17d4c:	48 00 00 14 	b       ffc17d60 <rtems_signal_send+0xc8>      
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc17d50:	48 00 4a 29 	bl      ffc1c778 <_Thread_Enable_dispatch>     
      return RTEMS_NOT_DEFINED;                                       
ffc17d54:	38 00 00 0b 	li      r0,11                                  
ffc17d58:	48 00 00 08 	b       ffc17d60 <rtems_signal_send+0xc8>      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc17d5c:	38 00 00 04 	li      r0,4                                   
}                                                                     
ffc17d60:	39 61 00 20 	addi    r11,r1,32                              
ffc17d64:	7c 03 03 78 	mr      r3,r0                                  
ffc17d68:	4b ff 64 38 	b       ffc0e1a0 <_restgpr_31_x>               
                                                                      

ffc037a4 <rtems_stack_checker_begin_extension>: * rtems_stack_checker_Begin_extension */ void rtems_stack_checker_begin_extension( Thread_Control *the_thread ) {
ffc037a4:	7c 08 02 a6 	mflr    r0                                     
ffc037a8:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc037ac:	90 01 00 0c 	stw     r0,12(r1)                              
  Stack_check_Control  *the_pattern;                                  
                                                                      
  if ( the_thread->Object.id == 0 )        /* skip system tasks */    
ffc037b0:	80 03 00 08 	lwz     r0,8(r3)                               
ffc037b4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc037b8:	41 9e 00 1c 	beq-    cr7,ffc037d4 <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;                                 
ffc037bc:	80 63 00 b8 	lwz     r3,184(r3)                             
ffc037c0:	3c 80 00 00 	lis     r4,0                                   
ffc037c4:	38 84 2a c4 	addi    r4,r4,10948                            
ffc037c8:	38 63 00 08 	addi    r3,r3,8                                
ffc037cc:	38 a0 00 80 	li      r5,128                                 
ffc037d0:	48 00 ca bd 	bl      ffc1028c <memcpy>                      
}                                                                     
ffc037d4:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc037d8:	38 21 00 08 	addi    r1,r1,8                                
ffc037dc:	7c 08 03 a6 	mtlr    r0                                     
ffc037e0:	4e 80 00 20 	blr                                            
                                                                      

ffc03764 <rtems_stack_checker_create_extension>: */ bool rtems_stack_checker_create_extension( Thread_Control *running __attribute__((unused)), Thread_Control *the_thread ) {
ffc03764:	7c 2b 0b 78 	mr      r11,r1                                 
ffc03768:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0376c:	7c 08 02 a6 	mflr    r0                                     
ffc03770:	48 01 0d 81 	bl      ffc144f0 <_savegpr_31>                 
ffc03774:	7c 9f 23 78 	mr      r31,r4                                 
ffc03778:	90 01 00 14 	stw     r0,20(r1)                              
  Stack_check_Initialize();                                           
ffc0377c:	4b ff ff 99 	bl      ffc03714 <Stack_check_Initialize>      
                                                                      
  if (the_thread)                                                     
ffc03780:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc03784:	41 9e 00 14 	beq-    cr7,ffc03798 <rtems_stack_checker_create_extension+0x34><== NEVER TAKEN
    Stack_check_Dope_stack(&the_thread->Start.Initial_stack);         
ffc03788:	80 7f 00 b8 	lwz     r3,184(r31)                            
ffc0378c:	38 80 00 a5 	li      r4,165                                 
ffc03790:	80 bf 00 b4 	lwz     r5,180(r31)                            
ffc03794:	48 00 cb dd 	bl      ffc10370 <memset>                      
                                                                      
  return true;                                                        
}                                                                     
ffc03798:	39 61 00 10 	addi    r11,r1,16                              
ffc0379c:	38 60 00 01 	li      r3,1                                   
ffc037a0:	48 01 0d 9c 	b       ffc1453c <_restgpr_31_x>               
                                                                      

ffc03930 <rtems_stack_checker_is_blown>: /* * Check if blown */ bool rtems_stack_checker_is_blown( void ) {
ffc03930:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc03934:	7c 08 02 a6 	mflr    r0                                     
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
ffc03938:	3d 20 00 00 	lis     r9,0                                   
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
ffc0393c:	90 01 00 14 	stw     r0,20(r1)                              
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
ffc03940:	81 29 2e 44 	lwz     r9,11844(r9)                           
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
ffc03944:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc03948:	7c 3f 0b 78 	mr      r31,r1                                 
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
      return false;                                                   
ffc0394c:	3b c0 00 00 	li      r30,0                                  
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
ffc03950:	80 69 00 b8 	lwz     r3,184(r9)                             
ffc03954:	7f 9f 18 40 	cmplw   cr7,r31,r3                             
ffc03958:	41 9c 00 18 	blt-    cr7,ffc03970 <rtems_stack_checker_is_blown+0x40><== NEVER TAKEN
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
ffc0395c:	83 c9 00 b4 	lwz     r30,180(r9)                            
ffc03960:	7f c3 f2 14 	add     r30,r3,r30                             
}                                                                     
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
ffc03964:	7f df f0 10 	subfc   r30,r31,r30                            
ffc03968:	3b c0 00 00 	li      r30,0                                  
ffc0396c:	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 ) {                                    
ffc03970:	3d 20 00 00 	lis     r9,0                                   
ffc03974:	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;                                   
ffc03978:	38 80 00 01 	li      r4,1                                   
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
ffc0397c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc03980:	41 9e 00 20 	beq-    cr7,ffc039a0 <rtems_stack_checker_is_blown+0x70><== NEVER TAKEN
    pattern_ok = (!memcmp(                                            
ffc03984:	3c 80 00 00 	lis     r4,0                                   
ffc03988:	38 84 2a c4 	addi    r4,r4,10948                            
ffc0398c:	38 63 00 08 	addi    r3,r3,8                                
ffc03990:	38 a0 00 80 	li      r5,128                                 
ffc03994:	48 00 c8 55 	bl      ffc101e8 <memcmp>                      
ffc03998:	7c 64 00 34 	cntlzw  r4,r3                                  
ffc0399c:	54 84 d9 7e 	rlwinm  r4,r4,27,5,31                          
                                                                      
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
ffc039a0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc039a4:	41 9e 00 0c 	beq-    cr7,ffc039b0 <rtems_stack_checker_is_blown+0x80><== NEVER TAKEN
ffc039a8:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc039ac:	40 be 00 10 	bne+    cr7,ffc039bc <rtems_stack_checker_is_blown+0x8c><== ALWAYS TAKEN
    Stack_check_report_blown_task( _Thread_Executing, pattern_ok );   
ffc039b0:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc039b4:	80 69 2e 44 	lwz     r3,11844(r9)                           <== NOT EXECUTED
ffc039b8:	4b ff fe 2d 	bl      ffc037e4 <Stack_check_report_blown_task><== NOT EXECUTED
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  return false;                                                       
}                                                                     
ffc039bc:	39 7f 00 10 	addi    r11,r31,16                             
ffc039c0:	38 60 00 00 	li      r3,0                                   
ffc039c4:	48 01 0b 74 	b       ffc14538 <_restgpr_30_x>               
                                                                      

ffc039c8 <rtems_stack_checker_report_usage_with_plugin>: void rtems_stack_checker_report_usage_with_plugin( void *context, rtems_printk_plugin_t print ) {
ffc039c8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc039cc:	7c 08 02 a6 	mflr    r0                                     
ffc039d0:	bf 81 00 08 	stmw    r28,8(r1)                              
  if ( !print )                                                       
ffc039d4:	7c 9e 23 79 	mr.     r30,r4                                 
                                                                      
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
ffc039d8:	7c 7c 1b 78 	mr      r28,r3                                 
ffc039dc:	90 01 00 1c 	stw     r0,28(r1)                              
  if ( !print )                                                       
ffc039e0:	41 82 00 58 	beq-    ffc03a38 <rtems_stack_checker_report_usage_with_plugin+0x70><== NEVER TAKEN
    return;                                                           
                                                                      
  print_context = context;                                            
ffc039e4:	3f e0 00 00 	lis     r31,0                                  
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
ffc039e8:	7f c9 03 a6 	mtctr   r30                                    
)                                                                     
{                                                                     
  if ( !print )                                                       
    return;                                                           
                                                                      
  print_context = context;                                            
ffc039ec:	3b bf 28 50 	addi    r29,r31,10320                          
  print_handler = print;                                              
ffc039f0:	93 df 28 50 	stw     r30,10320(r31)                         
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
ffc039f4:	3c 80 ff c1 	lis     r4,-63                                 
ffc039f8:	38 84 62 36 	addi    r4,r4,25142                            
)                                                                     
{                                                                     
  if ( !print )                                                       
    return;                                                           
                                                                      
  print_context = context;                                            
ffc039fc:	90 7d 00 04 	stw     r3,4(r29)                              
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
ffc03a00:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03a04:	4e 80 04 21 	bctrl                                          
  (*print)( context,                                                  
ffc03a08:	3c 80 ff c1 	lis     r4,-63                                 
ffc03a0c:	38 84 62 4d 	addi    r4,r4,25165                            
ffc03a10:	7f c9 03 a6 	mtctr   r30                                    
ffc03a14:	7f 83 e3 78 	mr      r3,r28                                 
ffc03a18:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03a1c:	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 );   
ffc03a20:	3c 60 ff c0 	lis     r3,-64                                 
ffc03a24:	38 63 35 dc 	addi    r3,r3,13788                            
ffc03a28:	48 00 56 25 	bl      ffc0904c <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;                                               
ffc03a2c:	38 00 00 00 	li      r0,0                                   
ffc03a30:	90 1d 00 04 	stw     r0,4(r29)                              
  print_handler = NULL;                                               
ffc03a34:	90 1f 28 50 	stw     r0,10320(r31)                          
}                                                                     
ffc03a38:	39 61 00 18 	addi    r11,r1,24                              
ffc03a3c:	48 01 0a f4 	b       ffc14530 <_restgpr_28_x>               
                                                                      

ffc038b8 <rtems_stack_checker_switch_extension>: */ void rtems_stack_checker_switch_extension( Thread_Control *running __attribute__((unused)), Thread_Control *heir __attribute__((unused)) ) {
ffc038b8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc038bc:	7c 08 02 a6 	mflr    r0                                     
ffc038c0:	90 01 00 1c 	stw     r0,28(r1)                              
  Stack_Control *the_stack = &running->Start.Initial_stack;           
  void          *pattern;                                             
  bool           sp_ok;                                               
  bool           pattern_ok = true;                                   
                                                                      
  pattern = Stack_check_Get_pattern_area(the_stack);                  
ffc038c4:	81 23 00 b8 	lwz     r9,184(r3)                             
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
ffc038c8:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc038cc:	7c 3f 0b 78 	mr      r31,r1                                 
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
ffc038d0:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
ffc038d4:	7c 7e 1b 78 	mr      r30,r3                                 
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
      return false;                                                   
ffc038d8:	3b a0 00 00 	li      r29,0                                  
  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);                  
ffc038dc:	38 69 00 08 	addi    r3,r9,8                                
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
ffc038e0:	41 9c 00 18 	blt-    cr7,ffc038f8 <rtems_stack_checker_switch_extension+0x40><== NEVER TAKEN
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
ffc038e4:	83 be 00 b4 	lwz     r29,180(r30)                           
ffc038e8:	7f a9 ea 14 	add     r29,r9,r29                             
}                                                                     
                                                                      
/*                                                                    
 *  rtems_stack_checker_switch_extension                              
 */                                                                   
void rtems_stack_checker_switch_extension(                            
ffc038ec:	7f bf e8 10 	subfc   r29,r31,r29                            
ffc038f0:	3b a0 00 00 	li      r29,0                                  
ffc038f4:	7f bd e9 14 	adde    r29,r29,r29                            
  /*                                                                  
   *  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,                                     
ffc038f8:	3c 80 00 00 	lis     r4,0                                   
ffc038fc:	38 84 2a c4 	addi    r4,r4,10948                            
ffc03900:	38 a0 00 80 	li      r5,128                                 
ffc03904:	48 00 c8 e5 	bl      ffc101e8 <memcmp>                      
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
ffc03908:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
  /*                                                                  
   *  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,                                     
ffc0390c:	7c 64 00 34 	cntlzw  r4,r3                                  
ffc03910:	54 84 d9 7e 	rlwinm  r4,r4,27,5,31                          
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
ffc03914:	41 9e 00 0c 	beq-    cr7,ffc03920 <rtems_stack_checker_switch_extension+0x68><== NEVER TAKEN
ffc03918:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0391c:	40 be 00 0c 	bne+    cr7,ffc03928 <rtems_stack_checker_switch_extension+0x70>
    Stack_check_report_blown_task( running, pattern_ok );             
ffc03920:	7f c3 f3 78 	mr      r3,r30                                 
ffc03924:	4b ff fe c1 	bl      ffc037e4 <Stack_check_report_blown_task>
  }                                                                   
}                                                                     
ffc03928:	39 7f 00 18 	addi    r11,r31,24                             
ffc0392c:	48 01 0c 08 	b       ffc14534 <_restgpr_29_x>               
                                                                      

ffc0e15c <rtems_string_to_double>: rtems_status_code rtems_string_to_double ( const char *s, double *n, char **endptr ) {
ffc0e15c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0e160:	7c 08 02 a6 	mflr    r0                                     
ffc0e164:	bf a1 00 1c 	stmw    r29,28(r1)                             
  double result;                                                      
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e168:	7c 9e 23 79 	mr.     r30,r4                                 
rtems_status_code rtems_string_to_double (                            
  const char *s,                                                      
  double *n,                                                          
  char **endptr                                                       
)                                                                     
{                                                                     
ffc0e16c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e170:	90 01 00 34 	stw     r0,52(r1)                              
ffc0e174:	7c bd 2b 78 	mr      r29,r5                                 
  double result;                                                      
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc0e178:	38 60 00 09 	li      r3,9                                   
rtems_status_code rtems_string_to_double (                            
  const char *s,                                                      
  double *n,                                                          
  char **endptr                                                       
)                                                                     
{                                                                     
ffc0e17c:	db e1 00 28 	stfd    f31,40(r1)                             
  double result;                                                      
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e180:	41 82 00 94 	beq-    ffc0e214 <rtems_string_to_double+0xb8> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0e184:	48 00 26 85 	bl      ffc10808 <__errno>                     
  *n = 0;                                                             
ffc0e188:	3d 20 ff c2 	lis     r9,-62                                 
ffc0e18c:	c8 09 e1 48 	lfd     f0,-7864(r9)                           
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0e190:	38 00 00 00 	li      r0,0                                   
ffc0e194:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtod( s, &end );                                         
ffc0e198:	38 81 00 08 	addi    r4,r1,8                                
ffc0e19c:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc0e1a0:	d8 1e 00 00 	stfd    f0,0(r30)                              
                                                                      
  result = strtod( s, &end );                                         
ffc0e1a4:	48 00 53 95 	bl      ffc13538 <strtod>                      
                                                                      
  if ( endptr )                                                       
ffc0e1a8:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtod( s, &end );                                         
ffc0e1ac:	ff e0 08 90 	fmr     f31,f1                                 
ffc0e1b0:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  if ( endptr )                                                       
ffc0e1b4:	41 9e 00 08 	beq-    cr7,ffc0e1bc <rtems_string_to_double+0x60>
    *endptr = end;                                                    
ffc0e1b8:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  if ( end == s )                                                     
ffc0e1bc:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
    return RTEMS_NOT_DEFINED;                                         
ffc0e1c0:	38 60 00 0b 	li      r3,11                                  
  result = strtod( s, &end );                                         
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc0e1c4:	41 9e 00 50 	beq-    cr7,ffc0e214 <rtems_string_to_double+0xb8>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e1c8:	48 00 26 41 	bl      ffc10808 <__errno>                     
ffc0e1cc:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0e1d0:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc0e1d4:	40 be 00 38 	bne+    cr7,ffc0e20c <rtems_string_to_double+0xb0>
ffc0e1d8:	3d 20 ff c2 	lis     r9,-62                                 
ffc0e1dc:	c8 09 e1 48 	lfd     f0,-7864(r9)                           
    (( result == 0 ) || ( result == HUGE_VAL ) || ( result == -HUGE_VAL )))
      return RTEMS_INVALID_NUMBER;                                    
ffc0e1e0:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e1e4:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc0e1e8:	41 be 00 2c 	beq+    cr7,ffc0e214 <rtems_string_to_double+0xb8><== NEVER TAKEN
    (( result == 0 ) || ( result == HUGE_VAL ) || ( result == -HUGE_VAL )))
ffc0e1ec:	3d 20 ff c2 	lis     r9,-62                                 
ffc0e1f0:	c8 09 07 18 	lfd     f0,1816(r9)                            
ffc0e1f4:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc0e1f8:	41 bd 00 1c 	bgt+    cr7,ffc0e214 <rtems_string_to_double+0xb8>
ffc0e1fc:	3d 20 ff c2 	lis     r9,-62                                 
ffc0e200:	c8 09 07 20 	lfd     f0,1824(r9)                            
ffc0e204:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc0e208:	41 bc 00 0c 	blt+    cr7,ffc0e214 <rtems_string_to_double+0xb8><== ALWAYS TAKEN
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc0e20c:	db fe 00 00 	stfd    f31,0(r30)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0e210:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0e214:	80 01 00 34 	lwz     r0,52(r1)                              
ffc0e218:	bb a1 00 1c 	lmw     r29,28(r1)                             
ffc0e21c:	7c 08 03 a6 	mtlr    r0                                     
ffc0e220:	cb e1 00 28 	lfd     f31,40(r1)                             
ffc0e224:	38 21 00 30 	addi    r1,r1,48                               
ffc0e228:	4e 80 00 20 	blr                                            
                                                                      

ffc0e22c <rtems_string_to_float>: rtems_status_code rtems_string_to_float ( const char *s, float *n, char **endptr ) {
ffc0e22c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0e230:	7c 08 02 a6 	mflr    r0                                     
ffc0e234:	bf a1 00 1c 	stmw    r29,28(r1)                             
  float result;                                                       
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e238:	7c 9e 23 79 	mr.     r30,r4                                 
rtems_status_code rtems_string_to_float (                             
  const char *s,                                                      
  float *n,                                                           
  char **endptr                                                       
)                                                                     
{                                                                     
ffc0e23c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e240:	90 01 00 34 	stw     r0,52(r1)                              
ffc0e244:	7c bd 2b 78 	mr      r29,r5                                 
  float result;                                                       
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc0e248:	38 60 00 09 	li      r3,9                                   
rtems_status_code rtems_string_to_float (                             
  const char *s,                                                      
  float *n,                                                           
  char **endptr                                                       
)                                                                     
{                                                                     
ffc0e24c:	db e1 00 28 	stfd    f31,40(r1)                             
  float result;                                                       
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e250:	41 82 00 90 	beq-    ffc0e2e0 <rtems_string_to_float+0xb4>  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0e254:	48 00 25 b5 	bl      ffc10808 <__errno>                     
ffc0e258:	38 00 00 00 	li      r0,0                                   
ffc0e25c:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
ffc0e260:	38 00 00 00 	li      r0,0                                   
                                                                      
  result = strtof( s, &end );                                         
ffc0e264:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc0e268:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  result = strtof( s, &end );                                         
ffc0e26c:	38 81 00 08 	addi    r4,r1,8                                
ffc0e270:	48 00 52 e1 	bl      ffc13550 <strtof>                      
                                                                      
  if ( endptr )                                                       
ffc0e274:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtof( s, &end );                                         
ffc0e278:	ff e0 08 90 	fmr     f31,f1                                 
ffc0e27c:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  if ( endptr )                                                       
ffc0e280:	41 9e 00 08 	beq-    cr7,ffc0e288 <rtems_string_to_float+0x5c>
    *endptr = end;                                                    
ffc0e284:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  if ( end == s )                                                     
ffc0e288:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
    return RTEMS_NOT_DEFINED;                                         
ffc0e28c:	38 60 00 0b 	li      r3,11                                  
  result = strtof( s, &end );                                         
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc0e290:	41 9e 00 50 	beq-    cr7,ffc0e2e0 <rtems_string_to_float+0xb4>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e294:	48 00 25 75 	bl      ffc10808 <__errno>                     
ffc0e298:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0e29c:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc0e2a0:	40 be 00 38 	bne+    cr7,ffc0e2d8 <rtems_string_to_float+0xac>
ffc0e2a4:	3d 20 ff c2 	lis     r9,-62                                 
ffc0e2a8:	c0 09 07 30 	lfs     f0,1840(r9)                            
    (( result == 0 ) || ( result == HUGE_VALF ) || ( result == -HUGE_VALF )))
      return RTEMS_INVALID_NUMBER;                                    
ffc0e2ac:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e2b0:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc0e2b4:	41 be 00 2c 	beq+    cr7,ffc0e2e0 <rtems_string_to_float+0xb4><== NEVER TAKEN
    (( result == 0 ) || ( result == HUGE_VALF ) || ( result == -HUGE_VALF )))
ffc0e2b8:	3d 20 ff c2 	lis     r9,-62                                 
ffc0e2bc:	c0 09 07 28 	lfs     f0,1832(r9)                            
ffc0e2c0:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc0e2c4:	41 bd 00 1c 	bgt+    cr7,ffc0e2e0 <rtems_string_to_float+0xb4>
ffc0e2c8:	3d 20 ff c2 	lis     r9,-62                                 
ffc0e2cc:	c0 09 07 2c 	lfs     f0,1836(r9)                            
ffc0e2d0:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc0e2d4:	41 bc 00 0c 	blt+    cr7,ffc0e2e0 <rtems_string_to_float+0xb4><== ALWAYS TAKEN
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc0e2d8:	d3 fe 00 00 	stfs    f31,0(r30)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0e2dc:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0e2e0:	80 01 00 34 	lwz     r0,52(r1)                              
ffc0e2e4:	bb a1 00 1c 	lmw     r29,28(r1)                             
ffc0e2e8:	7c 08 03 a6 	mtlr    r0                                     
ffc0e2ec:	cb e1 00 28 	lfd     f31,40(r1)                             
ffc0e2f0:	38 21 00 30 	addi    r1,r1,48                               
ffc0e2f4:	4e 80 00 20 	blr                                            
                                                                      

ffc0e2f8 <rtems_string_to_int>: const char *s, int *n, char **endptr, int base ) {
ffc0e2f8:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0e2fc:	7c 08 02 a6 	mflr    r0                                     
ffc0e300:	bf 81 00 18 	stmw    r28,24(r1)                             
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e304:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  int *n,                                                             
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc0e308:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e30c:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0e310:	7c be 2b 78 	mr      r30,r5                                 
ffc0e314:	7c dc 33 78 	mr      r28,r6                                 
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc0e318:	38 00 00 09 	li      r0,9                                   
)                                                                     
{                                                                     
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e31c:	41 82 00 80 	beq-    ffc0e39c <rtems_string_to_int+0xa4>    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0e320:	48 00 24 e9 	bl      ffc10808 <__errno>                     
ffc0e324:	38 00 00 00 	li      r0,0                                   
ffc0e328:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
ffc0e32c:	7f 85 e3 78 	mr      r5,r28                                 
ffc0e330:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc0e334:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  result = strtol( s, &end, base );                                   
ffc0e338:	38 81 00 08 	addi    r4,r1,8                                
ffc0e33c:	48 00 54 95 	bl      ffc137d0 <strtol>                      
                                                                      
  if ( endptr )                                                       
ffc0e340:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
ffc0e344:	7c 7c 1b 78 	mr      r28,r3                                 
ffc0e348:	81 21 00 08 	lwz     r9,8(r1)                               
                                                                      
  if ( endptr )                                                       
ffc0e34c:	41 9e 00 08 	beq-    cr7,ffc0e354 <rtems_string_to_int+0x5c>
    *endptr = end;                                                    
ffc0e350:	91 3e 00 00 	stw     r9,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc0e354:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
    return RTEMS_NOT_DEFINED;                                         
ffc0e358:	38 00 00 0b 	li      r0,11                                  
  result = strtol( s, &end, base );                                   
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc0e35c:	41 9e 00 40 	beq-    cr7,ffc0e39c <rtems_string_to_int+0xa4>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e360:	48 00 24 a9 	bl      ffc10808 <__errno>                     
ffc0e364:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0e368:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc0e36c:	40 be 00 28 	bne+    cr7,ffc0e394 <rtems_string_to_int+0x9c>
ffc0e370:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
ffc0e374:	38 00 00 0a 	li      r0,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e378:	41 be 00 24 	beq+    cr7,ffc0e39c <rtems_string_to_int+0xa4><== NEVER TAKEN
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
ffc0e37c:	6f 89 80 00 	xoris   r9,r28,32768                           
ffc0e380:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc0e384:	41 9e 00 18 	beq-    cr7,ffc0e39c <rtems_string_to_int+0xa4>
ffc0e388:	3d 20 80 00 	lis     r9,-32768                              
ffc0e38c:	7f 9c 48 00 	cmpw    cr7,r28,r9                             
ffc0e390:	41 9e 00 0c 	beq-    cr7,ffc0e39c <rtems_string_to_int+0xa4><== ALWAYS TAKEN
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
ffc0e394:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0e398:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc0e39c:	39 61 00 28 	addi    r11,r1,40                              
ffc0e3a0:	7c 03 03 78 	mr      r3,r0                                  
ffc0e3a4:	4b ff 4d a0 	b       ffc03144 <_restgpr_28_x>               
                                                                      

ffc0e47c <rtems_string_to_long>: const char *s, long *n, char **endptr, int base ) {
ffc0e47c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0e480:	7c 08 02 a6 	mflr    r0                                     
ffc0e484:	bf 81 00 18 	stmw    r28,24(r1)                             
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e488:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  long *n,                                                            
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc0e48c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e490:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0e494:	7c be 2b 78 	mr      r30,r5                                 
ffc0e498:	7c dc 33 78 	mr      r28,r6                                 
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc0e49c:	38 00 00 09 	li      r0,9                                   
)                                                                     
{                                                                     
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e4a0:	41 82 00 80 	beq-    ffc0e520 <rtems_string_to_long+0xa4>   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0e4a4:	48 00 23 65 	bl      ffc10808 <__errno>                     
ffc0e4a8:	38 00 00 00 	li      r0,0                                   
ffc0e4ac:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
ffc0e4b0:	7f 85 e3 78 	mr      r5,r28                                 
ffc0e4b4:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc0e4b8:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  result = strtol( s, &end, base );                                   
ffc0e4bc:	38 81 00 08 	addi    r4,r1,8                                
ffc0e4c0:	48 00 53 11 	bl      ffc137d0 <strtol>                      
                                                                      
  if ( endptr )                                                       
ffc0e4c4:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
ffc0e4c8:	7c 7c 1b 78 	mr      r28,r3                                 
ffc0e4cc:	81 21 00 08 	lwz     r9,8(r1)                               
                                                                      
  if ( endptr )                                                       
ffc0e4d0:	41 9e 00 08 	beq-    cr7,ffc0e4d8 <rtems_string_to_long+0x5c>
    *endptr = end;                                                    
ffc0e4d4:	91 3e 00 00 	stw     r9,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc0e4d8:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
    return RTEMS_NOT_DEFINED;                                         
ffc0e4dc:	38 00 00 0b 	li      r0,11                                  
  result = strtol( s, &end, base );                                   
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc0e4e0:	41 9e 00 40 	beq-    cr7,ffc0e520 <rtems_string_to_long+0xa4>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e4e4:	48 00 23 25 	bl      ffc10808 <__errno>                     
ffc0e4e8:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0e4ec:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc0e4f0:	40 be 00 28 	bne+    cr7,ffc0e518 <rtems_string_to_long+0x9c>
ffc0e4f4:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
ffc0e4f8:	38 00 00 0a 	li      r0,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e4fc:	41 be 00 24 	beq+    cr7,ffc0e520 <rtems_string_to_long+0xa4><== NEVER TAKEN
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
ffc0e500:	6f 89 80 00 	xoris   r9,r28,32768                           
ffc0e504:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc0e508:	41 9e 00 18 	beq-    cr7,ffc0e520 <rtems_string_to_long+0xa4>
ffc0e50c:	3d 20 80 00 	lis     r9,-32768                              
ffc0e510:	7f 9c 48 00 	cmpw    cr7,r28,r9                             
ffc0e514:	41 9e 00 0c 	beq-    cr7,ffc0e520 <rtems_string_to_long+0xa4><== ALWAYS TAKEN
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc0e518:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0e51c:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc0e520:	39 61 00 28 	addi    r11,r1,40                              
ffc0e524:	7c 03 03 78 	mr      r3,r0                                  
ffc0e528:	4b ff 4c 1c 	b       ffc03144 <_restgpr_28_x>               
                                                                      

ffc0e3a8 <rtems_string_to_long_long>: const char *s, long long *n, char **endptr, int base ) {
ffc0e3a8:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0e3ac:	7c 08 02 a6 	mflr    r0                                     
ffc0e3b0:	bf 61 00 1c 	stmw    r27,28(r1)                             
  long long result;                                                   
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e3b4:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  long long *n,                                                       
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc0e3b8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e3bc:	90 01 00 34 	stw     r0,52(r1)                              
ffc0e3c0:	7c be 2b 78 	mr      r30,r5                                 
ffc0e3c4:	7c dc 33 78 	mr      r28,r6                                 
  long long result;                                                   
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc0e3c8:	38 60 00 09 	li      r3,9                                   
)                                                                     
{                                                                     
  long long result;                                                   
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e3cc:	41 82 00 a8 	beq-    ffc0e474 <rtems_string_to_long_long+0xcc>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0e3d0:	48 00 24 39 	bl      ffc10808 <__errno>                     
ffc0e3d4:	38 00 00 00 	li      r0,0                                   
  *n = 0;                                                             
ffc0e3d8:	39 40 00 00 	li      r10,0                                  
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0e3dc:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
ffc0e3e0:	39 60 00 00 	li      r11,0                                  
ffc0e3e4:	91 5d 00 00 	stw     r10,0(r29)                             
                                                                      
  result = strtoll( s, &end, base );                                  
ffc0e3e8:	7f 85 e3 78 	mr      r5,r28                                 
ffc0e3ec:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc0e3f0:	91 7d 00 04 	stw     r11,4(r29)                             
                                                                      
  result = strtoll( s, &end, base );                                  
ffc0e3f4:	38 81 00 08 	addi    r4,r1,8                                
ffc0e3f8:	48 00 53 f9 	bl      ffc137f0 <strtoll>                     
                                                                      
  if ( endptr )                                                       
ffc0e3fc:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoll( s, &end, base );                                  
ffc0e400:	7c 7c 1b 78 	mr      r28,r3                                 
ffc0e404:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0e408:	7c 9b 23 78 	mr      r27,r4                                 
                                                                      
  if ( endptr )                                                       
ffc0e40c:	41 9e 00 08 	beq-    cr7,ffc0e414 <rtems_string_to_long_long+0x6c>
    *endptr = end;                                                    
ffc0e410:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc0e414:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
    return RTEMS_NOT_DEFINED;                                         
ffc0e418:	38 60 00 0b 	li      r3,11                                  
  result = strtoll( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc0e41c:	41 9e 00 58 	beq-    cr7,ffc0e474 <rtems_string_to_long_long+0xcc>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e420:	48 00 23 e9 	bl      ffc10808 <__errno>                     
ffc0e424:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0e428:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc0e42c:	40 be 00 3c 	bne+    cr7,ffc0e468 <rtems_string_to_long_long+0xc0>
ffc0e430:	7f 80 db 79 	or.     r0,r28,r27                             
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
ffc0e434:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e438:	41 a2 00 3c 	beq+    ffc0e474 <rtems_string_to_long_long+0xcc><== NEVER TAKEN
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
ffc0e43c:	6f 80 80 00 	xoris   r0,r28,32768                           
ffc0e440:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc0e444:	40 9e 00 0c 	bne-    cr7,ffc0e450 <rtems_string_to_long_long+0xa8>
ffc0e448:	2f 9b ff ff 	cmpwi   cr7,r27,-1                             
ffc0e44c:	41 9e 00 28 	beq-    cr7,ffc0e474 <rtems_string_to_long_long+0xcc><== ALWAYS TAKEN
ffc0e450:	3c 00 80 00 	lis     r0,-32768                              
ffc0e454:	7f 9c 00 00 	cmpw    cr7,r28,r0                             
ffc0e458:	40 be 00 10 	bne+    cr7,ffc0e468 <rtems_string_to_long_long+0xc0><== NEVER TAKEN
ffc0e45c:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
      return RTEMS_INVALID_NUMBER;                                    
ffc0e460:	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 )))
ffc0e464:	41 9e 00 10 	beq-    cr7,ffc0e474 <rtems_string_to_long_long+0xcc><== ALWAYS TAKEN
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc0e468:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0e46c:	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;                                                        
ffc0e470:	93 7d 00 04 	stw     r27,4(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0e474:	39 61 00 30 	addi    r11,r1,48                              
ffc0e478:	4b ff 4c c8 	b       ffc03140 <_restgpr_27_x>               
                                                                      

ffc0e550 <rtems_string_to_unsigned_char>: const char *s, unsigned char *n, char **endptr, int base ) {
ffc0e550:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0e554:	7c 08 02 a6 	mflr    r0                                     
ffc0e558:	bf 81 00 18 	stmw    r28,24(r1)                             
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e55c:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  unsigned char *n,                                                   
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc0e560:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e564:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0e568:	7c be 2b 78 	mr      r30,r5                                 
ffc0e56c:	7c dc 33 78 	mr      r28,r6                                 
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc0e570:	38 00 00 09 	li      r0,9                                   
)                                                                     
{                                                                     
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e574:	41 82 00 8c 	beq-    ffc0e600 <rtems_string_to_unsigned_char+0xb0>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0e578:	48 00 22 91 	bl      ffc10808 <__errno>                     
ffc0e57c:	38 00 00 00 	li      r0,0                                   
ffc0e580:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e584:	7f 85 e3 78 	mr      r5,r28                                 
ffc0e588:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc0e58c:	98 1d 00 00 	stb     r0,0(r29)                              
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e590:	38 81 00 08 	addi    r4,r1,8                                
ffc0e594:	48 00 57 c9 	bl      ffc13d5c <strtoul>                     
                                                                      
  if ( endptr )                                                       
ffc0e598:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e59c:	7c 7c 1b 78 	mr      r28,r3                                 
ffc0e5a0:	81 21 00 08 	lwz     r9,8(r1)                               
                                                                      
  if ( endptr )                                                       
ffc0e5a4:	41 9e 00 08 	beq-    cr7,ffc0e5ac <rtems_string_to_unsigned_char+0x5c>
    *endptr = end;                                                    
ffc0e5a8:	91 3e 00 00 	stw     r9,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc0e5ac:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
    return RTEMS_NOT_DEFINED;                                         
ffc0e5b0:	38 00 00 0b 	li      r0,11                                  
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc0e5b4:	41 9e 00 4c 	beq-    cr7,ffc0e600 <rtems_string_to_unsigned_char+0xb0>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e5b8:	48 00 22 51 	bl      ffc10808 <__errno>                     
ffc0e5bc:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0e5c0:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc0e5c4:	40 be 00 18 	bne+    cr7,ffc0e5dc <rtems_string_to_unsigned_char+0x8c>
    (( result == 0 ) || ( result == ULONG_MAX )))                     
ffc0e5c8:	39 7c ff ff 	addi    r11,r28,-1                             
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e5cc:	39 20 ff fd 	li      r9,-3                                  
ffc0e5d0:	7f 8b 48 40 	cmplw   cr7,r11,r9                             
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
ffc0e5d4:	38 00 00 0a 	li      r0,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e5d8:	41 bd 00 28 	bgt+    cr7,ffc0e600 <rtems_string_to_unsigned_char+0xb0><== ALWAYS TAKEN
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
ffc0e5dc:	2b 9c 00 ff 	cmplwi  cr7,r28,255                            
ffc0e5e0:	40 9d 00 18 	ble-    cr7,ffc0e5f8 <rtems_string_to_unsigned_char+0xa8>
    errno = ERANGE;                                                   
ffc0e5e4:	48 00 22 25 	bl      ffc10808 <__errno>                     
ffc0e5e8:	38 00 00 22 	li      r0,34                                  
ffc0e5ec:	90 03 00 00 	stw     r0,0(r3)                               
    return RTEMS_INVALID_NUMBER;                                      
ffc0e5f0:	38 00 00 0a 	li      r0,10                                  
ffc0e5f4:	48 00 00 0c 	b       ffc0e600 <rtems_string_to_unsigned_char+0xb0>
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
ffc0e5f8:	9b 9d 00 00 	stb     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0e5fc:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc0e600:	39 61 00 28 	addi    r11,r1,40                              
ffc0e604:	7c 03 03 78 	mr      r3,r0                                  
ffc0e608:	4b ff 4b 3c 	b       ffc03144 <_restgpr_28_x>               
                                                                      

ffc0e60c <rtems_string_to_unsigned_int>: const char *s, unsigned int *n, char **endptr, int base ) {
ffc0e60c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0e610:	7c 08 02 a6 	mflr    r0                                     
ffc0e614:	bf 81 00 18 	stmw    r28,24(r1)                             
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e618:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  unsigned int *n,                                                    
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc0e61c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e620:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0e624:	7c be 2b 78 	mr      r30,r5                                 
ffc0e628:	7c dc 33 78 	mr      r28,r6                                 
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc0e62c:	38 00 00 09 	li      r0,9                                   
)                                                                     
{                                                                     
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e630:	41 82 00 70 	beq-    ffc0e6a0 <rtems_string_to_unsigned_int+0x94>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0e634:	48 00 21 d5 	bl      ffc10808 <__errno>                     
ffc0e638:	38 00 00 00 	li      r0,0                                   
ffc0e63c:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e640:	7f 85 e3 78 	mr      r5,r28                                 
ffc0e644:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc0e648:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e64c:	38 81 00 08 	addi    r4,r1,8                                
ffc0e650:	48 00 57 0d 	bl      ffc13d5c <strtoul>                     
                                                                      
  if ( endptr )                                                       
ffc0e654:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e658:	7c 7c 1b 78 	mr      r28,r3                                 
ffc0e65c:	81 21 00 08 	lwz     r9,8(r1)                               
                                                                      
  if ( endptr )                                                       
ffc0e660:	41 9e 00 08 	beq-    cr7,ffc0e668 <rtems_string_to_unsigned_int+0x5c>
    *endptr = end;                                                    
ffc0e664:	91 3e 00 00 	stw     r9,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc0e668:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
    return RTEMS_NOT_DEFINED;                                         
ffc0e66c:	38 00 00 0b 	li      r0,11                                  
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc0e670:	41 9e 00 30 	beq-    cr7,ffc0e6a0 <rtems_string_to_unsigned_int+0x94>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e674:	48 00 21 95 	bl      ffc10808 <__errno>                     
ffc0e678:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0e67c:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc0e680:	40 be 00 18 	bne+    cr7,ffc0e698 <rtems_string_to_unsigned_int+0x8c>
    (( result == 0 ) || ( result == ULONG_MAX )))                     
ffc0e684:	39 7c ff ff 	addi    r11,r28,-1                             
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e688:	39 20 ff fd 	li      r9,-3                                  
ffc0e68c:	7f 8b 48 40 	cmplw   cr7,r11,r9                             
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
ffc0e690:	38 00 00 0a 	li      r0,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e694:	41 bd 00 0c 	bgt+    cr7,ffc0e6a0 <rtems_string_to_unsigned_int+0x94><== ALWAYS TAKEN
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
ffc0e698:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0e69c:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc0e6a0:	39 61 00 28 	addi    r11,r1,40                              
ffc0e6a4:	7c 03 03 78 	mr      r3,r0                                  
ffc0e6a8:	4b ff 4a 9c 	b       ffc03144 <_restgpr_28_x>               
                                                                      

ffc0e768 <rtems_string_to_unsigned_long>: const char *s, unsigned long *n, char **endptr, int base ) {
ffc0e768:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0e76c:	7c 08 02 a6 	mflr    r0                                     
ffc0e770:	bf 81 00 18 	stmw    r28,24(r1)                             
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e774:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  unsigned long *n,                                                   
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc0e778:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e77c:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0e780:	7c be 2b 78 	mr      r30,r5                                 
ffc0e784:	7c dc 33 78 	mr      r28,r6                                 
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc0e788:	38 00 00 09 	li      r0,9                                   
)                                                                     
{                                                                     
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e78c:	41 82 00 70 	beq-    ffc0e7fc <rtems_string_to_unsigned_long+0x94>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0e790:	48 00 20 79 	bl      ffc10808 <__errno>                     
ffc0e794:	38 00 00 00 	li      r0,0                                   
ffc0e798:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e79c:	7f 85 e3 78 	mr      r5,r28                                 
ffc0e7a0:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc0e7a4:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e7a8:	38 81 00 08 	addi    r4,r1,8                                
ffc0e7ac:	48 00 55 b1 	bl      ffc13d5c <strtoul>                     
                                                                      
  if ( endptr )                                                       
ffc0e7b0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e7b4:	7c 7c 1b 78 	mr      r28,r3                                 
ffc0e7b8:	81 21 00 08 	lwz     r9,8(r1)                               
                                                                      
  if ( endptr )                                                       
ffc0e7bc:	41 9e 00 08 	beq-    cr7,ffc0e7c4 <rtems_string_to_unsigned_long+0x5c>
    *endptr = end;                                                    
ffc0e7c0:	91 3e 00 00 	stw     r9,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc0e7c4:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
    return RTEMS_NOT_DEFINED;                                         
ffc0e7c8:	38 00 00 0b 	li      r0,11                                  
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc0e7cc:	41 9e 00 30 	beq-    cr7,ffc0e7fc <rtems_string_to_unsigned_long+0x94>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e7d0:	48 00 20 39 	bl      ffc10808 <__errno>                     
ffc0e7d4:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0e7d8:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc0e7dc:	40 be 00 18 	bne+    cr7,ffc0e7f4 <rtems_string_to_unsigned_long+0x8c>
    (( result == 0 ) || ( result == ULONG_MAX )))                     
ffc0e7e0:	39 7c ff ff 	addi    r11,r28,-1                             
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e7e4:	39 20 ff fd 	li      r9,-3                                  
ffc0e7e8:	7f 8b 48 40 	cmplw   cr7,r11,r9                             
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
ffc0e7ec:	38 00 00 0a 	li      r0,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e7f0:	41 bd 00 0c 	bgt+    cr7,ffc0e7fc <rtems_string_to_unsigned_long+0x94><== ALWAYS TAKEN
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc0e7f4:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0e7f8:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc0e7fc:	39 61 00 28 	addi    r11,r1,40                              
ffc0e800:	7c 03 03 78 	mr      r3,r0                                  
ffc0e804:	4b ff 49 40 	b       ffc03144 <_restgpr_28_x>               
                                                                      

ffc0e6ac <rtems_string_to_unsigned_long_long>: const char *s, unsigned long long *n, char **endptr, int base ) {
ffc0e6ac:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0e6b0:	7c 08 02 a6 	mflr    r0                                     
ffc0e6b4:	bf 41 00 18 	stmw    r26,24(r1)                             
  unsigned long long result;                                          
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e6b8:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  unsigned long long *n,                                              
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc0e6bc:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e6c0:	90 01 00 34 	stw     r0,52(r1)                              
ffc0e6c4:	7c be 2b 78 	mr      r30,r5                                 
ffc0e6c8:	7c da 33 78 	mr      r26,r6                                 
  unsigned long long result;                                          
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc0e6cc:	38 60 00 09 	li      r3,9                                   
)                                                                     
{                                                                     
  unsigned long long result;                                          
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e6d0:	41 82 00 90 	beq-    ffc0e760 <rtems_string_to_unsigned_long_long+0xb4>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0e6d4:	48 00 21 35 	bl      ffc10808 <__errno>                     
ffc0e6d8:	38 00 00 00 	li      r0,0                                   
  *n = 0;                                                             
ffc0e6dc:	39 40 00 00 	li      r10,0                                  
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0e6e0:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
ffc0e6e4:	39 60 00 00 	li      r11,0                                  
ffc0e6e8:	91 5d 00 00 	stw     r10,0(r29)                             
                                                                      
  result = strtoull( s, &end, base );                                 
ffc0e6ec:	7f 45 d3 78 	mr      r5,r26                                 
ffc0e6f0:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc0e6f4:	91 7d 00 04 	stw     r11,4(r29)                             
                                                                      
  result = strtoull( s, &end, base );                                 
ffc0e6f8:	38 81 00 08 	addi    r4,r1,8                                
ffc0e6fc:	48 00 56 81 	bl      ffc13d7c <strtoull>                    
                                                                      
  if ( endptr )                                                       
ffc0e700:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoull( s, &end, base );                                 
ffc0e704:	7c 9b 23 78 	mr      r27,r4                                 
ffc0e708:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0e70c:	7c 7a 1b 78 	mr      r26,r3                                 
                                                                      
  if ( endptr )                                                       
ffc0e710:	41 9e 00 08 	beq-    cr7,ffc0e718 <rtems_string_to_unsigned_long_long+0x6c>
    *endptr = end;                                                    
ffc0e714:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc0e718:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
    return RTEMS_NOT_DEFINED;                                         
ffc0e71c:	38 60 00 0b 	li      r3,11                                  
  result = strtoull( s, &end, base );                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc0e720:	41 9e 00 40 	beq-    cr7,ffc0e760 <rtems_string_to_unsigned_long_long+0xb4>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e724:	48 00 20 e5 	bl      ffc10808 <__errno>                     
ffc0e728:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0e72c:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc0e730:	40 be 00 24 	bne+    cr7,ffc0e754 <rtems_string_to_unsigned_long_long+0xa8>
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
ffc0e734:	31 7b ff ff 	addic   r11,r27,-1                             
ffc0e738:	7d 5a 01 d4 	addme   r10,r26                                
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e73c:	2f 8a ff ff 	cmpwi   cr7,r10,-1                             
ffc0e740:	40 9e 00 14 	bne-    cr7,ffc0e754 <rtems_string_to_unsigned_long_long+0xa8><== NEVER TAKEN
ffc0e744:	38 00 ff fd 	li      r0,-3                                  
ffc0e748:	7f 8b 00 40 	cmplw   cr7,r11,r0                             
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
      return RTEMS_INVALID_NUMBER;                                    
ffc0e74c:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e750:	41 bd 00 10 	bgt+    cr7,ffc0e760 <rtems_string_to_unsigned_long_long+0xb4><== ALWAYS TAKEN
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc0e754:	93 5d 00 00 	stw     r26,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0e758:	38 60 00 00 	li      r3,0                                   
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc0e75c:	93 7d 00 04 	stw     r27,4(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0e760:	39 61 00 30 	addi    r11,r1,48                              
ffc0e764:	4b ff 49 d8 	b       ffc0313c <_restgpr_26_x>               
                                                                      

ffc03d88 <rtems_tarfs_load>: int rtems_tarfs_load( char *mountpoint, uint8_t *tar_image, size_t tar_size ) {
ffc03d88:	94 21 fe 30 	stwu    r1,-464(r1)                            
ffc03d8c:	7c 08 02 a6 	mflr    r0                                     
ffc03d90:	be 61 01 9c 	stmw    r19,412(r1)                            
ffc03d94:	7c 7c 1b 78 	mr      r28,r3                                 
ffc03d98:	7c 9b 23 78 	mr      r27,r4                                 
ffc03d9c:	90 01 01 d4 	stw     r0,468(r1)                             
ffc03da0:	7c b7 2b 78 	mr      r23,r5                                 
   int                              offset;                           
   unsigned long                    nblocks;                          
   IMFS_jnode_t                    *node;                             
   int                              status;                           
                                                                      
   status = rtems_filesystem_evaluate_path(                           
ffc03da4:	48 01 06 f1 	bl      ffc14494 <strlen>                      
ffc03da8:	38 a0 00 00 	li      r5,0                                   
ffc03dac:	7c 64 1b 78 	mr      r4,r3                                  
ffc03db0:	38 c1 00 20 	addi    r6,r1,32                               
ffc03db4:	7f 83 e3 78 	mr      r3,r28                                 
ffc03db8:	38 e0 00 00 	li      r7,0                                   
ffc03dbc:	48 00 0c 69 	bl      ffc04a24 <rtems_filesystem_evaluate_path>
      strlen(mountpoint),                                             
      0,                                                              
      &root_loc,                                                      
      0                                                               
   );                                                                 
   if (status != 0)                                                   
ffc03dc0:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc03dc4:	40 82 01 8c 	bne-    ffc03f50 <rtems_tarfs_load+0x1c8>      
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
ffc03dc8:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc03dcc:	3d 20 ff c2 	lis     r9,-62                                 
ffc03dd0:	39 29 0b 78 	addi    r9,r9,2936                             
ffc03dd4:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc03dd8:	41 9e 00 20 	beq-    cr7,ffc03df8 <rtems_tarfs_load+0x70>   
ffc03ddc:	3d 20 ff c2 	lis     r9,-62                                 
ffc03de0:	39 29 12 8c 	addi    r9,r9,4748                             
ffc03de4:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc03de8:	41 be 00 10 	beq+    cr7,ffc03df8 <rtems_tarfs_load+0x70>   <== NEVER TAKEN
ffc03dec:	48 00 01 64 	b       ffc03f50 <rtems_tarfs_load+0x1c8>      
ffc03df0:	7f f5 fb 78 	mr      r21,r31                                
ffc03df4:	48 00 00 1c 	b       ffc03e10 <rtems_tarfs_load+0x88>       
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
ffc03df8:	3f 00 ff c2 	lis     r24,-62                                
     * - 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, "/");                                   
ffc03dfc:	3f 20 ff c2 	lis     r25,-62                                
      0                                                               
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
ffc03e00:	3a a0 00 00 	li      r21,0                                  
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
ffc03e04:	3b 18 0b c0 	addi    r24,r24,3008                           
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
ffc03e08:	3b a1 00 0c 	addi    r29,r1,12                              
     * - 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, "/");                                   
ffc03e0c:	3b 39 d7 51 	addi    r25,r25,-10415                         
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
ffc03e10:	3b f5 02 00 	addi    r31,r21,512                            
ffc03e14:	7f 9f b8 40 	cmplw   cr7,r31,r23                            
ffc03e18:	41 9d 01 3c 	bgt-    cr7,ffc03f54 <rtems_tarfs_load+0x1cc>  <== NEVER TAKEN
      break;                                                          
                                                                      
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
ffc03e1c:	7e bb aa 14 	add     r21,r27,r21                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
ffc03e20:	38 75 01 01 	addi    r3,r21,257                             
ffc03e24:	7f 04 c3 78 	mr      r4,r24                                 
ffc03e28:	38 a0 00 05 	li      r5,5                                   
ffc03e2c:	48 01 07 25 	bl      ffc14550 <strncmp>                     
ffc03e30:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc03e34:	40 82 01 20 	bne-    ffc03f54 <rtems_tarfs_load+0x1cc>      
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
ffc03e38:	38 a0 00 63 	li      r5,99                                  
ffc03e3c:	7e a4 ab 78 	mr      r4,r21                                 
ffc03e40:	38 61 00 34 	addi    r3,r1,52                               
ffc03e44:	48 01 08 55 	bl      ffc14698 <strncpy>                     
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
ffc03e48:	38 80 00 08 	li      r4,8                                   
ffc03e4c:	38 75 00 64 	addi    r3,r21,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';                             
ffc03e50:	9b 41 00 97 	stb     r26,151(r1)                            
                                                                      
    linkflag   = hdr_ptr[156];                                        
ffc03e54:	8a 95 00 9c 	lbz     r20,156(r21)                           
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
ffc03e58:	48 00 83 49 	bl      ffc0c1a0 <_rtems_octal2ulong>          
ffc03e5c:	7c 76 1b 78 	mr      r22,r3                                 
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
ffc03e60:	38 80 00 0c 	li      r4,12                                  
ffc03e64:	38 75 00 7c 	addi    r3,r21,124                             
ffc03e68:	48 00 83 39 	bl      ffc0c1a0 <_rtems_octal2ulong>          
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
ffc03e6c:	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);               
ffc03e70:	7c 7a 1b 78 	mr      r26,r3                                 
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
ffc03e74:	38 75 00 94 	addi    r3,r21,148                             
ffc03e78:	48 00 83 29 	bl      ffc0c1a0 <_rtems_octal2ulong>          
ffc03e7c:	7c 73 1b 78 	mr      r19,r3                                 
                                                                      
    if (_rtems_tar_header_checksum(hdr_ptr) != hdr_chksum)            
ffc03e80:	7e a3 ab 78 	mr      r3,r21                                 
ffc03e84:	48 00 83 61 	bl      ffc0c1e4 <_rtems_tar_header_checksum>  
ffc03e88:	7f 83 98 00 	cmpw    cr7,r3,r19                             
ffc03e8c:	40 9e 00 c8 	bne-    cr7,ffc03f54 <rtems_tarfs_load+0x1cc>  <== NEVER TAKEN
     * Generate an IMFS node depending on the file type.              
     * - For directories, just create directories as usual.  IMFS     
     *   will take care of the rest.                                  
     * - For files, create a file node with special tarfs properties. 
     */                                                               
    if (linkflag == DIRTYPE) {                                        
ffc03e90:	2f 94 00 35 	cmpwi   cr7,r20,53                             
ffc03e94:	40 be 00 54 	bne+    cr7,ffc03ee8 <rtems_tarfs_load+0x160>  
      strcpy(full_filename, mountpoint);                              
ffc03e98:	7f 84 e3 78 	mr      r4,r28                                 
ffc03e9c:	38 61 00 98 	addi    r3,r1,152                              
ffc03ea0:	48 01 00 e1 	bl      ffc13f80 <strcpy>                      
      if (full_filename[strlen(full_filename)-1] != '/')              
ffc03ea4:	38 61 00 98 	addi    r3,r1,152                              
ffc03ea8:	48 01 05 ed 	bl      ffc14494 <strlen>                      
ffc03eac:	38 01 00 08 	addi    r0,r1,8                                
ffc03eb0:	7c 60 1a 14 	add     r3,r0,r3                               
ffc03eb4:	88 03 00 8f 	lbz     r0,143(r3)                             
ffc03eb8:	2f 80 00 2f 	cmpwi   cr7,r0,47                              
ffc03ebc:	41 9e 00 10 	beq-    cr7,ffc03ecc <rtems_tarfs_load+0x144>  <== ALWAYS TAKEN
        strcat(full_filename, "/");                                   
ffc03ec0:	38 61 00 98 	addi    r3,r1,152                              <== NOT EXECUTED
ffc03ec4:	7f 24 cb 78 	mr      r4,r25                                 <== NOT EXECUTED
ffc03ec8:	48 00 ff 59 	bl      ffc13e20 <strcat>                      <== NOT EXECUTED
      strcat(full_filename, filename);                                
ffc03ecc:	38 81 00 34 	addi    r4,r1,52                               
ffc03ed0:	38 61 00 98 	addi    r3,r1,152                              
ffc03ed4:	48 00 ff 4d 	bl      ffc13e20 <strcat>                      
      mkdir(full_filename, S_IRWXU | S_IRWXG | S_IRWXO);              
ffc03ed8:	38 61 00 98 	addi    r3,r1,152                              
ffc03edc:	38 80 01 ff 	li      r4,511                                 
ffc03ee0:	48 00 14 cd 	bl      ffc053ac <mkdir>                       
ffc03ee4:	4b ff ff 0c 	b       ffc03df0 <rtems_tarfs_load+0x68>       
     *        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) {                                   
ffc03ee8:	2f 94 00 30 	cmpwi   cr7,r20,48                             
ffc03eec:	40 9e ff 04 	bne+    cr7,ffc03df0 <rtems_tarfs_load+0x68>   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
ffc03ef0:	39 61 00 20 	addi    r11,r1,32                              
ffc03ef4:	7c ab a4 aa 	lswi    r5,r11,20                              
ffc03ef8:	7c bd a5 aa 	stswi   r5,r29,20                              
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
ffc03efc:	38 61 00 34 	addi    r3,r1,52                               
ffc03f00:	7f a4 eb 78 	mr      r4,r29                                 
ffc03f04:	38 a1 00 08 	addi    r5,r1,8                                
ffc03f08:	48 00 90 2d 	bl      ffc0cf34 <IMFS_evaluate_for_make>      
ffc03f0c:	7c 75 1b 79 	mr.     r21,r3                                 
ffc03f10:	40 a2 00 30 	bne+    ffc03f40 <rtems_tarfs_load+0x1b8>      <== NEVER TAKEN
        node = IMFS_create_node(                                      
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
ffc03f14:	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(                                      
ffc03f18:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc03f1c:	7f a3 eb 78 	mr      r3,r29                                 
ffc03f20:	38 80 00 06 	li      r4,6                                   
ffc03f24:	60 c6 80 00 	ori     r6,r6,32768                            
ffc03f28:	38 e0 00 00 	li      r7,0                                   
ffc03f2c:	48 00 88 c1 	bl      ffc0c7ec <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];            
ffc03f30:	7c 1b fa 14 	add     r0,r27,r31                             
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
ffc03f34:	93 43 00 54 	stw     r26,84(r3)                             
ffc03f38:	92 a3 00 50 	stw     r21,80(r3)                             
        node->info.linearfile.direct = &tar_image[offset];            
ffc03f3c:	90 03 00 58 	stw     r0,88(r3)                              
      }                                                               
                                                                      
      nblocks = (((file_size) + 511) & ~511) / 512;                   
ffc03f40:	3b 5a 01 ff 	addi    r26,r26,511                            
      offset += 512 * nblocks;                                        
ffc03f44:	57 5a 00 2c 	rlwinm  r26,r26,0,0,22                         
ffc03f48:	7f fa fa 14 	add     r31,r26,r31                            
ffc03f4c:	4b ff fe a4 	b       ffc03df0 <rtems_tarfs_load+0x68>       
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
     return -1;                                                       
ffc03f50:	3b c0 ff ff 	li      r30,-1                                 
      nblocks = (((file_size) + 511) & ~511) / 512;                   
      offset += 512 * nblocks;                                        
    }                                                                 
  }                                                                   
  return status;                                                      
}                                                                     
ffc03f54:	39 61 01 d0 	addi    r11,r1,464                             
ffc03f58:	7f c3 f3 78 	mr      r3,r30                                 
ffc03f5c:	4b ff c6 44 	b       ffc005a0 <_restgpr_19_x>               
                                                                      

ffc0f748 <rtems_task_mode>: ASR_Information *asr; bool is_asr_enabled = false; bool needs_asr_dispatching = false; rtems_mode old_mode; if ( !previous_mode_set )
ffc0f748:	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                                       
)                                                                     
{                                                                     
ffc0f74c:	7c 08 02 a6 	mflr    r0                                     
ffc0f750:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0f754:	90 01 00 0c 	stw     r0,12(r1)                              
ffc0f758:	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;                                     
ffc0f75c:	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 )                                           
ffc0f760:	41 82 01 88 	beq-    ffc0f8e8 <rtems_task_mode+0x1a0>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
ffc0f764:	3d 20 00 00 	lis     r9,0                                   
ffc0f768:	81 69 2d c4 	lwz     r11,11716(r9)                          
  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 )
ffc0f76c:	81 0b 00 7c 	lwz     r8,124(r11)                            
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
ffc0f770:	89 4b 00 74 	lbz     r10,116(r11)                           
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
ffc0f774:	2f 88 00 00 	cmpwi   cr7,r8,0                               
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
ffc0f778:	81 2b 01 2c 	lwz     r9,300(r11)                            
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
ffc0f77c:	7d 4a 00 34 	cntlzw  r10,r10                                
ffc0f780:	55 4a d9 7e 	rlwinm  r10,r10,27,5,31                        
ffc0f784:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
ffc0f788:	41 9e 00 08 	beq-    cr7,ffc0f790 <rtems_task_mode+0x48>    
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
ffc0f78c:	61 4a 02 00 	ori     r10,r10,512                            
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
ffc0f790:	89 09 00 08 	lbz     r8,8(r9)                               
ffc0f794:	7d 08 00 34 	cntlzw  r8,r8                                  
ffc0f798:	55 08 d9 7e 	rlwinm  r8,r8,27,5,31                          
ffc0f79c:	55 08 50 2a 	rlwinm  r8,r8,10,0,21                          
ffc0f7a0:	7d 08 53 78 	or      r8,r8,r10                              
#ifndef ASM                                                           
                                                                      
static inline uint32_t   _CPU_ISR_Get_level( void )                   
{                                                                     
  register unsigned int msr;                                          
  _CPU_MSR_GET(msr);                                                  
ffc0f7a4:	39 40 00 00 	li      r10,0                                  
ffc0f7a8:	7d 40 00 a6 	mfmsr   r10                                    
  if (msr & MSR_EE) return 0;                                         
ffc0f7ac:	71 47 80 00 	andi.   r7,r10,32768                           
ffc0f7b0:	7c e0 00 26 	mfcr    r7                                     
ffc0f7b4:	54 e7 1f fe 	rlwinm  r7,r7,3,31,31                          
  old_mode |= _ISR_Get_level();                                       
ffc0f7b8:	7d 0a 3b 78 	or      r10,r8,r7                              
                                                                      
  *previous_mode_set = old_mode;                                      
ffc0f7bc:	91 45 00 00 	stw     r10,0(r5)                              
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
ffc0f7c0:	70 8a 01 00 	andi.   r10,r4,256                             
ffc0f7c4:	41 82 00 14 	beq-    ffc0f7d8 <rtems_task_mode+0x90>        
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
ffc0f7c8:	70 07 01 00 	andi.   r7,r0,256                              
ffc0f7cc:	7d 40 00 26 	mfcr    r10                                    
ffc0f7d0:	55 4a 1f fe 	rlwinm  r10,r10,3,31,31                        
ffc0f7d4:	99 4b 00 74 	stb     r10,116(r11)                           
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
ffc0f7d8:	70 8a 02 00 	andi.   r10,r4,512                             
ffc0f7dc:	41 82 00 28 	beq-    ffc0f804 <rtems_task_mode+0xbc>        
    if ( _Modes_Is_timeslice(mode_set) ) {                            
ffc0f7e0:	70 0a 02 00 	andi.   r10,r0,512                             
ffc0f7e4:	41 82 00 1c 	beq-    ffc0f800 <rtems_task_mode+0xb8>        
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
ffc0f7e8:	39 40 00 01 	li      r10,1                                  
ffc0f7ec:	91 4b 00 7c 	stw     r10,124(r11)                           
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
ffc0f7f0:	3d 40 00 00 	lis     r10,0                                  
ffc0f7f4:	81 4a 27 c4 	lwz     r10,10180(r10)                         
ffc0f7f8:	91 4b 00 78 	stw     r10,120(r11)                           
ffc0f7fc:	48 00 00 08 	b       ffc0f804 <rtems_task_mode+0xbc>        
    } else                                                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; 
ffc0f800:	91 4b 00 7c 	stw     r10,124(r11)                           
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
ffc0f804:	70 8b 00 01 	andi.   r11,r4,1                               
ffc0f808:	41 82 00 28 	beq-    ffc0f830 <rtems_task_mode+0xe8>        
}                                                                     
                                                                      
static inline void _CPU_ISR_Set_level( uint32_t   level )             
{                                                                     
  register unsigned int msr;                                          
  _CPU_MSR_GET(msr);                                                  
ffc0f80c:	39 60 00 00 	li      r11,0                                  
ffc0f810:	7d 60 00 a6 	mfmsr   r11                                    
                                                                      
static inline uint32_t ppc_interrupt_get_disable_mask( void )         
{                                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0f814:	7d 50 42 a6 	mfsprg  r10,0                                  
  if (!(level & CPU_MODES_INTERRUPT_MASK)) {                          
ffc0f818:	70 07 00 01 	andi.   r7,r0,1                                
ffc0f81c:	40 82 00 0c 	bne-    ffc0f828 <rtems_task_mode+0xe0>        
    msr |= ppc_interrupt_get_disable_mask();                          
ffc0f820:	7d 4b 5b 78 	or      r11,r10,r11                            
ffc0f824:	48 00 00 08 	b       ffc0f82c <rtems_task_mode+0xe4>        
  }                                                                   
  else {                                                              
    msr &= ~ppc_interrupt_get_disable_mask();                         
ffc0f828:	7d 6b 50 78 	andc    r11,r11,r10                            
  }                                                                   
  _CPU_MSR_SET(msr);                                                  
ffc0f82c:	7d 60 01 24 	mtmsr   r11                                    
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
ffc0f830:	70 8a 04 00 	andi.   r10,r4,1024                            
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
ffc0f834:	39 60 00 00 	li      r11,0                                  
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
ffc0f838:	41 82 00 58 	beq-    ffc0f890 <rtems_task_mode+0x148>       
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
ffc0f83c:	70 07 04 00 	andi.   r7,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 ) {                        
ffc0f840:	89 49 00 08 	lbz     r10,8(r9)                              
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
ffc0f844:	7c 00 00 26 	mfcr    r0                                     
ffc0f848:	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 ) {                        
ffc0f84c:	7f 8a 00 00 	cmpw    cr7,r10,r0                             
ffc0f850:	41 9e 00 40 	beq-    cr7,ffc0f890 <rtems_task_mode+0x148>   
      asr->is_enabled = is_asr_enabled;                               
ffc0f854:	98 09 00 08 	stb     r0,8(r9)                               
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0f858:	7c 00 00 a6 	mfmsr   r0                                     
ffc0f85c:	7d 70 42 a6 	mfsprg  r11,0                                  
ffc0f860:	7c 0b 58 78 	andc    r11,r0,r11                             
ffc0f864:	7d 60 01 24 	mtmsr   r11                                    
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
ffc0f868:	81 69 00 18 	lwz     r11,24(r9)                             
    information->signals_pending = information->signals_posted;       
ffc0f86c:	81 49 00 14 	lwz     r10,20(r9)                             
    information->signals_posted  = _signals;                          
ffc0f870:	91 69 00 14 	stw     r11,20(r9)                             
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
    information->signals_pending = information->signals_posted;       
ffc0f874:	91 49 00 18 	stw     r10,24(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0f878:	7c 00 01 24 	mtmsr   r0                                     
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
ffc0f87c:	80 09 00 14 	lwz     r0,20(r9)                              
        needs_asr_dispatching = true;                                 
ffc0f880:	39 60 00 01 	li      r11,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 ) ) {                        
ffc0f884:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f888:	40 9e 00 08 	bne-    cr7,ffc0f890 <rtems_task_mode+0x148>   
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
ffc0f88c:	39 60 00 00 	li      r11,0                                  
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
ffc0f890:	3d 20 00 00 	lis     r9,0                                   
ffc0f894:	80 09 28 04 	lwz     r0,10244(r9)                           
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0f898:	38 60 00 00 	li      r3,0                                   
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
ffc0f89c:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0f8a0:	40 be 00 48 	bne+    cr7,ffc0f8e8 <rtems_task_mode+0x1a0>   
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
                                                                      
  if ( are_signals_pending ||                                         
ffc0f8a4:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
  bool are_signals_pending                                            
)                                                                     
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
ffc0f8a8:	3d 40 00 00 	lis     r10,0                                  
ffc0f8ac:	39 4a 2d b8 	addi    r10,r10,11704                          
ffc0f8b0:	81 2a 00 0c 	lwz     r9,12(r10)                             
                                                                      
  if ( are_signals_pending ||                                         
ffc0f8b4:	40 9e 00 1c 	bne-    cr7,ffc0f8d0 <rtems_task_mode+0x188>   
ffc0f8b8:	80 0a 00 10 	lwz     r0,16(r10)                             
ffc0f8bc:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0f8c0:	41 9e 00 28 	beq-    cr7,ffc0f8e8 <rtems_task_mode+0x1a0>   
       (!_Thread_Is_heir( executing ) && executing->is_preemptible) ) {
ffc0f8c4:	88 09 00 74 	lbz     r0,116(r9)                             
ffc0f8c8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f8cc:	41 9e 00 1c 	beq-    cr7,ffc0f8e8 <rtems_task_mode+0x1a0>   <== NEVER TAKEN
    _Thread_Dispatch_necessary = true;                                
ffc0f8d0:	3d 20 00 00 	lis     r9,0                                   
ffc0f8d4:	38 00 00 01 	li      r0,1                                   
ffc0f8d8:	39 29 2d b8 	addi    r9,r9,11704                            
ffc0f8dc:	98 09 00 18 	stb     r0,24(r9)                              
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
ffc0f8e0:	4b ff af 99 	bl      ffc0a878 <_Thread_Dispatch>            
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0f8e4:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0f8e8:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0f8ec:	38 21 00 08 	addi    r1,r1,8                                
ffc0f8f0:	7c 08 03 a6 	mtlr    r0                                     
ffc0f8f4:	4e 80 00 20 	blr                                            
                                                                      

ffc0c740 <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
ffc0c740:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0c744:	7c 08 02 a6 	mflr    r0                                     
ffc0c748:	bf c1 00 18 	stmw    r30,24(r1)                             
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
ffc0c74c:	7c 9f 23 79 	mr.     r31,r4                                 
rtems_status_code rtems_task_set_priority(                            
  rtems_id             id,                                            
  rtems_task_priority  new_priority,                                  
  rtems_task_priority *old_priority                                   
)                                                                     
{                                                                     
ffc0c750:	7c be 2b 78 	mr      r30,r5                                 
ffc0c754:	90 01 00 24 	stw     r0,36(r1)                              
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
ffc0c758:	41 82 00 18 	beq-    ffc0c770 <rtems_task_set_priority+0x30>
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 ) );             
ffc0c75c:	3d 20 00 00 	lis     r9,0                                   
ffc0c760:	89 29 27 04 	lbz     r9,9988(r9)                            
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
ffc0c764:	38 00 00 13 	li      r0,19                                  
)                                                                     
{                                                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
ffc0c768:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc0c76c:	41 bd 00 6c 	bgt+    cr7,ffc0c7d8 <rtems_task_set_priority+0x98>
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
ffc0c770:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
ffc0c774:	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 )                                                
ffc0c778:	41 9e 00 60 	beq-    cr7,ffc0c7d8 <rtems_task_set_priority+0x98>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0c77c:	38 81 00 08 	addi    r4,r1,8                                
ffc0c780:	48 00 27 1d 	bl      ffc0ee9c <_Thread_Get>                 
  switch ( location ) {                                               
ffc0c784:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0c788:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c78c:	40 9e 00 48 	bne-    cr7,ffc0c7d4 <rtems_task_set_priority+0x94>
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
ffc0c790:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
  the_thread = _Thread_Get( id, &location );                          
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
ffc0c794:	80 03 00 14 	lwz     r0,20(r3)                              
ffc0c798:	90 1e 00 00 	stw     r0,0(r30)                              
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
ffc0c79c:	41 9e 00 2c 	beq-    cr7,ffc0c7c8 <rtems_task_set_priority+0x88>
        the_thread->real_priority = new_priority;                     
        if ( the_thread->resource_count == 0 ||                       
ffc0c7a0:	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;                     
ffc0c7a4:	93 e3 00 18 	stw     r31,24(r3)                             
        if ( the_thread->resource_count == 0 ||                       
ffc0c7a8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c7ac:	41 9e 00 10 	beq-    cr7,ffc0c7bc <rtems_task_set_priority+0x7c>
ffc0c7b0:	80 03 00 14 	lwz     r0,20(r3)                              
ffc0c7b4:	7f 80 f8 40 	cmplw   cr7,r0,r31                             
ffc0c7b8:	40 9d 00 10 	ble-    cr7,ffc0c7c8 <rtems_task_set_priority+0x88><== ALWAYS TAKEN
             the_thread->current_priority > new_priority )            
          _Thread_Change_priority( the_thread, new_priority, false ); 
ffc0c7bc:	7f e4 fb 78 	mr      r4,r31                                 
ffc0c7c0:	38 a0 00 00 	li      r5,0                                   
ffc0c7c4:	48 00 21 c1 	bl      ffc0e984 <_Thread_Change_priority>     
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc0c7c8:	48 00 26 99 	bl      ffc0ee60 <_Thread_Enable_dispatch>     
      return RTEMS_SUCCESSFUL;                                        
ffc0c7cc:	38 00 00 00 	li      r0,0                                   
ffc0c7d0:	48 00 00 08 	b       ffc0c7d8 <rtems_task_set_priority+0x98>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc0c7d4:	38 00 00 04 	li      r0,4                                   
}                                                                     
ffc0c7d8:	39 61 00 20 	addi    r11,r1,32                              
ffc0c7dc:	7c 03 03 78 	mr      r3,r0                                  
ffc0c7e0:	4b ff 49 4c 	b       ffc0112c <_restgpr_30_x>               
                                                                      

ffc05e78 <rtems_termios_close>: } } rtems_status_code rtems_termios_close (void *arg) {
ffc05e78:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc05e7c:	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(                                        
ffc05e80:	38 80 00 00 	li      r4,0                                   
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
ffc05e84:	90 01 00 14 	stw     r0,20(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(                                        
ffc05e88:	38 a0 00 00 	li      r5,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;                   
ffc05e8c:	81 23 00 00 	lwz     r9,0(r3)                               
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
ffc05e90:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc05e94:	7c 7e 1b 78 	mr      r30,r3                                 
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc05e98:	83 e9 00 38 	lwz     r31,56(r9)                             
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
ffc05e9c:	3d 20 00 00 	lis     r9,0                                   
ffc05ea0:	80 69 27 b8 	lwz     r3,10168(r9)                           
ffc05ea4:	48 00 22 01 	bl      ffc080a4 <rtems_semaphore_obtain>      
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc05ea8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05eac:	40 9e 00 b0 	bne-    cr7,ffc05f5c <rtems_termios_close+0xe4><== NEVER TAKEN
    rtems_fatal_error_occurred (sc);                                  
  if (--tty->refcount == 0) {                                         
ffc05eb0:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc05eb4:	38 09 ff ff 	addi    r0,r9,-1                               
ffc05eb8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05ebc:	90 1f 00 08 	stw     r0,8(r31)                              
ffc05ec0:	40 9e 01 70 	bne-    cr7,ffc06030 <rtems_termios_close+0x1b8>
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
ffc05ec4:	80 1f 00 cc 	lwz     r0,204(r31)                            
ffc05ec8:	3d 20 00 00 	lis     r9,0                                   
ffc05ecc:	39 29 28 78 	addi    r9,r9,10360                            
ffc05ed0:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc05ed4:	7d 29 02 14 	add     r9,r9,r0                               
ffc05ed8:	80 09 00 04 	lwz     r0,4(r9)                               
ffc05edc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05ee0:	41 9e 00 14 	beq-    cr7,ffc05ef4 <rtems_termios_close+0x7c>
      /*                                                              
       * call discipline-specific close                               
       */                                                             
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
ffc05ee4:	7f e3 fb 78 	mr      r3,r31                                 
ffc05ee8:	7c 09 03 a6 	mtctr   r0                                     
ffc05eec:	4e 80 04 21 	bctrl                                          
ffc05ef0:	48 00 00 38 	b       ffc05f28 <rtems_termios_close+0xb0>    
    } else {                                                          
      /*                                                              
       * default: just flush output buffer                            
       */                                                             
      sc = rtems_semaphore_obtain(tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc05ef4:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc05ef8:	38 80 00 00 	li      r4,0                                   
ffc05efc:	38 a0 00 00 	li      r5,0                                   
ffc05f00:	48 00 21 a5 	bl      ffc080a4 <rtems_semaphore_obtain>      
      if (sc != RTEMS_SUCCESSFUL) {                                   
ffc05f04:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05f08:	40 9e 00 54 	bne-    cr7,ffc05f5c <rtems_termios_close+0xe4><== NEVER TAKEN
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
ffc05f0c:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc05f10:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05f14:	41 be 00 0c 	beq+    cr7,ffc05f20 <rtems_termios_close+0xa8>
ffc05f18:	7f e3 fb 78 	mr      r3,r31                                 
ffc05f1c:	4b ff fa e5 	bl      ffc05a00 <drainOutput.part.0>          
      sc = rtems_semaphore_obtain(tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
      if (sc != RTEMS_SUCCESSFUL) {                                   
        rtems_fatal_error_occurred (sc);                              
      }                                                               
      drainOutput (tty);                                              
      rtems_semaphore_release (tty->osem);                            
ffc05f20:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc05f24:	48 00 22 ad 	bl      ffc081d0 <rtems_semaphore_release>     
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc05f28:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc05f2c:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc05f30:	40 be 00 30 	bne+    cr7,ffc05f60 <rtems_termios_close+0xe8>
      /*                                                              
       * send "terminate" to I/O tasks                                
       */                                                             
      sc = rtems_event_send( tty->rxTaskId, TERMIOS_RX_TERMINATE_EVENT );
ffc05f34:	80 7f 00 c4 	lwz     r3,196(r31)                            
ffc05f38:	38 80 00 01 	li      r4,1                                   
ffc05f3c:	48 00 1c b5 	bl      ffc07bf0 <rtems_event_send>            
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc05f40:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05f44:	40 9e 00 18 	bne-    cr7,ffc05f5c <rtems_termios_close+0xe4><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_event_send( tty->txTaskId, TERMIOS_TX_TERMINATE_EVENT );
ffc05f48:	80 7f 00 c8 	lwz     r3,200(r31)                            
ffc05f4c:	38 80 00 01 	li      r4,1                                   
ffc05f50:	48 00 1c a1 	bl      ffc07bf0 <rtems_event_send>            
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc05f54:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05f58:	41 be 00 08 	beq+    cr7,ffc05f60 <rtems_termios_close+0xe8><== ALWAYS TAKEN
        rtems_fatal_error_occurred (sc);                              
ffc05f5c:	48 00 29 1d 	bl      ffc08878 <rtems_fatal_error_occurred>  <== NOT EXECUTED
    }                                                                 
    if (tty->device.lastClose)                                        
ffc05f60:	80 1f 00 9c 	lwz     r0,156(r31)                            
ffc05f64:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05f68:	41 9e 00 18 	beq-    cr7,ffc05f80 <rtems_termios_close+0x108><== ALWAYS TAKEN
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
ffc05f6c:	80 7f 00 0c 	lwz     r3,12(r31)                             <== NOT EXECUTED
ffc05f70:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc05f74:	80 9f 00 10 	lwz     r4,16(r31)                             <== NOT EXECUTED
ffc05f78:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc05f7c:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
    if (tty->forw == NULL) {                                          
ffc05f80:	81 7f 00 00 	lwz     r11,0(r31)                             
ffc05f84:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc05f88:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc05f8c:	40 be 00 1c 	bne+    cr7,ffc05fa8 <rtems_termios_close+0x130>
      rtems_termios_ttyTail = tty->back;                              
      if ( rtems_termios_ttyTail != NULL ) {                          
ffc05f90:	2f 89 00 00 	cmpwi   cr7,r9,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;                              
ffc05f94:	3d 40 00 00 	lis     r10,0                                  
ffc05f98:	91 2a 27 bc 	stw     r9,10172(r10)                          
      if ( rtems_termios_ttyTail != NULL ) {                          
ffc05f9c:	41 9e 00 10 	beq-    cr7,ffc05fac <rtems_termios_close+0x134>
        rtems_termios_ttyTail->forw = NULL;                           
ffc05fa0:	91 69 00 00 	stw     r11,0(r9)                              
ffc05fa4:	48 00 00 08 	b       ffc05fac <rtems_termios_close+0x134>   
      }                                                               
    } else {                                                          
      tty->forw->back = tty->back;                                    
ffc05fa8:	91 2b 00 04 	stw     r9,4(r11)                              
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
ffc05fac:	81 7f 00 04 	lwz     r11,4(r31)                             
ffc05fb0:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc05fb4:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc05fb8:	40 be 00 1c 	bne+    cr7,ffc05fd4 <rtems_termios_close+0x15c>
      rtems_termios_ttyHead = tty->forw;                              
      if ( rtems_termios_ttyHead != NULL ) {                          
ffc05fbc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    } else {                                                          
      tty->forw->back = tty->back;                                    
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
      rtems_termios_ttyHead = tty->forw;                              
ffc05fc0:	3d 40 00 00 	lis     r10,0                                  
ffc05fc4:	91 2a 27 c0 	stw     r9,10176(r10)                          
      if ( rtems_termios_ttyHead != NULL ) {                          
ffc05fc8:	41 9e 00 10 	beq-    cr7,ffc05fd8 <rtems_termios_close+0x160>
        rtems_termios_ttyHead->back = NULL;                           
ffc05fcc:	91 69 00 04 	stw     r11,4(r9)                              
ffc05fd0:	48 00 00 08 	b       ffc05fd8 <rtems_termios_close+0x160>   
      }                                                               
    } else {                                                          
      tty->back->forw = tty->forw;                                    
ffc05fd4:	91 2b 00 00 	stw     r9,0(r11)                              
    }                                                                 
                                                                      
    rtems_semaphore_delete (tty->isem);                               
ffc05fd8:	80 7f 00 14 	lwz     r3,20(r31)                             
ffc05fdc:	48 00 20 11 	bl      ffc07fec <rtems_semaphore_delete>      
    rtems_semaphore_delete (tty->osem);                               
ffc05fe0:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc05fe4:	48 00 20 09 	bl      ffc07fec <rtems_semaphore_delete>      
    rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                
ffc05fe8:	80 7f 00 8c 	lwz     r3,140(r31)                            
ffc05fec:	48 00 20 01 	bl      ffc07fec <rtems_semaphore_delete>      
    if ((tty->device.pollRead == NULL) ||                             
ffc05ff0:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc05ff4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05ff8:	41 9e 00 10 	beq-    cr7,ffc06008 <rtems_termios_close+0x190>
ffc05ffc:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc06000:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc06004:	40 be 00 0c 	bne+    cr7,ffc06010 <rtems_termios_close+0x198>
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))    
      rtems_semaphore_delete (tty->rawInBuf.Semaphore);               
ffc06008:	80 7f 00 68 	lwz     r3,104(r31)                            
ffc0600c:	48 00 1f e1 	bl      ffc07fec <rtems_semaphore_delete>      
    free (tty->rawInBuf.theBuf);                                      
ffc06010:	80 7f 00 58 	lwz     r3,88(r31)                             
ffc06014:	4b ff e9 49 	bl      ffc0495c <free>                        
    free (tty->rawOutBuf.theBuf);                                     
ffc06018:	80 7f 00 7c 	lwz     r3,124(r31)                            
ffc0601c:	4b ff e9 41 	bl      ffc0495c <free>                        
    free (tty->cbuf);                                                 
ffc06020:	80 7f 00 1c 	lwz     r3,28(r31)                             
ffc06024:	4b ff e9 39 	bl      ffc0495c <free>                        
    free (tty);                                                       
ffc06028:	7f e3 fb 78 	mr      r3,r31                                 
ffc0602c:	4b ff e9 31 	bl      ffc0495c <free>                        
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
ffc06030:	3d 20 00 00 	lis     r9,0                                   
ffc06034:	80 69 27 b8 	lwz     r3,10168(r9)                           
ffc06038:	48 00 21 99 	bl      ffc081d0 <rtems_semaphore_release>     
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0603c:	39 61 00 10 	addi    r11,r1,16                              
ffc06040:	38 60 00 00 	li      r3,0                                   
ffc06044:	4b ff a4 fc 	b       ffc00540 <_restgpr_30_x>               
                                                                      

ffc075a8 <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) {
ffc075a8:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc075ac:	7c 08 02 a6 	mflr    r0                                     
ffc075b0:	90 01 00 0c 	stw     r0,12(r1)                              
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
ffc075b4:	80 03 00 90 	lwz     r0,144(r3)                             
ffc075b8:	7c 00 22 14 	add     r0,r0,r4                               
ffc075bc:	90 03 00 90 	stw     r0,144(r3)                             
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
ffc075c0:	80 03 00 b4 	lwz     r0,180(r3)                             
ffc075c4:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc075c8:	40 be 00 1c 	bne+    cr7,ffc075e4 <rtems_termios_dequeue_characters+0x3c>
    /*                                                                
     * send wake up to transmitter task                               
     */                                                               
    sc = rtems_event_send(tty->txTaskId, TERMIOS_TX_START_EVENT);     
ffc075cc:	80 63 00 c8 	lwz     r3,200(r3)                             
ffc075d0:	38 80 00 02 	li      r4,2                                   
ffc075d4:	48 00 06 1d 	bl      ffc07bf0 <rtems_event_send>            
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc075d8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc075dc:	41 be 00 40 	beq+    cr7,ffc0761c <rtems_termios_dequeue_characters+0x74><== ALWAYS TAKEN
      rtems_fatal_error_occurred (sc);                                
ffc075e0:	48 00 12 99 	bl      ffc08878 <rtems_fatal_error_occurred>  <== NOT EXECUTED
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  if (tty->t_line == PPPDISC ) {                                      
ffc075e4:	80 03 00 cc 	lwz     r0,204(r3)                             
ffc075e8:	2f 80 00 05 	cmpwi   cr7,r0,5                               
ffc075ec:	40 9e 00 20 	bne-    cr7,ffc0760c <rtems_termios_dequeue_characters+0x64>
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
ffc075f0:	3d 20 00 00 	lis     r9,0                                   
ffc075f4:	80 09 29 2c 	lwz     r0,10540(r9)                           
ffc075f8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc075fc:	41 9e 00 20 	beq-    cr7,ffc0761c <rtems_termios_dequeue_characters+0x74><== NEVER TAKEN
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
ffc07600:	7c 09 03 a6 	mtctr   r0                                     
ffc07604:	4e 80 04 21 	bctrl                                          
ffc07608:	48 00 00 14 	b       ffc0761c <rtems_termios_dequeue_characters+0x74>
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
}                                                                     
ffc0760c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc07610:	38 21 00 08 	addi    r1,r1,8                                
ffc07614:	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);                       
ffc07618:	4b ff fd 30 	b       ffc07348 <rtems_termios_refill_transmitter>
}                                                                     
ffc0761c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc07620:	38 60 00 00 	li      r3,0                                   
ffc07624:	38 21 00 08 	addi    r1,r1,8                                
ffc07628:	7c 08 03 a6 	mtlr    r0                                     
ffc0762c:	4e 80 00 20 	blr                                            
                                                                      

ffc06ff8 <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) {
ffc06ff8:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc06ffc:	7c 08 02 a6 	mflr    r0                                     
ffc07000:	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) {             
ffc07004:	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)
{                                                                     
ffc07008:	be a1 00 0c 	stmw    r21,12(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) {             
ffc0700c:	3f a0 00 00 	lis     r29,0                                  
ffc07010:	3b bd 28 78 	addi    r29,r29,10360                          
ffc07014:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
ffc07018:	7d 3d 4a 14 	add     r9,r29,r9                              
ffc0701c:	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)
{                                                                     
ffc07020:	7c 7f 1b 78 	mr      r31,r3                                 
ffc07024:	7c 99 23 78 	mr      r25,r4                                 
  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) {             
ffc07028:	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)
{                                                                     
ffc0702c:	7c b8 2b 78 	mr      r24,r5                                 
 * 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)
ffc07030:	3b c0 00 00 	li      r30,0                                  
  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) {             
ffc07034:	40 be 00 3c 	bne+    cr7,ffc07070 <rtems_termios_enqueue_raw_characters+0x78>
 * 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)
ffc07038:	3b a0 00 00 	li      r29,0                                  
ffc0703c:	3b 40 00 00 	li      r26,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); 
ffc07040:	3a c3 00 30 	addi    r22,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,                          
ffc07044:	3a e3 00 4a 	addi    r23,r3,74                              
ffc07048:	48 00 02 60 	b       ffc072a8 <rtems_termios_enqueue_raw_characters+0x2b0>
  rtems_interrupt_level level;                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {             
    while (len--) {                                                   
      c = *buf++;                                                     
      rtems_termios_linesw[tty->t_line].l_rint(c,tty);                
ffc0704c:	81 3f 00 cc 	lwz     r9,204(r31)                            
ffc07050:	7f e4 fb 78 	mr      r4,r31                                 
ffc07054:	7c 79 f0 ae 	lbzx    r3,r25,r30                             
ffc07058:	3b de 00 01 	addi    r30,r30,1                              
ffc0705c:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
ffc07060:	7d 3d 4a 14 	add     r9,r29,r9                              
ffc07064:	80 09 00 10 	lwz     r0,16(r9)                              
ffc07068:	7c 09 03 a6 	mtctr   r0                                     
ffc0706c:	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--) {                                                   
ffc07070:	7f 9e c0 00 	cmpw    cr7,r30,r24                            
ffc07074:	40 9e ff d8 	bne+    cr7,ffc0704c <rtems_termios_enqueue_raw_characters+0x54>
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
ffc07078:	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;                                                         
ffc0707c:	3b c0 00 00 	li      r30,0                                  
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
ffc07080:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07084:	40 9e 02 40 	bne-    cr7,ffc072c4 <rtems_termios_enqueue_raw_characters+0x2cc><== NEVER TAKEN
ffc07088:	80 1f 00 dc 	lwz     r0,220(r31)                            
ffc0708c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07090:	41 9e 02 34 	beq-    cr7,ffc072c4 <rtems_termios_enqueue_raw_characters+0x2cc><== NEVER TAKEN
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
ffc07094:	7c 09 03 a6 	mtctr   r0                                     
ffc07098:	38 7f 00 30 	addi    r3,r31,48                              
ffc0709c:	80 9f 00 e0 	lwz     r4,224(r31)                            
ffc070a0:	4e 80 04 21 	bctrl                                          
      tty->tty_rcvwakeup = 1;                                         
ffc070a4:	38 00 00 01 	li      r0,1                                   
ffc070a8:	90 1f 00 e4 	stw     r0,228(r31)                            
ffc070ac:	48 00 02 18 	b       ffc072c4 <rtems_termios_enqueue_raw_characters+0x2cc>
                                                                      
  while (len--) {                                                     
    c = *buf++;                                                       
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
ffc070b0:	80 1f 00 b8 	lwz     r0,184(r31)                            
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
    c = *buf++;                                                       
ffc070b4:	7f 79 e8 ae 	lbzx    r27,r25,r29                            
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
ffc070b8:	70 09 02 00 	andi.   r9,r0,512                              
ffc070bc:	41 82 00 50 	beq-    ffc0710c <rtems_termios_enqueue_raw_characters+0x114>
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
ffc070c0:	89 3f 00 4a 	lbz     r9,74(r31)                             
ffc070c4:	88 1f 00 49 	lbz     r0,73(r31)                             
ffc070c8:	7f 89 d8 00 	cmpw    cr7,r9,r27                             
        if (c == tty->termios.c_cc[VSTART]) {                         
ffc070cc:	54 00 06 3e 	clrlwi  r0,r0,24                               
    c = *buf++;                                                       
    /* 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]) {                            
ffc070d0:	40 be 00 28 	bne+    cr7,ffc070f8 <rtems_termios_enqueue_raw_characters+0x100>
        if (c == tty->termios.c_cc[VSTART]) {                         
ffc070d4:	7f 80 48 00 	cmpw    cr7,r0,r9                              
          /* received VSTOP and VSTART==VSTOP? */                     
          /* then toggle "stop output" status  */                     
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
ffc070d8:	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]) {                         
ffc070dc:	40 be 00 0c 	bne+    cr7,ffc070e8 <rtems_termios_enqueue_raw_characters+0xf0><== ALWAYS TAKEN
          /* received VSTOP and VSTART==VSTOP? */                     
          /* then toggle "stop output" status  */                     
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
ffc070e0:	68 00 00 10 	xori    r0,r0,16                               <== NOT EXECUTED
ffc070e4:	48 00 00 08 	b       ffc070ec <rtems_termios_enqueue_raw_characters+0xf4><== NOT EXECUTED
        }                                                             
        else {                                                        
          /* VSTOP received (other code than VSTART) */               
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
ffc070e8:	60 00 00 10 	ori     r0,r0,16                               
ffc070ec:	90 1f 00 b8 	stw     r0,184(r31)                            
 * NOTE: This routine runs in the context of the                      
 *       device receive interrupt handler.                            
 * Returns the number of characters dropped because of overflow.      
 */                                                                   
int                                                                   
rtems_termios_enqueue_raw_characters (void *ttyp, const char *buf, int len)
ffc070f0:	3b 40 00 01 	li      r26,1                                  
ffc070f4:	48 00 00 20 	b       ffc07114 <rtems_termios_enqueue_raw_characters+0x11c>
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
        }                                                             
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
ffc070f8:	7f 80 d8 00 	cmpw    cr7,r0,r27                             
ffc070fc:	40 be 00 10 	bne+    cr7,ffc0710c <rtems_termios_enqueue_raw_characters+0x114><== ALWAYS TAKEN
        /* VSTART received */                                         
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
ffc07100:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc07104:	54 00 07 34 	rlwinm  r0,r0,0,28,26                          <== NOT EXECUTED
ffc07108:	4b ff ff e4 	b       ffc070ec <rtems_termios_enqueue_raw_characters+0xf4><== NOT EXECUTED
        flow_rcv = true;                                              
      }                                                               
    }                                                                 
    if (flow_rcv) {                                                   
ffc0710c:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc07110:	41 9e 00 5c 	beq-    cr7,ffc0716c <rtems_termios_enqueue_raw_characters+0x174><== ALWAYS TAKEN
      /* restart output according to FL_ORCVXOF flag */               
      if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {   
ffc07114:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc07118:	54 00 06 b6 	rlwinm  r0,r0,0,26,27                          
ffc0711c:	2f 80 00 20 	cmpwi   cr7,r0,32                              
ffc07120:	40 be 01 84 	bne+    cr7,ffc072a4 <rtems_termios_enqueue_raw_characters+0x2ac><== ALWAYS TAKEN
        /* disable interrupts    */                                   
        rtems_interrupt_disable(level);                               
ffc07124:	4b ff e8 c9 	bl      ffc059ec <ppc_interrupt_disable>       <== NOT EXECUTED
ffc07128:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
        tty->flow_ctrl &= ~FL_OSTOP;                                  
ffc0712c:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc07130:	54 00 06 f2 	rlwinm  r0,r0,0,27,25                          <== NOT EXECUTED
ffc07134:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
ffc07138:	80 1f 00 94 	lwz     r0,148(r31)                            <== NOT EXECUTED
ffc0713c:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc07140:	41 be 00 24 	beq+    cr7,ffc07164 <rtems_termios_enqueue_raw_characters+0x16c><== NOT EXECUTED
          /* if chars available, call write function... */            
          (*tty->device.write)(                                       
            tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);
ffc07144:	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)(                                       
ffc07148:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc0714c:	80 9f 00 7c 	lwz     r4,124(r31)                            <== NOT EXECUTED
ffc07150:	80 1f 00 a4 	lwz     r0,164(r31)                            <== NOT EXECUTED
ffc07154:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc07158:	7c 84 4a 14 	add     r4,r4,r9                               <== NOT EXECUTED
ffc0715c:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc07160:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc07164:	7f 80 01 24 	mtmsr   r28                                    <== NOT EXECUTED
ffc07168:	48 00 01 3c 	b       ffc072a4 <rtems_termios_enqueue_raw_characters+0x2ac><== NOT EXECUTED
        }                                                             
        /* reenable interrupts */                                     
        rtems_interrupt_enable(level);                                
      }                                                               
    } else {                                                          
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
ffc0716c:	83 9f 00 60 	lwz     r28,96(r31)                            
ffc07170:	81 3f 00 64 	lwz     r9,100(r31)                            
ffc07174:	38 1c 00 01 	addi    r0,r28,1                               
ffc07178:	7f 80 4b 96 	divwu   r28,r0,r9                              
ffc0717c:	7f 9c 49 d6 	mullw   r28,r28,r9                             
ffc07180:	7f 9c 00 50 	subf    r28,r28,r0                             
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
ffc07184:	4b ff e8 69 	bl      ffc059ec <ppc_interrupt_disable>       
ffc07188:	7c 75 1b 78 	mr      r21,r3                                 
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
ffc0718c:	80 1f 00 5c 	lwz     r0,92(r31)                             
ffc07190:	81 7f 00 64 	lwz     r11,100(r31)                           
            % tty->rawInBuf.Size) > tty->highwater) &&                
ffc07194:	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)       
ffc07198:	7c 00 58 50 	subf    r0,r0,r11                              
ffc0719c:	7c 00 e2 14 	add     r0,r0,r28                              
            % tty->rawInBuf.Size) > tty->highwater) &&                
ffc071a0:	7d 60 4b 96 	divwu   r11,r0,r9                              
ffc071a4:	7d 2b 49 d6 	mullw   r9,r11,r9                              
      }                                                               
    } else {                                                          
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
ffc071a8:	81 7f 00 c0 	lwz     r11,192(r31)                           
            % tty->rawInBuf.Size) > tty->highwater) &&                
ffc071ac:	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)       
ffc071b0:	7f 80 58 40 	cmplw   cr7,r0,r11                             
ffc071b4:	40 9d 00 9c 	ble-    cr7,ffc07250 <rtems_termios_enqueue_raw_characters+0x258><== ALWAYS TAKEN
            % tty->rawInBuf.Size) > tty->highwater) &&                
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
ffc071b8:	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) &&                
ffc071bc:	70 09 00 01 	andi.   r9,r0,1                                <== NOT EXECUTED
ffc071c0:	40 82 00 90 	bne-    ffc07250 <rtems_termios_enqueue_raw_characters+0x258><== NOT EXECUTED
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
        /* incoming data stream should be stopped */                  
        tty->flow_ctrl |= FL_IREQXOF;                                 
ffc071c4:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc071c8:	60 00 00 01 	ori     r0,r0,1                                <== NOT EXECUTED
ffc071cc:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
ffc071d0:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc071d4:	70 00 04 02 	andi.   r0,r0,1026                             <== NOT EXECUTED
ffc071d8:	2f 80 04 00 	cmpwi   cr7,r0,1024                            <== NOT EXECUTED
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
ffc071dc:	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))                
ffc071e0:	40 be 00 40 	bne+    cr7,ffc07220 <rtems_termios_enqueue_raw_characters+0x228><== NOT EXECUTED
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
ffc071e4:	70 09 00 20 	andi.   r9,r0,32                               <== NOT EXECUTED
ffc071e8:	40 82 00 10 	bne-    ffc071f8 <rtems_termios_enqueue_raw_characters+0x200><== NOT EXECUTED
ffc071ec:	80 1f 00 94 	lwz     r0,148(r31)                            <== NOT EXECUTED
ffc071f0:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc071f4:	40 9e 00 5c 	bne-    cr7,ffc07250 <rtems_termios_enqueue_raw_characters+0x258><== 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;                             
ffc071f8:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
ffc071fc:	7e e4 bb 78 	mr      r4,r23                                 <== NOT EXECUTED
ffc07200:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc07204:	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;                             
ffc07208:	60 00 00 02 	ori     r0,r0,2                                <== NOT EXECUTED
ffc0720c:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
ffc07210:	80 1f 00 a4 	lwz     r0,164(r31)                            <== NOT EXECUTED
ffc07214:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc07218:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc0721c:	48 00 00 34 	b       ffc07250 <rtems_termios_enqueue_raw_characters+0x258><== NOT EXECUTED
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        } else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
ffc07220:	70 00 01 04 	andi.   r0,r0,260                              <== NOT EXECUTED
ffc07224:	2f 80 01 00 	cmpwi   cr7,r0,256                             <== NOT EXECUTED
ffc07228:	40 be 00 28 	bne+    cr7,ffc07250 <rtems_termios_enqueue_raw_characters+0x258><== NOT EXECUTED
          tty->flow_ctrl |= FL_IRTSOFF;                               
ffc0722c:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc07230:	60 00 00 04 	ori     r0,r0,4                                <== NOT EXECUTED
ffc07234:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
ffc07238:	80 1f 00 ac 	lwz     r0,172(r31)                            <== NOT EXECUTED
ffc0723c:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc07240:	41 9e 00 10 	beq-    cr7,ffc07250 <rtems_termios_enqueue_raw_characters+0x258><== NOT EXECUTED
            tty->device.stopRemoteTx(tty->minor);                     
ffc07244:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc07248:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc0724c:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc07250:	7e a0 01 24 	mtmsr   r21                                    
      }                                                               
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
ffc07254:	80 1f 00 5c 	lwz     r0,92(r31)                             
ffc07258:	7f 9c 00 00 	cmpw    cr7,r28,r0                             
ffc0725c:	40 be 00 0c 	bne+    cr7,ffc07268 <rtems_termios_enqueue_raw_characters+0x270><== ALWAYS TAKEN
        dropped++;                                                    
ffc07260:	3b de 00 01 	addi    r30,r30,1                              <== NOT EXECUTED
ffc07264:	48 00 00 40 	b       ffc072a4 <rtems_termios_enqueue_raw_characters+0x2ac><== NOT EXECUTED
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
ffc07268:	81 3f 00 58 	lwz     r9,88(r31)                             
ffc0726c:	7f 69 e1 ae 	stbx    r27,r9,r28                             
        tty->rawInBuf.Tail = newTail;                                 
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
ffc07270:	80 1f 00 e4 	lwz     r0,228(r31)                            
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
        dropped++;                                                    
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
        tty->rawInBuf.Tail = newTail;                                 
ffc07274:	93 9f 00 60 	stw     r28,96(r31)                            
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
ffc07278:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0727c:	40 9e 00 28 	bne-    cr7,ffc072a4 <rtems_termios_enqueue_raw_characters+0x2ac><== NEVER TAKEN
ffc07280:	80 1f 00 dc 	lwz     r0,220(r31)                            
ffc07284:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07288:	41 9e 00 1c 	beq-    cr7,ffc072a4 <rtems_termios_enqueue_raw_characters+0x2ac><== ALWAYS TAKEN
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
ffc0728c:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc07290:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc07294:	80 9f 00 e0 	lwz     r4,224(r31)                            <== NOT EXECUTED
ffc07298:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
          tty->tty_rcvwakeup = 1;                                     
ffc0729c:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc072a0:	90 1f 00 e4 	stw     r0,228(r31)                            <== NOT EXECUTED
ffc072a4:	3b bd 00 01 	addi    r29,r29,1                              
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
ffc072a8:	7f 9d c0 00 	cmpw    cr7,r29,r24                            
ffc072ac:	40 9e fe 04 	bne+    cr7,ffc070b0 <rtems_termios_enqueue_raw_characters+0xb8>
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
ffc072b0:	80 1f 00 78 	lwz     r0,120(r31)                            
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
ffc072b4:	80 7f 00 68 	lwz     r3,104(r31)                            
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
ffc072b8:	7c 00 f2 14 	add     r0,r0,r30                              
ffc072bc:	90 1f 00 78 	stw     r0,120(r31)                            
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
ffc072c0:	48 00 0f 11 	bl      ffc081d0 <rtems_semaphore_release>     
  return dropped;                                                     
}                                                                     
ffc072c4:	39 61 00 38 	addi    r11,r1,56                              
ffc072c8:	7f c3 f3 78 	mr      r3,r30                                 
ffc072cc:	4b ff 92 50 	b       ffc0051c <_restgpr_21_x>               
                                                                      

ffc06064 <rtems_termios_ioctl>: } } rtems_status_code rtems_termios_ioctl (void *arg) {
ffc06064:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc06068:	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);
ffc0606c:	38 80 00 00 	li      r4,0                                   
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
ffc06070:	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;                                            
ffc06074:	38 00 00 00 	li      r0,0                                   
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc06078:	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;                   
ffc0607c:	81 23 00 00 	lwz     r9,0(r3)                               
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
ffc06080:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc06084:	7c 7e 1b 78 	mr      r30,r3                                 
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc06088:	83 e9 00 38 	lwz     r31,56(r9)                             
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
ffc0608c:	83 83 00 08 	lwz     r28,8(r3)                              
  rtems_status_code sc;                                               
                                                                      
   args->ioctl_return = 0;                                            
ffc06090:	90 03 00 0c 	stw     r0,12(r3)                              
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc06094:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc06098:	48 00 20 0d 	bl      ffc080a4 <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc0609c:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc060a0:	40 82 03 9c 	bne-    ffc0643c <rtems_termios_ioctl+0x3d8>   <== NEVER TAKEN
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
ffc060a4:	80 1e 00 04 	lwz     r0,4(r30)                              
ffc060a8:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc060ac:	41 9e 02 c8 	beq-    cr7,ffc06374 <rtems_termios_ioctl+0x310>
ffc060b0:	2b 80 00 04 	cmplwi  cr7,r0,4                               
ffc060b4:	41 9d 00 20 	bgt-    cr7,ffc060d4 <rtems_termios_ioctl+0x70>
ffc060b8:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc060bc:	41 9e 00 a0 	beq-    cr7,ffc0615c <rtems_termios_ioctl+0xf8>
ffc060c0:	2b 80 00 02 	cmplwi  cr7,r0,2                               
ffc060c4:	41 9d 02 84 	bgt-    cr7,ffc06348 <rtems_termios_ioctl+0x2e4>
ffc060c8:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc060cc:	40 be 00 44 	bne+    cr7,ffc06110 <rtems_termios_ioctl+0xac><== NEVER TAKEN
ffc060d0:	48 00 00 78 	b       ffc06148 <rtems_termios_ioctl+0xe4>    
ffc060d4:	3d 20 40 04 	lis     r9,16388                               
ffc060d8:	61 29 66 7f 	ori     r9,r9,26239                            
ffc060dc:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc060e0:	41 9e 03 24 	beq-    cr7,ffc06404 <rtems_termios_ioctl+0x3a0><== NEVER TAKEN
ffc060e4:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc060e8:	41 9d 00 10 	bgt-    cr7,ffc060f8 <rtems_termios_ioctl+0x94>
ffc060ec:	2f 80 00 05 	cmpwi   cr7,r0,5                               
ffc060f0:	40 be 00 20 	bne+    cr7,ffc06110 <rtems_termios_ioctl+0xac>
ffc060f4:	48 00 02 6c 	b       ffc06360 <rtems_termios_ioctl+0x2fc>   
ffc060f8:	6c 09 40 04 	xoris   r9,r0,16388                            
ffc060fc:	2f 89 74 1a 	cmpwi   cr7,r9,29722                           
ffc06100:	41 9e 02 f8 	beq-    cr7,ffc063f8 <rtems_termios_ioctl+0x394>
ffc06104:	6c 09 80 04 	xoris   r9,r0,32772                            
ffc06108:	2f 89 74 1b 	cmpwi   cr7,r9,29723                           
ffc0610c:	41 9e 02 7c 	beq-    cr7,ffc06388 <rtems_termios_ioctl+0x324><== ALWAYS TAKEN
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
ffc06110:	80 1f 00 cc 	lwz     r0,204(r31)                            
ffc06114:	3d 20 00 00 	lis     r9,0                                   
ffc06118:	39 29 28 78 	addi    r9,r9,10360                            
ffc0611c:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc06120:	7d 29 02 14 	add     r9,r9,r0                               
ffc06124:	80 09 00 18 	lwz     r0,24(r9)                              
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
    }                                                                 
    else {                                                            
      sc = RTEMS_INVALID_NUMBER;                                      
ffc06128:	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) {          
ffc0612c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06130:	41 9e 03 04 	beq-    cr7,ffc06434 <rtems_termios_ioctl+0x3d0><== NEVER TAKEN
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
ffc06134:	7f e3 fb 78 	mr      r3,r31                                 
ffc06138:	7c 09 03 a6 	mtctr   r0                                     
ffc0613c:	7f c4 f3 78 	mr      r4,r30                                 
ffc06140:	4e 80 04 21 	bctrl                                          
ffc06144:	48 00 02 ac 	b       ffc063f0 <rtems_termios_ioctl+0x38c>   
      sc = RTEMS_INVALID_NUMBER;                                      
    }                                                                 
    break;                                                            
                                                                      
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
ffc06148:	80 7e 00 08 	lwz     r3,8(r30)                              
ffc0614c:	38 9f 00 30 	addi    r4,r31,48                              
ffc06150:	38 a0 00 24 	li      r5,36                                  
ffc06154:	48 00 a8 6d 	bl      ffc109c0 <memcpy>                      
    break;                                                            
ffc06158:	48 00 02 dc 	b       ffc06434 <rtems_termios_ioctl+0x3d0>   
                                                                      
  case RTEMS_IO_SET_ATTRIBUTES:                                       
    tty->termios = *(struct termios *)args->buffer;                   
ffc0615c:	80 9e 00 08 	lwz     r4,8(r30)                              
ffc06160:	38 7f 00 30 	addi    r3,r31,48                              
ffc06164:	38 a0 00 24 	li      r5,36                                  
ffc06168:	48 00 a8 59 	bl      ffc109c0 <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) &&                                 
ffc0616c:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc06170:	70 09 02 00 	andi.   r9,r0,512                              
ffc06174:	41 82 00 70 	beq-    ffc061e4 <rtems_termios_ioctl+0x180>   
      !(tty->termios.c_iflag & IXON)) {                               
ffc06178:	80 1f 00 30 	lwz     r0,48(r31)                             
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
ffc0617c:	70 0b 04 00 	andi.   r11,r0,1024                            
ffc06180:	40 82 00 64 	bne-    ffc061e4 <rtems_termios_ioctl+0x180>   
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
ffc06184:	81 3f 00 b8 	lwz     r9,184(r31)                            
ffc06188:	38 00 fd ef 	li      r0,-529                                
ffc0618c:	7d 20 00 38 	and     r0,r9,r0                               
ffc06190:	90 1f 00 b8 	stw     r0,184(r31)                            
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
ffc06194:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc06198:	70 09 00 20 	andi.   r9,r0,32                               
ffc0619c:	41 a2 00 48 	beq+    ffc061e4 <rtems_termios_ioctl+0x180>   <== ALWAYS TAKEN
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
ffc061a0:	4b ff f8 4d 	bl      ffc059ec <ppc_interrupt_disable>       <== NOT EXECUTED
ffc061a4:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
      tty->flow_ctrl &= ~FL_OSTOP;                                    
ffc061a8:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc061ac:	54 00 06 f2 	rlwinm  r0,r0,0,27,25                          <== NOT EXECUTED
ffc061b0:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
ffc061b4:	80 1f 00 94 	lwz     r0,148(r31)                            <== NOT EXECUTED
ffc061b8:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc061bc:	41 be 00 24 	beq+    cr7,ffc061e0 <rtems_termios_ioctl+0x17c><== NOT EXECUTED
        /* if chars available, call write function... */              
        (*tty->device.write)(                                         
          tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1); 
ffc061c0:	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)(                                         
ffc061c4:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc061c8:	80 9f 00 7c 	lwz     r4,124(r31)                            <== NOT EXECUTED
ffc061cc:	80 1f 00 a4 	lwz     r0,164(r31)                            <== NOT EXECUTED
ffc061d0:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc061d4:	7c 84 4a 14 	add     r4,r4,r9                               <== NOT EXECUTED
ffc061d8:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc061dc:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc061e0:	7f 80 01 24 	mtmsr   r28                                    <== 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)) {
ffc061e4:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc061e8:	70 09 04 00 	andi.   r9,r0,1024                             
ffc061ec:	41 82 00 28 	beq-    ffc06214 <rtems_termios_ioctl+0x1b0>   
ffc061f0:	80 1f 00 30 	lwz     r0,48(r31)                             
ffc061f4:	70 0b 10 00 	andi.   r11,r0,4096                            
ffc061f8:	40 82 00 1c 	bne-    ffc06214 <rtems_termios_ioctl+0x1b0>   
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
ffc061fc:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc06200:	54 00 05 a8 	rlwinm  r0,r0,0,22,20                          
ffc06204:	90 1f 00 b8 	stw     r0,184(r31)                            
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
ffc06208:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc0620c:	54 00 07 fa 	rlwinm  r0,r0,0,31,29                          
ffc06210:	90 1f 00 b8 	stw     r0,184(r31)                            
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) && !(tty->termios.c_cflag & CRTSCTS)) {
ffc06214:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc06218:	70 09 01 00 	andi.   r9,r0,256                              
ffc0621c:	41 82 00 4c 	beq-    ffc06268 <rtems_termios_ioctl+0x204>   <== ALWAYS TAKEN
ffc06220:	80 1f 00 38 	lwz     r0,56(r31)                             <== NOT EXECUTED
ffc06224:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc06228:	41 9c 00 40 	blt-    cr7,ffc06268 <rtems_termios_ioctl+0x204><== NOT EXECUTED
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
ffc0622c:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc06230:	54 00 06 2c 	rlwinm  r0,r0,0,24,22                          <== NOT EXECUTED
ffc06234:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) && (tty->device.startRemoteTx != NULL)) {
ffc06238:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc0623c:	70 0b 00 04 	andi.   r11,r0,4                               <== NOT EXECUTED
ffc06240:	41 82 00 1c 	beq-    ffc0625c <rtems_termios_ioctl+0x1f8>   <== NOT EXECUTED
ffc06244:	80 1f 00 b0 	lwz     r0,176(r31)                            <== NOT EXECUTED
ffc06248:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc0624c:	41 9e 00 10 	beq-    cr7,ffc0625c <rtems_termios_ioctl+0x1f8><== NOT EXECUTED
      tty->device.startRemoteTx(tty->minor);                          
ffc06250:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc06254:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc06258:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
ffc0625c:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc06260:	54 00 07 b8 	rlwinm  r0,r0,0,30,28                          <== NOT EXECUTED
ffc06264:	90 1f 00 b8 	stw     r0,184(r31)                            <== 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) {                               
ffc06268:	80 1f 00 38 	lwz     r0,56(r31)                             
ffc0626c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06270:	40 bc 00 10 	bge+    cr7,ffc06280 <rtems_termios_ioctl+0x21c><== ALWAYS TAKEN
    tty->flow_ctrl |= FL_MDRTS;                                       
ffc06274:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc06278:	60 00 01 00 	ori     r0,r0,256                              <== NOT EXECUTED
ffc0627c:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
ffc06280:	80 1f 00 30 	lwz     r0,48(r31)                             
ffc06284:	70 09 10 00 	andi.   r9,r0,4096                             
ffc06288:	41 82 00 10 	beq-    ffc06298 <rtems_termios_ioctl+0x234>   
    tty->flow_ctrl |= FL_MDXOF;                                       
ffc0628c:	81 3f 00 b8 	lwz     r9,184(r31)                            
ffc06290:	61 29 04 00 	ori     r9,r9,1024                             
ffc06294:	91 3f 00 b8 	stw     r9,184(r31)                            
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
ffc06298:	70 0b 04 00 	andi.   r11,r0,1024                            
ffc0629c:	41 82 00 10 	beq-    ffc062ac <rtems_termios_ioctl+0x248>   
    tty->flow_ctrl |= FL_MDXON;                                       
ffc062a0:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc062a4:	60 00 02 00 	ori     r0,r0,512                              
ffc062a8:	90 1f 00 b8 	stw     r0,184(r31)                            
    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) {                              
ffc062ac:	83 9f 00 3c 	lwz     r28,60(r31)                            
ffc062b0:	73 9c 00 02 	andi.   r28,r28,2                              
ffc062b4:	41 82 00 0c 	beq-    ffc062c0 <rtems_termios_ioctl+0x25c>   
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
ffc062b8:	38 00 00 00 	li      r0,0                                   
ffc062bc:	48 00 00 54 	b       ffc06310 <rtems_termios_ioctl+0x2ac>   
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
ffc062c0:	8b 7f 00 46 	lbz     r27,70(r31)                            
                    rtems_clock_get_ticks_per_second() / 10;          
ffc062c4:	48 00 16 e9 	bl      ffc079ac <rtems_clock_get_ticks_per_second>
ffc062c8:	38 00 00 0a 	li      r0,10                                  
ffc062cc:	89 3f 00 47 	lbz     r9,71(r31)                             
    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] *                    
ffc062d0:	7f 63 d9 d6 	mullw   r27,r3,r27                             
                    rtems_clock_get_ticks_per_second() / 10;          
ffc062d4:	7f 7b 03 96 	divwu   r27,r27,r0                             
      if (tty->termios.c_cc[VTIME]) {                                 
ffc062d8:	88 1f 00 46 	lbz     r0,70(r31)                             
ffc062dc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    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] *                    
ffc062e0:	93 7f 00 54 	stw     r27,84(r31)                            
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
ffc062e4:	41 9e 00 24 	beq-    cr7,ffc06308 <rtems_termios_ioctl+0x2a4>
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
        if (tty->termios.c_cc[VMIN])                                  
ffc062e8:	71 20 00 ff 	andi.   r0,r9,255                              
      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;                   
ffc062ec:	93 9f 00 6c 	stw     r28,108(r31)                           
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
ffc062f0:	93 7f 00 70 	stw     r27,112(r31)                           
        if (tty->termios.c_cc[VMIN])                                  
ffc062f4:	41 82 00 0c 	beq-    ffc06300 <rtems_termios_ioctl+0x29c>   
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
ffc062f8:	93 9f 00 74 	stw     r28,116(r31)                           
ffc062fc:	48 00 00 2c 	b       ffc06328 <rtems_termios_ioctl+0x2c4>   
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
ffc06300:	93 7f 00 74 	stw     r27,116(r31)                           
ffc06304:	48 00 00 24 	b       ffc06328 <rtems_termios_ioctl+0x2c4>   
      } else {                                                        
        if (tty->termios.c_cc[VMIN]) {                                
ffc06308:	71 2b 00 ff 	andi.   r11,r9,255                             
ffc0630c:	41 82 00 14 	beq-    ffc06320 <rtems_termios_ioctl+0x2bc>   <== ALWAYS TAKEN
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
ffc06310:	90 1f 00 6c 	stw     r0,108(r31)                            
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
ffc06314:	90 1f 00 70 	stw     r0,112(r31)                            
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
ffc06318:	90 1f 00 74 	stw     r0,116(r31)                            
ffc0631c:	48 00 00 0c 	b       ffc06328 <rtems_termios_ioctl+0x2c4>   
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
ffc06320:	38 00 00 01 	li      r0,1                                   
ffc06324:	90 1f 00 6c 	stw     r0,108(r31)                            
        }                                                             
      }                                                               
    }                                                                 
    if (tty->device.setAttributes)                                    
ffc06328:	80 1f 00 a8 	lwz     r0,168(r31)                            
ffc0632c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06330:	41 9e 01 04 	beq-    cr7,ffc06434 <rtems_termios_ioctl+0x3d0><== NEVER TAKEN
      (*tty->device.setAttributes)(tty->minor, &tty->termios);        
ffc06334:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc06338:	38 9f 00 30 	addi    r4,r31,48                              
ffc0633c:	7c 09 03 a6 	mtctr   r0                                     
ffc06340:	4e 80 04 21 	bctrl                                          
ffc06344:	48 00 00 f0 	b       ffc06434 <rtems_termios_ioctl+0x3d0>   
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
ffc06348:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc0634c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06350:	41 be 00 e4 	beq+    cr7,ffc06434 <rtems_termios_ioctl+0x3d0><== ALWAYS TAKEN
ffc06354:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc06358:	4b ff f6 a9 	bl      ffc05a00 <drainOutput.part.0>          <== NOT EXECUTED
ffc0635c:	48 00 00 d8 	b       ffc06434 <rtems_termios_ioctl+0x3d0>   <== NOT EXECUTED
  case RTEMS_IO_TCDRAIN:                                              
    drainOutput (tty);                                                
    break;                                                            
                                                                      
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
ffc06360:	81 5c 00 00 	lwz     r10,0(r28)                             
ffc06364:	81 7c 00 04 	lwz     r11,4(r28)                             
ffc06368:	91 5f 00 d4 	stw     r10,212(r31)                           
ffc0636c:	91 7f 00 d8 	stw     r11,216(r31)                           
    break;                                                            
ffc06370:	48 00 00 c4 	b       ffc06434 <rtems_termios_ioctl+0x3d0>   
                                                                      
  case RTEMS_IO_RCVWAKEUP:                                            
    tty->tty_rcv = *wakeup;                                           
ffc06374:	81 5c 00 00 	lwz     r10,0(r28)                             
ffc06378:	81 7c 00 04 	lwz     r11,4(r28)                             
ffc0637c:	91 5f 00 dc 	stw     r10,220(r31)                           
ffc06380:	91 7f 00 e0 	stw     r11,224(r31)                           
    break;                                                            
ffc06384:	48 00 00 b0 	b       ffc06434 <rtems_termios_ioctl+0x3d0>   
#if 1 /* FIXME */                                                     
  case TIOCSETD:                                                      
    /*                                                                
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
ffc06388:	80 1f 00 cc 	lwz     r0,204(r31)                            
ffc0638c:	3d 20 00 00 	lis     r9,0                                   
ffc06390:	39 29 28 78 	addi    r9,r9,10360                            
ffc06394:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc06398:	7d 29 02 14 	add     r9,r9,r0                               
ffc0639c:	80 09 00 04 	lwz     r0,4(r9)                               
ffc063a0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc063a4:	41 9e 00 14 	beq-    cr7,ffc063b8 <rtems_termios_ioctl+0x354>
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
ffc063a8:	7f e3 fb 78 	mr      r3,r31                                 
ffc063ac:	7c 09 03 a6 	mtctr   r0                                     
ffc063b0:	4e 80 04 21 	bctrl                                          
ffc063b4:	7c 7d 1b 78 	mr      r29,r3                                 
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
ffc063b8:	81 3e 00 08 	lwz     r9,8(r30)                              
ffc063bc:	80 09 00 00 	lwz     r0,0(r9)                               
    tty->t_sc = NULL; /* ensure that no more valid data */            
ffc063c0:	39 20 00 00 	li      r9,0                                   
ffc063c4:	91 3f 00 d0 	stw     r9,208(r31)                            
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
ffc063c8:	3d 20 00 00 	lis     r9,0                                   
ffc063cc:	39 29 28 78 	addi    r9,r9,10360                            
     * 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);                                
ffc063d0:	90 1f 00 cc 	stw     r0,204(r31)                            
    tty->t_sc = NULL; /* ensure that no more valid data */            
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
ffc063d4:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc063d8:	7c 09 00 2e 	lwzx    r0,r9,r0                               
ffc063dc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc063e0:	41 9e 00 54 	beq-    cr7,ffc06434 <rtems_termios_ioctl+0x3d0>
      sc = rtems_termios_linesw[tty->t_line].l_open(tty);             
ffc063e4:	7f e3 fb 78 	mr      r3,r31                                 
ffc063e8:	7c 09 03 a6 	mtctr   r0                                     
ffc063ec:	4e 80 04 21 	bctrl                                          
ffc063f0:	7c 7d 1b 78 	mr      r29,r3                                 
ffc063f4:	48 00 00 40 	b       ffc06434 <rtems_termios_ioctl+0x3d0>   
    }                                                                 
    break;                                                            
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
ffc063f8:	80 1f 00 cc 	lwz     r0,204(r31)                            
ffc063fc:	81 3e 00 08 	lwz     r9,8(r30)                              
ffc06400:	48 00 00 30 	b       ffc06430 <rtems_termios_ioctl+0x3cc>   
    break;                                                            
#endif                                                                
   case FIONREAD: {                                                   
      int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;            
ffc06404:	81 3f 00 60 	lwz     r9,96(r31)                             <== NOT EXECUTED
ffc06408:	80 1f 00 5c 	lwz     r0,92(r31)                             <== NOT EXECUTED
      if ( rawnc < 0 )                                                
ffc0640c:	7c 00 48 51 	subf.   r0,r0,r9                               <== NOT EXECUTED
ffc06410:	40 a0 00 0c 	bge+    ffc0641c <rtems_termios_ioctl+0x3b8>   <== NOT EXECUTED
        rawnc += tty->rawInBuf.Size;                                  
ffc06414:	81 3f 00 64 	lwz     r9,100(r31)                            <== NOT EXECUTED
ffc06418:	7c 00 4a 14 	add     r0,r0,r9                               <== NOT EXECUTED
      /* Half guess that this is the right operation */               
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
ffc0641c:	81 5f 00 20 	lwz     r10,32(r31)                            <== NOT EXECUTED
ffc06420:	81 7f 00 24 	lwz     r11,36(r31)                            <== NOT EXECUTED
ffc06424:	81 3e 00 08 	lwz     r9,8(r30)                              <== NOT EXECUTED
ffc06428:	7d 6b 50 50 	subf    r11,r11,r10                            <== NOT EXECUTED
ffc0642c:	7c 0b 02 14 	add     r0,r11,r0                              <== NOT EXECUTED
ffc06430:	90 09 00 00 	stw     r0,0(r9)                               
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
ffc06434:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc06438:	48 00 1d 99 	bl      ffc081d0 <rtems_semaphore_release>     
  args->ioctl_return = sc;                                            
  return sc;                                                          
}                                                                     
ffc0643c:	39 61 00 20 	addi    r11,r1,32                              
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
  args->ioctl_return = sc;                                            
ffc06440:	93 be 00 0c 	stw     r29,12(r30)                            
  return sc;                                                          
}                                                                     
ffc06444:	7f a3 eb 78 	mr      r3,r29                                 
ffc06448:	4b ff a0 ec 	b       ffc00534 <_restgpr_27_x>               
                                                                      

ffc05a64 <rtems_termios_open>: rtems_device_major_number major, rtems_device_minor_number minor, void *arg, const rtems_termios_callbacks *callbacks ) {
ffc05a64:	94 21 ff d0 	stwu    r1,-48(r1)                             
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc05a68:	3d 20 00 00 	lis     r9,0                                   
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc05a6c:	7c 08 02 a6 	mflr    r0                                     
ffc05a70:	be c1 00 08 	stmw    r22,8(r1)                              
ffc05a74:	7c 7c 1b 78 	mr      r28,r3                                 
ffc05a78:	7c 9b 23 78 	mr      r27,r4                                 
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc05a7c:	80 69 27 b8 	lwz     r3,10168(r9)                           
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc05a80:	7c ba 2b 78 	mr      r26,r5                                 
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc05a84:	38 80 00 00 	li      r4,0                                   
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc05a88:	90 01 00 34 	stw     r0,52(r1)                              
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc05a8c:	38 a0 00 00 	li      r5,0                                   
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc05a90:	7c d9 33 78 	mr      r25,r6                                 
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc05a94:	48 00 26 11 	bl      ffc080a4 <rtems_semaphore_obtain>      
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc05a98:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc05a9c:	40 82 03 b8 	bne-    ffc05e54 <rtems_termios_open+0x3f0>    <== NEVER TAKEN
    return sc;                                                        
                                                                      
  for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) { 
ffc05aa0:	3d 20 00 00 	lis     r9,0                                   
ffc05aa4:	83 a9 27 c0 	lwz     r29,10176(r9)                          
ffc05aa8:	7f bf eb 78 	mr      r31,r29                                
ffc05aac:	48 00 00 20 	b       ffc05acc <rtems_termios_open+0x68>     
    if ((tty->major == major) && (tty->minor == minor))               
ffc05ab0:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc05ab4:	7f 80 e0 00 	cmpw    cr7,r0,r28                             
ffc05ab8:	40 be 00 10 	bne+    cr7,ffc05ac8 <rtems_termios_open+0x64> 
ffc05abc:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc05ac0:	7f 80 d8 00 	cmpw    cr7,r0,r27                             
ffc05ac4:	41 9e 03 00 	beq-    cr7,ffc05dc4 <rtems_termios_open+0x360><== ALWAYS TAKEN
  sc = rtems_semaphore_obtain(                                        
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) { 
ffc05ac8:	83 ff 00 00 	lwz     r31,0(r31)                             
ffc05acc:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc05ad0:	40 9e ff e0 	bne+    cr7,ffc05ab0 <rtems_termios_open+0x4c> 
ffc05ad4:	48 00 03 8c 	b       ffc05e60 <rtems_termios_open+0x3fc>    
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
ffc05ad8:	3d 20 00 00 	lis     r9,0                                   
ffc05adc:	80 09 21 b0 	lwz     r0,8624(r9)                            
ffc05ae0:	3a c9 21 b0 	addi    r22,r9,8624                            
ffc05ae4:	90 1f 00 64 	stw     r0,100(r31)                            
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
ffc05ae8:	80 7f 00 64 	lwz     r3,100(r31)                            
ffc05aec:	4b ff f2 19 	bl      ffc04d04 <malloc>                      
    if (tty->rawInBuf.theBuf == NULL) {                               
ffc05af0:	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);               
ffc05af4:	90 7f 00 58 	stw     r3,88(r31)                             
ffc05af8:	7c 78 1b 78 	mr      r24,r3                                 
    if (tty->rawInBuf.theBuf == NULL) {                               
ffc05afc:	40 be 00 20 	bne+    cr7,ffc05b1c <rtems_termios_open+0xb8> 
            free(tty);                                                
ffc05b00:	7f e3 fb 78 	mr      r3,r31                                 
ffc05b04:	4b ff ee 59 	bl      ffc0495c <free>                        
      rtems_semaphore_release (rtems_termios_ttyMutex);               
ffc05b08:	3d 20 00 00 	lis     r9,0                                   
ffc05b0c:	80 69 27 b8 	lwz     r3,10168(r9)                           
      return RTEMS_NO_MEMORY;                                         
ffc05b10:	3b c0 00 1a 	li      r30,26                                 
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
    if (tty->rawInBuf.theBuf == NULL) {                               
            free(tty);                                                
      rtems_semaphore_release (rtems_termios_ttyMutex);               
ffc05b14:	48 00 26 bd 	bl      ffc081d0 <rtems_semaphore_release>     
      return RTEMS_NO_MEMORY;                                         
ffc05b18:	48 00 03 3c 	b       ffc05e54 <rtems_termios_open+0x3f0>    
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
ffc05b1c:	80 16 00 04 	lwz     r0,4(r22)                              
ffc05b20:	90 1f 00 88 	stw     r0,136(r31)                            
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
ffc05b24:	80 7f 00 88 	lwz     r3,136(r31)                            
ffc05b28:	4b ff f1 dd 	bl      ffc04d04 <malloc>                      
    if (tty->rawOutBuf.theBuf == NULL) {                              
ffc05b2c:	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);             
ffc05b30:	90 7f 00 7c 	stw     r3,124(r31)                            
ffc05b34:	7c 77 1b 78 	mr      r23,r3                                 
    if (tty->rawOutBuf.theBuf == NULL) {                              
ffc05b38:	41 9e 00 20 	beq-    cr7,ffc05b58 <rtems_termios_open+0xf4> 
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
ffc05b3c:	80 76 00 08 	lwz     r3,8(r22)                              
ffc05b40:	4b ff f1 c5 	bl      ffc04d04 <malloc>                      
    if (tty->cbuf == NULL) {                                          
ffc05b44:	2f 83 00 00 	cmpwi   cr7,r3,0                               
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
ffc05b48:	90 7f 00 1c 	stw     r3,28(r31)                             
    if (tty->cbuf == NULL) {                                          
ffc05b4c:	40 be 00 18 	bne+    cr7,ffc05b64 <rtems_termios_open+0x100><== ALWAYS TAKEN
            free((void *)(tty->rawOutBuf.theBuf));                    
ffc05b50:	7e e3 bb 78 	mr      r3,r23                                 <== NOT EXECUTED
ffc05b54:	4b ff ee 09 	bl      ffc0495c <free>                        <== NOT EXECUTED
            free((void *)(tty->rawInBuf.theBuf));                     
ffc05b58:	7f 03 c3 78 	mr      r3,r24                                 
ffc05b5c:	4b ff ee 01 	bl      ffc0495c <free>                        
ffc05b60:	4b ff ff a0 	b       ffc05b00 <rtems_termios_open+0x9c>     
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
    tty->back = NULL;                                                 
    if (rtems_termios_ttyHead != NULL)                                
ffc05b64:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
    tty->tty_rcvwakeup  = 0;                                          
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
ffc05b68:	93 bf 00 00 	stw     r29,0(r31)                             
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * Initialize wakeup callbacks                                    
     */                                                               
    tty->tty_snd.sw_pfn = NULL;                                       
ffc05b6c:	38 00 00 00 	li      r0,0                                   
ffc05b70:	90 1f 00 d4 	stw     r0,212(r31)                            
    tty->tty_snd.sw_arg = NULL;                                       
ffc05b74:	90 1f 00 d8 	stw     r0,216(r31)                            
    tty->tty_rcv.sw_pfn = NULL;                                       
ffc05b78:	90 1f 00 dc 	stw     r0,220(r31)                            
    tty->tty_rcv.sw_arg = NULL;                                       
ffc05b7c:	90 1f 00 e0 	stw     r0,224(r31)                            
    tty->tty_rcvwakeup  = 0;                                          
ffc05b80:	90 1f 00 e4 	stw     r0,228(r31)                            
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
    tty->back = NULL;                                                 
ffc05b84:	90 1f 00 04 	stw     r0,4(r31)                              
    if (rtems_termios_ttyHead != NULL)                                
ffc05b88:	41 9e 00 08 	beq-    cr7,ffc05b90 <rtems_termios_open+0x12c>
      rtems_termios_ttyHead->back = tty;                              
ffc05b8c:	93 fd 00 04 	stw     r31,4(r29)                             
    rtems_termios_ttyHead = tty;                                      
ffc05b90:	3d 20 00 00 	lis     r9,0                                   
ffc05b94:	93 e9 27 c0 	stw     r31,10176(r9)                          
    if (rtems_termios_ttyTail == NULL)                                
ffc05b98:	3d 20 00 00 	lis     r9,0                                   
ffc05b9c:	80 09 27 bc 	lwz     r0,10172(r9)                           
ffc05ba0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05ba4:	40 be 00 08 	bne+    cr7,ffc05bac <rtems_termios_open+0x148>
      rtems_termios_ttyTail = tty;                                    
ffc05ba8:	93 e9 27 bc 	stw     r31,10172(r9)                          
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'i', c),                            
ffc05bac:	3f a0 00 00 	lis     r29,0                                  
      rtems_termios_ttyHead->back = tty;                              
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
      rtems_termios_ttyTail = tty;                                    
                                                                      
    tty->minor = minor;                                               
ffc05bb0:	93 7f 00 10 	stw     r27,16(r31)                            
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'i', c),                            
ffc05bb4:	3b bd 21 b0 	addi    r29,r29,8624                           
ffc05bb8:	88 7d 00 0c 	lbz     r3,12(r29)                             
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
ffc05bbc:	38 80 00 01 	li      r4,1                                   
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
      rtems_termios_ttyTail = tty;                                    
                                                                      
    tty->minor = minor;                                               
    tty->major = major;                                               
ffc05bc0:	93 9f 00 0c 	stw     r28,12(r31)                            
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
ffc05bc4:	38 a0 00 54 	li      r5,84                                  
ffc05bc8:	64 63 54 52 	oris    r3,r3,21586                            
ffc05bcc:	60 63 69 00 	ori     r3,r3,26880                            
ffc05bd0:	38 c0 00 00 	li      r6,0                                   
ffc05bd4:	38 ff 00 14 	addi    r7,r31,20                              
ffc05bd8:	48 00 22 59 	bl      ffc07e30 <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)                                       
ffc05bdc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05be0:	40 9e 02 64 	bne-    cr7,ffc05e44 <rtems_termios_open+0x3e0>
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'o', c),                            
ffc05be4:	88 7d 00 0c 	lbz     r3,12(r29)                             
      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 (                                     
ffc05be8:	38 80 00 01 	li      r4,1                                   
ffc05bec:	38 a0 00 54 	li      r5,84                                  
ffc05bf0:	64 63 54 52 	oris    r3,r3,21586                            
ffc05bf4:	60 63 6f 00 	ori     r3,r3,28416                            
ffc05bf8:	38 c0 00 00 	li      r6,0                                   
ffc05bfc:	38 ff 00 18 	addi    r7,r31,24                              
ffc05c00:	48 00 22 31 	bl      ffc07e30 <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)                                       
ffc05c04:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05c08:	40 9e 02 3c 	bne-    cr7,ffc05e44 <rtems_termios_open+0x3e0>
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'x', c),                            
ffc05c0c:	88 7d 00 0c 	lbz     r3,12(r29)                             
      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 (                                     
ffc05c10:	38 80 00 00 	li      r4,0                                   
ffc05c14:	38 a0 00 20 	li      r5,32                                  
ffc05c18:	64 63 54 52 	oris    r3,r3,21586                            
ffc05c1c:	60 63 78 00 	ori     r3,r3,30720                            
ffc05c20:	38 c0 00 00 	li      r6,0                                   
ffc05c24:	38 ff 00 8c 	addi    r7,r31,140                             
ffc05c28:	48 00 22 09 	bl      ffc07e30 <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)                                       
ffc05c2c:	7c 60 1b 79 	mr.     r0,r3                                  
ffc05c30:	40 82 02 14 	bne-    ffc05e44 <rtems_termios_open+0x3e0>    
    tty->rawOutBufState = rob_idle;                                   
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
ffc05c34:	38 9f 00 98 	addi    r4,r31,152                             
      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;                                   
ffc05c38:	90 1f 00 94 	stw     r0,148(r31)                            
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
ffc05c3c:	7c b9 04 aa 	lswi    r5,r25,32                              
ffc05c40:	7c a4 05 aa 	stswi   r5,r4,32                               
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc05c44:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc05c48:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc05c4c:	40 be 00 5c 	bne+    cr7,ffc05ca8 <rtems_termios_open+0x244>
      sc = rtems_task_create (                                        
                                   rtems_build_name ('T', 'x', 'T', c),
ffc05c50:	88 7d 00 0c 	lbz     r3,12(r29)                             
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_create (                                        
ffc05c54:	38 80 00 0a 	li      r4,10                                  
ffc05c58:	38 a0 04 00 	li      r5,1024                                
ffc05c5c:	64 63 54 78 	oris    r3,r3,21624                            
ffc05c60:	60 63 54 00 	ori     r3,r3,21504                            
ffc05c64:	38 c0 05 00 	li      r6,1280                                
ffc05c68:	38 e0 00 00 	li      r7,0                                   
ffc05c6c:	39 1f 00 c8 	addi    r8,r31,200                             
ffc05c70:	48 00 26 19 	bl      ffc08288 <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)                                     
ffc05c74:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05c78:	40 9e 01 cc 	bne-    cr7,ffc05e44 <rtems_termios_open+0x3e0><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
                                   rtems_build_name ('R', 'x', 'T', c),
ffc05c7c:	88 7d 00 0c 	lbz     r3,12(r29)                             
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->txTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
ffc05c80:	38 80 00 09 	li      r4,9                                   
ffc05c84:	38 a0 04 00 	li      r5,1024                                
ffc05c88:	64 63 52 78 	oris    r3,r3,21112                            
ffc05c8c:	60 63 54 00 	ori     r3,r3,21504                            
ffc05c90:	38 c0 05 00 	li      r6,1280                                
ffc05c94:	38 e0 00 00 	li      r7,0                                   
ffc05c98:	39 1f 00 c4 	addi    r8,r31,196                             
ffc05c9c:	48 00 25 ed 	bl      ffc08288 <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)                                     
ffc05ca0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05ca4:	40 9e 01 a0 	bne-    cr7,ffc05e44 <rtems_termios_open+0x3e0><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
ffc05ca8:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc05cac:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05cb0:	41 9e 00 10 	beq-    cr7,ffc05cc0 <rtems_termios_open+0x25c>
ffc05cb4:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc05cb8:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc05cbc:	40 be 00 30 	bne+    cr7,ffc05cec <rtems_termios_open+0x288>
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
        rtems_build_name ('T', 'R', 'r', c),                          
ffc05cc0:	3d 20 00 00 	lis     r9,0                                   
ffc05cc4:	88 69 21 bc 	lbz     r3,8636(r9)                            
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
ffc05cc8:	38 80 00 00 	li      r4,0                                   
ffc05ccc:	38 a0 00 24 	li      r5,36                                  
ffc05cd0:	64 63 54 52 	oris    r3,r3,21586                            
ffc05cd4:	60 63 72 00 	ori     r3,r3,29184                            
ffc05cd8:	38 c0 00 00 	li      r6,0                                   
ffc05cdc:	38 ff 00 68 	addi    r7,r31,104                             
ffc05ce0:	48 00 21 51 	bl      ffc07e30 <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)                                     
ffc05ce4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05ce8:	40 9e 01 5c 	bne-    cr7,ffc05e44 <rtems_termios_open+0x3e0><== NEVER TAKEN
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
ffc05cec:	38 00 25 02 	li      r0,9474                                
ffc05cf0:	90 1f 00 30 	stw     r0,48(r31)                             
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
ffc05cf4:	38 00 18 05 	li      r0,6149                                
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
ffc05cf8:	3d 20 00 00 	lis     r9,0                                   
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
ffc05cfc:	90 1f 00 34 	stw     r0,52(r31)                             
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
ffc05d00:	38 00 08 bd 	li      r0,2237                                
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
ffc05d04:	39 29 21 b0 	addi    r9,r9,8624                             
    /*                                                                
     * 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;              
ffc05d08:	90 1f 00 38 	stw     r0,56(r31)                             
    tty->termios.c_lflag =                                            
ffc05d0c:	38 00 00 00 	li      r0,0                                   
ffc05d10:	60 00 82 3b 	ori     r0,r0,33339                            
ffc05d14:	90 1f 00 3c 	stw     r0,60(r31)                             
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
ffc05d18:	38 00 00 03 	li      r0,3                                   
ffc05d1c:	98 1f 00 41 	stb     r0,65(r31)                             
    tty->termios.c_cc[VQUIT] = '\034';                                
ffc05d20:	38 00 00 1c 	li      r0,28                                  
ffc05d24:	98 1f 00 42 	stb     r0,66(r31)                             
    tty->termios.c_cc[VERASE] = '\177';                               
ffc05d28:	38 00 00 7f 	li      r0,127                                 
ffc05d2c:	98 1f 00 43 	stb     r0,67(r31)                             
    tty->termios.c_cc[VKILL] = '\025';                                
ffc05d30:	38 00 00 15 	li      r0,21                                  
ffc05d34:	98 1f 00 44 	stb     r0,68(r31)                             
    tty->termios.c_cc[VEOF] = '\004';                                 
ffc05d38:	38 00 00 04 	li      r0,4                                   
ffc05d3c:	98 1f 00 45 	stb     r0,69(r31)                             
    tty->termios.c_cc[VEOL] = '\000';                                 
ffc05d40:	38 00 00 00 	li      r0,0                                   
ffc05d44:	98 1f 00 4c 	stb     r0,76(r31)                             
    tty->termios.c_cc[VEOL2] = '\000';                                
ffc05d48:	98 1f 00 51 	stb     r0,81(r31)                             
    tty->termios.c_cc[VSTART] = '\021';                               
ffc05d4c:	38 00 00 11 	li      r0,17                                  
ffc05d50:	98 1f 00 49 	stb     r0,73(r31)                             
    tty->termios.c_cc[VSTOP] = '\023';                                
ffc05d54:	38 00 00 13 	li      r0,19                                  
ffc05d58:	98 1f 00 4a 	stb     r0,74(r31)                             
    tty->termios.c_cc[VSUSP] = '\032';                                
ffc05d5c:	38 00 00 1a 	li      r0,26                                  
ffc05d60:	98 1f 00 4b 	stb     r0,75(r31)                             
    tty->termios.c_cc[VREPRINT] = '\022';                             
ffc05d64:	38 00 00 12 	li      r0,18                                  
ffc05d68:	98 1f 00 4d 	stb     r0,77(r31)                             
    tty->termios.c_cc[VDISCARD] = '\017';                             
ffc05d6c:	38 00 00 0f 	li      r0,15                                  
ffc05d70:	98 1f 00 4e 	stb     r0,78(r31)                             
    tty->termios.c_cc[VWERASE] = '\027';                              
ffc05d74:	38 00 00 17 	li      r0,23                                  
ffc05d78:	98 1f 00 4f 	stb     r0,79(r31)                             
    tty->termios.c_cc[VLNEXT] = '\026';                               
ffc05d7c:	38 00 00 16 	li      r0,22                                  
ffc05d80:	98 1f 00 50 	stb     r0,80(r31)                             
                                                                      
    /* start with no flow control, clear flow control flags */        
    tty->flow_ctrl = 0;                                               
ffc05d84:	38 00 00 00 	li      r0,0                                   
ffc05d88:	90 1f 00 b8 	stw     r0,184(r31)                            
    /*                                                                
     * set low/highwater mark for XON/XOFF support                    
     */                                                               
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
ffc05d8c:	80 1f 00 64 	lwz     r0,100(r31)                            
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
ffc05d90:	89 69 00 0c 	lbz     r11,12(r9)                             
    /* 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;                        
ffc05d94:	54 00 f8 7e 	rlwinm  r0,r0,31,1,31                          
ffc05d98:	90 1f 00 bc 	stw     r0,188(r31)                            
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
ffc05d9c:	2f 8b 00 7a 	cmpwi   cr7,r11,122                            
    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;                        
ffc05da0:	80 1f 00 64 	lwz     r0,100(r31)                            
ffc05da4:	1c 00 00 03 	mulli   r0,r0,3                                
ffc05da8:	54 00 f0 be 	rlwinm  r0,r0,30,2,31                          
ffc05dac:	90 1f 00 c0 	stw     r0,192(r31)                            
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
ffc05db0:	38 0b 00 01 	addi    r0,r11,1                               
ffc05db4:	98 09 00 0c 	stb     r0,12(r9)                              
ffc05db8:	40 be 00 0c 	bne+    cr7,ffc05dc4 <rtems_termios_open+0x360>
      c = 'a';                                                        
ffc05dbc:	38 00 00 61 	li      r0,97                                  
ffc05dc0:	98 09 00 0c 	stb     r0,12(r9)                              
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
ffc05dc4:	81 3a 00 00 	lwz     r9,0(r26)                              
ffc05dc8:	93 e9 00 38 	stw     r31,56(r9)                             
  if (!tty->refcount++) {                                             
ffc05dcc:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc05dd0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc05dd4:	38 09 00 01 	addi    r0,r9,1                                
ffc05dd8:	90 1f 00 08 	stw     r0,8(r31)                              
ffc05ddc:	40 9e 00 6c 	bne-    cr7,ffc05e48 <rtems_termios_open+0x3e4>
    if (tty->device.firstOpen)                                        
ffc05de0:	80 1f 00 98 	lwz     r0,152(r31)                            
ffc05de4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05de8:	41 9e 00 18 	beq-    cr7,ffc05e00 <rtems_termios_open+0x39c><== ALWAYS TAKEN
      (*tty->device.firstOpen)(major, minor, arg);                    
ffc05dec:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc05df0:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc05df4:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc05df8:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc05dfc:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
                                                                      
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc05e00:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc05e04:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc05e08:	40 be 00 40 	bne+    cr7,ffc05e48 <rtems_termios_open+0x3e4>
      sc = rtems_task_start(                                          
ffc05e0c:	80 7f 00 c4 	lwz     r3,196(r31)                            
ffc05e10:	3c 80 ff c0 	lis     r4,-64                                 
ffc05e14:	38 84 72 d0 	addi    r4,r4,29392                            
ffc05e18:	7f e5 fb 78 	mr      r5,r31                                 
ffc05e1c:	48 00 27 35 	bl      ffc08550 <rtems_task_start>            
        tty->rxTaskId, rtems_termios_rxdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc05e20:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05e24:	40 9e 00 20 	bne-    cr7,ffc05e44 <rtems_termios_open+0x3e0><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
                                                                      
      sc = rtems_task_start(                                          
ffc05e28:	80 7f 00 c8 	lwz     r3,200(r31)                            
ffc05e2c:	3c 80 ff c0 	lis     r4,-64                                 
ffc05e30:	38 84 75 2c 	addi    r4,r4,29996                            
ffc05e34:	7f e5 fb 78 	mr      r5,r31                                 
ffc05e38:	48 00 27 19 	bl      ffc08550 <rtems_task_start>            
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc05e3c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05e40:	41 be 00 08 	beq+    cr7,ffc05e48 <rtems_termios_open+0x3e4><== ALWAYS TAKEN
        rtems_fatal_error_occurred (sc);                              
ffc05e44:	48 00 2a 35 	bl      ffc08878 <rtems_fatal_error_occurred>  
    }                                                                 
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
ffc05e48:	3d 20 00 00 	lis     r9,0                                   
ffc05e4c:	80 69 27 b8 	lwz     r3,10168(r9)                           
ffc05e50:	48 00 23 81 	bl      ffc081d0 <rtems_semaphore_release>     
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc05e54:	39 61 00 30 	addi    r11,r1,48                              
ffc05e58:	7f c3 f3 78 	mr      r3,r30                                 
ffc05e5c:	4b ff a6 c4 	b       ffc00520 <_restgpr_22_x>               
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
ffc05e60:	38 60 00 01 	li      r3,1                                   
ffc05e64:	38 80 00 e8 	li      r4,232                                 
ffc05e68:	4b ff e5 dd 	bl      ffc04444 <calloc>                      
    if (tty == NULL) {                                                
ffc05e6c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc05e70:	40 82 fc 68 	bne+    ffc05ad8 <rtems_termios_open+0x74>     
ffc05e74:	4b ff fc 94 	b       ffc05b08 <rtems_termios_open+0xa4>     
                                                                      

ffc0644c <rtems_termios_puts>: * Send characters to device-specific code */ void rtems_termios_puts ( const void *_buf, int len, struct rtems_termios_tty *tty) {
ffc0644c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc06450:	7c 08 02 a6 	mflr    r0                                     
ffc06454:	90 01 00 2c 	stw     r0,44(r1)                              
  const unsigned char *buf = _buf;                                    
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
ffc06458:	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)           
{                                                                     
ffc0645c:	bf 01 00 08 	stmw    r24,8(r1)                              
ffc06460:	7c 7b 1b 78 	mr      r27,r3                                 
  const unsigned char *buf = _buf;                                    
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
ffc06464:	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)           
{                                                                     
ffc06468:	7c 9a 23 78 	mr      r26,r4                                 
ffc0646c:	7c bf 2b 78 	mr      r31,r5                                 
  const unsigned char *buf = _buf;                                    
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
ffc06470:	40 be 00 20 	bne+    cr7,ffc06490 <rtems_termios_puts+0x44> 
    (*tty->device.write)(tty->minor, buf, len);                       
ffc06474:	80 05 00 a4 	lwz     r0,164(r5)                             
ffc06478:	7f 64 db 78 	mr      r4,r27                                 
ffc0647c:	80 65 00 10 	lwz     r3,16(r5)                              
ffc06480:	7f 45 d3 78 	mr      r5,r26                                 
ffc06484:	7c 09 03 a6 	mtctr   r0                                     
ffc06488:	4e 80 04 21 	bctrl                                          
    return;                                                           
ffc0648c:	48 00 00 d8 	b       ffc06564 <rtems_termios_puts+0x118>    
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
ffc06490:	83 a5 00 80 	lwz     r29,128(r5)                            
  while (len) {                                                       
ffc06494:	3b c0 00 00 	li      r30,0                                  
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
    rtems_interrupt_disable (level);                                  
    while (newHead == tty->rawOutBuf.Tail) {                          
      tty->rawOutBufState = rob_wait;                                 
ffc06498:	3b 00 00 02 	li      r24,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;                                 
ffc0649c:	3b 20 00 01 	li      r25,1                                  
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, buf, len);                       
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
ffc064a0:	48 00 00 bc 	b       ffc0655c <rtems_termios_puts+0x110>    
     *  len -= ncopy                                                  
     *                                                                
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
ffc064a4:	80 1f 00 88 	lwz     r0,136(r31)                            
ffc064a8:	3b bd 00 01 	addi    r29,r29,1                              
ffc064ac:	7d 3d 03 96 	divwu   r9,r29,r0                              
ffc064b0:	7c 09 01 d6 	mullw   r0,r9,r0                               
ffc064b4:	7f a0 e8 50 	subf    r29,r0,r29                             
ffc064b8:	48 00 00 28 	b       ffc064e0 <rtems_termios_puts+0x94>     
    rtems_interrupt_disable (level);                                  
    while (newHead == tty->rawOutBuf.Tail) {                          
      tty->rawOutBufState = rob_wait;                                 
ffc064bc:	93 1f 00 94 	stw     r24,148(r31)                           
ffc064c0:	7f 80 01 24 	mtmsr   r28                                    
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
ffc064c4:	80 7f 00 8c 	lwz     r3,140(r31)                            
ffc064c8:	38 80 00 00 	li      r4,0                                   
ffc064cc:	38 a0 00 00 	li      r5,0                                   
ffc064d0:	48 00 1b d5 	bl      ffc080a4 <rtems_semaphore_obtain>      
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc064d4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc064d8:	41 be 00 08 	beq+    cr7,ffc064e0 <rtems_termios_puts+0x94> <== ALWAYS TAKEN
        rtems_fatal_error_occurred (sc);                              
ffc064dc:	48 00 23 9d 	bl      ffc08878 <rtems_fatal_error_occurred>  <== NOT EXECUTED
      rtems_interrupt_disable (level);                                
ffc064e0:	4b ff f5 0d 	bl      ffc059ec <ppc_interrupt_disable>       
ffc064e4:	7c 7c 1b 78 	mr      r28,r3                                 
     * 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) {                          
ffc064e8:	80 1f 00 84 	lwz     r0,132(r31)                            
ffc064ec:	7f 9d 00 00 	cmpw    cr7,r29,r0                             
ffc064f0:	41 9e ff cc 	beq+    cr7,ffc064bc <rtems_termios_puts+0x70> 
        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++;              
ffc064f4:	80 1f 00 80 	lwz     r0,128(r31)                            
ffc064f8:	7d 7b f0 ae 	lbzx    r11,r27,r30                            
ffc064fc:	81 3f 00 7c 	lwz     r9,124(r31)                            
ffc06500:	7d 69 01 ae 	stbx    r11,r9,r0                              
    tty->rawOutBuf.Head = newHead;                                    
    if (tty->rawOutBufState == rob_idle) {                            
ffc06504:	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;                                    
ffc06508:	93 bf 00 80 	stw     r29,128(r31)                           
    if (tty->rawOutBufState == rob_idle) {                            
ffc0650c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06510:	40 9e 00 44 	bne-    cr7,ffc06554 <rtems_termios_puts+0x108>
      /* check, whether XOFF has been received */                     
      if (!(tty->flow_ctrl & FL_ORCVXOF)) {                           
ffc06514:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc06518:	70 09 00 10 	andi.   r9,r0,16                               
ffc0651c:	40 a2 00 28 	bne+    ffc06544 <rtems_termios_puts+0xf8>     <== NEVER TAKEN
        (*tty->device.write)(tty->minor,                              
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
ffc06520:	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,                              
ffc06524:	38 a0 00 01 	li      r5,1                                   
ffc06528:	80 9f 00 7c 	lwz     r4,124(r31)                            
ffc0652c:	80 1f 00 a4 	lwz     r0,164(r31)                            
ffc06530:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc06534:	7c 84 4a 14 	add     r4,r4,r9                               
ffc06538:	7c 09 03 a6 	mtctr   r0                                     
ffc0653c:	4e 80 04 21 	bctrl                                          
ffc06540:	48 00 00 10 	b       ffc06550 <rtems_termios_puts+0x104>    
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
      } else {                                                        
        /* remember that output has been stopped due to flow ctrl*/   
        tty->flow_ctrl |= FL_OSTOP;                                   
ffc06544:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc06548:	60 00 00 20 	ori     r0,r0,32                               <== NOT EXECUTED
ffc0654c:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy;                                 
ffc06550:	93 3f 00 94 	stw     r25,148(r31)                           
ffc06554:	7f 80 01 24 	mtmsr   r28                                    
ffc06558:	3b de 00 01 	addi    r30,r30,1                              
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, buf, len);                       
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
ffc0655c:	7f 9e d0 00 	cmpw    cr7,r30,r26                            
ffc06560:	40 9e ff 44 	bne+    cr7,ffc064a4 <rtems_termios_puts+0x58> 
      tty->rawOutBufState = rob_busy;                                 
    }                                                                 
    rtems_interrupt_enable (level);                                   
    len--;                                                            
  }                                                                   
}                                                                     
ffc06564:	39 61 00 28 	addi    r11,r1,40                              
ffc06568:	4b ff 9f c0 	b       ffc00528 <_restgpr_24_x>               
                                                                      

ffc06c5c <rtems_termios_read>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_termios_read (void *arg) {
ffc06c5c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc06c60:	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);
ffc06c64:	38 80 00 00 	li      r4,0                                   
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
ffc06c68:	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);
ffc06c6c:	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;                   
ffc06c70:	81 23 00 00 	lwz     r9,0(r3)                               
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
ffc06c74:	be e1 00 0c 	stmw    r23,12(r1)                             
ffc06c78:	7c 7e 1b 78 	mr      r30,r3                                 
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc06c7c:	83 e9 00 38 	lwz     r31,56(r9)                             
  uint32_t   count = args->count;                                     
ffc06c80:	83 63 00 14 	lwz     r27,20(r3)                             
  char      *buffer = args->buffer;                                   
ffc06c84:	83 43 00 10 	lwz     r26,16(r3)                             
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc06c88:	80 7f 00 14 	lwz     r3,20(r31)                             
ffc06c8c:	48 00 14 19 	bl      ffc080a4 <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc06c90:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc06c94:	40 82 03 30 	bne-    ffc06fc4 <rtems_termios_read+0x368>    <== NEVER TAKEN
    return sc;                                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_read != NULL) {             
ffc06c98:	80 1f 00 cc 	lwz     r0,204(r31)                            
ffc06c9c:	3d 20 00 00 	lis     r9,0                                   
ffc06ca0:	39 29 28 78 	addi    r9,r9,10360                            
ffc06ca4:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc06ca8:	7d 29 02 14 	add     r9,r9,r0                               
ffc06cac:	80 09 00 08 	lwz     r0,8(r9)                               
ffc06cb0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06cb4:	41 9e 00 1c 	beq-    cr7,ffc06cd0 <rtems_termios_read+0x74> 
    sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);          
ffc06cb8:	7f e3 fb 78 	mr      r3,r31                                 
ffc06cbc:	7c 09 03 a6 	mtctr   r0                                     
ffc06cc0:	7f c4 f3 78 	mr      r4,r30                                 
ffc06cc4:	4e 80 04 21 	bctrl                                          
ffc06cc8:	7c 7c 1b 78 	mr      r28,r3                                 
ffc06ccc:	48 00 02 e8 	b       ffc06fb4 <rtems_termios_read+0x358>    
    tty->tty_rcvwakeup = 0;                                           
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
ffc06cd0:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc06cd4:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc06cd8:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc06cdc:	40 be 02 b0 	bne+    cr7,ffc06f8c <rtems_termios_read+0x330><== NEVER TAKEN
    tty->cindex = tty->ccount = 0;                                    
    tty->read_start_column = tty->column;                             
ffc06ce0:	80 1f 00 28 	lwz     r0,40(r31)                             
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
ffc06ce4:	93 9f 00 20 	stw     r28,32(r31)                            
    tty->read_start_column = tty->column;                             
ffc06ce8:	90 1f 00 2c 	stw     r0,44(r31)                             
    if (tty->device.pollRead != NULL &&                               
ffc06cec:	80 1f 00 a0 	lwz     r0,160(r31)                            
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
ffc06cf0:	93 9f 00 24 	stw     r28,36(r31)                            
    tty->read_start_column = tty->column;                             
    if (tty->device.pollRead != NULL &&                               
ffc06cf4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06cf8:	41 9e 00 f8 	beq-    cr7,ffc06df0 <rtems_termios_read+0x194>
ffc06cfc:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc06d00:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06d04:	40 be 00 ec 	bne+    cr7,ffc06df0 <rtems_termios_read+0x194>
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
ffc06d08:	80 1f 00 3c 	lwz     r0,60(r31)                             
ffc06d0c:	70 09 00 02 	andi.   r9,r0,2                                
ffc06d10:	41 82 00 40 	beq-    ffc06d50 <rtems_termios_read+0xf4>     
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
ffc06d14:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc06d18:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc06d1c:	7c 09 03 a6 	mtctr   r0                                     
ffc06d20:	4e 80 04 21 	bctrl                                          
      if (n < 0) {                                                    
ffc06d24:	2c 03 00 00 	cmpwi   r3,0                                   
ffc06d28:	40 a0 00 10 	bge+    ffc06d38 <rtems_termios_read+0xdc>     
        rtems_task_wake_after (1);                                    
ffc06d2c:	38 60 00 01 	li      r3,1                                   
ffc06d30:	48 00 18 f9 	bl      ffc08628 <rtems_task_wake_after>       
ffc06d34:	4b ff ff e0 	b       ffc06d14 <rtems_termios_read+0xb8>     
      } else {                                                        
        if  (siproc (n, tty))                                         
ffc06d38:	54 63 06 3e 	clrlwi  r3,r3,24                               
ffc06d3c:	7f e4 fb 78 	mr      r4,r31                                 
ffc06d40:	4b ff fd e1 	bl      ffc06b20 <siproc>                      
ffc06d44:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06d48:	41 9e ff cc 	beq+    cr7,ffc06d14 <rtems_termios_read+0xb8> 
ffc06d4c:	48 00 02 40 	b       ffc06f8c <rtems_termios_read+0x330>    
      }                                                               
    }                                                                 
  } else {                                                            
    rtems_interval then, now;                                         
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
ffc06d50:	48 00 0c 75 	bl      ffc079c4 <rtems_clock_get_ticks_since_boot>
ffc06d54:	7c 7d 1b 78 	mr      r29,r3                                 
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
ffc06d58:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc06d5c:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc06d60:	7c 09 03 a6 	mtctr   r0                                     
ffc06d64:	4e 80 04 21 	bctrl                                          
      if (n < 0) {                                                    
ffc06d68:	2c 03 00 00 	cmpwi   r3,0                                   
ffc06d6c:	40 80 00 50 	bge-    ffc06dbc <rtems_termios_read+0x160>    
        if (tty->termios.c_cc[VMIN]) {                                
ffc06d70:	88 1f 00 47 	lbz     r0,71(r31)                             
ffc06d74:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06d78:	88 1f 00 46 	lbz     r0,70(r31)                             
          if (tty->termios.c_cc[VTIME] && tty->ccount) {              
ffc06d7c:	70 09 00 ff 	andi.   r9,r0,255                              
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
        if (tty->termios.c_cc[VMIN]) {                                
ffc06d80:	41 9e 00 18 	beq-    cr7,ffc06d98 <rtems_termios_read+0x13c><== NEVER TAKEN
          if (tty->termios.c_cc[VTIME] && tty->ccount) {              
ffc06d84:	41 82 00 2c 	beq-    ffc06db0 <rtems_termios_read+0x154>    <== NEVER TAKEN
ffc06d88:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc06d8c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06d90:	41 be 00 20 	beq+    cr7,ffc06db0 <rtems_termios_read+0x154>
ffc06d94:	48 00 00 08 	b       ffc06d9c <rtems_termios_read+0x140>    
            if ((now - then) > tty->vtimeTicks) {                     
              break;                                                  
            }                                                         
          }                                                           
        } else {                                                      
          if (!tty->termios.c_cc[VTIME])                              
ffc06d98:	41 82 01 f4 	beq-    ffc06f8c <rtems_termios_read+0x330>    <== NOT EXECUTED
            break;                                                    
          now = rtems_clock_get_ticks_since_boot();                   
ffc06d9c:	48 00 0c 29 	bl      ffc079c4 <rtems_clock_get_ticks_since_boot>
          if ((now - then) > tty->vtimeTicks) {                       
ffc06da0:	80 1f 00 54 	lwz     r0,84(r31)                             
ffc06da4:	7c 7d 18 50 	subf    r3,r29,r3                              
ffc06da8:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc06dac:	41 9d 01 e0 	bgt-    cr7,ffc06f8c <rtems_termios_read+0x330>
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
ffc06db0:	38 60 00 01 	li      r3,1                                   
ffc06db4:	48 00 18 75 	bl      ffc08628 <rtems_task_wake_after>       
ffc06db8:	4b ff ff a0 	b       ffc06d58 <rtems_termios_read+0xfc>     
      } else {                                                        
        siproc (n, tty);                                              
ffc06dbc:	54 63 06 3e 	clrlwi  r3,r3,24                               
ffc06dc0:	7f e4 fb 78 	mr      r4,r31                                 
ffc06dc4:	4b ff fd 5d 	bl      ffc06b20 <siproc>                      
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
ffc06dc8:	88 1f 00 47 	lbz     r0,71(r31)                             
ffc06dcc:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc06dd0:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc06dd4:	40 9c 01 b8 	bge-    cr7,ffc06f8c <rtems_termios_read+0x330>
          break;                                                      
        if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])      
ffc06dd8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06ddc:	41 be ff 7c 	beq-    cr7,ffc06d58 <rtems_termios_read+0xfc> <== NEVER TAKEN
ffc06de0:	88 1f 00 46 	lbz     r0,70(r31)                             
ffc06de4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06de8:	41 9e ff 70 	beq+    cr7,ffc06d58 <rtems_termios_read+0xfc> <== NEVER TAKEN
ffc06dec:	4b ff ff 64 	b       ffc06d50 <rtems_termios_read+0xf4>     
 * Fill the input buffer from the raw input queue                     
 */                                                                   
static rtems_status_code                                              
fillBufferQueue (struct rtems_termios_tty *tty)                       
{                                                                     
  rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;        
ffc06df0:	83 3f 00 74 	lwz     r25,116(r31)                           
  rtems_status_code sc;                                               
  int               wait = (int)1;                                    
ffc06df4:	3b a0 00 01 	li      r29,1                                  
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
                       (tty->ccount < (CBUFSIZE-1))) {                
ffc06df8:	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)(                                       
ffc06dfc:	3b 1f 00 49 	addi    r24,r31,73                             
ffc06e00:	48 00 01 20 	b       ffc06f20 <rtems_termios_read+0x2c4>    
    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;        
ffc06e04:	81 3f 00 5c 	lwz     r9,92(r31)                             
ffc06e08:	81 7f 00 64 	lwz     r11,100(r31)                           
ffc06e0c:	39 29 00 01 	addi    r9,r9,1                                
ffc06e10:	7c 09 5b 96 	divwu   r0,r9,r11                              
ffc06e14:	7c 00 59 d6 	mullw   r0,r0,r11                              
ffc06e18:	7c 00 48 50 	subf    r0,r0,r9                               
      c = tty->rawInBuf.theBuf[newHead];                              
ffc06e1c:	81 3f 00 58 	lwz     r9,88(r31)                             
ffc06e20:	7f 29 00 ae 	lbzx    r25,r9,r0                              
      tty->rawInBuf.Head = newHead;                                   
ffc06e24:	90 1f 00 5c 	stw     r0,92(r31)                             
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
ffc06e28:	81 7f 00 60 	lwz     r11,96(r31)                            
ffc06e2c:	81 5f 00 64 	lwz     r10,100(r31)                           
          % tty->rawInBuf.Size)                                       
ffc06e30:	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)             
ffc06e34:	7d 6a 5a 14 	add     r11,r10,r11                            
ffc06e38:	7c 00 58 50 	subf    r0,r0,r11                              
          % tty->rawInBuf.Size)                                       
ffc06e3c:	7d 60 4b 96 	divwu   r11,r0,r9                              
ffc06e40:	7d 2b 49 d6 	mullw   r9,r11,r9                              
      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)             
ffc06e44:	81 7f 00 bc 	lwz     r11,188(r31)                           
          % tty->rawInBuf.Size)                                       
ffc06e48:	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)             
ffc06e4c:	7f 80 58 40 	cmplw   cr7,r0,r11                             
ffc06e50:	40 9c 00 84 	bge-    cr7,ffc06ed4 <rtems_termios_read+0x278><== NEVER TAKEN
          % tty->rawInBuf.Size)                                       
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
ffc06e54:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc06e58:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
ffc06e5c:	90 1f 00 b8 	stw     r0,184(r31)                            
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
ffc06e60:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc06e64:	70 00 02 02 	andi.   r0,r0,514                              
ffc06e68:	2f 80 02 02 	cmpwi   cr7,r0,514                             
ffc06e6c:	40 be 00 38 	bne+    cr7,ffc06ea4 <rtems_termios_read+0x248><== ALWAYS TAKEN
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((tty->rawOutBufState == rob_idle)                     
ffc06e70:	80 1f 00 94 	lwz     r0,148(r31)                            <== NOT EXECUTED
ffc06e74:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc06e78:	41 9e 00 10 	beq-    cr7,ffc06e88 <rtems_termios_read+0x22c><== NOT EXECUTED
          || (tty->flow_ctrl & FL_OSTOP))) {                          
ffc06e7c:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc06e80:	70 09 00 20 	andi.   r9,r0,32                               <== NOT EXECUTED
ffc06e84:	41 82 00 20 	beq-    ffc06ea4 <rtems_termios_read+0x248>    <== NOT EXECUTED
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
ffc06e88:	80 1f 00 a4 	lwz     r0,164(r31)                            <== NOT EXECUTED
ffc06e8c:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc06e90:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc06e94:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc06e98:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc06e9c:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc06ea0:	48 00 00 34 	b       ffc06ed4 <rtems_termios_read+0x278>    <== NOT EXECUTED
            tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);     
        } else if (tty->flow_ctrl & FL_MDRTS) {                       
ffc06ea4:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc06ea8:	70 09 01 00 	andi.   r9,r0,256                              
ffc06eac:	41 82 00 28 	beq-    ffc06ed4 <rtems_termios_read+0x278>    <== ALWAYS TAKEN
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
ffc06eb0:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc06eb4:	54 00 07 b8 	rlwinm  r0,r0,0,30,28                          <== NOT EXECUTED
ffc06eb8:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
ffc06ebc:	80 1f 00 b0 	lwz     r0,176(r31)                            <== NOT EXECUTED
ffc06ec0:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc06ec4:	41 9e 00 10 	beq-    cr7,ffc06ed4 <rtems_termios_read+0x278><== NOT EXECUTED
            tty->device.startRemoteTx(tty->minor);                    
ffc06ec8:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc06ecc:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc06ed0:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
ffc06ed4:	80 1f 00 3c 	lwz     r0,60(r31)                             
        if (siproc (c, tty))                                          
ffc06ed8:	7f 23 cb 78 	mr      r3,r25                                 
ffc06edc:	7f e4 fb 78 	mr      r4,r31                                 
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
ffc06ee0:	70 09 00 02 	andi.   r9,r0,2                                
ffc06ee4:	41 82 00 18 	beq-    ffc06efc <rtems_termios_read+0x2a0>    <== NEVER TAKEN
        if (siproc (c, tty))                                          
ffc06ee8:	4b ff fc 39 	bl      ffc06b20 <siproc>                      
          wait = 0;                                                   
ffc06eec:	30 63 ff ff 	addic   r3,r3,-1                               
ffc06ef0:	7c 63 19 10 	subfe   r3,r3,r3                               
ffc06ef4:	7f bd 18 38 	and     r29,r29,r3                             
ffc06ef8:	48 00 00 24 	b       ffc06f1c <rtems_termios_read+0x2c0>    
      } else {                                                        
        siproc (c, tty);                                              
ffc06efc:	4b ff fc 25 	bl      ffc06b20 <siproc>                      <== NOT EXECUTED
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
ffc06f00:	88 1f 00 47 	lbz     r0,71(r31)                             <== NOT EXECUTED
ffc06f04:	81 3f 00 20 	lwz     r9,32(r31)                             <== NOT EXECUTED
          wait = 0;                                                   
ffc06f08:	7f 89 00 00 	cmpw    cr7,r9,r0                              <== NOT EXECUTED
ffc06f0c:	7c 00 00 26 	mfcr    r0                                     <== NOT EXECUTED
ffc06f10:	54 00 ef fe 	rlwinm  r0,r0,29,31,31                         <== NOT EXECUTED
ffc06f14:	7c 00 00 d0 	neg     r0,r0                                  <== NOT EXECUTED
ffc06f18:	7f bd 00 38 	and     r29,r29,r0                             <== NOT EXECUTED
      }                                                               
      timeout = tty->rawInBufSemaphoreTimeout;                        
ffc06f1c:	83 3f 00 70 	lwz     r25,112(r31)                           
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc06f20:	81 3f 00 5c 	lwz     r9,92(r31)                             
ffc06f24:	80 1f 00 60 	lwz     r0,96(r31)                             
ffc06f28:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc06f2c:	41 9e 00 1c 	beq-    cr7,ffc06f48 <rtems_termios_read+0x2ec>
                       (tty->ccount < (CBUFSIZE-1))) {                
ffc06f30:	39 37 21 b0 	addi    r9,r23,8624                            
ffc06f34:	81 29 00 08 	lwz     r9,8(r9)                               
ffc06f38:	38 09 ff ff 	addi    r0,r9,-1                               
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc06f3c:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc06f40:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc06f44:	41 9c fe c0 	blt+    cr7,ffc06e04 <rtems_termios_read+0x1a8><== ALWAYS TAKEN
    }                                                                 
                                                                      
    /*                                                                
     * Wait for characters                                            
     */                                                               
    if ( wait ) {                                                     
ffc06f48:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc06f4c:	41 be 00 40 	beq+    cr7,ffc06f8c <rtems_termios_read+0x330>
      sc = rtems_semaphore_obtain(                                    
ffc06f50:	80 7f 00 68 	lwz     r3,104(r31)                            
ffc06f54:	7f 25 cb 78 	mr      r5,r25                                 
ffc06f58:	80 9f 00 6c 	lwz     r4,108(r31)                            
ffc06f5c:	48 00 11 49 	bl      ffc080a4 <rtems_semaphore_obtain>      
        tty->rawInBuf.Semaphore, tty->rawInBufSemaphoreOptions, timeout);
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc06f60:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06f64:	41 9e ff bc 	beq+    cr7,ffc06f20 <rtems_termios_read+0x2c4><== ALWAYS TAKEN
ffc06f68:	48 00 00 24 	b       ffc06f8c <rtems_termios_read+0x330>    <== NOT EXECUTED
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
    *buffer++ = tty->cbuf[tty->cindex++];                             
ffc06f6c:	81 7f 00 1c 	lwz     r11,28(r31)                            
    count--;                                                          
ffc06f70:	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++];                             
ffc06f74:	7c 0b 48 ae 	lbzx    r0,r11,r9                              
ffc06f78:	39 29 00 01 	addi    r9,r9,1                                
ffc06f7c:	98 1a 00 00 	stb     r0,0(r26)                              
ffc06f80:	3b 5a 00 01 	addi    r26,r26,1                              
ffc06f84:	91 3f 00 24 	stw     r9,36(r31)                             
ffc06f88:	48 00 00 0c 	b       ffc06f94 <rtems_termios_read+0x338>    
ffc06f8c:	38 1b 00 01 	addi    r0,r27,1                               
ffc06f90:	7c 09 03 a6 	mtctr   r0                                     
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
ffc06f94:	42 40 00 14 	bdz-    ffc06fa8 <rtems_termios_read+0x34c>    
ffc06f98:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc06f9c:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc06fa0:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc06fa4:	41 9c ff c8 	blt+    cr7,ffc06f6c <rtems_termios_read+0x310>
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
ffc06fa8:	80 1e 00 14 	lwz     r0,20(r30)                             
ffc06fac:	7f 7b 00 50 	subf    r27,r27,r0                             
ffc06fb0:	93 7e 00 1c 	stw     r27,28(r30)                            
  tty->tty_rcvwakeup = 0;                                             
ffc06fb4:	38 00 00 00 	li      r0,0                                   
  rtems_semaphore_release (tty->isem);                                
ffc06fb8:	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;                            
  tty->tty_rcvwakeup = 0;                                             
ffc06fbc:	90 1f 00 e4 	stw     r0,228(r31)                            
  rtems_semaphore_release (tty->isem);                                
ffc06fc0:	48 00 12 11 	bl      ffc081d0 <rtems_semaphore_release>     
  return sc;                                                          
}                                                                     
ffc06fc4:	39 61 00 30 	addi    r11,r1,48                              
ffc06fc8:	7f 83 e3 78 	mr      r3,r28                                 
ffc06fcc:	4b ff 95 58 	b       ffc00524 <_restgpr_23_x>               
                                                                      

ffc07348 <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) {
ffc07348:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0734c:	7c 08 02 a6 	mflr    r0                                     
ffc07350:	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))         
ffc07354:	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)      
{                                                                     
ffc07358:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc0735c:	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))         
ffc07360:	70 00 04 03 	andi.   r0,r0,1027                             
ffc07364:	2f 80 04 01 	cmpwi   cr7,r0,1025                            
ffc07368:	40 be 00 38 	bne+    cr7,ffc073a0 <rtems_termios_refill_transmitter+0x58><== ALWAYS TAKEN
      == (FL_MDXOF | FL_IREQXOF)) {                                   
    /* XOFF should be sent now... */                                  
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTOP]), 1);
ffc0736c:	80 03 00 a4 	lwz     r0,164(r3)                             <== NOT EXECUTED
ffc07370:	38 9f 00 4a 	addi    r4,r31,74                              <== NOT EXECUTED
ffc07374:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc07378:	80 63 00 10 	lwz     r3,16(r3)                              <== NOT EXECUTED
ffc0737c:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc07380:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
ffc07384:	4b ff e6 69 	bl      ffc059ec <ppc_interrupt_disable>       <== NOT EXECUTED
    tty->t_dqlen--;                                                   
ffc07388:	81 3f 00 90 	lwz     r9,144(r31)                            <== NOT EXECUTED
ffc0738c:	38 09 ff ff 	addi    r0,r9,-1                               <== NOT EXECUTED
ffc07390:	90 1f 00 90 	stw     r0,144(r31)                            <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
ffc07394:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc07398:	60 00 00 02 	ori     r0,r0,2                                <== NOT EXECUTED
ffc0739c:	48 00 00 44 	b       ffc073e0 <rtems_termios_refill_transmitter+0x98><== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
                                                                      
  } else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF)) == FL_ISNTXOF) {
ffc073a0:	80 03 00 b8 	lwz     r0,184(r3)                             
ffc073a4:	54 00 07 be 	clrlwi  r0,r0,30                               
ffc073a8:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc073ac:	40 be 00 44 	bne+    cr7,ffc073f0 <rtems_termios_refill_transmitter+0xa8><== ALWAYS TAKEN
     * 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);
ffc073b0:	80 03 00 a4 	lwz     r0,164(r3)                             <== NOT EXECUTED
ffc073b4:	38 9f 00 49 	addi    r4,r31,73                              <== NOT EXECUTED
ffc073b8:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc073bc:	80 63 00 10 	lwz     r3,16(r3)                              <== NOT EXECUTED
ffc073c0:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc073c4:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
ffc073c8:	4b ff e6 25 	bl      ffc059ec <ppc_interrupt_disable>       <== NOT EXECUTED
    tty->t_dqlen--;                                                   
ffc073cc:	81 3f 00 90 	lwz     r9,144(r31)                            <== NOT EXECUTED
ffc073d0:	38 09 ff ff 	addi    r0,r9,-1                               <== NOT EXECUTED
ffc073d4:	90 1f 00 90 	stw     r0,144(r31)                            <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
ffc073d8:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc073dc:	54 00 07 fa 	rlwinm  r0,r0,0,31,29                          <== NOT EXECUTED
ffc073e0:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
ffc073e4:	7c 60 01 24 	mtmsr   r3                                     <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
ffc073e8:	3b c0 00 01 	li      r30,1                                  <== NOT EXECUTED
ffc073ec:	48 00 01 34 	b       ffc07520 <rtems_termios_refill_transmitter+0x1d8><== NOT EXECUTED
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
ffc073f0:	81 23 00 80 	lwz     r9,128(r3)                             
ffc073f4:	80 03 00 84 	lwz     r0,132(r3)                             
ffc073f8:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc073fc:	40 9e 00 20 	bne-    cr7,ffc0741c <rtems_termios_refill_transmitter+0xd4>
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
ffc07400:	80 03 00 94 	lwz     r0,148(r3)                             
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
      }                                                               
      return 0;                                                       
ffc07404:	3b c0 00 00 	li      r30,0                                  
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
ffc07408:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0740c:	40 be 01 14 	bne+    cr7,ffc07520 <rtems_termios_refill_transmitter+0x1d8><== ALWAYS TAKEN
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
ffc07410:	80 63 00 8c 	lwz     r3,140(r3)                             <== NOT EXECUTED
ffc07414:	48 00 0d bd 	bl      ffc081d0 <rtems_semaphore_release>     <== NOT EXECUTED
ffc07418:	48 00 01 08 	b       ffc07520 <rtems_termios_refill_transmitter+0x1d8><== NOT EXECUTED
      }                                                               
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
ffc0741c:	4b ff e5 d1 	bl      ffc059ec <ppc_interrupt_disable>       
    len = tty->t_dqlen;                                               
    tty->t_dqlen = 0;                                                 
ffc07420:	38 00 00 00 	li      r0,0                                   
      }                                                               
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
    len = tty->t_dqlen;                                               
ffc07424:	83 bf 00 90 	lwz     r29,144(r31)                           
    tty->t_dqlen = 0;                                                 
ffc07428:	90 1f 00 90 	stw     r0,144(r31)                            
ffc0742c:	7c 60 01 24 	mtmsr   r3                                     
    rtems_interrupt_enable(level);                                    
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
ffc07430:	80 1f 00 84 	lwz     r0,132(r31)                            
ffc07434:	81 3f 00 88 	lwz     r9,136(r31)                            
ffc07438:	7c 1d 02 14 	add     r0,r29,r0                              
ffc0743c:	7f a0 4b 96 	divwu   r29,r0,r9                              
ffc07440:	7f bd 49 d6 	mullw   r29,r29,r9                             
ffc07444:	7f bd 00 50 	subf    r29,r29,r0                             
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
ffc07448:	80 1f 00 94 	lwz     r0,148(r31)                            
    len = tty->t_dqlen;                                               
    tty->t_dqlen = 0;                                                 
    rtems_interrupt_enable(level);                                    
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
    tty->rawOutBuf.Tail = newTail;                                    
ffc0744c:	93 bf 00 84 	stw     r29,132(r31)                           
    if (tty->rawOutBufState == rob_wait) {                            
ffc07450:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc07454:	40 be 00 0c 	bne+    cr7,ffc07460 <rtems_termios_refill_transmitter+0x118>
      /*                                                              
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
ffc07458:	80 7f 00 8c 	lwz     r3,140(r31)                            
ffc0745c:	48 00 0d 75 	bl      ffc081d0 <rtems_semaphore_release>     
    }                                                                 
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
ffc07460:	80 1f 00 80 	lwz     r0,128(r31)                            
ffc07464:	7f 9d 00 00 	cmpw    cr7,r29,r0                             
ffc07468:	40 be 00 30 	bne+    cr7,ffc07498 <rtems_termios_refill_transmitter+0x150>
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
ffc0746c:	38 00 00 00 	li      r0,0                                   
ffc07470:	90 1f 00 94 	stw     r0,148(r31)                            
      nToSend = 0;                                                    
ffc07474:	3b c0 00 00 	li      r30,0                                  
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
ffc07478:	80 1f 00 d4 	lwz     r0,212(r31)                            
ffc0747c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07480:	41 9e 00 9c 	beq-    cr7,ffc0751c <rtems_termios_refill_transmitter+0x1d4><== ALWAYS TAKEN
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
ffc07484:	38 7f 00 30 	addi    r3,r31,48                              <== NOT EXECUTED
ffc07488:	80 9f 00 d8 	lwz     r4,216(r31)                            <== NOT EXECUTED
ffc0748c:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc07490:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc07494:	48 00 00 88 	b       ffc0751c <rtems_termios_refill_transmitter+0x1d4><== NOT EXECUTED
      }                                                               
    }                                                                 
    /* check, whether output should stop due to received XOFF */      
    else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))               
ffc07498:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc0749c:	70 00 02 10 	andi.   r0,r0,528                              
ffc074a0:	2f 80 02 10 	cmpwi   cr7,r0,528                             
ffc074a4:	40 be 00 28 	bne+    cr7,ffc074cc <rtems_termios_refill_transmitter+0x184><== ALWAYS TAKEN
       ==                (FL_MDXON | FL_ORCVXOF)) {                   
      /* Buffer not empty, but output stops due to XOFF */            
      /* set flag, that output has been stopped */                    
      rtems_interrupt_disable(level);                                 
ffc074a8:	4b ff e5 45 	bl      ffc059ec <ppc_interrupt_disable>       <== NOT EXECUTED
      tty->flow_ctrl |= FL_OSTOP;                                     
ffc074ac:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc074b0:	60 00 00 20 	ori     r0,r0,32                               <== NOT EXECUTED
ffc074b4:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
      tty->rawOutBufState = rob_busy; /*apm*/                         
ffc074b8:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc074bc:	90 1f 00 94 	stw     r0,148(r31)                            <== NOT EXECUTED
ffc074c0:	7c 60 01 24 	mtmsr   r3                                     <== NOT EXECUTED
      rtems_interrupt_enable(level);                                  
      nToSend = 0;                                                    
ffc074c4:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
ffc074c8:	48 00 00 54 	b       ffc0751c <rtems_termios_refill_transmitter+0x1d4><== NOT EXECUTED
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
ffc074cc:	80 1f 00 80 	lwz     r0,128(r31)                            
ffc074d0:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc074d4:	40 9d 00 0c 	ble-    cr7,ffc074e0 <rtems_termios_refill_transmitter+0x198>
        nToSend = tty->rawOutBuf.Size - newTail;                      
ffc074d8:	83 df 00 88 	lwz     r30,136(r31)                           
ffc074dc:	48 00 00 08 	b       ffc074e4 <rtems_termios_refill_transmitter+0x19c>
      else                                                            
        nToSend = tty->rawOutBuf.Head - newTail;                      
ffc074e0:	83 df 00 80 	lwz     r30,128(r31)                           
      /* 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)) {                   
ffc074e4:	80 1f 00 b8 	lwz     r0,184(r31)                            
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
        nToSend = tty->rawOutBuf.Size - newTail;                      
      else                                                            
        nToSend = tty->rawOutBuf.Head - newTail;                      
ffc074e8:	7f dd f0 50 	subf    r30,r29,r30                            
      /* 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)) {                   
ffc074ec:	70 09 06 00 	andi.   r9,r0,1536                             
ffc074f0:	41 82 00 08 	beq-    ffc074f8 <rtems_termios_refill_transmitter+0x1b0>
        nToSend = 1;                                                  
ffc074f4:	3b c0 00 01 	li      r30,1                                  
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
ffc074f8:	38 00 00 01 	li      r0,1                                   
      (*tty->device.write)(                                           
ffc074fc:	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*/                         
ffc07500:	90 1f 00 94 	stw     r0,148(r31)                            
      (*tty->device.write)(                                           
ffc07504:	7f c5 f3 78 	mr      r5,r30                                 
ffc07508:	7c 84 ea 14 	add     r4,r4,r29                              
ffc0750c:	80 1f 00 a4 	lwz     r0,164(r31)                            
ffc07510:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc07514:	7c 09 03 a6 	mtctr   r0                                     
ffc07518:	4e 80 04 21 	bctrl                                          
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
ffc0751c:	93 bf 00 84 	stw     r29,132(r31)                           
  }                                                                   
  return nToSend;                                                     
}                                                                     
ffc07520:	39 61 00 18 	addi    r11,r1,24                              
ffc07524:	7f c3 f3 78 	mr      r3,r30                                 
ffc07528:	4b ff 90 14 	b       ffc0053c <_restgpr_29_x>               
                                                                      

ffc072d0 <rtems_termios_rxdaemon>: /* * this task actually processes any receive events */ static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument) {
ffc072d0:	7c 2b 0b 78 	mr      r11,r1                                 
ffc072d4:	7c 08 02 a6 	mflr    r0                                     
ffc072d8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc072dc:	90 01 00 24 	stw     r0,36(r1)                              
ffc072e0:	48 01 31 3d 	bl      ffc1a41c <_savegpr_31>                 
ffc072e4:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
ffc072e8:	38 60 00 03 	li      r3,3                                   
ffc072ec:	38 80 00 02 	li      r4,2                                   
ffc072f0:	38 a0 00 00 	li      r5,0                                   
ffc072f4:	38 c1 00 0c 	addi    r6,r1,12                               
ffc072f8:	48 00 07 5d 	bl      ffc07a54 <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) {              
ffc072fc:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc07300:	70 09 00 01 	andi.   r9,r0,1                                
ffc07304:	41 a2 00 14 	beq+    ffc07318 <rtems_termios_rxdaemon+0x48> <== ALWAYS TAKEN
      tty->rxTaskId = 0;                                              
ffc07308:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc0730c:	90 1f 00 c4 	stw     r0,196(r31)                            <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
ffc07310:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc07314:	48 00 10 b5 	bl      ffc083c8 <rtems_task_delete>           <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
ffc07318:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc0731c:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc07320:	7c 09 03 a6 	mtctr   r0                                     
ffc07324:	4e 80 04 21 	bctrl                                          
    if (c != EOF) {                                                   
ffc07328:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc0732c:	41 9e ff bc 	beq+    cr7,ffc072e8 <rtems_termios_rxdaemon+0x18>
      /*                                                              
       * pollRead did call enqueue on its own                         
       */                                                             
      c_buf = c;                                                      
ffc07330:	98 61 00 08 	stb     r3,8(r1)                               
      rtems_termios_enqueue_raw_characters ( tty,&c_buf,1);           
ffc07334:	38 81 00 08 	addi    r4,r1,8                                
ffc07338:	7f e3 fb 78 	mr      r3,r31                                 
ffc0733c:	38 a0 00 01 	li      r5,1                                   
ffc07340:	4b ff fc b9 	bl      ffc06ff8 <rtems_termios_enqueue_raw_characters>
ffc07344:	4b ff ff a4 	b       ffc072e8 <rtems_termios_rxdaemon+0x18> 
                                                                      

ffc0752c <rtems_termios_txdaemon>: /* * this task actually processes any transmit events */ static rtems_task rtems_termios_txdaemon(rtems_task_argument argument) {
ffc0752c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc07530:	7c 08 02 a6 	mflr    r0                                     
ffc07534:	bf c1 00 18 	stmw    r30,24(r1)                             
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
ffc07538:	3f c0 00 00 	lis     r30,0                                  
                                                                      
/*                                                                    
 * this task actually processes any transmit events                   
 */                                                                   
static rtems_task rtems_termios_txdaemon(rtems_task_argument argument)
{                                                                     
ffc0753c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc07540:	90 01 00 24 	stw     r0,36(r1)                              
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
ffc07544:	3b de 28 78 	addi    r30,r30,10360                          
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
ffc07548:	38 60 00 03 	li      r3,3                                   
ffc0754c:	38 80 00 02 	li      r4,2                                   
ffc07550:	38 a0 00 00 	li      r5,0                                   
ffc07554:	38 c1 00 08 	addi    r6,r1,8                                
ffc07558:	48 00 04 fd 	bl      ffc07a54 <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) {              
ffc0755c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc07560:	70 09 00 01 	andi.   r9,r0,1                                
ffc07564:	41 a2 00 14 	beq+    ffc07578 <rtems_termios_txdaemon+0x4c> <== ALWAYS TAKEN
      tty->txTaskId = 0;                                              
ffc07568:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc0756c:	90 1f 00 c8 	stw     r0,200(r31)                            <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
ffc07570:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc07574:	48 00 0e 55 	bl      ffc083c8 <rtems_task_delete>           <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
ffc07578:	81 3f 00 cc 	lwz     r9,204(r31)                            
ffc0757c:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
ffc07580:	7d 3e 4a 14 	add     r9,r30,r9                              
ffc07584:	80 09 00 14 	lwz     r0,20(r9)                              
ffc07588:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0758c:	41 9e 00 10 	beq-    cr7,ffc0759c <rtems_termios_txdaemon+0x70><== ALWAYS TAKEN
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
ffc07590:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc07594:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc07598:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * try to push further characters to device                       
     */                                                               
    rtems_termios_refill_transmitter(tty);                            
ffc0759c:	7f e3 fb 78 	mr      r3,r31                                 
ffc075a0:	4b ff fd a9 	bl      ffc07348 <rtems_termios_refill_transmitter>
  }                                                                   
ffc075a4:	4b ff ff a4 	b       ffc07548 <rtems_termios_txdaemon+0x1c> 
                                                                      

ffc06b8c <rtems_termios_write>: rtems_termios_puts (&c, 1, tty); } rtems_status_code rtems_termios_write (void *arg) {
ffc06b8c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc06b90:	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);
ffc06b94:	38 80 00 00 	li      r4,0                                   
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
ffc06b98:	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);
ffc06b9c:	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;                   
ffc06ba0:	81 23 00 00 	lwz     r9,0(r3)                               
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
ffc06ba4:	bf 41 00 08 	stmw    r26,8(r1)                              
ffc06ba8:	7c 7e 1b 78 	mr      r30,r3                                 
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc06bac:	83 e9 00 38 	lwz     r31,56(r9)                             
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc06bb0:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc06bb4:	48 00 14 f1 	bl      ffc080a4 <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc06bb8:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc06bbc:	40 82 00 94 	bne-    ffc06c50 <rtems_termios_write+0xc4>    <== NEVER TAKEN
    return sc;                                                        
  if (rtems_termios_linesw[tty->t_line].l_write != NULL) {            
ffc06bc0:	80 1f 00 cc 	lwz     r0,204(r31)                            
ffc06bc4:	3d 20 00 00 	lis     r9,0                                   
ffc06bc8:	39 29 28 78 	addi    r9,r9,10360                            
ffc06bcc:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc06bd0:	7d 29 02 14 	add     r9,r9,r0                               
ffc06bd4:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc06bd8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06bdc:	41 9e 00 1c 	beq-    cr7,ffc06bf8 <rtems_termios_write+0x6c>
    sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);         
ffc06be0:	7f e3 fb 78 	mr      r3,r31                                 
ffc06be4:	7c 09 03 a6 	mtctr   r0                                     
ffc06be8:	7f c4 f3 78 	mr      r4,r30                                 
ffc06bec:	4e 80 04 21 	bctrl                                          
ffc06bf0:	7c 7d 1b 78 	mr      r29,r3                                 
ffc06bf4:	48 00 00 54 	b       ffc06c48 <rtems_termios_write+0xbc>    
    rtems_semaphore_release (tty->osem);                              
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
ffc06bf8:	80 1f 00 34 	lwz     r0,52(r31)                             
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
ffc06bfc:	3b 80 00 00 	li      r28,0                                  
ffc06c00:	83 7e 00 14 	lwz     r27,20(r30)                            
  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) {                                 
ffc06c04:	70 09 00 01 	andi.   r9,r0,1                                
ffc06c08:	83 5e 00 10 	lwz     r26,16(r30)                            
ffc06c0c:	40 a2 00 18 	bne+    ffc06c24 <rtems_termios_write+0x98>    <== ALWAYS TAKEN
ffc06c10:	48 00 00 20 	b       ffc06c30 <rtems_termios_write+0xa4>    <== NOT EXECUTED
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
      oproc (*buffer++, tty);                                         
ffc06c14:	7c 7a e0 ae 	lbzx    r3,r26,r28                             
ffc06c18:	7f e4 fb 78 	mr      r4,r31                                 
ffc06c1c:	3b 9c 00 01 	addi    r28,r28,1                              
ffc06c20:	4b ff f9 4d 	bl      ffc0656c <oproc>                       
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
ffc06c24:	7f 9c d8 00 	cmpw    cr7,r28,r27                            
ffc06c28:	40 9e ff ec 	bne+    cr7,ffc06c14 <rtems_termios_write+0x88>
ffc06c2c:	48 00 00 14 	b       ffc06c40 <rtems_termios_write+0xb4>    
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
  } else {                                                            
    rtems_termios_puts (args->buffer, args->count, tty);              
ffc06c30:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc06c34:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc06c38:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc06c3c:	4b ff f8 11 	bl      ffc0644c <rtems_termios_puts>          <== NOT EXECUTED
    args->bytes_moved = args->count;                                  
ffc06c40:	80 1e 00 14 	lwz     r0,20(r30)                             
ffc06c44:	90 1e 00 1c 	stw     r0,28(r30)                             
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
ffc06c48:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc06c4c:	48 00 15 85 	bl      ffc081d0 <rtems_semaphore_release>     
  return sc;                                                          
}                                                                     
ffc06c50:	39 61 00 20 	addi    r11,r1,32                              
ffc06c54:	7f a3 eb 78 	mr      r3,r29                                 
ffc06c58:	4b ff 98 d8 	b       ffc00530 <_restgpr_26_x>               
                                                                      

ffc18768 <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
ffc18768:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1876c:	7c 08 02 a6 	mflr    r0                                     
ffc18770:	7c 64 1b 78 	mr      r4,r3                                  
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Get (                      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
ffc18774:	3c 60 00 00 	lis     r3,0                                   
ffc18778:	90 01 00 1c 	stw     r0,28(r1)                              
ffc1877c:	38 63 72 80 	addi    r3,r3,29312                            
ffc18780:	38 a1 00 08 	addi    r5,r1,8                                
ffc18784:	48 00 31 a9 	bl      ffc1b92c <_Objects_Get>                
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
ffc18788:	80 01 00 08 	lwz     r0,8(r1)                               
ffc1878c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc18790:	40 9e 00 24 	bne-    cr7,ffc187b4 <rtems_timer_cancel+0x4c> 
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
ffc18794:	80 03 00 38 	lwz     r0,56(r3)                              
ffc18798:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc1879c:	41 9e 00 0c 	beq-    cr7,ffc187a8 <rtems_timer_cancel+0x40> <== NEVER TAKEN
        (void) _Watchdog_Remove( &the_timer->Ticker );                
ffc187a0:	38 63 00 10 	addi    r3,r3,16                               
ffc187a4:	48 00 53 49 	bl      ffc1daec <_Watchdog_Remove>            
      _Thread_Enable_dispatch();                                      
ffc187a8:	48 00 3f d1 	bl      ffc1c778 <_Thread_Enable_dispatch>     
      return RTEMS_SUCCESSFUL;                                        
ffc187ac:	38 60 00 00 	li      r3,0                                   
ffc187b0:	48 00 00 08 	b       ffc187b8 <rtems_timer_cancel+0x50>     
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc187b4:	38 60 00 04 	li      r3,4                                   
}                                                                     
ffc187b8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc187bc:	38 21 00 18 	addi    r1,r1,24                               
ffc187c0:	7c 08 03 a6 	mtlr    r0                                     
ffc187c4:	4e 80 00 20 	blr                                            
                                                                      

ffc18cec <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
ffc18cec:	94 21 ff c8 	stwu    r1,-56(r1)                             
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
ffc18cf0:	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                        
)                                                                     
{                                                                     
ffc18cf4:	7c 08 02 a6 	mflr    r0                                     
ffc18cf8:	bf 01 00 18 	stmw    r24,24(r1)                             
ffc18cfc:	7c 7f 1b 78 	mr      r31,r3                                 
ffc18d00:	7c 9c 23 78 	mr      r28,r4                                 
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
ffc18d04:	83 a9 28 ec 	lwz     r29,10476(r9)                          
  rtems_id                           id,                              
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
ffc18d08:	7c be 2b 78 	mr      r30,r5                                 
ffc18d0c:	90 01 00 3c 	stw     r0,60(r1)                              
ffc18d10:	7c da 33 78 	mr      r26,r6                                 
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
ffc18d14:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
    return RTEMS_INCORRECT_STATE;                                     
ffc18d18:	3b 20 00 0e 	li      r25,14                                 
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
ffc18d1c:	41 9e 00 c8 	beq-    cr7,ffc18de4 <rtems_timer_server_fire_when+0xf8>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
ffc18d20:	3d 20 00 00 	lis     r9,0                                   
ffc18d24:	88 09 28 a0 	lbz     r0,10400(r9)                           
    return RTEMS_NOT_DEFINED;                                         
ffc18d28:	3b 20 00 0b 	li      r25,11                                 
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
ffc18d2c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc18d30:	41 be 00 b4 	beq+    cr7,ffc18de4 <rtems_timer_server_fire_when+0xf8><== NEVER TAKEN
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
ffc18d34:	2f 85 00 00 	cmpwi   cr7,r5,0                               
    return RTEMS_INVALID_ADDRESS;                                     
ffc18d38:	3b 20 00 09 	li      r25,9                                  
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
ffc18d3c:	41 9e 00 a8 	beq-    cr7,ffc18de4 <rtems_timer_server_fire_when+0xf8>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
ffc18d40:	7c 83 23 78 	mr      r3,r4                                  
ffc18d44:	4b ff cc 29 	bl      ffc1596c <_TOD_Validate>               
    return RTEMS_INVALID_CLOCK;                                       
ffc18d48:	3b 20 00 14 	li      r25,20                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
ffc18d4c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc18d50:	41 be 00 94 	beq+    cr7,ffc18de4 <rtems_timer_server_fire_when+0xf8>
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
ffc18d54:	7f 83 e3 78 	mr      r3,r28                                 
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
ffc18d58:	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 );                             
ffc18d5c:	4b ff cb 85 	bl      ffc158e0 <_TOD_To_seconds>             
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
ffc18d60:	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 );                             
ffc18d64:	7c 7c 1b 78 	mr      r28,r3                                 
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
ffc18d68:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc18d6c:	40 bd 00 78 	ble+    cr7,ffc18de4 <rtems_timer_server_fire_when+0xf8>
ffc18d70:	3c 60 00 00 	lis     r3,0                                   
ffc18d74:	38 63 72 80 	addi    r3,r3,29312                            
ffc18d78:	7f e4 fb 78 	mr      r4,r31                                 
ffc18d7c:	38 a1 00 08 	addi    r5,r1,8                                
ffc18d80:	48 00 2b ad 	bl      ffc1b92c <_Objects_Get>                
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
ffc18d84:	83 01 00 08 	lwz     r24,8(r1)                              
ffc18d88:	7c 79 1b 78 	mr      r25,r3                                 
ffc18d8c:	2f 98 00 00 	cmpwi   cr7,r24,0                              
ffc18d90:	40 9e 00 50 	bne-    cr7,ffc18de0 <rtems_timer_server_fire_when+0xf4>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
ffc18d94:	38 63 00 10 	addi    r3,r3,16                               
ffc18d98:	48 00 4d 55 	bl      ffc1daec <_Watchdog_Remove>            
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
ffc18d9c:	38 00 00 03 	li      r0,3                                   
ffc18da0:	90 19 00 38 	stw     r0,56(r25)                             
      _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 ); 
ffc18da4:	7f 24 cb 78 	mr      r4,r25                                 
ffc18da8:	7f a3 eb 78 	mr      r3,r29                                 
                                                                      
    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();
ffc18dac:	80 1b 28 b4 	lwz     r0,10420(r27)                          
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc18db0:	93 19 00 18 	stw     r24,24(r25)                            
ffc18db4:	7f 80 e0 50 	subf    r28,r0,r28                             
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
ffc18db8:	80 1d 00 04 	lwz     r0,4(r29)                              
  the_watchdog->routine   = routine;                                  
ffc18dbc:	93 d9 00 2c 	stw     r30,44(r25)                            
ffc18dc0:	7c 09 03 a6 	mtctr   r0                                     
  the_watchdog->id        = id;                                       
ffc18dc4:	93 f9 00 30 	stw     r31,48(r25)                            
  the_watchdog->user_data = user_data;                                
ffc18dc8:	93 59 00 34 	stw     r26,52(r25)                            
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
ffc18dcc:	93 99 00 1c 	stw     r28,28(r25)                            
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
                                                                      
      _Thread_Enable_dispatch();                                      
      return RTEMS_SUCCESSFUL;                                        
ffc18dd0:	3b 20 00 00 	li      r25,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 ); 
ffc18dd4:	4e 80 04 21 	bctrl                                          
                                                                      
      _Thread_Enable_dispatch();                                      
ffc18dd8:	48 00 39 a1 	bl      ffc1c778 <_Thread_Enable_dispatch>     
      return RTEMS_SUCCESSFUL;                                        
ffc18ddc:	48 00 00 08 	b       ffc18de4 <rtems_timer_server_fire_when+0xf8>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc18de0:	3b 20 00 04 	li      r25,4                                  
}                                                                     
ffc18de4:	39 61 00 38 	addi    r11,r1,56                              
ffc18de8:	7f 23 cb 78 	mr      r3,r25                                 
ffc18dec:	4b ff 53 98 	b       ffc0e184 <_restgpr_24_x>               
                                                                      

ffc044cc <rtems_verror>: static int rtems_verror( rtems_error_code_t error_flag, const char *printf_format, va_list arglist ) {
ffc044cc:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc044d0:	7c 08 02 a6 	mflr    r0                                     
ffc044d4:	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) {                               
ffc044d8:	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                                         
)                                                                     
{                                                                     
ffc044dc:	bf 41 00 08 	stmw    r26,8(r1)                              
ffc044e0:	7c 7d 1b 78 	mr      r29,r3                                 
ffc044e4:	7c 9a 23 78 	mr      r26,r4                                 
ffc044e8:	7c bb 2b 78 	mr      r27,r5                                 
  int               local_errno = 0;                                  
  int               chars_written = 0;                                
  rtems_status_code status;                                           
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
ffc044ec:	41 82 00 44 	beq-    ffc04530 <rtems_verror+0x64>           
    if (rtems_panic_in_progress++)                                    
ffc044f0:	3d 60 00 00 	lis     r11,0                                  
ffc044f4:	81 2b 27 a8 	lwz     r9,10152(r11)                          
ffc044f8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc044fc:	38 09 00 01 	addi    r0,r9,1                                
ffc04500:	90 0b 27 a8 	stw     r0,10152(r11)                          
ffc04504:	41 9e 00 18 	beq-    cr7,ffc0451c <rtems_verror+0x50>       <== ALWAYS TAKEN
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
ffc04508:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc0450c:	81 69 27 c8 	lwz     r11,10184(r9)                          <== NOT EXECUTED
ffc04510:	38 0b 00 01 	addi    r0,r11,1                               <== NOT EXECUTED
ffc04514:	90 09 27 c8 	stw     r0,10184(r9)                           <== NOT EXECUTED
    return _Thread_Dispatch_disable_level;                            
ffc04518:	80 09 27 c8 	lwz     r0,10184(r9)                           <== NOT EXECUTED
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
ffc0451c:	3d 20 00 00 	lis     r9,0                                   
ffc04520:	80 09 27 a8 	lwz     r0,10152(r9)                           
      return 0;                                                       
ffc04524:	3b e0 00 00 	li      r31,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)                                  
ffc04528:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0452c:	41 9d 01 14 	bgt-    cr7,ffc04640 <rtems_verror+0x174>      <== NEVER TAKEN
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
ffc04530:	3f e0 00 00 	lis     r31,0                                  
ffc04534:	81 3f 27 4c 	lwz     r9,10060(r31)                          
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
ffc04538:	57 bc 01 00 	rlwinm  r28,r29,0,4,0                          
  rtems_error_code_t  error_flag,                                     
  const char         *printf_format,                                  
  va_list             arglist                                         
)                                                                     
{                                                                     
  int               local_errno = 0;                                  
ffc0453c:	3b c0 00 00 	li      r30,0                                  
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
ffc04540:	80 69 00 08 	lwz     r3,8(r9)                               
ffc04544:	48 00 bc 15 	bl      ffc10158 <fflush>                      
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
ffc04548:	77 a0 40 00 	andis.  r0,r29,16384                           
ffc0454c:	41 a2 00 0c 	beq+    ffc04558 <rtems_verror+0x8c>           
    local_errno = errno;                                              
ffc04550:	48 00 b7 35 	bl      ffc0fc84 <__errno>                     
ffc04554:	83 c3 00 00 	lwz     r30,0(r3)                              
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if (_System_state_Is_multiprocessing)                             
      fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
ffc04558:	81 3f 27 4c 	lwz     r9,10060(r31)                          
ffc0455c:	7f 44 d3 78 	mr      r4,r26                                 
ffc04560:	7f 65 db 78 	mr      r5,r27                                 
ffc04564:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc04568:	48 01 13 01 	bl      ffc15868 <vfprintf>                    
                                                                      
  if (status)                                                         
ffc0456c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if (_System_state_Is_multiprocessing)                             
      fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
ffc04570:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
  if (status)                                                         
ffc04574:	41 be 00 34 	beq+    cr7,ffc045a8 <rtems_verror+0xdc>       
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
ffc04578:	3d 20 00 00 	lis     r9,0                                   
ffc0457c:	81 29 27 4c 	lwz     r9,10060(r9)                           
ffc04580:	7f 83 e3 78 	mr      r3,r28                                 
ffc04584:	83 a9 00 0c 	lwz     r29,12(r9)                             
ffc04588:	4b ff ff 19 	bl      ffc044a0 <rtems_status_text>           
ffc0458c:	3c 80 ff c2 	lis     r4,-62                                 
ffc04590:	7c 65 1b 78 	mr      r5,r3                                  
ffc04594:	38 84 c0 98 	addi    r4,r4,-16232                           
ffc04598:	7f a3 eb 78 	mr      r3,r29                                 
ffc0459c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc045a0:	48 00 c1 71 	bl      ffc10710 <fprintf>                     
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
ffc045a4:	7f ff 1a 14 	add     r31,r31,r3                             
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
                                                                      
  if (local_errno) {                                                  
ffc045a8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc045ac:	41 9e 00 68 	beq-    cr7,ffc04614 <rtems_verror+0x148>      
    if ((local_errno > 0) && *strerror(local_errno))                  
ffc045b0:	40 9d 00 40 	ble-    cr7,ffc045f0 <rtems_verror+0x124>      
ffc045b4:	7f c3 f3 78 	mr      r3,r30                                 
ffc045b8:	48 00 cf e1 	bl      ffc11598 <strerror>                    
ffc045bc:	88 03 00 00 	lbz     r0,0(r3)                               
ffc045c0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc045c4:	41 be 00 2c 	beq+    cr7,ffc045f0 <rtems_verror+0x124>      <== NEVER TAKEN
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
ffc045c8:	3d 20 00 00 	lis     r9,0                                   
ffc045cc:	81 29 27 4c 	lwz     r9,10060(r9)                           
ffc045d0:	7f c3 f3 78 	mr      r3,r30                                 
ffc045d4:	83 a9 00 0c 	lwz     r29,12(r9)                             
ffc045d8:	48 00 cf c1 	bl      ffc11598 <strerror>                    
ffc045dc:	3c 80 ff c2 	lis     r4,-62                                 
ffc045e0:	7c 65 1b 78 	mr      r5,r3                                  
ffc045e4:	38 84 c0 a6 	addi    r4,r4,-16218                           
ffc045e8:	7f a3 eb 78 	mr      r3,r29                                 
ffc045ec:	48 00 00 1c 	b       ffc04608 <rtems_verror+0x13c>          
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
ffc045f0:	3d 20 00 00 	lis     r9,0                                   
ffc045f4:	81 29 27 4c 	lwz     r9,10060(r9)                           
ffc045f8:	3c 80 ff c2 	lis     r4,-62                                 
ffc045fc:	38 84 c0 b3 	addi    r4,r4,-16205                           
ffc04600:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc04604:	7f c5 f3 78 	mr      r5,r30                                 
ffc04608:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0460c:	48 00 c1 05 	bl      ffc10710 <fprintf>                     
ffc04610:	7f ff 1a 14 	add     r31,r31,r3                             
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
ffc04614:	3f c0 00 00 	lis     r30,0                                  
ffc04618:	81 3e 27 4c 	lwz     r9,10060(r30)                          
ffc0461c:	3c 80 ff c2 	lis     r4,-62                                 
ffc04620:	38 84 c3 da 	addi    r4,r4,-15398                           
ffc04624:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc04628:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0462c:	48 00 c0 e5 	bl      ffc10710 <fprintf>                     
                                                                      
  (void) fflush(stderr);                                              
ffc04630:	81 3e 27 4c 	lwz     r9,10060(r30)                          
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
ffc04634:	7f ff 1a 14 	add     r31,r31,r3                             
                                                                      
  (void) fflush(stderr);                                              
ffc04638:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc0463c:	48 00 bb 1d 	bl      ffc10158 <fflush>                      
                                                                      
  return chars_written;                                               
}                                                                     
ffc04640:	39 61 00 20 	addi    r11,r1,32                              
ffc04644:	7f e3 fb 78 	mr      r3,r31                                 
ffc04648:	4b ff be e8 	b       ffc00530 <_restgpr_26_x>               
                                                                      

ffc04b90 <scanInt>: /* * Extract an integer value from the database */ static int scanInt(FILE *fp, int *val) {
ffc04b90:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc04b94:	7c 08 02 a6 	mflr    r0                                     
ffc04b98:	bf 01 00 08 	stmw    r24,8(r1)                              
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
ffc04b9c:	3f 80 7f ff 	lis     r28,32767                              
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc04ba0:	7c 7e 1b 78 	mr      r30,r3                                 
ffc04ba4:	90 01 00 2c 	stw     r0,44(r1)                              
ffc04ba8:	7c 9b 23 78 	mr      r27,r4                                 
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
ffc04bac:	3b a0 00 00 	li      r29,0                                  
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
ffc04bb0:	63 9c ff ff 	ori     r28,r28,65535                          
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
  int c;                                                              
  unsigned int i = 0;                                                 
ffc04bb4:	3b e0 00 00 	li      r31,0                                  
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc04bb8:	3f 00 00 00 	lis     r24,0                                  
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
ffc04bbc:	3f 20 00 00 	lis     r25,0                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
ffc04bc0:	3b 40 00 0a 	li      r26,10                                 
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc04bc4:	81 3e 00 04 	lwz     r9,4(r30)                              
ffc04bc8:	38 09 ff ff 	addi    r0,r9,-1                               
ffc04bcc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04bd0:	90 1e 00 04 	stw     r0,4(r30)                              
ffc04bd4:	40 bc 00 14 	bge+    cr7,ffc04be8 <scanInt+0x58>            <== ALWAYS TAKEN
ffc04bd8:	80 78 27 2c 	lwz     r3,10028(r24)                          <== NOT EXECUTED
ffc04bdc:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc04be0:	48 00 de 0d 	bl      ffc129ec <__srget_r>                   <== NOT EXECUTED
ffc04be4:	48 00 00 14 	b       ffc04bf8 <scanInt+0x68>                <== NOT EXECUTED
ffc04be8:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc04bec:	88 69 00 00 	lbz     r3,0(r9)                               
ffc04bf0:	39 29 00 01 	addi    r9,r9,1                                
ffc04bf4:	91 3e 00 00 	stw     r9,0(r30)                              
    if (c == ':')                                                     
ffc04bf8:	2f 03 00 3a 	cmpwi   cr6,r3,58                              
ffc04bfc:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc04c00:	41 9a 00 68 	beq-    cr6,ffc04c68 <scanInt+0xd8>            
      break;                                                          
    if (sign == 0) {                                                  
ffc04c04:	40 9e 00 1c 	bne-    cr7,ffc04c20 <scanInt+0x90>            
      if (c == '-') {                                                 
ffc04c08:	2f 83 00 2d 	cmpwi   cr7,r3,45                              
        sign = -1;                                                    
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
ffc04c0c:	3b a0 00 01 	li      r29,1                                  
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
ffc04c10:	40 be 00 10 	bne+    cr7,ffc04c20 <scanInt+0x90>            
        sign = -1;                                                    
        limit++;                                                      
ffc04c14:	3b 9c 00 01 	addi    r28,r28,1                              
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
        sign = -1;                                                    
ffc04c18:	3b a0 ff ff 	li      r29,-1                                 
        limit++;                                                      
        continue;                                                     
ffc04c1c:	4b ff ff a8 	b       ffc04bc4 <scanInt+0x34>                
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
ffc04c20:	81 39 27 24 	lwz     r9,10020(r25)                          
ffc04c24:	7d 29 1a 14 	add     r9,r9,r3                               
ffc04c28:	88 09 00 01 	lbz     r0,1(r9)                               
ffc04c2c:	70 09 00 04 	andi.   r9,r0,4                                
ffc04c30:	41 82 00 4c 	beq-    ffc04c7c <scanInt+0xec>                
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
ffc04c34:	7c 1c d3 96 	divwu   r0,r28,r26                             
ffc04c38:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc04c3c:	41 9d 00 40 	bgt-    cr7,ffc04c7c <scanInt+0xec>            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
ffc04c40:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
ffc04c44:	38 63 ff d0 	addi    r3,r3,-48                              
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
ffc04c48:	40 be 00 14 	bne+    cr7,ffc04c5c <scanInt+0xcc>            
ffc04c4c:	1c 1f 00 0a 	mulli   r0,r31,10                              
ffc04c50:	7c 00 e0 50 	subf    r0,r0,r28                              
ffc04c54:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc04c58:	41 9d 00 24 	bgt-    cr7,ffc04c7c <scanInt+0xec>            <== ALWAYS TAKEN
      return 0;                                                       
    i = i * 10 + d;                                                   
ffc04c5c:	1f ff 00 0a 	mulli   r31,r31,10                             
ffc04c60:	7f e3 fa 14 	add     r31,r3,r31                             
ffc04c64:	4b ff ff 60 	b       ffc04bc4 <scanInt+0x34>                
  }                                                                   
  if (sign == 0)                                                      
ffc04c68:	41 9e 00 14 	beq-    cr7,ffc04c7c <scanInt+0xec>            <== NEVER TAKEN
    return 0;                                                         
  *val = i * sign;                                                    
ffc04c6c:	7f fd f9 d6 	mullw   r31,r29,r31                            
  return 1;                                                           
ffc04c70:	38 60 00 01 	li      r3,1                                   
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
ffc04c74:	93 fb 00 00 	stw     r31,0(r27)                             
  return 1;                                                           
ffc04c78:	48 00 00 08 	b       ffc04c80 <scanInt+0xf0>                
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
ffc04c7c:	38 60 00 00 	li      r3,0                                   
  *val = i * sign;                                                    
  return 1;                                                           
}                                                                     
ffc04c80:	39 61 00 28 	addi    r11,r1,40                              
ffc04c84:	4b ff bc 20 	b       ffc008a4 <_restgpr_24_x>               
                                                                      

ffc04d88 <scangr>: FILE *fp, struct group *grp, char *buffer, size_t bufsize ) {
ffc04d88:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc04d8c:	7c 08 02 a6 	mflr    r0                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc04d90:	38 e0 00 00 	li      r7,0                                   
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc04d94:	90 a1 00 18 	stw     r5,24(r1)                              
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc04d98:	38 a1 00 18 	addi    r5,r1,24                               
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc04d9c:	90 c1 00 1c 	stw     r6,28(r1)                              
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc04da0:	38 c1 00 1c 	addi    r6,r1,28                               
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc04da4:	bf a1 00 24 	stmw    r29,36(r1)                             
ffc04da8:	7c 7d 1b 78 	mr      r29,r3                                 
ffc04dac:	7c 9f 23 78 	mr      r31,r4                                 
ffc04db0:	90 01 00 34 	stw     r0,52(r1)                              
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc04db4:	4b ff fe d5 	bl      ffc04c88 <scanString>                  
ffc04db8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
    return 0;                                                         
ffc04dbc:	3b c0 00 00 	li      r30,0                                  
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc04dc0:	41 be 01 08 	beq+    cr7,ffc04ec8 <scangr+0x140>            
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
ffc04dc4:	7f a3 eb 78 	mr      r3,r29                                 
ffc04dc8:	38 9f 00 04 	addi    r4,r31,4                               
ffc04dcc:	38 a1 00 18 	addi    r5,r1,24                               
ffc04dd0:	38 c1 00 1c 	addi    r6,r1,28                               
ffc04dd4:	38 e0 00 00 	li      r7,0                                   
ffc04dd8:	4b ff fe b1 	bl      ffc04c88 <scanString>                  
ffc04ddc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04de0:	41 be 00 e8 	beq+    cr7,ffc04ec8 <scangr+0x140>            <== NEVER TAKEN
   || !scanInt(fp, &grgid)                                            
ffc04de4:	7f a3 eb 78 	mr      r3,r29                                 
ffc04de8:	38 81 00 0c 	addi    r4,r1,12                               
ffc04dec:	4b ff fd a5 	bl      ffc04b90 <scanInt>                     
ffc04df0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04df4:	41 be 00 d4 	beq+    cr7,ffc04ec8 <scangr+0x140>            <== NEVER TAKEN
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
ffc04df8:	7f a3 eb 78 	mr      r3,r29                                 
ffc04dfc:	38 81 00 08 	addi    r4,r1,8                                
ffc04e00:	38 a1 00 18 	addi    r5,r1,24                               
ffc04e04:	38 c1 00 1c 	addi    r6,r1,28                               
ffc04e08:	38 e0 00 01 	li      r7,1                                   
ffc04e0c:	4b ff fe 7d 	bl      ffc04c88 <scanString>                  
ffc04e10:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04e14:	41 9e 00 b4 	beq-    cr7,ffc04ec8 <scangr+0x140>            <== NEVER TAKEN
    return 0;                                                         
  grp->gr_gid = grgid;                                                
ffc04e18:	80 01 00 0c 	lwz     r0,12(r1)                              
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc04e1c:	81 61 00 08 	lwz     r11,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;                                                
ffc04e20:	b0 1f 00 08 	sth     r0,8(r31)                              
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc04e24:	38 00 00 01 	li      r0,1                                   
ffc04e28:	7d 69 5b 78 	mr      r9,r11                                 
ffc04e2c:	48 00 00 18 	b       ffc04e44 <scangr+0xbc>                 
    if(*cp == ',')                                                    
      memcount++;                                                     
ffc04e30:	69 48 00 2c 	xori    r8,r10,44                              
ffc04e34:	21 08 00 00 	subfic  r8,r8,0                                
ffc04e38:	7d 00 01 94 	addze   r8,r0                                  
ffc04e3c:	7d 00 43 78 	mr      r0,r8                                  
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc04e40:	39 29 00 01 	addi    r9,r9,1                                
ffc04e44:	89 49 00 00 	lbz     r10,0(r9)                              
ffc04e48:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc04e4c:	40 9e ff e4 	bne+    cr7,ffc04e30 <scangr+0xa8>             
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
ffc04e50:	54 09 10 3a 	rlwinm  r9,r0,2,0,29                           
ffc04e54:	38 09 00 13 	addi    r0,r9,19                               
ffc04e58:	81 21 00 1c 	lwz     r9,28(r1)                              
    return 0;                                                         
ffc04e5c:	3b c0 00 00 	li      r30,0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
ffc04e60:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc04e64:	41 9c 00 64 	blt-    cr7,ffc04ec8 <scangr+0x140>            <== NEVER TAKEN
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
ffc04e68:	81 21 00 18 	lwz     r9,24(r1)                              
ffc04e6c:	39 29 00 0f 	addi    r9,r9,15                               
ffc04e70:	55 29 00 36 	rlwinm  r9,r9,0,0,27                           
ffc04e74:	91 3f 00 0c 	stw     r9,12(r31)                             
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
ffc04e78:	91 69 00 00 	stw     r11,0(r9)                              
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc04e7c:	39 60 00 01 	li      r11,1                                  
ffc04e80:	81 21 00 08 	lwz     r9,8(r1)                               
ffc04e84:	48 00 00 28 	b       ffc04eac <scangr+0x124>                
    if(*cp == ',') {                                                  
ffc04e88:	2f 80 00 2c 	cmpwi   cr7,r0,44                              
ffc04e8c:	40 be 00 1c 	bne+    cr7,ffc04ea8 <scangr+0x120>            
      *cp = '\0';                                                     
ffc04e90:	99 49 00 00 	stb     r10,0(r9)                              
      grp->gr_mem[memcount++] = cp + 1;                               
ffc04e94:	55 60 10 3a 	rlwinm  r0,r11,2,0,29                          
}                                                                     
                                                                      
/*                                                                    
 * Extract a single group record from the database                    
 */                                                                   
static int scangr(                                                    
ffc04e98:	38 e9 00 01 	addi    r7,r9,1                                
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
ffc04e9c:	81 1f 00 0c 	lwz     r8,12(r31)                             
ffc04ea0:	39 6b 00 01 	addi    r11,r11,1                              
ffc04ea4:	7c e8 01 2e 	stwx    r7,r8,r0                               
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc04ea8:	39 29 00 01 	addi    r9,r9,1                                
ffc04eac:	88 09 00 00 	lbz     r0,0(r9)                               
ffc04eb0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04eb4:	40 9e ff d4 	bne+    cr7,ffc04e88 <scangr+0x100>            
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
ffc04eb8:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc04ebc:	55 6b 10 3a 	rlwinm  r11,r11,2,0,29                         
  return 1;                                                           
ffc04ec0:	3b c0 00 01 	li      r30,1                                  
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
ffc04ec4:	7c 09 59 2e 	stwx    r0,r9,r11                              
  return 1;                                                           
}                                                                     
ffc04ec8:	39 61 00 30 	addi    r11,r1,48                              
ffc04ecc:	7f c3 f3 78 	mr      r3,r30                                 
ffc04ed0:	4b ff b9 e8 	b       ffc008b8 <_restgpr_29_x>               
                                                                      

ffc04ed4 <scanpw>: FILE *fp, struct passwd *pwd, char *buffer, size_t bufsize ) {
ffc04ed4:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc04ed8:	7c 08 02 a6 	mflr    r0                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc04edc:	38 e0 00 00 	li      r7,0                                   
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc04ee0:	90 a1 00 18 	stw     r5,24(r1)                              
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc04ee4:	38 a1 00 18 	addi    r5,r1,24                               
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc04ee8:	90 c1 00 1c 	stw     r6,28(r1)                              
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc04eec:	38 c1 00 1c 	addi    r6,r1,28                               
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc04ef0:	bf a1 00 24 	stmw    r29,36(r1)                             
ffc04ef4:	7c 7e 1b 78 	mr      r30,r3                                 
ffc04ef8:	7c 9f 23 78 	mr      r31,r4                                 
ffc04efc:	90 01 00 34 	stw     r0,52(r1)                              
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc04f00:	4b ff fd 89 	bl      ffc04c88 <scanString>                  
ffc04f04:	2f 83 00 00 	cmpwi   cr7,r3,0                               
   || !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;                                                         
ffc04f08:	3b a0 00 00 	li      r29,0                                  
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc04f0c:	41 be 00 e0 	beq+    cr7,ffc04fec <scanpw+0x118>            
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
ffc04f10:	7f c3 f3 78 	mr      r3,r30                                 
ffc04f14:	38 9f 00 04 	addi    r4,r31,4                               
ffc04f18:	38 a1 00 18 	addi    r5,r1,24                               
ffc04f1c:	38 c1 00 1c 	addi    r6,r1,28                               
ffc04f20:	38 e0 00 00 	li      r7,0                                   
ffc04f24:	4b ff fd 65 	bl      ffc04c88 <scanString>                  
ffc04f28:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04f2c:	41 be 00 c0 	beq+    cr7,ffc04fec <scanpw+0x118>            <== NEVER TAKEN
   || !scanInt(fp, &pwuid)                                            
ffc04f30:	7f c3 f3 78 	mr      r3,r30                                 
ffc04f34:	38 81 00 0c 	addi    r4,r1,12                               
ffc04f38:	4b ff fc 59 	bl      ffc04b90 <scanInt>                     
ffc04f3c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04f40:	41 be 00 ac 	beq+    cr7,ffc04fec <scanpw+0x118>            
   || !scanInt(fp, &pwgid)                                            
ffc04f44:	7f c3 f3 78 	mr      r3,r30                                 
ffc04f48:	38 81 00 08 	addi    r4,r1,8                                
ffc04f4c:	4b ff fc 45 	bl      ffc04b90 <scanInt>                     
ffc04f50:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04f54:	41 be 00 98 	beq+    cr7,ffc04fec <scanpw+0x118>            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
ffc04f58:	7f c3 f3 78 	mr      r3,r30                                 
ffc04f5c:	38 9f 00 0c 	addi    r4,r31,12                              
ffc04f60:	38 a1 00 18 	addi    r5,r1,24                               
ffc04f64:	38 c1 00 1c 	addi    r6,r1,28                               
ffc04f68:	38 e0 00 00 	li      r7,0                                   
ffc04f6c:	4b ff fd 1d 	bl      ffc04c88 <scanString>                  
ffc04f70:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04f74:	41 be 00 78 	beq+    cr7,ffc04fec <scanpw+0x118>            <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
ffc04f78:	7f c3 f3 78 	mr      r3,r30                                 
ffc04f7c:	38 9f 00 10 	addi    r4,r31,16                              
ffc04f80:	38 a1 00 18 	addi    r5,r1,24                               
ffc04f84:	38 c1 00 1c 	addi    r6,r1,28                               
ffc04f88:	38 e0 00 00 	li      r7,0                                   
ffc04f8c:	4b ff fc fd 	bl      ffc04c88 <scanString>                  
ffc04f90:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04f94:	41 be 00 58 	beq+    cr7,ffc04fec <scanpw+0x118>            <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
ffc04f98:	7f c3 f3 78 	mr      r3,r30                                 
ffc04f9c:	38 9f 00 14 	addi    r4,r31,20                              
ffc04fa0:	38 a1 00 18 	addi    r5,r1,24                               
ffc04fa4:	38 c1 00 1c 	addi    r6,r1,28                               
ffc04fa8:	38 e0 00 00 	li      r7,0                                   
ffc04fac:	4b ff fc dd 	bl      ffc04c88 <scanString>                  
ffc04fb0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04fb4:	41 be 00 38 	beq+    cr7,ffc04fec <scanpw+0x118>            <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
ffc04fb8:	7f c3 f3 78 	mr      r3,r30                                 
ffc04fbc:	38 9f 00 18 	addi    r4,r31,24                              
ffc04fc0:	38 a1 00 18 	addi    r5,r1,24                               
ffc04fc4:	38 c1 00 1c 	addi    r6,r1,28                               
ffc04fc8:	38 e0 00 01 	li      r7,1                                   
ffc04fcc:	4b ff fc bd 	bl      ffc04c88 <scanString>                  
ffc04fd0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04fd4:	41 9e 00 18 	beq-    cr7,ffc04fec <scanpw+0x118>            
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
ffc04fd8:	80 01 00 0c 	lwz     r0,12(r1)                              
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
ffc04fdc:	3b a0 00 01 	li      r29,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;                                                
ffc04fe0:	b0 1f 00 08 	sth     r0,8(r31)                              
  pwd->pw_gid = pwgid;                                                
ffc04fe4:	80 01 00 08 	lwz     r0,8(r1)                               
ffc04fe8:	b0 1f 00 0a 	sth     r0,10(r31)                             
  return 1;                                                           
}                                                                     
ffc04fec:	39 61 00 30 	addi    r11,r1,48                              
ffc04ff0:	7f a3 eb 78 	mr      r3,r29                                 
ffc04ff4:	4b ff b8 c4 	b       ffc008b8 <_restgpr_29_x>               
                                                                      

ffc06b20 <siproc>: /* * Process input character, with semaphore. */ static int siproc (unsigned char c, struct rtems_termios_tty *tty) {
ffc06b20:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc06b24:	7c 08 02 a6 	mflr    r0                                     
ffc06b28:	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)) {
ffc06b2c:	80 04 00 3c 	lwz     r0,60(r4)                              
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
ffc06b30:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc06b34:	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)) {
ffc06b38:	70 09 0e 78 	andi.   r9,r0,3704                             
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
ffc06b3c:	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)) {
ffc06b40:	41 a2 00 38 	beq+    ffc06b78 <siproc+0x58>                 <== NEVER TAKEN
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
ffc06b44:	80 64 00 18 	lwz     r3,24(r4)                              
ffc06b48:	38 a0 00 00 	li      r5,0                                   
ffc06b4c:	38 80 00 00 	li      r4,0                                   
ffc06b50:	48 00 15 55 	bl      ffc080a4 <rtems_semaphore_obtain>      
    i = iproc (c, tty);                                               
ffc06b54:	7f c3 f3 78 	mr      r3,r30                                 
ffc06b58:	7f e4 fb 78 	mr      r4,r31                                 
ffc06b5c:	4b ff fe 15 	bl      ffc06970 <iproc>                       
ffc06b60:	7c 7e 1b 78 	mr      r30,r3                                 
    rtems_semaphore_release (tty->osem);                              
ffc06b64:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc06b68:	48 00 16 69 	bl      ffc081d0 <rtems_semaphore_release>     
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  }                                                                   
  return i;                                                           
}                                                                     
ffc06b6c:	39 61 00 10 	addi    r11,r1,16                              
ffc06b70:	7f c3 f3 78 	mr      r3,r30                                 
ffc06b74:	4b ff 99 cc 	b       ffc00540 <_restgpr_30_x>               
ffc06b78:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc06b7c:	bb c1 00 08 	lmw     r30,8(r1)                              <== NOT EXECUTED
ffc06b80:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc06b84:	7c 08 03 a6 	mtlr    r0                                     <== 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);                                               
ffc06b88:	4b ff fd e8 	b       ffc06970 <iproc>                       <== NOT EXECUTED
                                                                      

ffc07df4 <statvfs>: #include <sys/statvfs.h> int statvfs (const char *path, struct statvfs *sb) {
ffc07df4:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc07df8:	7c 08 02 a6 	mflr    r0                                     
ffc07dfc:	bf c1 00 28 	stmw    r30,40(r1)                             
ffc07e00:	7c 7e 1b 78 	mr      r30,r3                                 
ffc07e04:	7c 9f 23 78 	mr      r31,r4                                 
ffc07e08:	90 01 00 34 	stw     r0,52(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 ) )
ffc07e0c:	48 00 ca 35 	bl      ffc14840 <strlen>                      
ffc07e10:	7c 64 1b 78 	mr      r4,r3                                  
ffc07e14:	38 a0 00 00 	li      r5,0                                   
ffc07e18:	7f c3 f3 78 	mr      r3,r30                                 
ffc07e1c:	38 c1 00 08 	addi    r6,r1,8                                
ffc07e20:	38 e0 00 01 	li      r7,1                                   
ffc07e24:	4b ff ea 65 	bl      ffc06888 <rtems_filesystem_evaluate_path>
    return -1;                                                        
ffc07e28:	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 ) )
ffc07e2c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07e30:	40 9e 00 3c 	bne-    cr7,ffc07e6c <statvfs+0x78>            <== NEVER TAKEN
    return -1;                                                        
                                                                      
  mt_entry      = loc.mt_entry;                                       
ffc07e34:	83 c1 00 18 	lwz     r30,24(r1)                             
  fs_mount_root = &mt_entry->mt_fs_root;                              
                                                                      
  memset (sb, 0, sizeof (struct statvfs));                            
ffc07e38:	38 80 00 00 	li      r4,0                                   
ffc07e3c:	38 a0 00 38 	li      r5,56                                  
ffc07e40:	7f e3 fb 78 	mr      r3,r31                                 
ffc07e44:	48 00 b7 39 	bl      ffc1357c <memset>                      
                                                                      
  result = ( fs_mount_root->ops->statvfs_h )( fs_mount_root, sb );    
ffc07e48:	81 3e 00 28 	lwz     r9,40(r30)                             
ffc07e4c:	38 7e 00 1c 	addi    r3,r30,28                              
ffc07e50:	80 09 00 44 	lwz     r0,68(r9)                              
ffc07e54:	7f e4 fb 78 	mr      r4,r31                                 
ffc07e58:	7c 09 03 a6 	mtctr   r0                                     
ffc07e5c:	4e 80 04 21 	bctrl                                          
ffc07e60:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc07e64:	38 61 00 08 	addi    r3,r1,8                                
ffc07e68:	4b ff eb 15 	bl      ffc0697c <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc07e6c:	39 61 00 30 	addi    r11,r1,48                              
ffc07e70:	7f c3 f3 78 	mr      r3,r30                                 
ffc07e74:	4b ff a8 00 	b       ffc02674 <_restgpr_30_x>               
                                                                      

ffc06814 <sync_per_thread>: fdatasync(fn); } /* iterate over all FILE *'s for this thread */ static void sync_per_thread(Thread_Control *t) {
ffc06814:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc06818:	7c 08 02 a6 	mflr    r0                                     
ffc0681c:	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;                                        
ffc06820:	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)                        
{                                                                     
ffc06824:	bf c1 00 08 	stmw    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 ) {                                                
ffc06828:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0682c:	41 9e 00 30 	beq-    cr7,ffc0685c <sync_per_thread+0x48>    <== NEVER TAKEN
     current_reent = _Thread_Executing->libc_reent;                   
ffc06830:	3f e0 00 00 	lis     r31,0                                  
ffc06834:	3b ff 2d 98 	addi    r31,r31,11672                          
ffc06838:	81 3f 00 0c 	lwz     r9,12(r31)                             
     _Thread_Executing->libc_reent = this_reent;                      
     _fwalk (t->libc_reent, sync_wrapper);                            
ffc0683c:	3c 80 ff c0 	lis     r4,-64                                 
ffc06840:	38 84 68 64 	addi    r4,r4,26724                            
    *  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;                   
ffc06844:	83 c9 01 28 	lwz     r30,296(r9)                            
     _Thread_Executing->libc_reent = this_reent;                      
ffc06848:	90 09 01 28 	stw     r0,296(r9)                             
     _fwalk (t->libc_reent, sync_wrapper);                            
ffc0684c:	80 63 01 28 	lwz     r3,296(r3)                             
ffc06850:	48 00 b2 c5 	bl      ffc11b14 <_fwalk>                      
     _Thread_Executing->libc_reent = current_reent;                   
ffc06854:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc06858:	93 c9 01 28 	stw     r30,296(r9)                            
   }                                                                  
}                                                                     
ffc0685c:	39 61 00 10 	addi    r11,r1,16                              
ffc06860:	4b ff a4 7c 	b       ffc00cdc <_restgpr_30_x>               
                                                                      

ffc0e68c <tcsetattr>: int fd, int opt, struct termios *tp ) { switch (opt) {
ffc0e68c:	2c 04 00 00 	cmpwi   r4,0                                   
int tcsetattr(                                                        
  int             fd,                                                 
  int             opt,                                                
  struct termios *tp                                                  
)                                                                     
{                                                                     
ffc0e690:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0e694:	7c 08 02 a6 	mflr    r0                                     
ffc0e698:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc0e69c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0e6a0:	7c bf 2b 78 	mr      r31,r5                                 
ffc0e6a4:	90 01 00 14 	stw     r0,20(r1)                              
  switch (opt) {                                                      
ffc0e6a8:	41 82 00 3c 	beq-    ffc0e6e4 <tcsetattr+0x58>              
ffc0e6ac:	2f 84 00 01 	cmpwi   cr7,r4,1                               
ffc0e6b0:	41 9e 00 18 	beq-    cr7,ffc0e6c8 <tcsetattr+0x3c>          
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
ffc0e6b4:	48 00 31 dd 	bl      ffc11890 <__errno>                     
ffc0e6b8:	38 00 00 86 	li      r0,134                                 
ffc0e6bc:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e6c0:	38 00 ff ff 	li      r0,-1                                  
ffc0e6c4:	48 00 00 38 	b       ffc0e6fc <tcsetattr+0x70>              
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
ffc0e6c8:	38 80 00 03 	li      r4,3                                   
ffc0e6cc:	38 a0 00 00 	li      r5,0                                   
ffc0e6d0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0e6d4:	4b ff fb 4d 	bl      ffc0e220 <ioctl>                       
    	return -1;                                                       
ffc0e6d8:	38 00 ff ff 	li      r0,-1                                  
  switch (opt) {                                                      
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
ffc0e6dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e6e0:	41 9c 00 1c 	blt-    cr7,ffc0e6fc <tcsetattr+0x70>          <== NEVER TAKEN
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
ffc0e6e4:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e6e8:	38 80 00 02 	li      r4,2                                   
ffc0e6ec:	7f e5 fb 78 	mr      r5,r31                                 
ffc0e6f0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0e6f4:	4b ff fb 2d 	bl      ffc0e220 <ioctl>                       
ffc0e6f8:	7c 60 1b 78 	mr      r0,r3                                  
  }                                                                   
}                                                                     
ffc0e6fc:	39 61 00 10 	addi    r11,r1,16                              
ffc0e700:	7c 03 03 78 	mr      r3,r0                                  
ffc0e704:	4b ff 23 94 	b       ffc00a98 <_restgpr_30_x>               
                                                                      

ffc07fe4 <unlink>: #include <rtems/seterr.h> int unlink( const char *path ) {
ffc07fe4:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc07fe8:	7c 08 02 a6 	mflr    r0                                     
ffc07fec:	bf 41 00 38 	stmw    r26,56(r1)                             
ffc07ff0:	7c 7c 1b 78 	mr      r28,r3                                 
ffc07ff4:	90 01 00 54 	stw     r0,84(r1)                              
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
ffc07ff8:	4b ff d1 b5 	bl      ffc051ac <rtems_filesystem_dirname>    
                                                                      
  if ( parentpathlen == 0 )                                           
ffc07ffc:	7c 7b 1b 79 	mr.     r27,r3                                 
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
ffc08000:	7f 83 e3 78 	mr      r3,r28                                 
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
ffc08004:	40 82 00 18 	bne-    ffc0801c <unlink+0x38>                 
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
ffc08008:	38 81 00 08 	addi    r4,r1,8                                
ffc0800c:	38 a1 00 20 	addi    r5,r1,32                               
ffc08010:	4b ff e2 b9 	bl      ffc062c8 <rtems_filesystem_get_start_loc>
  const char                       *name;                             
  rtems_filesystem_location_info_t  parentloc;                        
  rtems_filesystem_location_info_t  loc;                              
  int                               i;                                
  int                               result;                           
  bool                              free_parentloc = false;           
ffc08014:	3b a0 00 00 	li      r29,0                                  
ffc08018:	48 00 00 28 	b       ffc08040 <unlink+0x5c>                 
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
ffc0801c:	7f 64 db 78 	mr      r4,r27                                 
ffc08020:	38 a0 00 02 	li      r5,2                                   
ffc08024:	38 c1 00 20 	addi    r6,r1,32                               
ffc08028:	38 e0 00 00 	li      r7,0                                   
ffc0802c:	4b ff d1 25 	bl      ffc05150 <rtems_filesystem_evaluate_path>
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
      return -1;                                                      
ffc08030:	3b 40 ff ff 	li      r26,-1                                 
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
ffc08034:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08038:	40 9e 00 dc 	bne-    cr7,ffc08114 <unlink+0x130>            <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
ffc0803c:	3b a0 00 01 	li      r29,1                                  
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
ffc08040:	3b e1 00 0c 	addi    r31,r1,12                              
ffc08044:	3b c1 00 20 	addi    r30,r1,32                              
ffc08048:	7c be a4 aa 	lswi    r5,r30,20                              
ffc0804c:	7c bf a5 aa 	stswi   r5,r31,20                              
  name = path + parentpathlen;                                        
ffc08050:	7f 9c da 14 	add     r28,r28,r27                            
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc08054:	7f 83 e3 78 	mr      r3,r28                                 
ffc08058:	48 00 c8 31 	bl      ffc14888 <strlen>                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
ffc0805c:	3b 40 ff ff 	li      r26,-1                                 
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
  name = path + parentpathlen;                                        
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc08060:	7c 64 1b 78 	mr      r4,r3                                  
ffc08064:	7f 83 e3 78 	mr      r3,r28                                 
ffc08068:	4b ff d1 8d 	bl      ffc051f4 <rtems_filesystem_prefix_separators>
ffc0806c:	7f 9c 1a 14 	add     r28,r28,r3                             
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
ffc08070:	7f 83 e3 78 	mr      r3,r28                                 
ffc08074:	48 00 c8 15 	bl      ffc14888 <strlen>                      
ffc08078:	38 a0 00 00 	li      r5,0                                   
ffc0807c:	7c 64 1b 78 	mr      r4,r3                                  
ffc08080:	7f e6 fb 78 	mr      r6,r31                                 
ffc08084:	7f 83 e3 78 	mr      r3,r28                                 
ffc08088:	38 e0 00 00 	li      r7,0                                   
ffc0808c:	4b ff d0 41 	bl      ffc050cc <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
ffc08090:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08094:	40 be 00 70 	bne+    cr7,ffc08104 <unlink+0x120>            
    if ( free_parentloc )                                             
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
ffc08098:	81 21 00 18 	lwz     r9,24(r1)                              
ffc0809c:	7f e3 fb 78 	mr      r3,r31                                 
ffc080a0:	80 09 00 10 	lwz     r0,16(r9)                              
ffc080a4:	7c 09 03 a6 	mtctr   r0                                     
ffc080a8:	4e 80 04 21 	bctrl                                          
ffc080ac:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc080b0:	40 be 00 30 	bne+    cr7,ffc080e0 <unlink+0xfc>             
    rtems_filesystem_freenode( &loc );                                
ffc080b4:	7f e3 fb 78 	mr      r3,r31                                 
ffc080b8:	4b ff d1 8d 	bl      ffc05244 <rtems_filesystem_freenode>   
    if ( free_parentloc )                                             
ffc080bc:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc080c0:	41 be 00 0c 	beq+    cr7,ffc080cc <unlink+0xe8>             
      rtems_filesystem_freenode( &parentloc );                        
ffc080c4:	7f c3 f3 78 	mr      r3,r30                                 
ffc080c8:	4b ff d1 7d 	bl      ffc05244 <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( EISDIR );                   
ffc080cc:	48 00 b6 41 	bl      ffc1370c <__errno>                     
ffc080d0:	38 00 00 15 	li      r0,21                                  
ffc080d4:	90 03 00 00 	stw     r0,0(r3)                               
ffc080d8:	3b 40 ff ff 	li      r26,-1                                 
ffc080dc:	48 00 00 38 	b       ffc08114 <unlink+0x130>                
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
ffc080e0:	81 21 00 18 	lwz     r9,24(r1)                              
ffc080e4:	7f c3 f3 78 	mr      r3,r30                                 
ffc080e8:	7f e4 fb 78 	mr      r4,r31                                 
ffc080ec:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc080f0:	7c 09 03 a6 	mtctr   r0                                     
ffc080f4:	4e 80 04 21 	bctrl                                          
ffc080f8:	7c 7a 1b 78 	mr      r26,r3                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc080fc:	7f e3 fb 78 	mr      r3,r31                                 
ffc08100:	4b ff d1 45 	bl      ffc05244 <rtems_filesystem_freenode>   
  if ( free_parentloc )                                               
ffc08104:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc08108:	41 be 00 0c 	beq+    cr7,ffc08114 <unlink+0x130>            
    rtems_filesystem_freenode( &parentloc );                          
ffc0810c:	7f c3 f3 78 	mr      r3,r30                                 
ffc08110:	4b ff d1 35 	bl      ffc05244 <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc08114:	39 61 00 50 	addi    r11,r1,80                              
ffc08118:	7f 43 d3 78 	mr      r3,r26                                 
ffc0811c:	48 01 04 b8 	b       ffc185d4 <_restgpr_26_x>               
                                                                      

ffc0b060 <unmount>: */ int unmount( const char *path ) {
ffc0b060:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0b064:	7c 08 02 a6 	mflr    r0                                     
ffc0b068:	bf c1 00 28 	stmw    r30,40(r1)                             
ffc0b06c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0b070:	90 01 00 34 	stw     r0,52(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 ) )
ffc0b074:	48 01 3d b1 	bl      ffc1ee24 <strlen>                      
ffc0b078:	7c 64 1b 78 	mr      r4,r3                                  
ffc0b07c:	38 a0 00 00 	li      r5,0                                   
ffc0b080:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b084:	38 c1 00 08 	addi    r6,r1,8                                
ffc0b088:	38 e0 00 01 	li      r7,1                                   
ffc0b08c:	4b ff c6 41 	bl      ffc076cc <rtems_filesystem_evaluate_path>
ffc0b090:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0b094:	40 9e 01 18 	bne-    cr7,ffc0b1ac <unmount+0x14c>           
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
ffc0b098:	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 );                                
ffc0b09c:	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 ){                 
ffc0b0a0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0b0a4:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc0b0a8:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0b0ac:	41 be 00 14 	beq+    cr7,ffc0b0c0 <unmount+0x60>            
    rtems_filesystem_freenode( &loc );                                
ffc0b0b0:	4b ff c8 0d 	bl      ffc078bc <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( EACCES );                   
ffc0b0b4:	48 01 21 f5 	bl      ffc1d2a8 <__errno>                     
ffc0b0b8:	38 00 00 0d 	li      r0,13                                  
ffc0b0bc:	48 00 00 4c 	b       ffc0b108 <unmount+0xa8>                
                                                                      
  /*                                                                  
   * Free the loc node and just use the nodes from the mt_entry .     
   */                                                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc0b0c0:	4b ff c7 fd 	bl      ffc078bc <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 )                
ffc0b0c4:	3d 20 00 00 	lis     r9,0                                   
ffc0b0c8:	81 29 27 9c 	lwz     r9,10140(r9)                           
ffc0b0cc:	80 09 00 14 	lwz     r0,20(r9)                              
ffc0b0d0:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0b0d4:	41 9e 00 2c 	beq-    cr7,ffc0b100 <unmount+0xa0>            
                                                                      
  /*                                                                  
   *  Verify there are no file systems below the path specified       
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_iterate( is_fs_below_mount_point,       
ffc0b0d8:	3c 60 ff c1 	lis     r3,-63                                 
ffc0b0dc:	80 9f 00 2c 	lwz     r4,44(r31)                             
ffc0b0e0:	38 63 b0 4c 	addi    r3,r3,-20404                           
ffc0b0e4:	4b ff d1 c5 	bl      ffc082a8 <rtems_filesystem_mount_iterate>
ffc0b0e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0b0ec:	40 9e 00 14 	bne-    cr7,ffc0b100 <unmount+0xa0>            
   *  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 )             
ffc0b0f0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b0f4:	4b ff cb d1 	bl      ffc07cc4 <rtems_libio_is_open_files_in_fs>
ffc0b0f8:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc0b0fc:	40 be 00 14 	bne+    cr7,ffc0b110 <unmount+0xb0>            
    rtems_set_errno_and_return_minus_one( EBUSY );                    
ffc0b100:	48 01 21 a9 	bl      ffc1d2a8 <__errno>                     
ffc0b104:	38 00 00 10 	li      r0,16                                  
ffc0b108:	90 03 00 00 	stw     r0,0(r3)                               
ffc0b10c:	48 00 00 a0 	b       ffc0b1ac <unmount+0x14c>               
   * 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 )             
ffc0b110:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc0b114:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b118:	80 09 00 28 	lwz     r0,40(r9)                              
ffc0b11c:	7c 09 03 a6 	mtctr   r0                                     
ffc0b120:	4e 80 04 21 	bctrl                                          
ffc0b124:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0b128:	40 9e 00 84 	bne-    cr7,ffc0b1ac <unmount+0x14c>           <== 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){          
ffc0b12c:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc0b130:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b134:	80 09 00 2c 	lwz     r0,44(r9)                              
ffc0b138:	7c 09 03 a6 	mtctr   r0                                     
ffc0b13c:	4e 80 04 21 	bctrl                                          
ffc0b140:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0b144:	41 9e 00 2c 	beq-    cr7,ffc0b170 <unmount+0x110>           <== ALWAYS TAKEN
    if (( fs_mount_loc->ops->mount_h )( mt_entry ) != 0 )             
ffc0b148:	81 3f 00 14 	lwz     r9,20(r31)                             <== NOT EXECUTED
ffc0b14c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0b150:	80 09 00 20 	lwz     r0,32(r9)                              <== NOT EXECUTED
ffc0b154:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc0b158:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
    return -1;                                                        
ffc0b15c:	38 00 ff ff 	li      r0,-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 )             
ffc0b160:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc0b164:	41 be 00 4c 	beq+    cr7,ffc0b1b0 <unmount+0x150>           <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
ffc0b168:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc0b16c:	48 00 14 5d 	bl      ffc0c5c8 <rtems_fatal_error_occurred>  <== NOT EXECUTED
rtems_status_code rtems_libio_set_private_env(void);                  
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;   
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc0b170:	3f c0 00 00 	lis     r30,0                                  
ffc0b174:	80 7e 28 18 	lwz     r3,10264(r30)                          
ffc0b178:	38 80 00 00 	li      r4,0                                   
ffc0b17c:	38 a0 00 00 	li      r5,0                                   
ffc0b180:	48 00 0b 71 	bl      ffc0bcf0 <rtems_semaphore_obtain>      
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc0b184:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b188:	48 00 18 65 	bl      ffc0c9ec <_Chain_Extract>              
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc0b18c:	80 7e 28 18 	lwz     r3,10264(r30)                          
ffc0b190:	48 00 0c 8d 	bl      ffc0be1c <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 );                          
ffc0b194:	38 7f 00 08 	addi    r3,r31,8                               
ffc0b198:	4b ff c7 25 	bl      ffc078bc <rtems_filesystem_freenode>   
  free( mt_entry );                                                   
ffc0b19c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b1a0:	4b ff c7 49 	bl      ffc078e8 <free>                        
                                                                      
  return 0;                                                           
ffc0b1a4:	38 00 00 00 	li      r0,0                                   
ffc0b1a8:	48 00 00 08 	b       ffc0b1b0 <unmount+0x150>               
   * 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;                                                        
ffc0b1ac:	38 00 ff ff 	li      r0,-1                                  
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0b1b0:	39 61 00 30 	addi    r11,r1,48                              
ffc0b1b4:	7c 03 03 78 	mr      r3,r0                                  
ffc0b1b8:	4b ff 79 3c 	b       ffc02af4 <_restgpr_30_x>               
                                                                      

ffc07630 <vprintk>: */ void vprintk( const char *fmt, va_list ap ) {
ffc07630:	94 21 ff a8 	stwu    r1,-88(r1)                             
ffc07634:	7c 08 02 a6 	mflr    r0                                     
ffc07638:	be a1 00 2c 	stmw    r21,44(r1)                             
ffc0763c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc07640:	7c 9e 23 78 	mr      r30,r4                                 
ffc07644:	90 01 00 5c 	stw     r0,92(r1)                              
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
ffc07648:	3f 60 00 00 	lis     r27,0                                  
                                                                      
  for (n = 0; n < count; n++) {                                       
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
ffc0764c:	3e a0 ff c2 	lis     r21,-62                                
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
ffc07650:	3a e1 00 08 	addi    r23,r1,8                               
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
                                                                      
      if ( str == NULL ) {                                            
        str = "";                                                     
ffc07654:	3e c0 ff c2 	lis     r22,-62                                
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
ffc07658:	48 00 03 40 	b       ffc07998 <vprintk+0x368>               
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
ffc0765c:	2f 83 00 25 	cmpwi   cr7,r3,37                              
ffc07660:	40 9e 02 08 	bne-    cr7,ffc07868 <vprintk+0x238>           
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
ffc07664:	88 1f 00 01 	lbz     r0,1(r31)                              
ffc07668:	2f 80 00 30 	cmpwi   cr7,r0,48                              
ffc0766c:	41 9e 00 10 	beq-    cr7,ffc0767c <vprintk+0x4c>            
                                                                      
    if (*fmt != '%') {                                                
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
ffc07670:	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 = ' ';                                                  
ffc07674:	3b 00 00 20 	li      r24,32                                 
ffc07678:	48 00 00 0c 	b       ffc07684 <vprintk+0x54>                
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
ffc0767c:	3b ff 00 02 	addi    r31,r31,2                              
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
ffc07680:	3b 00 00 30 	li      r24,48                                 
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
ffc07684:	88 1f 00 00 	lbz     r0,0(r31)                              
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
ffc07688:	3b 20 00 00 	li      r25,0                                  
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
ffc0768c:	2f 80 00 2d 	cmpwi   cr7,r0,45                              
ffc07690:	40 be 00 0c 	bne+    cr7,ffc0769c <vprintk+0x6c>            
      minus = true;                                                   
      fmt++;                                                          
ffc07694:	3b ff 00 01 	addi    r31,r31,1                              
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
ffc07698:	3b 20 00 01 	li      r25,1                                  
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
ffc0769c:	3b 80 00 00 	li      r28,0                                  
ffc076a0:	48 00 00 14 	b       ffc076b4 <vprintk+0x84>                
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
      width *= 10;                                                    
ffc076a4:	1f 9c 00 0a 	mulli   r28,r28,10                             
      width += ((unsigned) *fmt - '0');                               
ffc076a8:	3b 9c ff d0 	addi    r28,r28,-48                            
ffc076ac:	7f 9c 1a 14 	add     r28,r28,r3                             
      fmt++;                                                          
ffc076b0:	3b ff 00 01 	addi    r31,r31,1                              
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
ffc076b4:	88 7f 00 00 	lbz     r3,0(r31)                              
ffc076b8:	38 03 ff d0 	addi    r0,r3,-48                              
ffc076bc:	54 00 06 3e 	clrlwi  r0,r0,24                               
ffc076c0:	2b 80 00 09 	cmplwi  cr7,r0,9                               
ffc076c4:	40 9d ff e0 	ble+    cr7,ffc076a4 <vprintk+0x74>            
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
ffc076c8:	2f 83 00 6c 	cmpwi   cr7,r3,108                             
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
ffc076cc:	7f 9a e3 78 	mr      r26,r28                                
ffc076d0:	7f eb fb 78 	mr      r11,r31                                
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
ffc076d4:	40 be 00 0c 	bne+    cr7,ffc076e0 <vprintk+0xb0>            
      lflag = true;                                                   
      c = *++fmt;                                                     
ffc076d8:	88 6b 00 01 	lbz     r3,1(r11)                              
ffc076dc:	3b ff 00 01 	addi    r31,r31,1                              
    }                                                                 
    if ( c == 'c' ) {                                                 
ffc076e0:	2f 83 00 63 	cmpwi   cr7,r3,99                              
ffc076e4:	40 be 00 40 	bne+    cr7,ffc07724 <vprintk+0xf4>            
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
ffc076e8:	89 7e 00 00 	lbz     r11,0(r30)                             
ffc076ec:	2b 8b 00 08 	cmplwi  cr7,r11,8                              
ffc076f0:	40 9c 00 1c 	bge-    cr7,ffc0770c <vprintk+0xdc>            <== NEVER TAKEN
ffc076f4:	81 3e 00 08 	lwz     r9,8(r30)                              
ffc076f8:	55 60 10 3a 	rlwinm  r0,r11,2,0,29                          
ffc076fc:	39 6b 00 01 	addi    r11,r11,1                              
ffc07700:	7d 29 02 14 	add     r9,r9,r0                               
ffc07704:	99 7e 00 00 	stb     r11,0(r30)                             
ffc07708:	48 00 00 10 	b       ffc07718 <vprintk+0xe8>                
ffc0770c:	81 3e 00 04 	lwz     r9,4(r30)                              <== NOT EXECUTED
ffc07710:	38 09 00 04 	addi    r0,r9,4                                <== NOT EXECUTED
ffc07714:	90 1e 00 04 	stw     r0,4(r30)                              <== NOT EXECUTED
      BSP_output_char(chr);                                           
ffc07718:	80 1b 27 34 	lwz     r0,10036(r27)                          
ffc0771c:	88 69 00 03 	lbz     r3,3(r9)                               
ffc07720:	48 00 01 4c 	b       ffc0786c <vprintk+0x23c>               
      continue;                                                       
    }                                                                 
    if ( c == 's' ) {                                                 
ffc07724:	2f 83 00 73 	cmpwi   cr7,r3,115                             
ffc07728:	40 be 00 e8 	bne+    cr7,ffc07810 <vprintk+0x1e0>           
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
ffc0772c:	89 7e 00 00 	lbz     r11,0(r30)                             
ffc07730:	2b 8b 00 08 	cmplwi  cr7,r11,8                              
ffc07734:	40 9c 00 1c 	bge-    cr7,ffc07750 <vprintk+0x120>           <== NEVER TAKEN
ffc07738:	81 3e 00 08 	lwz     r9,8(r30)                              
ffc0773c:	55 60 10 3a 	rlwinm  r0,r11,2,0,29                          
ffc07740:	39 6b 00 01 	addi    r11,r11,1                              
ffc07744:	7d 29 02 14 	add     r9,r9,r0                               
ffc07748:	99 7e 00 00 	stb     r11,0(r30)                             
ffc0774c:	48 00 00 10 	b       ffc0775c <vprintk+0x12c>               
ffc07750:	81 3e 00 04 	lwz     r9,4(r30)                              <== NOT EXECUTED
ffc07754:	38 09 00 04 	addi    r0,r9,4                                <== NOT EXECUTED
ffc07758:	90 1e 00 04 	stw     r0,4(r30)                              <== NOT EXECUTED
ffc0775c:	83 49 00 00 	lwz     r26,0(r9)                              
                                                                      
      if ( str == NULL ) {                                            
ffc07760:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc07764:	40 be 00 08 	bne+    cr7,ffc0776c <vprintk+0x13c>           
        str = "";                                                     
ffc07768:	3b 56 c4 13 	addi    r26,r22,-15341                         
      }                                                               
                                                                      
      /* calculate length of string */                                
      for ( len=0, s=str ; *s ; len++, s++ )                          
ffc0776c:	3b a0 00 00 	li      r29,0                                  
ffc07770:	48 00 00 08 	b       ffc07778 <vprintk+0x148>               
ffc07774:	3b bd 00 01 	addi    r29,r29,1                              
ffc07778:	7c 1a e8 ae 	lbzx    r0,r26,r29                             
ffc0777c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07780:	40 9e ff f4 	bne+    cr7,ffc07774 <vprintk+0x144>           
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
ffc07784:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc07788:	7f b8 eb 78 	mr      r24,r29                                
ffc0778c:	41 9e 00 1c 	beq-    cr7,ffc077a8 <vprintk+0x178>           
ffc07790:	48 00 00 20 	b       ffc077b0 <vprintk+0x180>               
        for ( i=len ; i<width ; i++ )                                 
          BSP_output_char(' ');                                       
ffc07794:	80 1b 27 34 	lwz     r0,10036(r27)                          
ffc07798:	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++ )                                 
ffc0779c:	3b 18 00 01 	addi    r24,r24,1                              
          BSP_output_char(' ');                                       
ffc077a0:	7c 09 03 a6 	mtctr   r0                                     
ffc077a4:	4e 80 04 21 	bctrl                                          
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
ffc077a8:	7f 98 e0 40 	cmplw   cr7,r24,r28                            
ffc077ac:	41 9c ff e8 	blt+    cr7,ffc07794 <vprintk+0x164>           
          BSP_output_char(' ');                                       
                                                                      
      /* no width option */                                           
      if (width == 0) {                                               
ffc077b0:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc077b4:	40 9e 00 24 	bne-    cr7,ffc077d8 <vprintk+0x1a8>           
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
ffc077b8:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc077bc:	41 be 00 28 	beq+    cr7,ffc077e4 <vprintk+0x1b4>           
ffc077c0:	7f bc eb 78 	mr      r28,r29                                
ffc077c4:	48 00 00 14 	b       ffc077d8 <vprintk+0x1a8>               
        BSP_output_char(*str);                                        
ffc077c8:	80 1b 27 34 	lwz     r0,10036(r27)                          
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
ffc077cc:	3b 5a 00 01 	addi    r26,r26,1                              
        BSP_output_char(*str);                                        
ffc077d0:	7c 09 03 a6 	mtctr   r0                                     
ffc077d4:	4e 80 04 21 	bctrl                                          
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
ffc077d8:	88 7a 00 00 	lbz     r3,0(r26)                              
ffc077dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc077e0:	40 9e ff e8 	bne+    cr7,ffc077c8 <vprintk+0x198>           
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
ffc077e4:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc077e8:	41 9e 01 ac 	beq-    cr7,ffc07994 <vprintk+0x364>           
ffc077ec:	48 00 00 18 	b       ffc07804 <vprintk+0x1d4>               
        for ( i=len ; i<width ; i++ )                                 
          BSP_output_char(' ');                                       
ffc077f0:	80 1b 27 34 	lwz     r0,10036(r27)                          
ffc077f4:	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++ )                                 
ffc077f8:	3b bd 00 01 	addi    r29,r29,1                              
          BSP_output_char(' ');                                       
ffc077fc:	7c 09 03 a6 	mtctr   r0                                     
ffc07800:	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++ )                                 
ffc07804:	7f 9d e0 40 	cmplw   cr7,r29,r28                            
ffc07808:	41 9c ff e8 	blt+    cr7,ffc077f0 <vprintk+0x1c0>           
ffc0780c:	48 00 01 88 	b       ffc07994 <vprintk+0x364>               
                                                                      
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
ffc07810:	2f 83 00 6f 	cmpwi   cr7,r3,111                             
ffc07814:	41 9e 00 64 	beq-    cr7,ffc07878 <vprintk+0x248>           
ffc07818:	2f 83 00 4f 	cmpwi   cr7,r3,79                              
ffc0781c:	41 9e 00 5c 	beq-    cr7,ffc07878 <vprintk+0x248>           
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
ffc07820:	2f 83 00 69 	cmpwi   cr7,r3,105                             
ffc07824:	41 9e 00 60 	beq-    cr7,ffc07884 <vprintk+0x254>           
ffc07828:	2f 83 00 49 	cmpwi   cr7,r3,73                              
ffc0782c:	41 9e 00 58 	beq-    cr7,ffc07884 <vprintk+0x254>           
ffc07830:	2f 83 00 64 	cmpwi   cr7,r3,100                             
ffc07834:	41 9e 00 50 	beq-    cr7,ffc07884 <vprintk+0x254>           
                c == 'd' || c == 'D' ) {                              
ffc07838:	2f 83 00 44 	cmpwi   cr7,r3,68                              
ffc0783c:	41 9e 00 48 	beq-    cr7,ffc07884 <vprintk+0x254>           
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
ffc07840:	2f 83 00 75 	cmpwi   cr7,r3,117                             
ffc07844:	41 9e 00 48 	beq-    cr7,ffc0788c <vprintk+0x25c>           
ffc07848:	2f 83 00 55 	cmpwi   cr7,r3,85                              
ffc0784c:	41 9e 00 40 	beq-    cr7,ffc0788c <vprintk+0x25c>           
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
ffc07850:	2f 83 00 78 	cmpwi   cr7,r3,120                             
ffc07854:	41 9e 00 44 	beq-    cr7,ffc07898 <vprintk+0x268>           
ffc07858:	2f 83 00 58 	cmpwi   cr7,r3,88                              
ffc0785c:	41 9e 00 3c 	beq-    cr7,ffc07898 <vprintk+0x268>           
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
ffc07860:	2f 83 00 70 	cmpwi   cr7,r3,112                             
ffc07864:	41 9e 00 34 	beq-    cr7,ffc07898 <vprintk+0x268>           
      base = 16; sign = false; lflag = true;                          
    } else {                                                          
      BSP_output_char(c);                                             
ffc07868:	80 1b 27 34 	lwz     r0,10036(r27)                          
ffc0786c:	7c 09 03 a6 	mtctr   r0                                     
ffc07870:	4e 80 04 21 	bctrl                                          
      continue;                                                       
ffc07874:	48 00 01 20 	b       ffc07994 <vprintk+0x364>               
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
ffc07878:	38 00 00 00 	li      r0,0                                   
ffc0787c:	3b a0 00 08 	li      r29,8                                  
ffc07880:	48 00 00 20 	b       ffc078a0 <vprintk+0x270>               
    } else if ( c == 'i' || c == 'I' ||                               
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
ffc07884:	38 00 00 01 	li      r0,1                                   
ffc07888:	48 00 00 08 	b       ffc07890 <vprintk+0x260>               
    } else if ( c == 'u' || c == 'U' ) {                              
      base = 10; sign = false;                                        
ffc0788c:	38 00 00 00 	li      r0,0                                   
ffc07890:	3b a0 00 0a 	li      r29,10                                 
ffc07894:	48 00 00 0c 	b       ffc078a0 <vprintk+0x270>               
    } else if ( c == 'x' || c == 'X' ) {                              
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
      base = 16; sign = false; lflag = true;                          
ffc07898:	38 00 00 00 	li      r0,0                                   
ffc0789c:	3b a0 00 10 	li      r29,16                                 
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
      lflag ? va_arg(ap, long) : (long) va_arg(ap, int),              
ffc078a0:	89 7e 00 00 	lbz     r11,0(r30)                             
ffc078a4:	2b 8b 00 08 	cmplwi  cr7,r11,8                              
ffc078a8:	40 9c 00 1c 	bge-    cr7,ffc078c4 <vprintk+0x294>           
ffc078ac:	81 5e 00 08 	lwz     r10,8(r30)                             
ffc078b0:	55 69 10 3a 	rlwinm  r9,r11,2,0,29                          
ffc078b4:	39 6b 00 01 	addi    r11,r11,1                              
ffc078b8:	7d 2a 4a 14 	add     r9,r10,r9                              
ffc078bc:	99 7e 00 00 	stb     r11,0(r30)                             
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
ffc078c0:	48 00 00 10 	b       ffc078d0 <vprintk+0x2a0>               
      lflag ? va_arg(ap, long) : (long) va_arg(ap, int),              
ffc078c4:	81 3e 00 04 	lwz     r9,4(r30)                              
ffc078c8:	39 69 00 04 	addi    r11,r9,4                               
ffc078cc:	91 7e 00 04 	stw     r11,4(r30)                             
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
ffc078d0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
ffc078d4:	83 29 00 00 	lwz     r25,0(r9)                              
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
ffc078d8:	41 9e 00 30 	beq-    cr7,ffc07908 <vprintk+0x2d8>           
ffc078dc:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc078e0:	40 bc 00 28 	bge+    cr7,ffc07908 <vprintk+0x2d8>           
    BSP_output_char('-');                                             
ffc078e4:	80 1b 27 34 	lwz     r0,10036(r27)                          
ffc078e8:	38 60 00 2d 	li      r3,45                                  
    unsigned_num = (unsigned long) -num;                              
ffc078ec:	7f 39 00 d0 	neg     r25,r25                                
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    BSP_output_char('-');                                             
ffc078f0:	7c 09 03 a6 	mtctr   r0                                     
ffc078f4:	4e 80 04 21 	bctrl                                          
    unsigned_num = (unsigned long) -num;                              
    if (maxwidth) maxwidth--;                                         
ffc078f8:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc078fc:	41 9e 00 10 	beq-    cr7,ffc0790c <vprintk+0x2dc>           
ffc07900:	3b 5c ff ff 	addi    r26,r28,-1                             
ffc07904:	48 00 00 08 	b       ffc0790c <vprintk+0x2dc>               
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
ffc07908:	7f 9a e3 78 	mr      r26,r28                                
  }                                                                   
                                                                      
  count = 0;                                                          
ffc0790c:	3b 80 00 00 	li      r28,0                                  
ffc07910:	48 00 00 18 	b       ffc07928 <vprintk+0x2f8>               
  while ((n = unsigned_num / base) > 0) {                             
    toPrint[count++] = (char) (unsigned_num - (n * base));            
ffc07914:	7d 20 e9 d6 	mullw   r9,r0,r29                              
ffc07918:	7f 29 c8 50 	subf    r25,r9,r25                             
ffc0791c:	7f 3c b9 ae 	stbx    r25,r28,r23                            
ffc07920:	3b 9c 00 01 	addi    r28,r28,1                              
ffc07924:	7c 19 03 78 	mr      r25,r0                                 
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
ffc07928:	7c 19 eb 96 	divwu   r0,r25,r29                             
ffc0792c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07930:	40 9e ff e4 	bne+    cr7,ffc07914 <vprintk+0x2e4>           
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
ffc07934:	7d 21 e2 14 	add     r9,r1,r28                              
ffc07938:	9b 29 00 08 	stb     r25,8(r9)                              
ffc0793c:	3b 3c 00 01 	addi    r25,r28,1                              
ffc07940:	48 00 00 18 	b       ffc07958 <vprintk+0x328>               
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
ffc07944:	80 1b 27 34 	lwz     r0,10036(r27)                          
ffc07948:	7f 03 c3 78 	mr      r3,r24                                 
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
ffc0794c:	3b 5a ff ff 	addi    r26,r26,-1                             
    BSP_output_char(lead);                                            
ffc07950:	7c 09 03 a6 	mtctr   r0                                     
ffc07954:	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-- )                                  
ffc07958:	7f 9a c8 40 	cmplw   cr7,r26,r25                            
ffc0795c:	41 9d ff e8 	bgt+    cr7,ffc07944 <vprintk+0x314>           
ffc07960:	3b a0 00 00 	li      r29,0                                  
ffc07964:	48 00 00 28 	b       ffc0798c <vprintk+0x35c>               
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
ffc07968:	7d 57 e2 14 	add     r10,r23,r28                            
                                                                      
  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)])]); 
ffc0796c:	80 1b 27 34 	lwz     r0,10036(r27)                          
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
ffc07970:	7d 3d 00 d0 	neg     r9,r29                                 
                                                                      
  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)])]); 
ffc07974:	7d 2a 48 ae 	lbzx    r9,r10,r9                              
ffc07978:	39 75 c4 14 	addi    r11,r21,-15340                         
ffc0797c:	7c 09 03 a6 	mtctr   r0                                     
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
ffc07980:	3b bd 00 01 	addi    r29,r29,1                              
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
ffc07984:	7c 6b 48 ae 	lbzx    r3,r11,r9                              
ffc07988:	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++) {                                       
ffc0798c:	7f 9d c8 40 	cmplw   cr7,r29,r25                            
ffc07990:	41 9c ff d8 	blt+    cr7,ffc07968 <vprintk+0x338>           
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
ffc07994:	3b ff 00 01 	addi    r31,r31,1                              
ffc07998:	88 7f 00 00 	lbz     r3,0(r31)                              
ffc0799c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc079a0:	40 9e fc bc 	bne+    cr7,ffc0765c <vprintk+0x2c>            
      sign,                                                           
      width,                                                          
      lead                                                            
    );                                                                
  }                                                                   
}                                                                     
ffc079a4:	39 61 00 58 	addi    r11,r1,88                              
ffc079a8:	4b ff 8b 74 	b       ffc0051c <_restgpr_21_x>               
                                                                      

ffc1aca4 <write>: ssize_t write( int fd, const void *buffer, size_t count ) {
ffc1aca4:	7c 08 02 a6 	mflr    r0                                     
ffc1aca8:	7c 2b 0b 78 	mr      r11,r1                                 
ffc1acac:	94 21 ff f0 	stwu    r1,-16(r1)                             
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1acb0:	3d 40 00 00 	lis     r10,0                                  
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
ffc1acb4:	90 01 00 14 	stw     r0,20(r1)                              
ffc1acb8:	4b ff f7 65 	bl      ffc1a41c <_savegpr_31>                 
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1acbc:	80 0a 26 fc 	lwz     r0,9980(r10)                           
ffc1acc0:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc1acc4:	40 9c 00 48 	bge-    cr7,ffc1ad0c <write+0x68>              
  iop = rtems_libio_iop( fd );                                        
ffc1acc8:	3d 40 00 00 	lis     r10,0                                  
ffc1accc:	83 ea 27 ac 	lwz     r31,10156(r10)                         
ffc1acd0:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc1acd4:	7f ff 1a 14 	add     r31,r31,r3                             
  rtems_libio_check_is_open( iop );                                   
ffc1acd8:	80 1f 00 18 	lwz     r0,24(r31)                             
ffc1acdc:	70 0a 01 00 	andi.   r10,r0,256                             
ffc1ace0:	41 82 00 2c 	beq-    ffc1ad0c <write+0x68>                  
  rtems_libio_check_buffer( buffer );                                 
ffc1ace4:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc1ace8:	40 be 00 10 	bne+    cr7,ffc1acf8 <write+0x54>              <== ALWAYS TAKEN
ffc1acec:	4b ff 4f 99 	bl      ffc0fc84 <__errno>                     <== NOT EXECUTED
ffc1acf0:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc1acf4:	48 00 00 20 	b       ffc1ad14 <write+0x70>                  <== NOT EXECUTED
  rtems_libio_check_count( count );                                   
ffc1acf8:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc1acfc:	38 60 00 00 	li      r3,0                                   
ffc1ad00:	41 9e 00 5c 	beq-    cr7,ffc1ad5c <write+0xb8>              
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_WRITE, EBADF );
ffc1ad04:	70 09 00 04 	andi.   r9,r0,4                                
ffc1ad08:	40 a2 00 18 	bne+    ffc1ad20 <write+0x7c>                  
ffc1ad0c:	4b ff 4f 79 	bl      ffc0fc84 <__errno>                     
ffc1ad10:	38 00 00 09 	li      r0,9                                   
ffc1ad14:	90 03 00 00 	stw     r0,0(r3)                               
ffc1ad18:	38 60 ff ff 	li      r3,-1                                  
ffc1ad1c:	48 00 00 40 	b       ffc1ad5c <write+0xb8>                  
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
  rc = (*iop->pathinfo.handlers->write_h)( iop, buffer, count );      
ffc1ad20:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc1ad24:	7f e3 fb 78 	mr      r3,r31                                 
ffc1ad28:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc1ad2c:	7c 09 03 a6 	mtctr   r0                                     
ffc1ad30:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( rc > 0 )                                                       
ffc1ad34:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1ad38:	40 81 00 24 	ble-    ffc1ad5c <write+0xb8>                  
    iop->offset += rc;                                                
ffc1ad3c:	81 1f 00 10 	lwz     r8,16(r31)                             
ffc1ad40:	7c 6b 1b 78 	mr      r11,r3                                 
ffc1ad44:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc1ad48:	7c 6a fe 70 	srawi   r10,r3,31                              
ffc1ad4c:	7d 6b 48 14 	addc    r11,r11,r9                             
ffc1ad50:	7d 4a 41 14 	adde    r10,r10,r8                             
ffc1ad54:	91 5f 00 10 	stw     r10,16(r31)                            
ffc1ad58:	91 7f 00 14 	stw     r11,20(r31)                            
                                                                      
  return rc;                                                          
}                                                                     
ffc1ad5c:	39 61 00 10 	addi    r11,r1,16                              
ffc1ad60:	4b fe 57 e4 	b       ffc00544 <_restgpr_31_x>               
                                                                      

ffc087d4 <writev>: ssize_t writev( int fd, const struct iovec *iov, int iovcnt ) {
ffc087d4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc087d8:	7c 08 02 a6 	mflr    r0                                     
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc087dc:	3d 20 00 00 	lis     r9,0                                   
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc087e0:	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 );                                         
ffc087e4:	80 09 26 dc 	lwz     r0,9948(r9)                            
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc087e8:	bf 21 00 0c 	stmw    r25,12(r1)                             
ffc087ec:	7c ba 2b 78 	mr      r26,r5                                 
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc087f0:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc087f4:	40 9c 00 28 	bge-    cr7,ffc0881c <writev+0x48>             
  iop = rtems_libio_iop( fd );                                        
ffc087f8:	3d 20 00 00 	lis     r9,0                                   
ffc087fc:	83 69 27 88 	lwz     r27,10120(r9)                          
ffc08800:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc08804:	7f 7b 1a 14 	add     r27,r27,r3                             
  rtems_libio_check_is_open( iop );                                   
ffc08808:	80 1b 00 18 	lwz     r0,24(r27)                             
ffc0880c:	70 09 01 00 	andi.   r9,r0,256                              
ffc08810:	41 82 00 0c 	beq-    ffc0881c <writev+0x48>                 
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_WRITE, EBADF );
ffc08814:	70 09 00 04 	andi.   r9,r0,4                                
ffc08818:	40 a2 00 10 	bne+    ffc08828 <writev+0x54>                 <== ALWAYS TAKEN
ffc0881c:	48 00 7e b9 	bl      ffc106d4 <__errno>                     
ffc08820:	38 00 00 09 	li      r0,9                                   
ffc08824:	48 00 00 68 	b       ffc0888c <writev+0xb8>                 
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
ffc08828:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0882c:	41 9e 00 58 	beq-    cr7,ffc08884 <writev+0xb0>             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
ffc08830:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc08834:	40 9d 00 50 	ble-    cr7,ffc08884 <writev+0xb0>             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
ffc08838:	2f 85 04 00 	cmpwi   cr7,r5,1024                            
ffc0883c:	41 9d 00 48 	bgt-    cr7,ffc08884 <writev+0xb0>             <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc08840:	7c 9c 23 78 	mr      r28,r4                                 
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
ffc08844:	7c a9 03 a6 	mtctr   r5                                     
ffc08848:	7c 89 23 78 	mr      r9,r4                                  
ffc0884c:	38 00 00 01 	li      r0,1                                   
ffc08850:	39 60 00 00 	li      r11,0                                  
ffc08854:	48 00 00 08 	b       ffc0885c <writev+0x88>                 
   *  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++ ) {                    
ffc08858:	7d 4b 53 78 	mr      r11,r10                                
                                                                      
    /*                                                                
     *  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 )                                       
ffc0885c:	81 49 00 00 	lwz     r10,0(r9)                              
ffc08860:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc08864:	41 9e 00 20 	beq-    cr7,ffc08884 <writev+0xb0>             
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
ffc08868:	81 49 00 04 	lwz     r10,4(r9)                              
      all_zeros = false;                                              
ffc0886c:	31 0a ff ff 	addic   r8,r10,-1                              
ffc08870:	7d 08 41 10 	subfe   r8,r8,r8                               
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
ffc08874:	7d 4a 5a 14 	add     r10,r10,r11                            
    if ( total < old || total > SSIZE_MAX )                           
ffc08878:	7f 8a 58 00 	cmpw    cr7,r10,r11                            
     */                                                               
    if ( iov[v].iov_base == 0 )                                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
ffc0887c:	7c 00 40 38 	and     r0,r0,r8                               
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
ffc08880:	40 bc 00 14 	bge+    cr7,ffc08894 <writev+0xc0>             
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc08884:	48 00 7e 51 	bl      ffc106d4 <__errno>                     
ffc08888:	38 00 00 16 	li      r0,22                                  
ffc0888c:	90 03 00 00 	stw     r0,0(r3)                               
ffc08890:	48 00 00 90 	b       ffc08920 <writev+0x14c>                
   *  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++ ) {                    
ffc08894:	39 29 00 08 	addi    r9,r9,8                                
ffc08898:	42 00 ff c0 	bdnz+   ffc08858 <writev+0x84>                 
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
ffc0889c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return 0;                                                         
ffc088a0:	3b a0 00 00 	li      r29,0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
ffc088a4:	40 9e 00 80 	bne-    cr7,ffc08924 <writev+0x150>            
ffc088a8:	3b 20 00 00 	li      r25,0                                  
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
ffc088ac:	80 bc 00 04 	lwz     r5,4(r28)                              
ffc088b0:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc088b4:	41 be 00 58 	beq+    cr7,ffc0890c <writev+0x138>            <== NEVER TAKEN
      continue;                                                       
                                                                      
    bytes = (*iop->pathinfo.handlers->write_h)(                       
ffc088b8:	81 3b 00 24 	lwz     r9,36(r27)                             
ffc088bc:	7f 63 db 78 	mr      r3,r27                                 
ffc088c0:	80 9c 00 00 	lwz     r4,0(r28)                              
ffc088c4:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc088c8:	7c 09 03 a6 	mtctr   r0                                     
ffc088cc:	4e 80 04 21 	bctrl                                          
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
ffc088d0:	2c 03 00 00 	cmpwi   r3,0                                   
ffc088d4:	41 80 00 4c 	blt-    ffc08920 <writev+0x14c>                <== NEVER TAKEN
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
ffc088d8:	41 82 00 28 	beq-    ffc08900 <writev+0x12c>                <== NEVER TAKEN
      iop->offset += bytes;                                           
ffc088dc:	81 5b 00 10 	lwz     r10,16(r27)                            
ffc088e0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc088e4:	81 7b 00 14 	lwz     r11,20(r27)                            
ffc088e8:	7c 7e fe 70 	srawi   r30,r3,31                              
      total       += bytes;                                           
ffc088ec:	7f bd 1a 14 	add     r29,r29,r3                             
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
ffc088f0:	7d 6b f8 14 	addc    r11,r11,r31                            
ffc088f4:	7d 4a f1 14 	adde    r10,r10,r30                            
ffc088f8:	91 5b 00 10 	stw     r10,16(r27)                            
ffc088fc:	91 7b 00 14 	stw     r11,20(r27)                            
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
ffc08900:	80 1c 00 04 	lwz     r0,4(r28)                              
ffc08904:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc08908:	40 9e 00 1c 	bne-    cr7,ffc08924 <writev+0x150>            <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
ffc0890c:	3b 39 00 01 	addi    r25,r25,1                              
ffc08910:	7f 99 d0 00 	cmpw    cr7,r25,r26                            
ffc08914:	3b 9c 00 08 	addi    r28,r28,8                              
ffc08918:	40 9e ff 94 	bne+    cr7,ffc088ac <writev+0xd8>             
ffc0891c:	48 00 00 08 	b       ffc08924 <writev+0x150>                
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
ffc08920:	3b a0 ff ff 	li      r29,-1                                 
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
ffc08924:	39 61 00 28 	addi    r11,r1,40                              
ffc08928:	7f a3 eb 78 	mr      r3,r29                                 
ffc0892c:	4b ff 82 4c 	b       ffc00b78 <_restgpr_25_x>