RTEMS 4.11
Annotated Report
Mon Mar 21 00:40:40 2011

ffc0b7b4 <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 ) {                                              
ffc0b7b4:	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;                                   
ffc0b7b8:	81 23 00 10 	lwz     r9,16(r3)                              
  switch( node->type ) {                                              
ffc0b7bc:	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;                                   
ffc0b7c0:	81 29 00 34 	lwz     r9,52(r9)                              
  switch( node->type ) {                                              
ffc0b7c4:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0b7c8:	2b 80 00 06 	cmplwi  cr7,r0,6                               
ffc0b7cc:	41 9d 00 50 	bgt-    cr7,ffc0b81c <IMFS_Set_handlers+0x68>  <== NEVER TAKEN
ffc0b7d0:	3d 60 ff c1 	lis     r11,-63                                
ffc0b7d4:	39 6b 5f 00 	addi    r11,r11,24320                          
ffc0b7d8:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0b7dc:	7c 0b 00 2e 	lwzx    r0,r11,r0                              
ffc0b7e0:	7d 60 5a 14 	add     r11,r0,r11                             
ffc0b7e4:	7d 69 03 a6 	mtctr   r11                                    
ffc0b7e8:	4e 80 04 20 	bctr                                           
    case IMFS_DIRECTORY:                                              
      loc->handlers = fs_info->directory_handlers;                    
ffc0b7ec:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc0b7f0:	48 00 00 28 	b       ffc0b818 <IMFS_Set_handlers+0x64>      
      break;                                                          
    case IMFS_DEVICE:                                                 
      loc->handlers = &IMFS_device_handlers;                          
ffc0b7f4:	3d 20 ff c1 	lis     r9,-63                                 
ffc0b7f8:	38 09 5f 28 	addi    r0,r9,24360                            
ffc0b7fc:	48 00 00 1c 	b       ffc0b818 <IMFS_Set_handlers+0x64>      
      break;                                                          
    case IMFS_SYM_LINK:                                               
    case IMFS_HARD_LINK:                                              
      loc->handlers = &IMFS_link_handlers;                            
ffc0b800:	3d 20 ff c1 	lis     r9,-63                                 
ffc0b804:	38 09 5f 98 	addi    r0,r9,24472                            
ffc0b808:	48 00 00 10 	b       ffc0b818 <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;                      
ffc0b80c:	80 09 00 08 	lwz     r0,8(r9)                               
ffc0b810:	48 00 00 08 	b       ffc0b818 <IMFS_Set_handlers+0x64>      
      break;                                                          
    case IMFS_FIFO:                                                   
      loc->handlers = fs_info->fifo_handlers;                         
ffc0b814:	80 09 00 10 	lwz     r0,16(r9)                              
ffc0b818:	90 03 00 08 	stw     r0,8(r3)                               
      break;                                                          
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0b81c:	38 60 00 00 	li      r3,0                                   
ffc0b820:	4e 80 00 20 	blr                                            
                                                                      

ffc0b614 <IMFS_create_node>: IMFS_fs_info_t *fs_info; /* * MUST have a parent node to call this routine. */ if ( parent_loc == NULL )
ffc0b614:	2c 03 00 00 	cmpwi   r3,0                                   
  IMFS_jnode_types_t                type,                             
  const char                       *name,                             
  mode_t                            mode,                             
  const IMFS_types_union           *info                              
)                                                                     
{                                                                     
ffc0b618:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0b61c:	7c 08 02 a6 	mflr    r0                                     
ffc0b620:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc0b624:	7c 9f 23 78 	mr      r31,r4                                 
ffc0b628:	7c fe 3b 78 	mr      r30,r7                                 
ffc0b62c:	90 01 00 24 	stw     r0,36(r1)                              
                                                                      
  /*                                                                  
   *  MUST have a parent node to call this routine.                   
   */                                                                 
  if ( parent_loc == NULL )                                           
    return NULL;                                                      
ffc0b630:	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 )                                           
ffc0b634:	41 82 01 24 	beq-    ffc0b758 <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 &&                                           
ffc0b638:	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;                            
ffc0b63c:	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;                                   
ffc0b640:	83 83 00 00 	lwz     r28,0(r3)                              
  fs_info = parent_loc->mt_entry->fs_info;                            
ffc0b644:	83 a9 00 34 	lwz     r29,52(r9)                             
                                                                      
  /*                                                                  
   *  Reject creation of FIFOs if support is disabled.                
   */                                                                 
  if ( type == IMFS_FIFO &&                                           
ffc0b648:	40 9e 00 18 	bne-    cr7,ffc0b660 <IMFS_create_node+0x4c>   
ffc0b64c:	81 3d 00 10 	lwz     r9,16(r29)                             
ffc0b650:	3d 60 ff c1 	lis     r11,-63                                
ffc0b654:	38 0b 5e 98 	addi    r0,r11,24216                           
ffc0b658:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0b65c:	41 be 00 fc 	beq+    cr7,ffc0b758 <IMFS_create_node+0x144>  
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Allocate filesystem node and fill in basic information          
   */                                                                 
  node  = IMFS_allocate_node( type, name, mode & ~rtems_filesystem_umask );
ffc0b660:	3d 20 00 00 	lis     r9,0                                   
ffc0b664:	81 29 27 1c 	lwz     r9,10012(r9)                           
ffc0b668:	7c a4 2b 78 	mr      r4,r5                                  
ffc0b66c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b670:	80 09 00 2c 	lwz     r0,44(r9)                              
ffc0b674:	7c c5 00 78 	andc    r5,r6,r0                               
ffc0b678:	4b ff ff 19 	bl      ffc0b590 <IMFS_allocate_node>          
  if ( !node )                                                        
ffc0b67c:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc0b680:	41 82 00 d8 	beq-    ffc0b758 <IMFS_create_node+0x144>      
    return NULL;                                                      
                                                                      
  /*                                                                  
   *  Set the type specific information                               
   */                                                                 
  if ( type == IMFS_DIRECTORY ) {                                     
ffc0b684:	2f 9f 00 01 	cmpwi   cr7,r31,1                              
ffc0b688:	40 be 00 1c 	bne+    cr7,ffc0b6a4 <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 );                        
ffc0b68c:	38 1b 00 54 	addi    r0,r27,84                              
                                                                      
  head->next = tail;                                                  
ffc0b690:	90 1b 00 50 	stw     r0,80(r27)                             
  head->previous = NULL;                                              
ffc0b694:	38 00 00 00 	li      r0,0                                   
ffc0b698:	90 1b 00 54 	stw     r0,84(r27)                             
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
ffc0b69c:	38 1b 00 50 	addi    r0,r27,80                              
ffc0b6a0:	48 00 00 54 	b       ffc0b6f4 <IMFS_create_node+0xe0>       
    rtems_chain_initialize_empty(&node->info.directory.Entries);      
  } else if ( type == IMFS_HARD_LINK ) {                              
ffc0b6a4:	2f 9f 00 03 	cmpwi   cr7,r31,3                              
ffc0b6a8:	41 9e 00 0c 	beq-    cr7,ffc0b6b4 <IMFS_create_node+0xa0>   
    node->info.hard_link.link_node = info->hard_link.link_node;       
  } else if ( type == IMFS_SYM_LINK ) {                               
ffc0b6ac:	2f 9f 00 04 	cmpwi   cr7,r31,4                              
ffc0b6b0:	40 be 00 0c 	bne+    cr7,ffc0b6bc <IMFS_create_node+0xa8>   
    node->info.sym_link.name = info->sym_link.name;                   
ffc0b6b4:	80 1e 00 00 	lwz     r0,0(r30)                              
ffc0b6b8:	48 00 00 7c 	b       ffc0b734 <IMFS_create_node+0x120>      
  } else if ( type == IMFS_DEVICE ) {                                 
ffc0b6bc:	2f 9f 00 02 	cmpwi   cr7,r31,2                              
ffc0b6c0:	40 be 00 18 	bne+    cr7,ffc0b6d8 <IMFS_create_node+0xc4>   
    node->info.device.major = info->device.major;                     
ffc0b6c4:	80 1e 00 00 	lwz     r0,0(r30)                              
ffc0b6c8:	90 1b 00 50 	stw     r0,80(r27)                             
    node->info.device.minor = info->device.minor;                     
ffc0b6cc:	80 1e 00 04 	lwz     r0,4(r30)                              
ffc0b6d0:	90 1b 00 54 	stw     r0,84(r27)                             
ffc0b6d4:	48 00 00 64 	b       ffc0b738 <IMFS_create_node+0x124>      
  } else if ( type == IMFS_LINEAR_FILE ) {                            
ffc0b6d8:	2f 9f 00 06 	cmpwi   cr7,r31,6                              
ffc0b6dc:	40 be 00 20 	bne+    cr7,ffc0b6fc <IMFS_create_node+0xe8>   
    node->info.linearfile.size      = 0;                              
ffc0b6e0:	39 20 00 00 	li      r9,0                                   
ffc0b6e4:	39 40 00 00 	li      r10,0                                  
ffc0b6e8:	91 3b 00 50 	stw     r9,80(r27)                             
    node->info.linearfile.direct    = 0;                              
ffc0b6ec:	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;                              
ffc0b6f0:	91 5b 00 54 	stw     r10,84(r27)                            
    node->info.linearfile.direct    = 0;                              
ffc0b6f4:	90 1b 00 58 	stw     r0,88(r27)                             
ffc0b6f8:	48 00 00 40 	b       ffc0b738 <IMFS_create_node+0x124>      
  } else if ( type == IMFS_MEMORY_FILE ) {                            
ffc0b6fc:	2f 9f 00 05 	cmpwi   cr7,r31,5                              
ffc0b700:	40 be 00 28 	bne+    cr7,ffc0b728 <IMFS_create_node+0x114>  
      node->info.file.size            = 0;                            
      node->info.file.indirect        = 0;                            
ffc0b704:	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;                            
ffc0b708:	39 20 00 00 	li      r9,0                                   
      node->info.file.indirect        = 0;                            
ffc0b70c:	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;                            
ffc0b710:	39 40 00 00 	li      r10,0                                  
ffc0b714:	91 3b 00 50 	stw     r9,80(r27)                             
ffc0b718:	91 5b 00 54 	stw     r10,84(r27)                            
      node->info.file.indirect        = 0;                            
      node->info.file.doubly_indirect = 0;                            
ffc0b71c:	90 1b 00 5c 	stw     r0,92(r27)                             
      node->info.file.triply_indirect = 0;                            
ffc0b720:	90 1b 00 60 	stw     r0,96(r27)                             
ffc0b724:	48 00 00 14 	b       ffc0b738 <IMFS_create_node+0x124>      
  } else if ( type == IMFS_FIFO ) {                                   
ffc0b728:	2f 9f 00 07 	cmpwi   cr7,r31,7                              
ffc0b72c:	40 be 00 0c 	bne+    cr7,ffc0b738 <IMFS_create_node+0x124>  <== NEVER TAKEN
    node->info.fifo.pipe = NULL;                                      
ffc0b730:	38 00 00 00 	li      r0,0                                   
ffc0b734:	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;                                
ffc0b738:	81 3d 00 04 	lwz     r9,4(r29)                              
ffc0b73c:	38 7c 00 50 	addi    r3,r28,80                              
  }                                                                   
                                                                      
  /*                                                                  
   *  This node MUST have a parent, so put it in that directory list. 
   */                                                                 
  node->Parent = parent;                                              
ffc0b740:	93 9b 00 08 	stw     r28,8(r27)                             
ffc0b744:	7f 64 db 78 	mr      r4,r27                                 
  node->st_ino = ++fs_info->ino_count;                                
ffc0b748:	38 09 00 01 	addi    r0,r9,1                                
ffc0b74c:	90 1d 00 04 	stw     r0,4(r29)                              
ffc0b750:	90 1b 00 38 	stw     r0,56(r27)                             
ffc0b754:	4b ff cc 49 	bl      ffc0839c <_Chain_Append>               
                                                                      
  rtems_chain_append( &parent->info.directory.Entries, &node->Node ); 
                                                                      
  return node;                                                        
}                                                                     
ffc0b758:	39 61 00 20 	addi    r11,r1,32                              
ffc0b75c:	7f 63 db 78 	mr      r3,r27                                 
ffc0b760:	48 00 89 ec 	b       ffc1414c <_restgpr_27_x>               
                                                                      

ffc0b8d8 <IMFS_eval_path>: const char *pathname, /* IN */ size_t pathnamelen, /* IN */ int flags, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ) {
ffc0b8d8:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc0b8dc:	7c 08 02 a6 	mflr    r0                                     
ffc0b8e0:	90 01 00 7c 	stw     r0,124(r1)                             
  char                                token[ IMFS_NAME_MAX + 1 ];     
  rtems_filesystem_location_info_t    newloc;                         
  IMFS_jnode_t                       *node;                           
  int                                 result;                         
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
ffc0b8e4:	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 */       
                   )                                                  
{                                                                     
ffc0b8e8:	be a1 00 4c 	stmw    r21,76(r1)                             
ffc0b8ec:	7c 7b 1b 78 	mr      r27,r3                                 
ffc0b8f0:	7c 9e 23 78 	mr      r30,r4                                 
ffc0b8f4:	7c bc 2b 78 	mr      r28,r5                                 
ffc0b8f8:	7c df 33 78 	mr      r31,r6                                 
  char                                token[ IMFS_NAME_MAX + 1 ];     
  rtems_filesystem_location_info_t    newloc;                         
  IMFS_jnode_t                       *node;                           
  int                                 result;                         
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) ) {                       
ffc0b8fc:	41 a2 00 10 	beq+    ffc0b90c <IMFS_eval_path+0x34>         <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EIO );                      
ffc0b900:	48 00 38 7d 	bl      ffc0f17c <__errno>                     <== NOT EXECUTED
ffc0b904:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc0b908:	48 00 01 fc 	b       ffc0bb04 <IMFS_eval_path+0x22c>        <== NOT EXECUTED
  /*                                                                  
   *  This was filled in by the caller and is valid in the            
   *  mount table.                                                    
   */                                                                 
                                                                      
  node = pathloc->node_access;                                        
ffc0b90c:	83 46 00 00 	lwz     r26,0(r6)                              
  size_t                             pathnamelen,  /* IN     */       
  int                                flags,        /* IN     */       
  rtems_filesystem_location_info_t  *pathloc       /* IN/OUT */       
                   )                                                  
{                                                                     
  int                                 i = 0;                          
ffc0b910:	3b a0 00 00 	li      r29,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 );  
ffc0b914:	3b 21 00 20 	addi    r25,r1,32                              
ffc0b918:	3a e1 00 08 	addi    r23,r1,8                               
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
ffc0b91c:	3f 00 00 00 	lis     r24,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 );  
ffc0b920:	7c 7b ea 14 	add     r3,r27,r29                             
ffc0b924:	7f c4 f3 78 	mr      r4,r30                                 
ffc0b928:	7f 25 cb 78 	mr      r5,r25                                 
ffc0b92c:	7e e6 bb 78 	mr      r6,r23                                 
ffc0b930:	48 00 06 ed 	bl      ffc0c01c <IMFS_get_token>              
    pathnamelen -= len;                                               
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
ffc0b934:	80 1f 00 00 	lwz     r0,0(r31)                              
   *  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 );  
ffc0b938:	7c 76 1b 78 	mr      r22,r3                                 
    pathnamelen -= len;                                               
ffc0b93c:	82 a1 00 08 	lwz     r21,8(r1)                              
    i += len;                                                         
                                                                      
    if ( !pathloc->node_access )                                      
ffc0b940:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0b944:	41 9e 01 0c 	beq-    cr7,ffc0ba50 <IMFS_eval_path+0x178>    <== 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 )                                  
ffc0b948:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0b94c:	41 9e 00 24 	beq-    cr7,ffc0b970 <IMFS_eval_path+0x98>     
      if ( node->type == IMFS_DIRECTORY )                             
ffc0b950:	80 1a 00 4c 	lwz     r0,76(r26)                             
ffc0b954:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0b958:	40 be 00 18 	bne+    cr7,ffc0b970 <IMFS_eval_path+0x98>     
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
ffc0b95c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b960:	38 80 00 01 	li      r4,1                                   
ffc0b964:	4b ff fe c1 	bl      ffc0b824 <IMFS_evaluate_permission>    
ffc0b968:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0b96c:	41 9e 01 90 	beq-    cr7,ffc0bafc <IMFS_eval_path+0x224>    
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
ffc0b970:	2f 96 00 03 	cmpwi   cr7,r22,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;                                      
ffc0b974:	83 5f 00 00 	lwz     r26,0(r31)                             
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
                                                                      
    type = IMFS_get_token( &pathname[i], pathnamelen, token, &len );  
    pathnamelen -= len;                                               
ffc0b978:	7f d5 f0 50 	subf    r30,r21,r30                            
    i += len;                                                         
ffc0b97c:	7f bd aa 14 	add     r29,r29,r21                            
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
          rtems_set_errno_and_return_minus_one( EACCES );             
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
ffc0b980:	41 9e 00 54 	beq-    cr7,ffc0b9d4 <IMFS_eval_path+0xfc>     
ffc0b984:	2f 96 00 04 	cmpwi   cr7,r22,4                              
ffc0b988:	41 9e 00 dc 	beq-    cr7,ffc0ba64 <IMFS_eval_path+0x18c>    
ffc0b98c:	2f 16 00 02 	cmpwi   cr6,r22,2                              
ffc0b990:	40 ba 00 e0 	bne+    cr6,ffc0ba70 <IMFS_eval_path+0x198>    
      case IMFS_UP_DIR:                                               
        /*                                                            
         *  Am I at the root of all filesystems? (chroot'ed?)         
         */                                                           
                                                                      
        if ( pathloc->node_access == rtems_filesystem_root.node_access )
ffc0b994:	81 38 27 1c 	lwz     r9,10012(r24)                          
ffc0b998:	80 09 00 18 	lwz     r0,24(r9)                              
ffc0b99c:	7f 9a 00 00 	cmpw    cr7,r26,r0                             
ffc0b9a0:	41 be ff 80 	beq-    cr7,ffc0b920 <IMFS_eval_path+0x48>     
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
            pathloc->mt_entry->mt_fs_root.node_access) {              
ffc0b9a4:	80 9f 00 10 	lwz     r4,16(r31)                             
                                                                      
        /*                                                            
         *  Am I at the root of this mounted filesystem?              
         */                                                           
                                                                      
        if (pathloc->node_access ==                                   
ffc0b9a8:	80 04 00 1c 	lwz     r0,28(r4)                              
ffc0b9ac:	7f 9a 00 00 	cmpw    cr7,r26,r0                             
ffc0b9b0:	40 be 00 0c 	bne+    cr7,ffc0b9bc <IMFS_eval_path+0xe4>     
           */                                                         
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;       /* Throw out the .. in this case */          
          } else {                                                    
            newloc = pathloc->mt_entry->mt_point_node;                
ffc0b9b4:	38 84 00 08 	addi    r4,r4,8                                
ffc0b9b8:	48 00 00 e0 	b       ffc0ba98 <IMFS_eval_path+0x1c0>        
                                               pathnamelen+len,       
                                               flags,pathloc);        
          }                                                           
        } else {                                                      
                                                                      
          if ( !node->Parent )                                        
ffc0b9bc:	83 5a 00 08 	lwz     r26,8(r26)                             
ffc0b9c0:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0b9c4:	40 be 00 98 	bne+    cr7,ffc0ba5c <IMFS_eval_path+0x184>    
            rtems_set_errno_and_return_minus_one( ENOENT );           
ffc0b9c8:	48 00 37 b5 	bl      ffc0f17c <__errno>                     
ffc0b9cc:	92 c3 00 00 	stw     r22,0(r3)                              
ffc0b9d0:	48 00 01 38 	b       ffc0bb08 <IMFS_eval_path+0x230>        
                                                                      
      case IMFS_NAME:                                                 
        /*                                                            
         *  If we are at a link follow it.                            
         */                                                           
        if ( node->type == IMFS_HARD_LINK ) {                         
ffc0b9d4:	80 1a 00 4c 	lwz     r0,76(r26)                             
ffc0b9d8:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0b9dc:	40 be 00 18 	bne+    cr7,ffc0b9f4 <IMFS_eval_path+0x11c>    
          IMFS_evaluate_hard_link( pathloc, 0 );                      
ffc0b9e0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b9e4:	38 80 00 00 	li      r4,0                                   
ffc0b9e8:	4b ff fe 91 	bl      ffc0b878 <IMFS_evaluate_hard_link>     
          node = pathloc->node_access;                                
ffc0b9ec:	83 5f 00 00 	lwz     r26,0(r31)                             
ffc0b9f0:	48 00 00 28 	b       ffc0ba18 <IMFS_eval_path+0x140>        
	   * It would be a design error if we evaluated the link and         
	   * was broken.                                                     
	   */                                                                
          IMFS_assert( node );                                        
                                                                      
        } else if ( node->type == IMFS_SYM_LINK ) {                   
ffc0b9f4:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc0b9f8:	40 be 00 20 	bne+    cr7,ffc0ba18 <IMFS_eval_path+0x140>    
          result = IMFS_evaluate_sym_link( pathloc, 0 );              
ffc0b9fc:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ba00:	38 80 00 00 	li      r4,0                                   
ffc0ba04:	48 00 01 15 	bl      ffc0bb18 <IMFS_evaluate_sym_link>      
                                                                      
          /*                                                          
           *  In contrast to a hard link, it is possible to have a broken
           *  symbolic link.                                          
           */                                                         
          node = pathloc->node_access;                                
ffc0ba08:	83 5f 00 00 	lwz     r26,0(r31)                             
          if ( result == -1 )                                         
ffc0ba0c:	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 );              
ffc0ba10:	7c 76 1b 78 	mr      r22,r3                                 
          /*                                                          
           *  In contrast to a hard link, it is possible to have a broken
           *  symbolic link.                                          
           */                                                         
          node = pathloc->node_access;                                
          if ( result == -1 )                                         
ffc0ba14:	41 9e 00 f8 	beq-    cr7,ffc0bb0c <IMFS_eval_path+0x234>    <== NEVER TAKEN
        }                                                             
                                                                      
        /*                                                            
         *  Only a directory can be decended into.                    
         */                                                           
        if ( node->type != IMFS_DIRECTORY )                           
ffc0ba18:	80 1a 00 4c 	lwz     r0,76(r26)                             
ffc0ba1c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0ba20:	41 be 00 10 	beq+    cr7,ffc0ba30 <IMFS_eval_path+0x158>    
          rtems_set_errno_and_return_minus_one( ENOTDIR );            
ffc0ba24:	48 00 37 59 	bl      ffc0f17c <__errno>                     
ffc0ba28:	38 00 00 14 	li      r0,20                                  
ffc0ba2c:	48 00 00 d8 	b       ffc0bb04 <IMFS_eval_path+0x22c>        
                                                                      
        /*                                                            
         *  If we are at a node that is a mount point. Set loc to the 
         *  new fs root node and let them finish evaluating the path. 
         */                                                           
        if ( node->info.directory.mt_fs != NULL ) {                   
ffc0ba30:	80 9a 00 5c 	lwz     r4,92(r26)                             
ffc0ba34:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0ba38:	40 9e 00 5c 	bne-    cr7,ffc0ba94 <IMFS_eval_path+0x1bc>    
        }                                                             
                                                                      
        /*                                                            
         *  Otherwise find the token name in the present location.    
         */                                                           
        node = IMFS_find_match_in_dir( node, token );                 
ffc0ba3c:	7f 43 d3 78 	mr      r3,r26                                 
ffc0ba40:	7f 24 cb 78 	mr      r4,r25                                 
ffc0ba44:	48 00 05 45 	bl      ffc0bf88 <IMFS_find_match_in_dir>      
        if ( !node )                                                  
ffc0ba48:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc0ba4c:	40 a2 00 10 	bne+    ffc0ba5c <IMFS_eval_path+0x184>        
          rtems_set_errno_and_return_minus_one( ENOENT );             
ffc0ba50:	48 00 37 2d 	bl      ffc0f17c <__errno>                     
ffc0ba54:	38 00 00 02 	li      r0,2                                   
ffc0ba58:	48 00 00 ac 	b       ffc0bb04 <IMFS_eval_path+0x22c>        
                                                                      
        /*                                                            
         *  Set the node access to the point we have found.           
         */                                                           
                                                                      
        pathloc->node_access = node;                                  
ffc0ba5c:	93 5f 00 00 	stw     r26,0(r31)                             
ffc0ba60:	4b ff fe c0 	b       ffc0b920 <IMFS_eval_path+0x48>         
      case IMFS_NO_MORE_PATH:                                         
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
ffc0ba64:	48 00 37 19 	bl      ffc0f17c <__errno>                     
ffc0ba68:	38 00 00 5b 	li      r0,91                                  
ffc0ba6c:	48 00 00 98 	b       ffc0bb04 <IMFS_eval_path+0x22c>        
                                                                      
  /*                                                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( (type != IMFS_NO_MORE_PATH) && (type != IMFS_INVALID_TOKEN) ) {
ffc0ba70:	2f 16 00 00 	cmpwi   cr6,r22,0                              
ffc0ba74:	41 9a 00 08 	beq-    cr6,ffc0ba7c <IMFS_eval_path+0x1a4>    
ffc0ba78:	40 9e fe a8 	bne+    cr7,ffc0b920 <IMFS_eval_path+0x48>     <== 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 ) {                               
ffc0ba7c:	80 1a 00 4c 	lwz     r0,76(r26)                             
ffc0ba80:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0ba84:	40 9e 00 58 	bne-    cr7,ffc0badc <IMFS_eval_path+0x204>    
    if ( node->info.directory.mt_fs != NULL ) {                       
ffc0ba88:	80 9a 00 5c 	lwz     r4,92(r26)                             
ffc0ba8c:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0ba90:	41 9e 00 4c 	beq-    cr7,ffc0badc <IMFS_eval_path+0x204>    
      newloc   = node->info.directory.mt_fs->mt_fs_root;              
ffc0ba94:	38 84 00 1c 	addi    r4,r4,28                               
ffc0ba98:	39 61 00 0c 	addi    r11,r1,12                              
ffc0ba9c:	7c a4 a4 aa 	lswi    r5,r4,20                               
ffc0baa0:	7c ab a5 aa 	stswi   r5,r11,20                              
      *pathloc = newloc;                                              
ffc0baa4:	7c ab a4 aa 	lswi    r5,r11,20                              
ffc0baa8:	7c bf a5 aa 	stswi   r5,r31,20                              
      return (*pathloc->ops->evalpath_h)( &pathname[i-len],           
ffc0baac:	7f 85 e3 78 	mr      r5,r28                                 
ffc0bab0:	7f e6 fb 78 	mr      r6,r31                                 
ffc0bab4:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc0bab8:	80 81 00 08 	lwz     r4,8(r1)                               
ffc0babc:	80 09 00 00 	lwz     r0,0(r9)                               
ffc0bac0:	7c 64 e8 50 	subf    r3,r4,r29                              
ffc0bac4:	7c 7b 1a 14 	add     r3,r27,r3                              
ffc0bac8:	7c 09 03 a6 	mtctr   r0                                     
ffc0bacc:	7c 9e 22 14 	add     r4,r30,r4                              
ffc0bad0:	4e 80 04 21 	bctrl                                          
ffc0bad4:	7c 76 1b 78 	mr      r22,r3                                 
ffc0bad8:	48 00 00 34 	b       ffc0bb0c <IMFS_eval_path+0x234>        
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
ffc0badc:	7f e3 fb 78 	mr      r3,r31                                 
ffc0bae0:	4b ff fc d5 	bl      ffc0b7b4 <IMFS_Set_handlers>           
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
ffc0bae4:	7f 84 e3 78 	mr      r4,r28                                 
                                          flags, pathloc );           
    } else {                                                          
      result = IMFS_Set_handlers( pathloc );                          
    }                                                                 
  } else {                                                            
    result = IMFS_Set_handlers( pathloc );                            
ffc0bae8:	7c 76 1b 78 	mr      r22,r3                                 
                                                                      
  /*                                                                  
   * Verify we have the correct permissions for this node.            
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, flags ) )                  
ffc0baec:	7f e3 fb 78 	mr      r3,r31                                 
ffc0baf0:	4b ff fd 35 	bl      ffc0b824 <IMFS_evaluate_permission>    
ffc0baf4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0baf8:	40 be 00 14 	bne+    cr7,ffc0bb0c <IMFS_eval_path+0x234>    
    rtems_set_errno_and_return_minus_one( EACCES );                   
ffc0bafc:	48 00 36 81 	bl      ffc0f17c <__errno>                     
ffc0bb00:	38 00 00 0d 	li      r0,13                                  
ffc0bb04:	90 03 00 00 	stw     r0,0(r3)                               
ffc0bb08:	3a c0 ff ff 	li      r22,-1                                 
                                                                      
  return result;                                                      
}                                                                     
ffc0bb0c:	39 61 00 78 	addi    r11,r1,120                             
ffc0bb10:	7e c3 b3 78 	mr      r3,r22                                 
ffc0bb14:	48 00 86 20 	b       ffc14134 <_restgpr_21_x>               
                                                                      

ffc0bc6c <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 */ ) {
ffc0bc6c:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc0bc70:	7c 08 02 a6 	mflr    r0                                     
ffc0bc74:	90 01 00 7c 	stw     r0,124(r1)                             
ffc0bc78:	be a1 00 4c 	stmw    r21,76(r1)                             
ffc0bc7c:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0bc80:	7c 9f 23 78 	mr      r31,r4                                 
ffc0bc84:	7c bc 2b 78 	mr      r28,r5                                 
                                                                      
  /*                                                                  
   * This was filled in by the caller and is valid in the             
   * mount table.                                                     
   */                                                                 
  node = pathloc->node_access;                                        
ffc0bc88:	83 64 00 00 	lwz     r27,0(r4)                              
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
ffc0bc8c:	48 00 47 79 	bl      ffc10404 <strlen>                      
   const char                         *path,       /* IN     */       
   rtems_filesystem_location_info_t   *pathloc,    /* IN/OUT */       
   const char                        **name        /* OUT    */       
)                                                                     
{                                                                     
  int                                 i = 0;                          
ffc0bc90:	3b c0 00 00 	li      r30,0                                  
  node = pathloc->node_access;                                        
                                                                      
  /*                                                                  
   * Get the path length.                                             
   */                                                                 
  pathlen = strlen( path );                                           
ffc0bc94:	7c 7a 1b 78 	mr      r26,r3                                 
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
ffc0bc98:	3b 21 00 20 	addi    r25,r1,32                              
ffc0bc9c:	3a e1 00 08 	addi    r23,r1,8                               
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
ffc0bca0:	3f 00 00 00 	lis     r24,0                                  
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
ffc0bca4:	7f 44 d3 78 	mr      r4,r26                                 
ffc0bca8:	7c 7d f2 14 	add     r3,r29,r30                             
ffc0bcac:	7f 25 cb 78 	mr      r5,r25                                 
ffc0bcb0:	7e e6 bb 78 	mr      r6,r23                                 
ffc0bcb4:	48 00 03 69 	bl      ffc0c01c <IMFS_get_token>              
    pathlen -= len;                                                   
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
ffc0bcb8:	80 1f 00 00 	lwz     r0,0(r31)                              
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
ffc0bcbc:	82 a1 00 08 	lwz     r21,8(r1)                              
   *  Evaluate all tokens until we are done or an error occurs.       
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
ffc0bcc0:	7c 76 1b 78 	mr      r22,r3                                 
    pathlen -= len;                                                   
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
ffc0bcc4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
   */                                                                 
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
ffc0bcc8:	7f 55 d0 50 	subf    r26,r21,r26                            
    i +=  len;                                                        
                                                                      
    if ( !pathloc->node_access )                                      
ffc0bccc:	41 9e 01 90 	beq-    cr7,ffc0be5c <IMFS_evaluate_for_make+0x1f0><== NEVER TAKEN
                                                                      
    /*                                                                
     * I cannot move out of this directory without execute permission.
     */                                                               
                                                                      
    if ( type != IMFS_NO_MORE_PATH )                                  
ffc0bcd0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0bcd4:	41 9e 00 24 	beq-    cr7,ffc0bcf8 <IMFS_evaluate_for_make+0x8c>
      if ( node->type == IMFS_DIRECTORY )                             
ffc0bcd8:	80 1b 00 4c 	lwz     r0,76(r27)                             
ffc0bcdc:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0bce0:	40 be 00 18 	bne+    cr7,ffc0bcf8 <IMFS_evaluate_for_make+0x8c>
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
ffc0bce4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0bce8:	38 80 00 01 	li      r4,1                                   
ffc0bcec:	4b ff fb 39 	bl      ffc0b824 <IMFS_evaluate_permission>    
ffc0bcf0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0bcf4:	41 9e 01 bc 	beq-    cr7,ffc0beb0 <IMFS_evaluate_for_make+0x244>
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
ffc0bcf8:	2f 96 00 02 	cmpwi   cr7,r22,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;                                      
ffc0bcfc:	83 7f 00 00 	lwz     r27,0(r31)                             
                                                                      
  while( !done ) {                                                    
                                                                      
    type = IMFS_get_token( &path[i], pathlen, token, &len );          
    pathlen -= len;                                                   
    i +=  len;                                                        
ffc0bd00:	7f de aa 14 	add     r30,r30,r21                            
        if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_SEARCH ) )
           rtems_set_errno_and_return_minus_one( EACCES );            
                                                                      
    node = pathloc->node_access;                                      
                                                                      
    switch( type ) {                                                  
ffc0bd04:	41 9e 00 2c 	beq-    cr7,ffc0bd30 <IMFS_evaluate_for_make+0xc4>
ffc0bd08:	2b 96 00 02 	cmplwi  cr7,r22,2                              
ffc0bd0c:	41 9d 00 10 	bgt-    cr7,ffc0bd1c <IMFS_evaluate_for_make+0xb0>
ffc0bd10:	2f 96 00 00 	cmpwi   cr7,r22,0                              
ffc0bd14:	41 9e 01 08 	beq-    cr7,ffc0be1c <IMFS_evaluate_for_make+0x1b0>
ffc0bd18:	4b ff ff 8c 	b       ffc0bca4 <IMFS_evaluate_for_make+0x38> 
ffc0bd1c:	2f 96 00 03 	cmpwi   cr7,r22,3                              
ffc0bd20:	41 9e 00 50 	beq-    cr7,ffc0bd70 <IMFS_evaluate_for_make+0x104>
ffc0bd24:	2f 96 00 04 	cmpwi   cr7,r22,4                              
ffc0bd28:	40 9e ff 7c 	bne+    cr7,ffc0bca4 <IMFS_evaluate_for_make+0x38><== NEVER TAKEN
ffc0bd2c:	48 00 00 fc 	b       ffc0be28 <IMFS_evaluate_for_make+0x1bc>
      case IMFS_UP_DIR:                                               
       /*                                                             
        *  Am I at the root of all filesystems? (chroot'ed?)          
	*/                                                                   
                                                                      
       if ( pathloc->node_access == rtems_filesystem_root.node_access )
ffc0bd30:	81 38 27 1c 	lwz     r9,10012(r24)                          
ffc0bd34:	80 09 00 18 	lwz     r0,24(r9)                              
ffc0bd38:	7f 9b 00 00 	cmpw    cr7,r27,r0                             
ffc0bd3c:	41 be ff 68 	beq-    cr7,ffc0bca4 <IMFS_evaluate_for_make+0x38>
                                                                      
	/*                                                                   
	 * Am I at the root of this mounted filesystem?                      
	 */                                                                  
                                                                      
        if (pathloc->node_access == pathloc->mt_entry->mt_fs_root.node_access){
ffc0bd40:	80 9f 00 10 	lwz     r4,16(r31)                             
ffc0bd44:	80 04 00 1c 	lwz     r0,28(r4)                              
ffc0bd48:	7f 9b 00 00 	cmpw    cr7,r27,r0                             
ffc0bd4c:	40 be 00 0c 	bne+    cr7,ffc0bd58 <IMFS_evaluate_for_make+0xec>
                                                                      
          if ( pathloc->node_access == rtems_filesystem_root.node_access ) {
            break;                                                    
                                                                      
	  } else {                                                           
            newloc = pathloc->mt_entry->mt_point_node;                
ffc0bd50:	38 84 00 08 	addi    r4,r4,8                                
ffc0bd54:	48 00 00 70 	b       ffc0bdc4 <IMFS_evaluate_for_make+0x158>
            *pathloc = newloc;                                        
            return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
	  }                                                                  
	} else {                                                             
                                                                      
          if ( !node->Parent )                                        
ffc0bd58:	83 7b 00 08 	lwz     r27,8(r27)                             
ffc0bd5c:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0bd60:	40 be 00 b4 	bne+    cr7,ffc0be14 <IMFS_evaluate_for_make+0x1a8>
            rtems_set_errno_and_return_minus_one( ENOENT );           
ffc0bd64:	48 00 34 19 	bl      ffc0f17c <__errno>                     
ffc0bd68:	92 c3 00 00 	stw     r22,0(r3)                              
ffc0bd6c:	48 00 01 50 	b       ffc0bebc <IMFS_evaluate_for_make+0x250>
        pathloc->node_access = node;                                  
        break;                                                        
                                                                      
      case IMFS_NAME:                                                 
                                                                      
	if ( node->type == IMFS_HARD_LINK ) {                                
ffc0bd70:	80 1b 00 4c 	lwz     r0,76(r27)                             
ffc0bd74:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0bd78:	41 9e 00 0c 	beq-    cr7,ffc0bd84 <IMFS_evaluate_for_make+0x118>
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
          if ( result == -1 )                                         
            return -1;                                                
                                                                      
	} else if ( node->type == IMFS_SYM_LINK ) {                          
ffc0bd7c:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc0bd80:	40 be 00 1c 	bne+    cr7,ffc0bd9c <IMFS_evaluate_for_make+0x130>
                                                                      
          result = IMFS_evaluate_link( pathloc, 0 );                  
ffc0bd84:	7f e3 fb 78 	mr      r3,r31                                 
ffc0bd88:	38 80 00 00 	li      r4,0                                   
ffc0bd8c:	4b ff fe 25 	bl      ffc0bbb0 <IMFS_evaluate_link>          
                                                                      
          if ( result == -1 )                                         
ffc0bd90:	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 );                  
ffc0bd94:	7c 7b 1b 78 	mr      r27,r3                                 
                                                                      
          if ( result == -1 )                                         
ffc0bd98:	41 9e 01 28 	beq-    cr7,ffc0bec0 <IMFS_evaluate_for_make+0x254><== NEVER TAKEN
            return -1;                                                
	}                                                                    
                                                                      
        node = pathloc->node_access;                                  
ffc0bd9c:	80 7f 00 00 	lwz     r3,0(r31)                              
        if ( !node )                                                  
ffc0bda0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0bda4:	41 9e 00 ec 	beq-    cr7,ffc0be90 <IMFS_evaluate_for_make+0x224><== NEVER TAKEN
                                                                      
        /*                                                            
         * Only a directory can be decended into.                     
	 */                                                                  
                                                                      
        if ( node->type != IMFS_DIRECTORY )                           
ffc0bda8:	80 03 00 4c 	lwz     r0,76(r3)                              
ffc0bdac:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0bdb0:	40 9e 00 e0 	bne-    cr7,ffc0be90 <IMFS_evaluate_for_make+0x224>
	/*                                                                   
	 * If we are at a node that is a mount point. Set loc to the         
	 * new fs root node and let them finish evaluating the path.         
	 */                                                                  
                                                                      
        if ( node->info.directory.mt_fs != NULL ) {                   
ffc0bdb4:	80 83 00 5c 	lwz     r4,92(r3)                              
ffc0bdb8:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0bdbc:	41 be 00 48 	beq+    cr7,ffc0be04 <IMFS_evaluate_for_make+0x198>
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
ffc0bdc0:	38 84 00 1c 	addi    r4,r4,28                               
ffc0bdc4:	39 61 00 0c 	addi    r11,r1,12                              
          *pathloc = newloc;                                          
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
ffc0bdc8:	80 01 00 08 	lwz     r0,8(r1)                               
	 * If we are at a node that is a mount point. Set loc to the         
	 * new fs root node and let them finish evaluating the path.         
	 */                                                                  
                                                                      
        if ( node->info.directory.mt_fs != NULL ) {                   
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
ffc0bdcc:	7c a4 a4 aa 	lswi    r5,r4,20                               
ffc0bdd0:	7c ab a5 aa 	stswi   r5,r11,20                              
          *pathloc = newloc;                                          
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
ffc0bdd4:	7f e4 fb 78 	mr      r4,r31                                 
ffc0bdd8:	7f c0 f0 50 	subf    r30,r0,r30                             
	 * new fs root node and let them finish evaluating the path.         
	 */                                                                  
                                                                      
        if ( node->info.directory.mt_fs != NULL ) {                   
          newloc  = node->info.directory.mt_fs->mt_fs_root;           
          *pathloc = newloc;                                          
ffc0bddc:	7c ab a4 aa 	lswi    r5,r11,20                              
ffc0bde0:	7c bf a5 aa 	stswi   r5,r31,20                              
          return (*pathloc->ops->evalformake_h)( &path[i-len], pathloc, name );
ffc0bde4:	7c 7d f2 14 	add     r3,r29,r30                             
ffc0bde8:	7f 85 e3 78 	mr      r5,r28                                 
ffc0bdec:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc0bdf0:	80 09 00 04 	lwz     r0,4(r9)                               
ffc0bdf4:	7c 09 03 a6 	mtctr   r0                                     
ffc0bdf8:	4e 80 04 21 	bctrl                                          
ffc0bdfc:	7c 7b 1b 78 	mr      r27,r3                                 
ffc0be00:	48 00 00 c0 	b       ffc0bec0 <IMFS_evaluate_for_make+0x254>
                                                                      
	/*                                                                   
	 * Otherwise find the token name in the present location.            
	 */                                                                  
                                                                      
        node = IMFS_find_match_in_dir( node, token );                 
ffc0be04:	7f 24 cb 78 	mr      r4,r25                                 
ffc0be08:	48 00 01 81 	bl      ffc0bf88 <IMFS_find_match_in_dir>      
	/*                                                                   
	 * If there is no node we have found the name of the node we         
         * wish to create.                                            
	 */                                                                  
                                                                      
        if ( ! node )                                                 
ffc0be0c:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc0be10:	41 82 00 24 	beq-    ffc0be34 <IMFS_evaluate_for_make+0x1c8>
          done = true;                                                
        else                                                          
          pathloc->node_access = node;                                
ffc0be14:	93 7f 00 00 	stw     r27,0(r31)                             
ffc0be18:	4b ff fe 8c 	b       ffc0bca4 <IMFS_evaluate_for_make+0x38> 
                                                                      
        break;                                                        
                                                                      
      case IMFS_NO_MORE_PATH:                                         
        rtems_set_errno_and_return_minus_one( EEXIST );               
ffc0be1c:	48 00 33 61 	bl      ffc0f17c <__errno>                     
ffc0be20:	38 00 00 11 	li      r0,17                                  
ffc0be24:	48 00 00 94 	b       ffc0beb8 <IMFS_evaluate_for_make+0x24c>
        break;                                                        
                                                                      
      case IMFS_INVALID_TOKEN:                                        
        rtems_set_errno_and_return_minus_one( ENAMETOOLONG );         
ffc0be28:	48 00 33 55 	bl      ffc0f17c <__errno>                     
ffc0be2c:	38 00 00 5b 	li      r0,91                                  
ffc0be30:	48 00 00 88 	b       ffc0beb8 <IMFS_evaluate_for_make+0x24c>
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
ffc0be34:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0be38:	7c 00 f0 50 	subf    r0,r0,r30                              
ffc0be3c:	7c 1d 02 14 	add     r0,r29,r0                              
 *  pathloc is returned with a pointer to the parent of the new node. 
 *  name is returned with a pointer to the first character in the     
 *  new node name.  The parent node is verified to be a directory.    
 */                                                                   
                                                                      
int IMFS_evaluate_for_make(                                           
ffc0be40:	3b de ff ff 	addi    r30,r30,-1                             
      case IMFS_CURRENT_DIR:                                          
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  *name = &path[ i - len ];                                           
ffc0be44:	90 1c 00 00 	stw     r0,0(r28)                              
 *  pathloc is returned with a pointer to the parent of the new node. 
 *  name is returned with a pointer to the first character in the     
 *  new node name.  The parent node is verified to be a directory.    
 */                                                                   
                                                                      
int IMFS_evaluate_for_make(                                           
ffc0be48:	7f bd f2 14 	add     r29,r29,r30                            
  /*                                                                  
   * 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++) {                                      
ffc0be4c:	48 00 00 1c 	b       ffc0be68 <IMFS_evaluate_for_make+0x1fc>
    if ( !IMFS_is_separator( path[ i ] ) )                            
ffc0be50:	4b ff 93 25 	bl      ffc05174 <rtems_filesystem_is_separator>
ffc0be54:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0be58:	40 be 00 10 	bne+    cr7,ffc0be68 <IMFS_evaluate_for_make+0x1fc>
      rtems_set_errno_and_return_minus_one( ENOENT );                 
ffc0be5c:	48 00 33 21 	bl      ffc0f17c <__errno>                     
ffc0be60:	38 00 00 02 	li      r0,2                                   
ffc0be64:	48 00 00 54 	b       ffc0beb8 <IMFS_evaluate_for_make+0x24c>
  /*                                                                  
   * 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++) {                                      
ffc0be68:	8c 7d 00 01 	lbzu    r3,1(r29)                              
ffc0be6c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0be70:	40 9e ff e0 	bne+    cr7,ffc0be50 <IMFS_evaluate_for_make+0x1e4>
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
ffc0be74:	7f e3 fb 78 	mr      r3,r31                                 
ffc0be78:	4b ff f9 3d 	bl      ffc0b7b4 <IMFS_Set_handlers>           
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
ffc0be7c:	81 3f 00 00 	lwz     r9,0(r31)                              
                                                                      
  /*                                                                  
   * Verify we can execute and write to this directory.               
   */                                                                 
                                                                      
  result = IMFS_Set_handlers( pathloc );                              
ffc0be80:	7c 7b 1b 78 	mr      r27,r3                                 
                                                                      
  /*                                                                  
   * The returned node must be a directory                            
   */                                                                 
  node = pathloc->node_access;                                        
  if ( node->type != IMFS_DIRECTORY )                                 
ffc0be84:	80 09 00 4c 	lwz     r0,76(r9)                              
ffc0be88:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0be8c:	41 be 00 10 	beq+    cr7,ffc0be9c <IMFS_evaluate_for_make+0x230><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc0be90:	48 00 32 ed 	bl      ffc0f17c <__errno>                     
ffc0be94:	38 00 00 14 	li      r0,20                                  
ffc0be98:	48 00 00 20 	b       ffc0beb8 <IMFS_evaluate_for_make+0x24c>
                                                                      
  /*                                                                  
   * We must have Write and execute permission on the returned node.  
   */                                                                 
                                                                      
  if ( !IMFS_evaluate_permission( pathloc, RTEMS_LIBIO_PERMS_WX ) )   
ffc0be9c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0bea0:	38 80 00 03 	li      r4,3                                   
ffc0bea4:	4b ff f9 81 	bl      ffc0b824 <IMFS_evaluate_permission>    
ffc0bea8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0beac:	40 be 00 14 	bne+    cr7,ffc0bec0 <IMFS_evaluate_for_make+0x254>
    rtems_set_errno_and_return_minus_one( EACCES );                   
ffc0beb0:	48 00 32 cd 	bl      ffc0f17c <__errno>                     
ffc0beb4:	38 00 00 0d 	li      r0,13                                  
ffc0beb8:	90 03 00 00 	stw     r0,0(r3)                               
ffc0bebc:	3b 60 ff ff 	li      r27,-1                                 
                                                                      
  return result;                                                      
}                                                                     
ffc0bec0:	39 61 00 78 	addi    r11,r1,120                             
ffc0bec4:	7f 63 db 78 	mr      r3,r27                                 
ffc0bec8:	48 00 82 6c 	b       ffc14134 <_restgpr_21_x>               
                                                                      

ffc0b824 <IMFS_evaluate_permission>: */ int IMFS_evaluate_permission( rtems_filesystem_location_info_t *node, int flags ) {
ffc0b824:	7c 08 02 a6 	mflr    r0                                     
ffc0b828:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0b82c:	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 ) )                         
ffc0b830:	54 80 00 39 	rlwinm. r0,r4,0,0,28                           
ffc0b834:	41 a2 00 18 	beq+    ffc0b84c <IMFS_evaluate_permission+0x28><== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EPERM );                    
ffc0b838:	48 00 39 45 	bl      ffc0f17c <__errno>                     <== NOT EXECUTED
ffc0b83c:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0b840:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc0b844:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc0b848:	48 00 00 20 	b       ffc0b868 <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 )           
ffc0b84c:	81 23 00 00 	lwz     r9,0(r3)                               
   */                                                                 
                                                                      
  flags_to_test = flags;                                              
                                                                      
  if ( st_uid == jnode->st_uid )                                      
    flags_to_test <<= 6;                                              
ffc0b850:	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 )           
ffc0b854:	80 69 00 30 	lwz     r3,48(r9)                              
ffc0b858:	7c 83 18 38 	and     r3,r4,r3                               
  gid_t         st_gid;                                               
  IMFS_jnode_t *jnode;                                                
  int           flags_to_test;                                        
                                                                      
  if ( !rtems_libio_is_valid_perms( flags ) )                         
    rtems_set_errno_and_return_minus_one( EPERM );                    
ffc0b85c:	7c 63 22 78 	xor     r3,r3,r4                               
ffc0b860:	7c 63 00 34 	cntlzw  r3,r3                                  
ffc0b864:	54 63 d9 7e 	rlwinm  r3,r3,27,5,31                          
   */                                                                 
  if ( ( flags_to_test & jnode->st_mode) == flags_to_test )           
    return 1;                                                         
                                                                      
  return 0;                                                           
}                                                                     
ffc0b868:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0b86c:	38 21 00 08 	addi    r1,r1,8                                
ffc0b870:	7c 08 03 a6 	mtlr    r0                                     
ffc0b874:	4e 80 00 20 	blr                                            
                                                                      

ffc04be4 <IMFS_fifo_lseek>: rtems_off64_t IMFS_fifo_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
ffc04be4:	7c 2b 0b 78 	mr      r11,r1                                 
ffc04be8:	7c 08 02 a6 	mflr    r0                                     
ffc04bec:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc04bf0:	7c 68 1b 78 	mr      r8,r3                                  
ffc04bf4:	90 01 00 14 	stw     r0,20(r1)                              
ffc04bf8:	48 01 b2 21 	bl      ffc1fe18 <_savegpr_31>                 
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
ffc04bfc:	81 23 00 1c 	lwz     r9,28(r3)                              
ffc04c00:	80 69 00 50 	lwz     r3,80(r9)                              
ffc04c04:	48 00 a2 f9 	bl      ffc0eefc <pipe_lseek>                  
  IMFS_FIFO_RETURN(err);                                              
ffc04c08:	7c 69 fe 71 	srawi.  r9,r3,31                               
  rtems_libio_t *iop,                                                 
  rtems_off64_t  offset,                                              
  int            whence                                               
)                                                                     
{                                                                     
  off_t err = pipe_lseek(LIBIO2PIPE(iop), offset, whence, iop);       
ffc04c0c:	7c 7f 1b 78 	mr      r31,r3                                 
  IMFS_FIFO_RETURN(err);                                              
ffc04c10:	41 80 00 0c 	blt-    ffc04c1c <IMFS_fifo_lseek+0x38>        <== ALWAYS TAKEN
ffc04c14:	7c 6a 1b 78 	mr      r10,r3                                 <== NOT EXECUTED
ffc04c18:	48 00 00 18 	b       ffc04c30 <IMFS_fifo_lseek+0x4c>        <== NOT EXECUTED
ffc04c1c:	48 00 c5 81 	bl      ffc1119c <__errno>                     
ffc04c20:	7f ff 00 d0 	neg     r31,r31                                
ffc04c24:	93 e3 00 00 	stw     r31,0(r3)                              
ffc04c28:	39 20 ff ff 	li      r9,-1                                  
ffc04c2c:	39 40 ff ff 	li      r10,-1                                 
}                                                                     
ffc04c30:	39 61 00 10 	addi    r11,r1,16                              
ffc04c34:	7d 23 4b 78 	mr      r3,r9                                  
ffc04c38:	7d 44 53 78 	mr      r4,r10                                 
ffc04c3c:	48 01 b2 28 	b       ffc1fe64 <_restgpr_31_x>               
                                                                      

ffc04ccc <IMFS_fifo_write>: ssize_t IMFS_fifo_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
ffc04ccc:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc04cd0:	7c 08 02 a6 	mflr    r0                                     
ffc04cd4:	7c 66 1b 78 	mr      r6,r3                                  
ffc04cd8:	90 01 00 24 	stw     r0,36(r1)                              
ffc04cdc:	bf c1 00 18 	stmw    r30,24(r1)                             
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
ffc04ce0:	83 e3 00 1c 	lwz     r31,28(r3)                             
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
ffc04ce4:	80 7f 00 50 	lwz     r3,80(r31)                             
ffc04ce8:	48 00 9f cd 	bl      ffc0ecb4 <pipe_write>                  
  if (err > 0) {                                                      
ffc04cec:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc04cf0:	40 81 00 24 	ble-    ffc04d14 <IMFS_fifo_write+0x48>        
    IMFS_mtime_ctime_update(jnode);                                   
ffc04cf4:	38 61 00 08 	addi    r3,r1,8                                
ffc04cf8:	38 80 00 00 	li      r4,0                                   
ffc04cfc:	48 00 11 d1 	bl      ffc05ecc <gettimeofday>                
ffc04d00:	80 01 00 08 	lwz     r0,8(r1)                               
ffc04d04:	7f c3 f3 78 	mr      r3,r30                                 
ffc04d08:	90 1f 00 44 	stw     r0,68(r31)                             
ffc04d0c:	90 1f 00 48 	stw     r0,72(r31)                             
ffc04d10:	48 00 00 20 	b       ffc04d30 <IMFS_fifo_write+0x64>        
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
ffc04d14:	41 a2 00 18 	beq+    ffc04d2c <IMFS_fifo_write+0x60>        <== NEVER TAKEN
ffc04d18:	48 00 c4 85 	bl      ffc1119c <__errno>                     
ffc04d1c:	7f de 00 d0 	neg     r30,r30                                
ffc04d20:	93 c3 00 00 	stw     r30,0(r3)                              
ffc04d24:	38 60 ff ff 	li      r3,-1                                  
ffc04d28:	48 00 00 08 	b       ffc04d30 <IMFS_fifo_write+0x64>        
ffc04d2c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc04d30:	39 61 00 20 	addi    r11,r1,32                              
ffc04d34:	48 01 b1 2c 	b       ffc1fe60 <_restgpr_30_x>               
                                                                      

ffc0bf88 <IMFS_find_match_in_dir>: IMFS_jnode_t *IMFS_find_match_in_dir( IMFS_jnode_t *directory, char *name ) {
ffc0bf88:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0bf8c:	7c 08 02 a6 	mflr    r0                                     
ffc0bf90:	bf a1 00 0c 	stmw    r29,12(r1)                             
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
ffc0bf94:	3f c0 ff c1 	lis     r30,-63                                
ffc0bf98:	3b de 5f 1c 	addi    r30,r30,24348                          
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
ffc0bf9c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0bfa0:	90 01 00 1c 	stw     r0,28(r1)                              
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
ffc0bfa4:	7c 83 23 78 	mr      r3,r4                                  
                                                                      
IMFS_jnode_t *IMFS_find_match_in_dir(                                 
  IMFS_jnode_t *directory,                                            
  char         *name                                                  
)                                                                     
{                                                                     
ffc0bfa8:	7c 9d 23 78 	mr      r29,r4                                 
                                                                      
  /*                                                                  
   *  Check for "." and ".."                                          
   */                                                                 
                                                                      
  if ( !strcmp( name, dotname ) )                                     
ffc0bfac:	7f c4 f3 78 	mr      r4,r30                                 
ffc0bfb0:	48 00 42 91 	bl      ffc10240 <strcmp>                      
ffc0bfb4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0bfb8:	41 9e 00 58 	beq-    cr7,ffc0c010 <IMFS_find_match_in_dir+0x88><== NEVER TAKEN
    return directory;                                                 
                                                                      
  if ( !strcmp( name, dotdotname ) )                                  
ffc0bfbc:	7f a3 eb 78 	mr      r3,r29                                 
ffc0bfc0:	38 9e 00 04 	addi    r4,r30,4                               
ffc0bfc4:	48 00 42 7d 	bl      ffc10240 <strcmp>                      
ffc0bfc8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0bfcc:	40 9e 00 0c 	bne-    cr7,ffc0bfd8 <IMFS_find_match_in_dir+0x50><== ALWAYS TAKEN
    return directory->Parent;                                         
ffc0bfd0:	83 ff 00 08 	lwz     r31,8(r31)                             <== NOT EXECUTED
ffc0bfd4:	48 00 00 3c 	b       ffc0c010 <IMFS_find_match_in_dir+0x88> <== NOT EXECUTED
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0bfd8:	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));                        
ffc0bfdc:	3b ff 00 54 	addi    r31,r31,84                             
  if ( !strcmp( name, dotdotname ) )                                  
    return directory->Parent;                                         
                                                                      
  the_chain = &directory->info.directory.Entries;                     
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
ffc0bfe0:	48 00 00 1c 	b       ffc0bffc <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 ) )                           
ffc0bfe4:	7f a3 eb 78 	mr      r3,r29                                 
ffc0bfe8:	38 9e 00 0c 	addi    r4,r30,12                              
ffc0bfec:	48 00 42 55 	bl      ffc10240 <strcmp>                      
ffc0bff0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0bff4:	41 9e 00 18 	beq-    cr7,ffc0c00c <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 ) {                                 
ffc0bff8:	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 );                    
ffc0bffc:	7f 9e f8 00 	cmpw    cr7,r30,r31                            
ffc0c000:	40 9e ff e4 	bne+    cr7,ffc0bfe4 <IMFS_find_match_in_dir+0x5c>
                                                                      
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
ffc0c004:	3b e0 00 00 	li      r31,0                                  
ffc0c008:	48 00 00 08 	b       ffc0c010 <IMFS_find_match_in_dir+0x88> 
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
ffc0c00c:	7f df f3 78 	mr      r31,r30                                
    if ( !strcmp( name, the_jnode->name ) )                           
      return the_jnode;                                               
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0c010:	39 61 00 18 	addi    r11,r1,24                              
ffc0c014:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c018:	48 00 81 3c 	b       ffc14154 <_restgpr_29_x>               
                                                                      

ffc0becc <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 ) {
ffc0becc:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0bed0:	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;     
ffc0bed4:	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                 
)                                                                     
{                                                                     
ffc0bed8:	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;                                   
ffc0bedc:	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;                      
ffc0bee0:	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                 
)                                                                     
{                                                                     
ffc0bee4:	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 );                                       
ffc0bee8:	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;     
ffc0beec:	87 eb 00 1c 	lwzu    r31,28(r11)                            
   loc = temp_mt_entry->mt_fs_root;                                   
ffc0bef0:	7c ab a4 aa 	lswi    r5,r11,20                              
ffc0bef4:	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;                      
ffc0bef8:	90 03 00 1c 	stw     r0,28(r3)                              
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
     loc.node_access = (void *)jnode;                                 
     IMFS_Set_handlers( &loc );                                       
ffc0befc:	7f c3 f3 78 	mr      r3,r30                                 
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root.node_access = NULL;                      
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
ffc0bf00:	83 bf 00 08 	lwz     r29,8(r31)                             
     loc.node_access = (void *)jnode;                                 
ffc0bf04:	93 e1 00 08 	stw     r31,8(r1)                              
     IMFS_Set_handlers( &loc );                                       
ffc0bf08:	4b ff f8 ad 	bl      ffc0b7b4 <IMFS_Set_handlers>           
                                                                      
     if ( jnode->type != IMFS_DIRECTORY ) {                           
ffc0bf0c:	80 1f 00 4c 	lwz     r0,76(r31)                             
ffc0bf10:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0bf14:	40 9e 00 14 	bne-    cr7,ffc0bf28 <IMFS_fsunmount+0x5c>     
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
ffc0bf18:	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 );                            
ffc0bf1c:	38 1f 00 54 	addi    r0,r31,84                              
ffc0bf20:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0bf24:	40 be 00 1c 	bne+    cr7,ffc0bf40 <IMFS_fsunmount+0x74>     
        result = IMFS_unlink( NULL, &loc );                           
ffc0bf28:	38 60 00 00 	li      r3,0                                   
ffc0bf2c:	7f c4 f3 78 	mr      r4,r30                                 
ffc0bf30:	4b ff 7c d9 	bl      ffc03c08 <IMFS_unlink>                 
        if (result != 0)                                              
ffc0bf34:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0bf38:	40 9e 00 3c 	bne-    cr7,ffc0bf74 <IMFS_fsunmount+0xa8>     <== NEVER TAKEN
          return -1;                                                  
        jnode = next;                                                 
ffc0bf3c:	7f bf eb 78 	mr      r31,r29                                
     }                                                                
     if ( jnode != NULL ) {                                           
ffc0bf40:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0bf44:	41 9e 00 38 	beq-    cr7,ffc0bf7c <IMFS_fsunmount+0xb0>     
       if ( jnode->type == IMFS_DIRECTORY ) {                         
ffc0bf48:	80 1f 00 4c 	lwz     r0,76(r31)                             
ffc0bf4c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0bf50:	40 9e ff ac 	bne+    cr7,ffc0befc <IMFS_fsunmount+0x30>     <== NEVER TAKEN
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
                                                                      
   return 0;                                                          
}                                                                     
ffc0bf54:	80 1f 00 50 	lwz     r0,80(r31)                             
ffc0bf58:	39 3f 00 54 	addi    r9,r31,84                              
          return -1;                                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
       if ( jnode->type == IMFS_DIRECTORY ) {                         
         if ( jnode_has_children( jnode ) )                           
ffc0bf5c:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc0bf60:	41 be ff 9c 	beq-    cr7,ffc0befc <IMFS_fsunmount+0x30>     
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
ffc0bf64:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0bf68:	7c 1f 03 78 	mr      r31,r0                                 
ffc0bf6c:	40 9e ff 90 	bne+    cr7,ffc0befc <IMFS_fsunmount+0x30>     <== ALWAYS TAKEN
ffc0bf70:	48 00 00 0c 	b       ffc0bf7c <IMFS_fsunmount+0xb0>         <== NOT EXECUTED
          return -1;                                                  
        jnode = next;                                                 
     } else if ( jnode_has_no_children( jnode ) ) {                   
        result = IMFS_unlink( NULL, &loc );                           
        if (result != 0)                                              
          return -1;                                                  
ffc0bf74:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc0bf78:	48 00 00 08 	b       ffc0bf80 <IMFS_fsunmount+0xb4>         <== NOT EXECUTED
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
                                                                      
   return 0;                                                          
ffc0bf7c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0bf80:	39 61 00 38 	addi    r11,r1,56                              
ffc0bf84:	48 00 81 d0 	b       ffc14154 <_restgpr_29_x>               
                                                                      

ffc0c01c <IMFS_get_token>: const char *path, int pathlen, char *token, int *token_len ) {
ffc0c01c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0c020:	7c 08 02 a6 	mflr    r0                                     
ffc0c024:	bf 41 00 08 	stmw    r26,8(r1)                              
ffc0c028:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0c02c:	7c 9d 23 78 	mr      r29,r4                                 
ffc0c030:	90 01 00 24 	stw     r0,36(r1)                              
ffc0c034:	7c be 2b 78 	mr      r30,r5                                 
ffc0c038:	7c da 33 78 	mr      r26,r6                                 
  register char c;                                                    
                                                                      
  /*                                                                  
   *  Copy a name into token.  (Remember NULL is a token.)            
   */                                                                 
  c = path[i];                                                        
ffc0c03c:	8b 63 00 00 	lbz     r27,0(r3)                              
  int               pathlen,                                          
  char             *token,                                            
  int              *token_len                                         
)                                                                     
{                                                                     
  register int i = 0;                                                 
ffc0c040:	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) ) {
ffc0c044:	48 00 00 18 	b       ffc0c05c <IMFS_get_token+0x40>         
                                                                      
     token[i] = c;                                                    
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
ffc0c048:	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;                                                    
ffc0c04c:	7f 7e e1 ae 	stbx    r27,r30,r28                            
                                                                      
     if ( i == IMFS_NAME_MAX )                                        
ffc0c050:	41 9e 00 b4 	beq-    cr7,ffc0c104 <IMFS_get_token+0xe8>     
       return IMFS_INVALID_TOKEN;                                     
                                                                      
     if ( !IMFS_is_valid_name_char(c) )                               
       type = IMFS_INVALID_TOKEN;                                     
                                                                      
     c = path [++i];                                                  
ffc0c054:	3b 9c 00 01 	addi    r28,r28,1                              
ffc0c058:	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) ) {
ffc0c05c:	7f 63 db 78 	mr      r3,r27                                 
ffc0c060:	4b ff 91 15 	bl      ffc05174 <rtems_filesystem_is_separator>
ffc0c064:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c068:	40 9e 00 0c 	bne-    cr7,ffc0c074 <IMFS_get_token+0x58>     
ffc0c06c:	7f 9c e8 00 	cmpw    cr7,r28,r29                            
ffc0c070:	41 9c ff d8 	blt+    cr7,ffc0c048 <IMFS_get_token+0x2c>     
                                                                      
  /*                                                                  
   *  Copy a seperator into token.                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
ffc0c074:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0c078:	40 9e 00 24 	bne-    cr7,ffc0c09c <IMFS_get_token+0x80>     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
ffc0c07c:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
  /*                                                                  
   *  Copy a seperator into token.                                    
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
ffc0c080:	9b 7e 00 00 	stb     r27,0(r30)                             
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
ffc0c084:	3b e0 00 00 	li      r31,0                                  
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
ffc0c088:	41 9e 00 3c 	beq-    cr7,ffc0c0c4 <IMFS_get_token+0xa8>     
ffc0c08c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
ffc0c090:	7f 9f e3 78 	mr      r31,r28                                
   */                                                                 
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
ffc0c094:	41 9e 00 30 	beq-    cr7,ffc0c0c4 <IMFS_get_token+0xa8>     
ffc0c098:	48 00 00 24 	b       ffc0c0bc <IMFS_get_token+0xa0>         
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
    }                                                                 
  } else if (token[ i-1 ] != '\0') {                                  
ffc0c09c:	7d 3e e2 14 	add     r9,r30,r28                             
ffc0c0a0:	88 09 ff ff 	lbz     r0,-1(r9)                              
  char             *token,                                            
  int              *token_len                                         
)                                                                     
{                                                                     
  register int i = 0;                                                 
  IMFS_token_types  type = IMFS_NAME;                                 
ffc0c0a4:	3b e0 00 03 	li      r31,3                                  
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
    } else {                                                          
      type = IMFS_NO_MORE_PATH;                                       
    }                                                                 
  } else if (token[ i-1 ] != '\0') {                                  
ffc0c0a8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c0ac:	41 9e 00 18 	beq-    cr7,ffc0c0c4 <IMFS_get_token+0xa8>     <== NEVER TAKEN
    token[i] = '\0';                                                  
ffc0c0b0:	38 00 00 00 	li      r0,0                                   
ffc0c0b4:	7c 1e e1 ae 	stbx    r0,r30,r28                             
ffc0c0b8:	48 00 00 0c 	b       ffc0c0c4 <IMFS_get_token+0xa8>         
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
      i++;                                                            
      type = IMFS_CURRENT_DIR;                                        
ffc0c0bc:	3b e0 00 01 	li      r31,1                                  
                                                                      
  if ( i == 0 ) {                                                     
    token[i] = c;                                                     
                                                                      
    if ( (token[i] != '\0') && pathlen ) {                            
      i++;                                                            
ffc0c0c0:	3b 80 00 01 	li      r28,1                                  
  /*                                                                  
   *  If we copied something that was not a seperator see if          
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
ffc0c0c4:	2f 9f 00 03 	cmpwi   cr7,r31,3                              
                                                                      
  /*                                                                  
   *  Set token_len to the number of characters copied.               
   */                                                                 
                                                                      
  *token_len = i;                                                     
ffc0c0c8:	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 ) {                                          
ffc0c0cc:	40 be 00 4c 	bne+    cr7,ffc0c118 <IMFS_get_token+0xfc>     
    if ( strcmp( token, "..") == 0 )                                  
ffc0c0d0:	3c 80 ff c1 	lis     r4,-63                                 
ffc0c0d4:	7f c3 f3 78 	mr      r3,r30                                 
ffc0c0d8:	38 84 5f 23 	addi    r4,r4,24355                            
ffc0c0dc:	48 00 41 65 	bl      ffc10240 <strcmp>                      
ffc0c0e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c0e4:	41 9e 00 28 	beq-    cr7,ffc0c10c <IMFS_get_token+0xf0>     
      type = IMFS_UP_DIR;                                             
    else if ( strcmp( token, "." ) == 0 )                             
ffc0c0e8:	3c 80 ff c1 	lis     r4,-63                                 
ffc0c0ec:	7f c3 f3 78 	mr      r3,r30                                 
ffc0c0f0:	38 84 5f 24 	addi    r4,r4,24356                            
ffc0c0f4:	48 00 41 4d 	bl      ffc10240 <strcmp>                      
ffc0c0f8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c0fc:	41 9e 00 18 	beq-    cr7,ffc0c114 <IMFS_get_token+0xf8>     
ffc0c100:	48 00 00 18 	b       ffc0c118 <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;                                     
ffc0c104:	3b e0 00 04 	li      r31,4                                  
ffc0c108:	48 00 00 10 	b       ffc0c118 <IMFS_get_token+0xfc>         
   *  it was a special name.                                          
   */                                                                 
                                                                      
  if ( type == IMFS_NAME ) {                                          
    if ( strcmp( token, "..") == 0 )                                  
      type = IMFS_UP_DIR;                                             
ffc0c10c:	3b e0 00 02 	li      r31,2                                  
ffc0c110:	48 00 00 08 	b       ffc0c118 <IMFS_get_token+0xfc>         
    else if ( strcmp( token, "." ) == 0 )                             
      type = IMFS_CURRENT_DIR;                                        
ffc0c114:	3b e0 00 01 	li      r31,1                                  
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
ffc0c118:	39 61 00 20 	addi    r11,r1,32                              
ffc0c11c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c120:	48 00 80 28 	b       ffc14148 <_restgpr_26_x>               
                                                                      

ffc0e050 <IMFS_memfile_extend>: */ MEMFILE_STATIC int IMFS_memfile_extend( IMFS_jnode_t *the_jnode, off_t new_length ) {
ffc0e050:	94 21 ff d8 	stwu    r1,-40(r1)                             
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc0e054:	3d 20 00 00 	lis     r9,0                                   
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc0e058:	7c 08 02 a6 	mflr    r0                                     
ffc0e05c:	bf 01 00 08 	stmw    r24,8(r1)                              
ffc0e060:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e064:	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 )                      
ffc0e068:	83 c9 27 84 	lwz     r30,10116(r9)                          
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc0e06c:	7c dd 33 78 	mr      r29,r6                                 
ffc0e070:	90 01 00 2c 	stw     r0,44(r1)                              
    IMFS_assert( the_jnode->type == IMFS_MEMORY_FILE );               
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc0e074:	57 c9 f0 be 	rlwinm  r9,r30,30,2,31                         
ffc0e078:	39 69 00 01 	addi    r11,r9,1                               
ffc0e07c:	7d 6b 49 d6 	mullw   r11,r11,r9                             
ffc0e080:	38 0b 00 01 	addi    r0,r11,1                               
ffc0e084:	7d 20 49 d6 	mullw   r9,r0,r9                               
ffc0e088:	38 00 00 00 	li      r0,0                                   
ffc0e08c:	7f 80 28 00 	cmpw    cr7,r0,r5                              
ffc0e090:	39 29 ff ff 	addi    r9,r9,-1                               
ffc0e094:	7d 29 f1 d6 	mullw   r9,r9,r30                              
ffc0e098:	41 bd 00 1c 	bgt+    cr7,ffc0e0b4 <IMFS_memfile_extend+0x64><== NEVER TAKEN
ffc0e09c:	40 9e 00 0c 	bne-    cr7,ffc0e0a8 <IMFS_memfile_extend+0x58><== NEVER TAKEN
ffc0e0a0:	7f 89 30 40 	cmplw   cr7,r9,r6                              
ffc0e0a4:	41 bd 00 10 	bgt+    cr7,ffc0e0b4 <IMFS_memfile_extend+0x64>
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc0e0a8:	48 00 10 d5 	bl      ffc0f17c <__errno>                     
ffc0e0ac:	38 00 00 16 	li      r0,22                                  
ffc0e0b0:	48 00 00 94 	b       ffc0e144 <IMFS_memfile_extend+0xf4>    
                                                                      
  /*                                                                  
   *  Verify new file size is actually larger than current size       
   */                                                                 
  if ( new_length <= the_jnode->info.file.size )                      
ffc0e0b4:	83 3f 00 50 	lwz     r25,80(r31)                            
ffc0e0b8:	83 5f 00 54 	lwz     r26,84(r31)                            
ffc0e0bc:	7f 9c c8 00 	cmpw    cr7,r28,r25                            
ffc0e0c0:	41 bd 00 10 	bgt+    cr7,ffc0e0d0 <IMFS_memfile_extend+0x80><== NEVER TAKEN
ffc0e0c4:	40 9e 00 a0 	bne-    cr7,ffc0e164 <IMFS_memfile_extend+0x114><== NEVER TAKEN
ffc0e0c8:	7f 9d d0 40 	cmplw   cr7,r29,r26                            
ffc0e0cc:	40 9d 00 98 	ble-    cr7,ffc0e164 <IMFS_memfile_extend+0x114>
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
ffc0e0d0:	7f db fe 70 	srawi   r27,r30,31                             
ffc0e0d4:	7f 65 db 78 	mr      r5,r27                                 
ffc0e0d8:	7f c6 f3 78 	mr      r6,r30                                 
ffc0e0dc:	7f 83 e3 78 	mr      r3,r28                                 
ffc0e0e0:	7f a4 eb 78 	mr      r4,r29                                 
ffc0e0e4:	48 00 50 65 	bl      ffc13148 <__divdi3>                    
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
ffc0e0e8:	7f 65 db 78 	mr      r5,r27                                 
ffc0e0ec:	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;             
ffc0e0f0:	7c 98 23 78 	mr      r24,r4                                 
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
ffc0e0f4:	7f 23 cb 78 	mr      r3,r25                                 
ffc0e0f8:	7f 44 d3 78 	mr      r4,r26                                 
ffc0e0fc:	48 00 50 4d 	bl      ffc13148 <__divdi3>                    
ffc0e100:	7c 9b 23 78 	mr      r27,r4                                 
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
ffc0e104:	7c 9e 23 78 	mr      r30,r4                                 
ffc0e108:	48 00 00 4c 	b       ffc0e154 <IMFS_memfile_extend+0x104>   
    if ( IMFS_memfile_addblock( the_jnode, block ) ) {                
ffc0e10c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e110:	7f c4 f3 78 	mr      r4,r30                                 
ffc0e114:	4b ff fc e9 	bl      ffc0ddfc <IMFS_memfile_addblock>       
ffc0e118:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e11c:	41 be 00 34 	beq+    cr7,ffc0e150 <IMFS_memfile_extend+0x100>
ffc0e120:	48 00 00 14 	b       ffc0e134 <IMFS_memfile_extend+0xe4>    
       for ( ; block>=old_blocks ; block-- ) {                        
         IMFS_memfile_remove_block( the_jnode, block );               
ffc0e124:	7f c4 f3 78 	mr      r4,r30                                 
ffc0e128:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e12c:	4b ff fe e9 	bl      ffc0e014 <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-- ) {                        
ffc0e130:	3b de ff ff 	addi    r30,r30,-1                             
ffc0e134:	7f 9e d8 40 	cmplw   cr7,r30,r27                            
ffc0e138:	40 9c ff ec 	bge+    cr7,ffc0e124 <IMFS_memfile_extend+0xd4>
         IMFS_memfile_remove_block( the_jnode, block );               
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
ffc0e13c:	48 00 10 41 	bl      ffc0f17c <__errno>                     
ffc0e140:	38 00 00 1c 	li      r0,28                                  
ffc0e144:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e148:	38 60 ff ff 	li      r3,-1                                  
ffc0e14c:	48 00 00 1c 	b       ffc0e168 <IMFS_memfile_extend+0x118>   
  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++ ) {            
ffc0e150:	3b de 00 01 	addi    r30,r30,1                              
ffc0e154:	7f 9e c0 40 	cmplw   cr7,r30,r24                            
ffc0e158:	40 9d ff b4 	ble+    cr7,ffc0e10c <IMFS_memfile_extend+0xbc>
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
ffc0e15c:	93 9f 00 50 	stw     r28,80(r31)                            
ffc0e160:	93 bf 00 54 	stw     r29,84(r31)                            
                                                                      
  /*                                                                  
   *  Verify new file size is actually larger than current size       
   */                                                                 
  if ( new_length <= the_jnode->info.file.size )                      
    return 0;                                                         
ffc0e164:	38 60 00 00 	li      r3,0                                   
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
  return 0;                                                           
}                                                                     
ffc0e168:	39 61 00 28 	addi    r11,r1,40                              
ffc0e16c:	48 00 5f d4 	b       ffc14140 <_restgpr_24_x>               
                                                                      

ffc0da10 <IMFS_memfile_get_block_pointer>: my_block = block; /* * Is the block number in the simple indirect portion? */ if ( my_block <= LAST_INDIRECT ) {
ffc0da10:	3d 20 00 00 	lis     r9,0                                   
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc0da14:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0da18:	7c 08 02 a6 	mflr    r0                                     
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc0da1c:	81 29 27 84 	lwz     r9,10116(r9)                           
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc0da20:	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 ) {                                  
ffc0da24:	55 29 f0 be 	rlwinm  r9,r9,30,2,31                          
ffc0da28:	38 09 ff ff 	addi    r0,r9,-1                               
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc0da2c:	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 ) {                                  
ffc0da30:	7f 84 00 40 	cmplw   cr7,r4,r0                              
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc0da34:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0da38:	7c 9e 23 78 	mr      r30,r4                                 
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc0da3c:	41 9d 00 44 	bgt-    cr7,ffc0da80 <IMFS_memfile_get_block_pointer+0x70>
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
ffc0da40:	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;                                               
ffc0da44:	80 03 00 58 	lwz     r0,88(r3)                              
ffc0da48:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
    if ( malloc_it ) {                                                
ffc0da4c:	41 9a 00 2c 	beq-    cr6,ffc0da78 <IMFS_memfile_get_block_pointer+0x68>
                                                                      
      if ( !p ) {                                                     
ffc0da50:	40 be 00 18 	bne+    cr7,ffc0da68 <IMFS_memfile_get_block_pointer+0x58>
        p = memfile_alloc_block();                                    
ffc0da54:	4b ff ff 79 	bl      ffc0d9cc <memfile_alloc_block>         
        if ( !p )                                                     
           return 0;                                                  
ffc0da58:	3b a0 00 00 	li      r29,0                                  
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
        if ( !p )                                                     
ffc0da5c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0da60:	41 82 01 78 	beq-    ffc0dbd8 <IMFS_memfile_get_block_pointer+0x1c8><== NEVER TAKEN
           return 0;                                                  
        info->indirect = p;                                           
ffc0da64:	90 7f 00 58 	stw     r3,88(r31)                             
      }                                                               
      return &info->indirect[ my_block ];                             
ffc0da68:	83 bf 00 58 	lwz     r29,88(r31)                            
ffc0da6c:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         
ffc0da70:	7f bd f2 14 	add     r29,r29,r30                            
ffc0da74:	48 00 01 64 	b       ffc0dbd8 <IMFS_memfile_get_block_pointer+0x1c8>
    }                                                                 
                                                                      
    if ( !p )                                                         
ffc0da78:	40 be 01 50 	bne+    cr7,ffc0dbc8 <IMFS_memfile_get_block_pointer+0x1b8><== ALWAYS TAKEN
ffc0da7c:	48 00 01 58 	b       ffc0dbd4 <IMFS_memfile_get_block_pointer+0x1c4><== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
ffc0da80:	39 69 00 01 	addi    r11,r9,1                               
ffc0da84:	7d 6b 49 d6 	mullw   r11,r11,r9                             
ffc0da88:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0da8c:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc0da90:	41 9d 00 60 	bgt-    cr7,ffc0daf0 <IMFS_memfile_get_block_pointer+0xe0>
    my_block -= FIRST_DOUBLY_INDIRECT;                                
ffc0da94:	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;                                        
ffc0da98:	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;                     
ffc0da9c:	7f 9e 4b 96 	divwu   r28,r30,r9                             
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
ffc0daa0:	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;                     
ffc0daa4:	7d 3c 49 d6 	mullw   r9,r28,r9                              
ffc0daa8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0daac:	7f c9 f0 50 	subf    r30,r9,r30                             
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
ffc0dab0:	41 9a 00 2c 	beq-    cr6,ffc0dadc <IMFS_memfile_get_block_pointer+0xcc>
                                                                      
      if ( !p ) {                                                     
ffc0dab4:	40 be 00 18 	bne+    cr7,ffc0dacc <IMFS_memfile_get_block_pointer+0xbc>
        p = memfile_alloc_block();                                    
ffc0dab8:	4b ff ff 15 	bl      ffc0d9cc <memfile_alloc_block>         
        if ( !p )                                                     
           return 0;                                                  
ffc0dabc:	3b a0 00 00 	li      r29,0                                  
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
        if ( !p )                                                     
ffc0dac0:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0dac4:	41 82 01 14 	beq-    ffc0dbd8 <IMFS_memfile_get_block_pointer+0x1c8><== NEVER TAKEN
           return 0;                                                  
        info->doubly_indirect = p;                                    
ffc0dac8:	90 7f 00 5c 	stw     r3,92(r31)                             
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
ffc0dacc:	57 9c 10 3a 	rlwinm  r28,r28,2,0,29                         
ffc0dad0:	7f e3 e2 14 	add     r31,r3,r28                             
ffc0dad4:	7c 63 e0 2e 	lwzx    r3,r3,r28                              
ffc0dad8:	48 00 00 a4 	b       ffc0db7c <IMFS_memfile_get_block_pointer+0x16c>
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
ffc0dadc:	41 be 00 f8 	beq+    cr7,ffc0dbd4 <IMFS_memfile_get_block_pointer+0x1c4><== NEVER TAKEN
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
ffc0dae0:	57 9c 10 3a 	rlwinm  r28,r28,2,0,29                         
ffc0dae4:	7c 03 e0 2e 	lwzx    r0,r3,r28                              
    if ( !p )                                                         
      return 0;                                                       
ffc0dae8:	3b a0 00 00 	li      r29,0                                  
ffc0daec:	48 00 00 d4 	b       ffc0dbc0 <IMFS_memfile_get_block_pointer+0x1b0>
  }                                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
ffc0daf0:	39 4b 00 01 	addi    r10,r11,1                              
ffc0daf4:	7d 4a 49 d6 	mullw   r10,r10,r9                             
  }                                                                   
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
ffc0daf8:	3b a0 00 00 	li      r29,0                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
ffc0dafc:	38 0a ff ff 	addi    r0,r10,-1                              
ffc0db00:	7f 84 00 40 	cmplw   cr7,r4,r0                              
ffc0db04:	41 9d 00 d4 	bgt-    cr7,ffc0dbd8 <IMFS_memfile_get_block_pointer+0x1c8><== NEVER TAKEN
    my_block -= FIRST_TRIPLY_INDIRECT;                                
ffc0db08:	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;                                        
ffc0db0c:	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;                     
ffc0db10:	7c 1e 4b 96 	divwu   r0,r30,r9                              
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
ffc0db14:	7f 80 4b 96 	divwu   r28,r0,r9                              
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
ffc0db18:	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;                     
ffc0db1c:	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;                               
ffc0db20:	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;                     
ffc0db24:	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;                               
ffc0db28:	7f 7b 00 50 	subf    r27,r27,r0                             
ffc0db2c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
ffc0db30:	41 9a 00 74 	beq-    cr6,ffc0dba4 <IMFS_memfile_get_block_pointer+0x194>
      if ( !p ) {                                                     
ffc0db34:	40 be 00 14 	bne+    cr7,ffc0db48 <IMFS_memfile_get_block_pointer+0x138>
        p = memfile_alloc_block();                                    
ffc0db38:	4b ff fe 95 	bl      ffc0d9cc <memfile_alloc_block>         
        if ( !p )                                                     
ffc0db3c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0db40:	41 82 00 98 	beq-    ffc0dbd8 <IMFS_memfile_get_block_pointer+0x1c8><== NEVER TAKEN
           return 0;                                                  
        info->triply_indirect = p;                                    
ffc0db44:	90 7f 00 60 	stw     r3,96(r31)                             
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
ffc0db48:	57 9c 10 3a 	rlwinm  r28,r28,2,0,29                         
ffc0db4c:	7f e3 e2 14 	add     r31,r3,r28                             
ffc0db50:	7c 63 e0 2e 	lwzx    r3,r3,r28                              
      if ( !p1 ) {                                                    
ffc0db54:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0db58:	40 be 00 18 	bne+    cr7,ffc0db70 <IMFS_memfile_get_block_pointer+0x160>
        p1 = memfile_alloc_block();                                   
ffc0db5c:	4b ff fe 71 	bl      ffc0d9cc <memfile_alloc_block>         
        if ( !p1 )                                                    
           return 0;                                                  
ffc0db60:	3b a0 00 00 	li      r29,0                                  
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
        if ( !p1 )                                                    
ffc0db64:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0db68:	41 82 00 70 	beq-    ffc0dbd8 <IMFS_memfile_get_block_pointer+0x1c8><== NEVER TAKEN
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
ffc0db6c:	90 7f 00 00 	stw     r3,0(r31)                              
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
ffc0db70:	57 7b 10 3a 	rlwinm  r27,r27,2,0,29                         
ffc0db74:	7f e3 da 14 	add     r31,r3,r27                             
ffc0db78:	7c 63 d8 2e 	lwzx    r3,r3,r27                              
      if ( !p2 ) {                                                    
ffc0db7c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0db80:	40 be 00 18 	bne+    cr7,ffc0db98 <IMFS_memfile_get_block_pointer+0x188>
        p2 = memfile_alloc_block();                                   
ffc0db84:	4b ff fe 49 	bl      ffc0d9cc <memfile_alloc_block>         
        if ( !p2 )                                                    
           return 0;                                                  
ffc0db88:	3b a0 00 00 	li      r29,0                                  
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
      if ( !p2 ) {                                                    
        p2 = memfile_alloc_block();                                   
        if ( !p2 )                                                    
ffc0db8c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0db90:	41 82 00 48 	beq-    ffc0dbd8 <IMFS_memfile_get_block_pointer+0x1c8><== NEVER TAKEN
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
ffc0db94:	90 7f 00 00 	stw     r3,0(r31)                              
      }                                                               
      return (block_p *)&p2[ singly ];                                
ffc0db98:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         
ffc0db9c:	7f a3 f2 14 	add     r29,r3,r30                             
ffc0dba0:	48 00 00 38 	b       ffc0dbd8 <IMFS_memfile_get_block_pointer+0x1c8>
    }                                                                 
                                                                      
    if ( !p )                                                         
ffc0dba4:	41 be 00 34 	beq+    cr7,ffc0dbd8 <IMFS_memfile_get_block_pointer+0x1c8><== NEVER TAKEN
      return 0;                                                       
                                                                      
    p1 = (block_p *) p[ triply ];                                     
ffc0dba8:	57 9c 10 3a 	rlwinm  r28,r28,2,0,29                         
ffc0dbac:	7d 23 e0 2e 	lwzx    r9,r3,r28                              
    if ( !p1 )                                                        
ffc0dbb0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0dbb4:	41 be 00 24 	beq+    cr7,ffc0dbd8 <IMFS_memfile_get_block_pointer+0x1c8><== NEVER TAKEN
      return 0;                                                       
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
ffc0dbb8:	57 7b 10 3a 	rlwinm  r27,r27,2,0,29                         
ffc0dbbc:	7c 09 d8 2e 	lwzx    r0,r9,r27                              
    if ( !p2 )                                                        
ffc0dbc0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0dbc4:	41 9e 00 14 	beq-    cr7,ffc0dbd8 <IMFS_memfile_get_block_pointer+0x1c8><== NEVER TAKEN
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
ffc0dbc8:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         
ffc0dbcc:	7f a0 f2 14 	add     r29,r0,r30                             
ffc0dbd0:	48 00 00 08 	b       ffc0dbd8 <IMFS_memfile_get_block_pointer+0x1c8>
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
      return 0;                                                       
ffc0dbd4:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc0dbd8:	39 61 00 20 	addi    r11,r1,32                              
ffc0dbdc:	7f a3 eb 78 	mr      r3,r29                                 
ffc0dbe0:	48 00 65 6c 	b       ffc1414c <_restgpr_27_x>               
                                                                      

ffc0dbe4 <IMFS_memfile_read>: IMFS_jnode_t *the_jnode, off_t start, unsigned char *destination, unsigned int length ) {
ffc0dbe4:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0dbe8:	7c 08 02 a6 	mflr    r0                                     
ffc0dbec:	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) {                          
ffc0dbf0:	80 03 00 4c 	lwz     r0,76(r3)                              
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
ffc0dbf4:	bf 01 00 18 	stmw    r24,24(r1)                             
ffc0dbf8:	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) {                          
ffc0dbfc:	2f 80 00 06 	cmpwi   cr7,r0,6                               
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
ffc0dc00:	7c df 33 78 	mr      r31,r6                                 
ffc0dc04:	7c be 2b 78 	mr      r30,r5                                 
ffc0dc08:	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) {                          
ffc0dc0c:	40 be 00 68 	bne+    cr7,ffc0dc74 <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))        
ffc0dc10:	81 23 00 50 	lwz     r9,80(r3)                              
ffc0dc14:	38 00 00 00 	li      r0,0                                   
ffc0dc18:	81 43 00 54 	lwz     r10,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;    
ffc0dc1c:	80 83 00 58 	lwz     r4,88(r3)                              
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
ffc0dc20:	7d 9f 50 10 	subfc   r12,r31,r10                            
ffc0dc24:	7d 7e 49 10 	subfe   r11,r30,r9                             
ffc0dc28:	7f 80 58 00 	cmpw    cr7,r0,r11                             
ffc0dc2c:	41 bd 00 10 	bgt+    cr7,ffc0dc3c <IMFS_memfile_read+0x58>  <== NEVER TAKEN
ffc0dc30:	40 9e 00 14 	bne-    cr7,ffc0dc44 <IMFS_memfile_read+0x60>  <== NEVER TAKEN
ffc0dc34:	7f 88 60 40 	cmplw   cr7,r8,r12                             
ffc0dc38:	40 9d 00 0c 	ble-    cr7,ffc0dc44 <IMFS_memfile_read+0x60>  <== NEVER TAKEN
      my_length = the_jnode->info.linearfile.size - start;            
ffc0dc3c:	7f 7f 50 50 	subf    r27,r31,r10                            
ffc0dc40:	48 00 00 08 	b       ffc0dc48 <IMFS_memfile_read+0x64>      
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
ffc0dc44:	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);                        
ffc0dc48:	7c 84 fa 14 	add     r4,r4,r31                              
ffc0dc4c:	7f 65 db 78 	mr      r5,r27                                 
ffc0dc50:	7f 83 e3 78 	mr      r3,r28                                 
ffc0dc54:	48 00 21 89 	bl      ffc0fddc <memcpy>                      
                                                                      
    IMFS_update_atime( the_jnode );                                   
ffc0dc58:	38 61 00 08 	addi    r3,r1,8                                
ffc0dc5c:	38 80 00 00 	li      r4,0                                   
ffc0dc60:	4b ff 66 21 	bl      ffc04280 <gettimeofday>                
ffc0dc64:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
    return my_length;                                                 
ffc0dc68:	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 );                                   
ffc0dc6c:	90 1d 00 40 	stw     r0,64(r29)                             
                                                                      
    return my_length;                                                 
ffc0dc70:	48 00 01 64 	b       ffc0ddd4 <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 )                        
ffc0dc74:	81 63 00 50 	lwz     r11,80(r3)                             
ffc0dc78:	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;                                         
ffc0dc7c:	7c c0 33 78 	mr      r0,r6                                  
  if ( last_byte > the_jnode->info.file.size )                        
ffc0dc80:	83 63 00 54 	lwz     r27,84(r3)                             
ffc0dc84:	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;                                         
ffc0dc88:	7d 28 32 14 	add     r9,r8,r6                               
  if ( last_byte > the_jnode->info.file.size )                        
ffc0dc8c:	41 9d 00 10 	bgt-    cr7,ffc0dc9c <IMFS_memfile_read+0xb8>  <== NEVER TAKEN
ffc0dc90:	40 9e 00 14 	bne-    cr7,ffc0dca4 <IMFS_memfile_read+0xc0>  <== NEVER TAKEN
ffc0dc94:	7f 89 d8 40 	cmplw   cr7,r9,r27                             
ffc0dc98:	40 9d 00 0c 	ble-    cr7,ffc0dca4 <IMFS_memfile_read+0xc0>  
    my_length = the_jnode->info.file.size - start;                    
ffc0dc9c:	7f 60 d8 50 	subf    r27,r0,r27                             
ffc0dca0:	48 00 00 08 	b       ffc0dca8 <IMFS_memfile_read+0xc4>      
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
ffc0dca4:	7d 1b 43 78 	mr      r27,r8                                 
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc0dca8:	3d 20 00 00 	lis     r9,0                                   
ffc0dcac:	83 49 27 84 	lwz     r26,10116(r9)                          
ffc0dcb0:	7f c3 f3 78 	mr      r3,r30                                 
ffc0dcb4:	7f e4 fb 78 	mr      r4,r31                                 
ffc0dcb8:	7f 58 fe 70 	srawi   r24,r26,31                             
ffc0dcbc:	7f 05 c3 78 	mr      r5,r24                                 
ffc0dcc0:	7f 46 d3 78 	mr      r6,r26                                 
ffc0dcc4:	48 00 58 9d 	bl      ffc13560 <__moddi3>                    
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc0dcc8:	7f c3 f3 78 	mr      r3,r30                                 
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc0dccc:	7c 99 23 78 	mr      r25,r4                                 
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc0dcd0:	7f 05 c3 78 	mr      r5,r24                                 
ffc0dcd4:	7f e4 fb 78 	mr      r4,r31                                 
ffc0dcd8:	7f 46 d3 78 	mr      r6,r26                                 
ffc0dcdc:	48 00 54 6d 	bl      ffc13148 <__divdi3>                    
  if ( start_offset )  {                                              
ffc0dce0:	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;                       
ffc0dce4:	7c 98 23 78 	mr      r24,r4                                 
  unsigned int         last_byte;                                     
  unsigned int         copied;                                        
  unsigned int         start_offset;                                  
  unsigned char       *dest;                                          
                                                                      
  dest = destination;                                                 
ffc0dce8:	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;                                                         
ffc0dcec:	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 )  {                                              
ffc0dcf0:	41 9e 00 4c 	beq-    cr7,ffc0dd3c <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 );
ffc0dcf4:	7f a3 eb 78 	mr      r3,r29                                 
ffc0dcf8:	38 a0 00 00 	li      r5,0                                   
ffc0dcfc:	4b ff fd 15 	bl      ffc0da10 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc0dd00:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0dd04:	41 82 00 d0 	beq-    ffc0ddd4 <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;            
ffc0dd08:	7f 59 d0 50 	subf    r26,r25,r26                            
ffc0dd0c:	7f 9b d0 40 	cmplw   cr7,r27,r26                            
ffc0dd10:	7f 7e db 78 	mr      r30,r27                                
ffc0dd14:	40 9d 00 08 	ble-    cr7,ffc0dd1c <IMFS_memfile_read+0x138> 
ffc0dd18:	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 );           
ffc0dd1c:	80 83 00 00 	lwz     r4,0(r3)                               
ffc0dd20:	7f c5 f3 78 	mr      r5,r30                                 
ffc0dd24:	7f 83 e3 78 	mr      r3,r28                                 
ffc0dd28:	7c 84 ca 14 	add     r4,r4,r25                              
ffc0dd2c:	48 00 20 b1 	bl      ffc0fddc <memcpy>                      
    dest += to_copy;                                                  
ffc0dd30:	7f fc f2 14 	add     r31,r28,r30                            
    block++;                                                          
ffc0dd34:	3b 18 00 01 	addi    r24,r24,1                              
    my_length -= to_copy;                                             
ffc0dd38:	7f 7e d8 50 	subf    r27,r30,r27                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
ffc0dd3c:	3f 40 00 00 	lis     r26,0                                  
ffc0dd40:	83 9a 27 84 	lwz     r28,10116(r26)                         
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
ffc0dd44:	48 00 00 3c 	b       ffc0dd80 <IMFS_memfile_read+0x19c>     
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc0dd48:	7f a3 eb 78 	mr      r3,r29                                 
ffc0dd4c:	7f 04 c3 78 	mr      r4,r24                                 
ffc0dd50:	38 a0 00 00 	li      r5,0                                   
ffc0dd54:	4b ff fc bd 	bl      ffc0da10 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc0dd58:	7c 69 1b 79 	mr.     r9,r3                                  
ffc0dd5c:	41 82 00 78 	beq-    ffc0ddd4 <IMFS_memfile_read+0x1f0>     <== NEVER TAKEN
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
ffc0dd60:	80 89 00 00 	lwz     r4,0(r9)                               
ffc0dd64:	7f e3 fb 78 	mr      r3,r31                                 
ffc0dd68:	7f 85 e3 78 	mr      r5,r28                                 
ffc0dd6c:	48 00 20 71 	bl      ffc0fddc <memcpy>                      
    dest += to_copy;                                                  
ffc0dd70:	7f ff e2 14 	add     r31,r31,r28                            
    block++;                                                          
ffc0dd74:	3b 18 00 01 	addi    r24,r24,1                              
    my_length -= to_copy;                                             
ffc0dd78:	7f 7c d8 50 	subf    r27,r28,r27                            
    copied += to_copy;                                                
ffc0dd7c:	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 ) {               
ffc0dd80:	80 1a 27 84 	lwz     r0,10116(r26)                          
ffc0dd84:	7f 9b 00 40 	cmplw   cr7,r27,r0                             
ffc0dd88:	40 9c ff c0 	bge+    cr7,ffc0dd48 <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 ) {                                                  
ffc0dd8c:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0dd90:	41 9e 00 30 	beq-    cr7,ffc0ddc0 <IMFS_memfile_read+0x1dc> 
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc0dd94:	7f a3 eb 78 	mr      r3,r29                                 
ffc0dd98:	7f 04 c3 78 	mr      r4,r24                                 
ffc0dd9c:	38 a0 00 00 	li      r5,0                                   
ffc0dda0:	4b ff fc 71 	bl      ffc0da10 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc0dda4:	7c 69 1b 79 	mr.     r9,r3                                  
ffc0dda8:	41 82 00 2c 	beq-    ffc0ddd4 <IMFS_memfile_read+0x1f0>     <== NEVER TAKEN
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
ffc0ddac:	80 89 00 00 	lwz     r4,0(r9)                               
ffc0ddb0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ddb4:	7f 65 db 78 	mr      r5,r27                                 
ffc0ddb8:	48 00 20 25 	bl      ffc0fddc <memcpy>                      
    copied += my_length;                                              
ffc0ddbc:	7f db f2 14 	add     r30,r27,r30                            
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc0ddc0:	38 61 00 08 	addi    r3,r1,8                                
ffc0ddc4:	38 80 00 00 	li      r4,0                                   
ffc0ddc8:	4b ff 64 b9 	bl      ffc04280 <gettimeofday>                
ffc0ddcc:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0ddd0:	90 1d 00 40 	stw     r0,64(r29)                             
                                                                      
  return copied;                                                      
}                                                                     
ffc0ddd4:	39 61 00 38 	addi    r11,r1,56                              
ffc0ddd8:	7f c3 f3 78 	mr      r3,r30                                 
ffc0dddc:	48 00 63 64 	b       ffc14140 <_restgpr_24_x>               
                                                                      

ffc0dee4 <IMFS_memfile_remove>: * is better to stick to simple, easy to understand algorithms. */ int IMFS_memfile_remove( IMFS_jnode_t *the_jnode ) {
ffc0dee4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0dee8:	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;                                 
ffc0deec:	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                                             
)                                                                     
{                                                                     
ffc0def0:	bf 21 00 0c 	stmw    r25,12(r1)                             
ffc0def4:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0def8:	90 01 00 2c 	stw     r0,44(r1)                              
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
ffc0defc:	80 03 00 58 	lwz     r0,88(r3)                              
                                                                      
  /*                                                                  
   *  Eventually this could be set smarter at each call to            
   *  memfile_free_blocks_in_table to greatly speed this up.          
   */                                                                 
  to_free = IMFS_MEMFILE_BLOCK_SLOTS;                                 
ffc0df00:	83 c9 27 84 	lwz     r30,10116(r9)                          
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
ffc0df04:	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;                                 
ffc0df08:	57 de f0 be 	rlwinm  r30,r30,30,2,31                        
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
ffc0df0c:	41 9e 00 10 	beq-    cr7,ffc0df1c <IMFS_memfile_remove+0x38>
    memfile_free_blocks_in_table( &info->indirect, to_free );         
ffc0df10:	38 63 00 58 	addi    r3,r3,88                               
ffc0df14:	7f c4 f3 78 	mr      r4,r30                                 
ffc0df18:	4b ff ff 69 	bl      ffc0de80 <memfile_free_blocks_in_table>
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
ffc0df1c:	80 1f 00 5c 	lwz     r0,92(r31)                             
ffc0df20:	3b a0 00 00 	li      r29,0                                  
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
ffc0df24:	3f 80 00 00 	lis     r28,0                                  
                                                                      
  if ( info->indirect ) {                                             
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
ffc0df28:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0df2c:	40 be 00 2c 	bne+    cr7,ffc0df58 <IMFS_memfile_remove+0x74>
ffc0df30:	48 00 00 44 	b       ffc0df74 <IMFS_memfile_remove+0x90>    
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      if ( info->doubly_indirect[i] ) {                               
ffc0df34:	80 7f 00 5c 	lwz     r3,92(r31)                             
ffc0df38:	57 a0 10 3a 	rlwinm  r0,r29,2,0,29                          
ffc0df3c:	7d 23 00 2e 	lwzx    r9,r3,r0                               
ffc0df40:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0df44:	41 9e 00 10 	beq-    cr7,ffc0df54 <IMFS_memfile_remove+0x70><== NEVER TAKEN
        memfile_free_blocks_in_table(                                 
ffc0df48:	7c 63 02 14 	add     r3,r3,r0                               
ffc0df4c:	7f c4 f3 78 	mr      r4,r30                                 
ffc0df50:	4b ff ff 31 	bl      ffc0de80 <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++ ) {                  
ffc0df54:	3b bd 00 01 	addi    r29,r29,1                              
ffc0df58:	80 1c 27 84 	lwz     r0,10116(r28)                          
ffc0df5c:	54 00 f0 be 	rlwinm  r0,r0,30,2,31                          
ffc0df60:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc0df64:	41 9c ff d0 	blt+    cr7,ffc0df34 <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 );  
ffc0df68:	38 7f 00 5c 	addi    r3,r31,92                              
ffc0df6c:	7f c4 f3 78 	mr      r4,r30                                 
ffc0df70:	4b ff ff 11 	bl      ffc0de80 <memfile_free_blocks_in_table>
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
ffc0df74:	80 1f 00 60 	lwz     r0,96(r31)                             
ffc0df78:	3b a0 00 00 	li      r29,0                                  
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
ffc0df7c:	3f 40 00 00 	lis     r26,0                                  
    }                                                                 
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
ffc0df80:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0df84:	40 be 00 68 	bne+    cr7,ffc0dfec <IMFS_memfile_remove+0x108>
ffc0df88:	48 00 00 80 	b       ffc0e008 <IMFS_memfile_remove+0x124>   
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
ffc0df8c:	81 3f 00 60 	lwz     r9,96(r31)                             
    }                                                                 
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
ffc0df90:	57 b9 10 3a 	rlwinm  r25,r29,2,0,29                         
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
ffc0df94:	7f 69 c8 2e 	lwzx    r27,r9,r25                             
      if ( !p )  /* ensure we have a valid pointer */                 
ffc0df98:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0df9c:	41 9e 00 60 	beq-    cr7,ffc0dffc <IMFS_memfile_remove+0x118><== NEVER TAKEN
 *         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(                                              
ffc0dfa0:	3b 7b ff fc 	addi    r27,r27,-4                             
ffc0dfa4:	3b 80 00 00 	li      r28,0                                  
ffc0dfa8:	48 00 00 20 	b       ffc0dfc8 <IMFS_memfile_remove+0xe4>    
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
      if ( !p )  /* ensure we have a valid pointer */                 
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
        if ( p[j] ) {                                                 
ffc0dfac:	84 1b 00 04 	lwzu    r0,4(r27)                              
ffc0dfb0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0dfb4:	41 9e 00 10 	beq-    cr7,ffc0dfc4 <IMFS_memfile_remove+0xe0><== NEVER TAKEN
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
ffc0dfb8:	7f 63 db 78 	mr      r3,r27                                 
ffc0dfbc:	7f c4 f3 78 	mr      r4,r30                                 
ffc0dfc0:	4b ff fe c1 	bl      ffc0de80 <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++ ) {                
ffc0dfc4:	3b 9c 00 01 	addi    r28,r28,1                              
ffc0dfc8:	80 1a 27 84 	lwz     r0,10116(r26)                          
ffc0dfcc:	54 00 f0 be 	rlwinm  r0,r0,30,2,31                          
ffc0dfd0:	7f 9c 00 40 	cmplw   cr7,r28,r0                             
ffc0dfd4:	41 9c ff d8 	blt+    cr7,ffc0dfac <IMFS_memfile_remove+0xc8>
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
ffc0dfd8:	80 7f 00 60 	lwz     r3,96(r31)                             
ffc0dfdc:	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++ ) {                  
ffc0dfe0:	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(                                   
ffc0dfe4:	7c 63 ca 14 	add     r3,r3,r25                              
ffc0dfe8:	4b ff fe 99 	bl      ffc0de80 <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++ ) {                  
ffc0dfec:	80 1a 27 84 	lwz     r0,10116(r26)                          
ffc0dff0:	54 00 f0 be 	rlwinm  r0,r0,30,2,31                          
ffc0dff4:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc0dff8:	41 9c ff 94 	blt+    cr7,ffc0df8c <IMFS_memfile_remove+0xa8>
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
ffc0dffc:	38 7f 00 60 	addi    r3,r31,96                              
ffc0e000:	7f c4 f3 78 	mr      r4,r30                                 
ffc0e004:	4b ff fe 7d 	bl      ffc0de80 <memfile_free_blocks_in_table>
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc0e008:	39 61 00 28 	addi    r11,r1,40                              
ffc0e00c:	38 60 00 00 	li      r3,0                                   
ffc0e010:	48 00 61 34 	b       ffc14144 <_restgpr_25_x>               
                                                                      

ffc0e170 <IMFS_memfile_write>: IMFS_jnode_t *the_jnode, off_t start, const unsigned char *source, unsigned int length ) {
ffc0e170:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0e174:	7c 08 02 a6 	mflr    r0                                     
ffc0e178:	bf 01 00 18 	stmw    r24,24(r1)                             
ffc0e17c:	7c de 33 78 	mr      r30,r6                                 
ffc0e180:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e184:	90 01 00 3c 	stw     r0,60(r1)                              
ffc0e188:	7c bd 2b 78 	mr      r29,r5                                 
ffc0e18c:	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 ) {                      
ffc0e190:	80 03 00 50 	lwz     r0,80(r3)                              
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
ffc0e194:	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;                                      
ffc0e198:	7c c8 32 14 	add     r6,r8,r6                               
  if ( last_byte > the_jnode->info.file.size ) {                      
ffc0e19c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e1a0:	41 9c 00 14 	blt-    cr7,ffc0e1b4 <IMFS_memfile_write+0x44> <== NEVER TAKEN
ffc0e1a4:	40 be 00 38 	bne+    cr7,ffc0e1dc <IMFS_memfile_write+0x6c> <== NEVER TAKEN
ffc0e1a8:	80 03 00 54 	lwz     r0,84(r3)                              
ffc0e1ac:	7f 80 30 40 	cmplw   cr7,r0,r6                              
ffc0e1b0:	40 bc 00 2c 	bge+    cr7,ffc0e1dc <IMFS_memfile_write+0x6c> <== NEVER TAKEN
    status = IMFS_memfile_extend( the_jnode, last_byte );             
ffc0e1b4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e1b8:	38 a0 00 00 	li      r5,0                                   
ffc0e1bc:	4b ff fe 95 	bl      ffc0e050 <IMFS_memfile_extend>         
    if ( status )                                                     
ffc0e1c0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e1c4:	41 be 00 18 	beq+    cr7,ffc0e1dc <IMFS_memfile_write+0x6c> 
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
ffc0e1c8:	48 00 0f b5 	bl      ffc0f17c <__errno>                     
ffc0e1cc:	38 00 00 1c 	li      r0,28                                  
ffc0e1d0:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e1d4:	38 00 ff ff 	li      r0,-1                                  
ffc0e1d8:	48 00 01 3c 	b       ffc0e314 <IMFS_memfile_write+0x1a4>    
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc0e1dc:	3d 20 00 00 	lis     r9,0                                   
ffc0e1e0:	83 49 27 84 	lwz     r26,10116(r9)                          
ffc0e1e4:	7f c4 f3 78 	mr      r4,r30                                 
ffc0e1e8:	7f a3 eb 78 	mr      r3,r29                                 
ffc0e1ec:	7f 58 fe 70 	srawi   r24,r26,31                             
ffc0e1f0:	7f 05 c3 78 	mr      r5,r24                                 
ffc0e1f4:	7f 46 d3 78 	mr      r6,r26                                 
ffc0e1f8:	48 00 53 69 	bl      ffc13560 <__moddi3>                    
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc0e1fc:	7f a3 eb 78 	mr      r3,r29                                 
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc0e200:	7c 99 23 78 	mr      r25,r4                                 
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc0e204:	7f 05 c3 78 	mr      r5,r24                                 
ffc0e208:	7f c4 f3 78 	mr      r4,r30                                 
ffc0e20c:	7f 46 d3 78 	mr      r6,r26                                 
ffc0e210:	48 00 4f 39 	bl      ffc13148 <__divdi3>                    
  if ( start_offset )  {                                              
ffc0e214:	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;                       
ffc0e218:	7c 9e 23 78 	mr      r30,r4                                 
  if ( start_offset )  {                                              
ffc0e21c:	41 9e 00 50 	beq-    cr7,ffc0e26c <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 );
ffc0e220:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e224:	38 a0 00 00 	li      r5,0                                   
ffc0e228:	4b ff f7 e9 	bl      ffc0da10 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
      return copied;                                                  
ffc0e22c:	38 00 00 00 	li      r0,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 )                                                 
ffc0e230:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0e234:	41 82 00 e0 	beq-    ffc0e314 <IMFS_memfile_write+0x1a4>    <== 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;            
ffc0e238:	7f 59 d0 50 	subf    r26,r25,r26                            
ffc0e23c:	7f 9a d8 40 	cmplw   cr7,r26,r27                            
ffc0e240:	40 9d 00 08 	ble-    cr7,ffc0e248 <IMFS_memfile_write+0xd8> 
ffc0e244:	7f 7a db 78 	mr      r26,r27                                
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
ffc0e248:	80 63 00 00 	lwz     r3,0(r3)                               
ffc0e24c:	7f 84 e3 78 	mr      r4,r28                                 
ffc0e250:	7f 45 d3 78 	mr      r5,r26                                 
ffc0e254:	7c 63 ca 14 	add     r3,r3,r25                              
ffc0e258:	48 00 1b 85 	bl      ffc0fddc <memcpy>                      
    src += to_copy;                                                   
ffc0e25c:	7f 9c d2 14 	add     r28,r28,r26                            
    block++;                                                          
ffc0e260:	3b de 00 01 	addi    r30,r30,1                              
    my_length -= to_copy;                                             
ffc0e264:	7f 7a d8 50 	subf    r27,r26,r27                            
ffc0e268:	48 00 00 08 	b       ffc0e270 <IMFS_memfile_write+0x100>    
    status = IMFS_memfile_extend( the_jnode, last_byte );             
    if ( status )                                                     
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
  }                                                                   
                                                                      
  copied = 0;                                                         
ffc0e26c:	3b 40 00 00 	li      r26,0                                  
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
ffc0e270:	3f 20 00 00 	lis     r25,0                                  
ffc0e274:	83 b9 27 84 	lwz     r29,10116(r25)                         
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
ffc0e278:	48 00 00 3c 	b       ffc0e2b4 <IMFS_memfile_write+0x144>    
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc0e27c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e280:	7f c4 f3 78 	mr      r4,r30                                 
ffc0e284:	38 a0 00 00 	li      r5,0                                   
ffc0e288:	4b ff f7 89 	bl      ffc0da10 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc0e28c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0e290:	41 82 00 80 	beq-    ffc0e310 <IMFS_memfile_write+0x1a0>    <== 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 );                       
ffc0e294:	80 63 00 00 	lwz     r3,0(r3)                               
ffc0e298:	7f 84 e3 78 	mr      r4,r28                                 
ffc0e29c:	7f a5 eb 78 	mr      r5,r29                                 
ffc0e2a0:	48 00 1b 3d 	bl      ffc0fddc <memcpy>                      
    src += to_copy;                                                   
ffc0e2a4:	7f 9c ea 14 	add     r28,r28,r29                            
    block++;                                                          
ffc0e2a8:	3b de 00 01 	addi    r30,r30,1                              
    my_length -= to_copy;                                             
ffc0e2ac:	7f 7d d8 50 	subf    r27,r29,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(                            
ffc0e2b0:	7f 5a ea 14 	add     r26,r26,r29                            
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
ffc0e2b4:	80 19 27 84 	lwz     r0,10116(r25)                          
ffc0e2b8:	7f 9b 00 40 	cmplw   cr7,r27,r0                             
ffc0e2bc:	40 9c ff c0 	bge+    cr7,ffc0e27c <IMFS_memfile_write+0x10c>
   *  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 ) {                                                  
ffc0e2c0:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0e2c4:	41 9e 00 34 	beq-    cr7,ffc0e2f8 <IMFS_memfile_write+0x188>
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc0e2c8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e2cc:	7f c4 f3 78 	mr      r4,r30                                 
ffc0e2d0:	38 a0 00 00 	li      r5,0                                   
ffc0e2d4:	4b ff f7 3d 	bl      ffc0da10 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc0e2d8:	7f 40 d3 78 	mr      r0,r26                                 
ffc0e2dc:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0e2e0:	41 82 00 34 	beq-    ffc0e314 <IMFS_memfile_write+0x1a4>    <== 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 );                     
ffc0e2e4:	80 63 00 00 	lwz     r3,0(r3)                               
ffc0e2e8:	7f 84 e3 78 	mr      r4,r28                                 
ffc0e2ec:	7f 65 db 78 	mr      r5,r27                                 
ffc0e2f0:	48 00 1a ed 	bl      ffc0fddc <memcpy>                      
    my_length = 0;                                                    
    copied += to_copy;                                                
ffc0e2f4:	7f 5a da 14 	add     r26,r26,r27                            
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
ffc0e2f8:	38 61 00 08 	addi    r3,r1,8                                
ffc0e2fc:	38 80 00 00 	li      r4,0                                   
ffc0e300:	4b ff 5f 81 	bl      ffc04280 <gettimeofday>                
ffc0e304:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0e308:	90 1f 00 44 	stw     r0,68(r31)                             
ffc0e30c:	90 1f 00 48 	stw     r0,72(r31)                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
ffc0e310:	7f 40 d3 78 	mr      r0,r26                                 
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
                                                                      
  return copied;                                                      
}                                                                     
ffc0e314:	39 61 00 38 	addi    r11,r1,56                              
ffc0e318:	7c 03 03 78 	mr      r3,r0                                  
ffc0e31c:	48 00 5e 24 	b       ffc14140 <_restgpr_24_x>               
                                                                      

ffc03a68 <IMFS_mount>: #include <rtems/seterr.h> int IMFS_mount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
ffc03a68:	7c 08 02 a6 	mflr    r0                                     
ffc03a6c:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc03a70:	90 01 00 0c 	stw     r0,12(r1)                              
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
ffc03a74:	81 23 00 08 	lwz     r9,8(r3)                               
                                                                      
  /*                                                                  
   *  Is the node that we are mounting onto a directory node ?        
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
ffc03a78:	80 09 00 4c 	lwz     r0,76(r9)                              
ffc03a7c:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc03a80:	41 be 00 18 	beq+    cr7,ffc03a98 <IMFS_mount+0x30>         <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc03a84:	48 00 b6 f9 	bl      ffc0f17c <__errno>                     <== NOT EXECUTED
ffc03a88:	38 00 00 14 	li      r0,20                                  <== NOT EXECUTED
ffc03a8c:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc03a90:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc03a94:	48 00 00 0c 	b       ffc03aa0 <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;                              
ffc03a98:	90 69 00 5c 	stw     r3,92(r9)                              
  return 0;                                                           
ffc03a9c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc03aa0:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc03aa4:	38 21 00 08 	addi    r1,r1,8                                
ffc03aa8:	7c 08 03 a6 	mtlr    r0                                     
ffc03aac:	4e 80 00 20 	blr                                            
                                                                      

ffc06acc <IMFS_print_jnode>: * This routine prints the contents of the specified jnode. */ void IMFS_print_jnode( IMFS_jnode_t *the_jnode ) {
ffc06acc:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc06ad0:	7c 08 02 a6 	mflr    r0                                     
ffc06ad4:	bf c1 00 08 	stmw    r30,8(r1)                              
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
ffc06ad8:	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                                             
)                                                                     
{                                                                     
ffc06adc:	7c 7f 1b 78 	mr      r31,r3                                 
ffc06ae0:	90 01 00 14 	stw     r0,20(r1)                              
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
ffc06ae4:	38 63 00 0c 	addi    r3,r3,12                               
ffc06ae8:	81 3e 27 70 	lwz     r9,10096(r30)                          
ffc06aec:	80 89 00 08 	lwz     r4,8(r9)                               
ffc06af0:	48 00 db f9 	bl      ffc146e8 <fputs>                       
  switch( the_jnode->type ) {                                         
ffc06af4:	80 bf 00 4c 	lwz     r5,76(r31)                             
ffc06af8:	38 05 ff ff 	addi    r0,r5,-1                               
ffc06afc:	2b 80 00 06 	cmplwi  cr7,r0,6                               
ffc06b00:	41 9d 00 bc 	bgt-    cr7,ffc06bbc <IMFS_print_jnode+0xf0>   <== NEVER TAKEN
ffc06b04:	3d 20 ff c2 	lis     r9,-62                                 
ffc06b08:	39 29 63 f4 	addi    r9,r9,25588                            
ffc06b0c:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc06b10:	7c 09 00 2e 	lwzx    r0,r9,r0                               
ffc06b14:	7d 20 4a 14 	add     r9,r0,r9                               
ffc06b18:	7d 29 03 a6 	mtctr   r9                                     
ffc06b1c:	4e 80 04 20 	bctr                                           
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
ffc06b20:	81 3e 27 70 	lwz     r9,10096(r30)                          
ffc06b24:	38 60 00 2f 	li      r3,47                                  
ffc06b28:	80 89 00 08 	lwz     r4,8(r9)                               
ffc06b2c:	48 00 da a1 	bl      ffc145cc <fputc>                       
      break;                                                          
ffc06b30:	48 00 00 a8 	b       ffc06bd8 <IMFS_print_jnode+0x10c>      
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
ffc06b34:	81 3e 27 70 	lwz     r9,10096(r30)                          
ffc06b38:	3c 80 ff c2 	lis     r4,-62                                 
ffc06b3c:	38 84 64 10 	addi    r4,r4,25616                            
ffc06b40:	80 bf 00 50 	lwz     r5,80(r31)                             
ffc06b44:	80 69 00 08 	lwz     r3,8(r9)                               
ffc06b48:	80 df 00 54 	lwz     r6,84(r31)                             
ffc06b4c:	48 00 00 1c 	b       ffc06b68 <IMFS_print_jnode+0x9c>       
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      fprintf(stdout, " (file %" PRId32 " %p)",                       
ffc06b50:	81 3e 27 70 	lwz     r9,10096(r30)                          
ffc06b54:	3c 80 ff c2 	lis     r4,-62                                 
ffc06b58:	80 bf 00 54 	lwz     r5,84(r31)                             
ffc06b5c:	38 84 64 23 	addi    r4,r4,25635                            
ffc06b60:	80 69 00 08 	lwz     r3,8(r9)                               
ffc06b64:	80 df 00 58 	lwz     r6,88(r31)                             
ffc06b68:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc06b6c:	48 00 d9 79 	bl      ffc144e4 <fprintf>                     
        (uint32_t)the_jnode->info.linearfile.size,                    
        the_jnode->info.linearfile.direct                             
      );                                                              
      break;                                                          
ffc06b70:	48 00 00 68 	b       ffc06bd8 <IMFS_print_jnode+0x10c>      
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
ffc06b74:	81 3e 27 70 	lwz     r9,10096(r30)                          
ffc06b78:	3c 80 ff c2 	lis     r4,-62                                 
ffc06b7c:	80 bf 00 54 	lwz     r5,84(r31)                             
ffc06b80:	38 84 64 32 	addi    r4,r4,25650                            
ffc06b84:	80 69 00 08 	lwz     r3,8(r9)                               
ffc06b88:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc06b8c:	48 00 d9 59 	bl      ffc144e4 <fprintf>                     
        (uint32_t)the_jnode->info.file.size );                        
#endif                                                                
      break;                                                          
ffc06b90:	48 00 00 48 	b       ffc06bd8 <IMFS_print_jnode+0x10c>      
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
ffc06b94:	3c 60 ff c2 	lis     r3,-62                                 
ffc06b98:	81 3e 27 70 	lwz     r9,10096(r30)                          
ffc06b9c:	38 63 64 3e 	addi    r3,r3,25662                            
ffc06ba0:	48 00 00 10 	b       ffc06bb0 <IMFS_print_jnode+0xe4>       
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
ffc06ba4:	3c 60 ff c2 	lis     r3,-62                                 
ffc06ba8:	81 3e 27 70 	lwz     r9,10096(r30)                          
ffc06bac:	38 63 64 52 	addi    r3,r3,25682                            
ffc06bb0:	80 89 00 08 	lwz     r4,8(r9)                               
ffc06bb4:	48 00 db 35 	bl      ffc146e8 <fputs>                       
      return;                                                         
ffc06bb8:	48 00 00 2c 	b       ffc06be4 <IMFS_print_jnode+0x118>      
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", the_jnode->type );            
ffc06bbc:	81 3e 27 70 	lwz     r9,10096(r30)                          <== NOT EXECUTED
ffc06bc0:	3c 80 ff c2 	lis     r4,-62                                 <== NOT EXECUTED
ffc06bc4:	38 84 64 65 	addi    r4,r4,25701                            <== NOT EXECUTED
ffc06bc8:	80 69 00 08 	lwz     r3,8(r9)                               <== NOT EXECUTED
ffc06bcc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc06bd0:	48 00 d9 15 	bl      ffc144e4 <fprintf>                     <== NOT EXECUTED
      return;                                                         
ffc06bd4:	48 00 00 10 	b       ffc06be4 <IMFS_print_jnode+0x118>      <== NOT EXECUTED
  }                                                                   
  puts("");                                                           
ffc06bd8:	3c 60 ff c2 	lis     r3,-62                                 
ffc06bdc:	38 63 66 8b 	addi    r3,r3,26251                            
ffc06be0:	48 00 fa d5 	bl      ffc166b4 <puts>                        
}                                                                     
ffc06be4:	39 61 00 10 	addi    r11,r1,16                              
ffc06be8:	4b ff c9 88 	b       ffc03570 <_restgpr_30_x>               
                                                                      

ffc03abc <IMFS_readlink>: ssize_t IMFS_readlink( rtems_filesystem_location_info_t *loc, char *buf, /* OUT */ size_t bufsize ) {
ffc03abc:	2f 85 00 00 	cmpwi   cr7,r5,0                               
  IMFS_jnode_t      *node;                                            
  ssize_t            i;                                               
                                                                      
  node = loc->node_access;                                            
ffc03ac0:	81 63 00 00 	lwz     r11,0(r3)                              
                                                                      
  IMFS_assert( node->type == IMFS_SYM_LINK );                         
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
ffc03ac4:	38 05 00 01 	addi    r0,r5,1                                
ffc03ac8:	38 60 00 00 	li      r3,0                                   
ffc03acc:	40 be 00 14 	bne+    cr7,ffc03ae0 <IMFS_readlink+0x24>      <== ALWAYS TAKEN
ffc03ad0:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc03ad4:	48 00 00 0c 	b       ffc03ae0 <IMFS_readlink+0x24>          <== NOT EXECUTED
    buf[i] = node->info.sym_link.name[i];                             
ffc03ad8:	7d 24 19 ae 	stbx    r9,r4,r3                               
                                                                      
  node = loc->node_access;                                            
                                                                      
  IMFS_assert( node->type == IMFS_SYM_LINK );                         
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
ffc03adc:	38 63 00 01 	addi    r3,r3,1                                
ffc03ae0:	34 00 ff ff 	addic.  r0,r0,-1                               
ffc03ae4:	4d 82 00 20 	beqlr                                          
ffc03ae8:	81 2b 00 50 	lwz     r9,80(r11)                             
ffc03aec:	7d 29 18 ae 	lbzx    r9,r9,r3                               
ffc03af0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc03af4:	40 9e ff e4 	bne+    cr7,ffc03ad8 <IMFS_readlink+0x1c>      
    buf[i] = node->info.sym_link.name[i];                             
                                                                      
  return i;                                                           
}                                                                     
ffc03af8:	4e 80 00 20 	blr                                            
                                                                      

ffc03afc <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 */ ) {
ffc03afc:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc03b00:	7c 08 02 a6 	mflr    r0                                     
ffc03b04:	90 01 00 24 	stw     r0,36(r1)                              
ffc03b08:	bf c1 00 18 	stmw    r30,24(r1)                             
ffc03b0c:	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 );                
ffc03b10:	38 a0 00 20 	li      r5,32                                  
)                                                                     
{                                                                     
  IMFS_jnode_t *the_jnode;                                            
  IMFS_jnode_t *new_parent;                                           
                                                                      
  the_jnode = old_loc->node_access;                                   
ffc03b14:	83 e4 00 00 	lwz     r31,0(r4)                              
                                                                      
  strncpy( the_jnode->name, new_name, IMFS_NAME_MAX );                
ffc03b18:	7c c4 33 78 	mr      r4,r6                                  
ffc03b1c:	38 7f 00 0c 	addi    r3,r31,12                              
ffc03b20:	48 00 c9 89 	bl      ffc104a8 <strncpy>                     
                                                                      
  if ( the_jnode->Parent != NULL )                                    
ffc03b24:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc03b28:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc03b2c:	41 9e 00 0c 	beq-    cr7,ffc03b38 <IMFS_rename+0x3c>        <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc03b30:	7f e3 fb 78 	mr      r3,r31                                 
ffc03b34:	48 00 48 99 	bl      ffc083cc <_Chain_Extract>              
    rtems_chain_extract( (rtems_chain_node *) the_jnode );            
                                                                      
  new_parent = new_parent_loc->node_access;                           
ffc03b38:	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 );                               
ffc03b3c:	7f e4 fb 78 	mr      r4,r31                                 
  the_jnode->Parent = new_parent;                                     
ffc03b40:	90 7f 00 08 	stw     r3,8(r31)                              
ffc03b44:	38 63 00 50 	addi    r3,r3,80                               
ffc03b48:	48 00 48 55 	bl      ffc0839c <_Chain_Append>               
  rtems_chain_append( &new_parent->info.directory.Entries, &the_jnode->Node );
                                                                      
  /*                                                                  
   * Update the time.                                                 
   */                                                                 
  IMFS_update_ctime( the_jnode );                                     
ffc03b4c:	38 61 00 08 	addi    r3,r1,8                                
ffc03b50:	38 80 00 00 	li      r4,0                                   
ffc03b54:	48 00 07 2d 	bl      ffc04280 <gettimeofday>                
ffc03b58:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  return 0;                                                           
}                                                                     
ffc03b5c:	39 61 00 20 	addi    r11,r1,32                              
ffc03b60:	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 );                                     
ffc03b64:	90 1f 00 48 	stw     r0,72(r31)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc03b68:	48 01 05 f0 	b       ffc14158 <_restgpr_30_x>               
                                                                      

ffc0c230 <IMFS_stat>: int IMFS_stat( rtems_filesystem_location_info_t *loc, struct stat *buf ) {
ffc0c230:	7c 08 02 a6 	mflr    r0                                     
ffc0c234:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0c238:	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;                                       
ffc0c23c:	81 63 00 00 	lwz     r11,0(r3)                              
                                                                      
                                                                      
  switch ( the_jnode->type ) {                                        
ffc0c240:	81 2b 00 4c 	lwz     r9,76(r11)                             
ffc0c244:	38 09 ff fe 	addi    r0,r9,-2                               
ffc0c248:	2b 80 00 05 	cmplwi  cr7,r0,5                               
ffc0c24c:	41 9d 00 54 	bgt-    cr7,ffc0c2a0 <IMFS_stat+0x70>          <== NEVER TAKEN
ffc0c250:	3d 20 ff c1 	lis     r9,-63                                 
ffc0c254:	39 29 60 08 	addi    r9,r9,24584                            
ffc0c258:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0c25c:	7c 09 00 2e 	lwzx    r0,r9,r0                               
ffc0c260:	7d 20 4a 14 	add     r9,r0,r9                               
ffc0c264:	7d 29 03 a6 	mtctr   r9                                     
ffc0c268:	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 );
ffc0c26c:	80 0b 00 54 	lwz     r0,84(r11)                             
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
ffc0c270:	81 2b 00 50 	lwz     r9,80(r11)                             
ffc0c274:	90 04 00 1c 	stw     r0,28(r4)                              
ffc0c278:	91 24 00 18 	stw     r9,24(r4)                              
      break;                                                          
ffc0c27c:	48 00 00 38 	b       ffc0c2b4 <IMFS_stat+0x84>              
                                                                      
    case IMFS_LINEAR_FILE:                                            
    case IMFS_MEMORY_FILE:                                            
      buf->st_size = the_jnode->info.file.size;                       
ffc0c280:	81 2b 00 50 	lwz     r9,80(r11)                             
ffc0c284:	81 4b 00 54 	lwz     r10,84(r11)                            
ffc0c288:	48 00 00 0c 	b       ffc0c294 <IMFS_stat+0x64>              
    case IMFS_SYM_LINK:                                               
      buf->st_size = 0;                                               
      break;                                                          
                                                                      
    case IMFS_FIFO:                                                   
      buf->st_size = 0;                                               
ffc0c28c:	39 20 00 00 	li      r9,0                                   
ffc0c290:	39 40 00 00 	li      r10,0                                  
ffc0c294:	91 24 00 20 	stw     r9,32(r4)                              
ffc0c298:	91 44 00 24 	stw     r10,36(r4)                             
      break;                                                          
ffc0c29c:	48 00 00 18 	b       ffc0c2b4 <IMFS_stat+0x84>              
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( ENOTSUP );                
ffc0c2a0:	48 00 2e dd 	bl      ffc0f17c <__errno>                     
ffc0c2a4:	38 00 00 86 	li      r0,134                                 
ffc0c2a8:	90 03 00 00 	stw     r0,0(r3)                               
ffc0c2ac:	38 60 ff ff 	li      r3,-1                                  
ffc0c2b0:	48 00 00 64 	b       ffc0c314 <IMFS_stat+0xe4>              
                                                                      
  /*                                                                  
   * The device number of the IMFS is the major number and the minor is the
   * instance.                                                        
   */                                                                 
  fs_info = loc->mt_entry->fs_info;                                   
ffc0c2b4:	81 23 00 10 	lwz     r9,16(r3)                              
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
  buf->st_mtime = the_jnode->stat_mtime;                              
  buf->st_ctime = the_jnode->stat_ctime;                              
                                                                      
  return 0;                                                           
ffc0c2b8:	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 );
ffc0c2bc:	81 29 00 34 	lwz     r9,52(r9)                              
ffc0c2c0:	80 09 00 00 	lwz     r0,0(r9)                               
ffc0c2c4:	39 20 00 00 	li      r9,0                                   
ffc0c2c8:	61 29 ff fe 	ori     r9,r9,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 =                                                       
ffc0c2cc:	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;                                 
ffc0c2d0:	80 0b 00 30 	lwz     r0,48(r11)                             
  /*                                                                  
   * 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 =                                                       
ffc0c2d4:	91 24 00 00 	stw     r9,0(r4)                               
    rtems_filesystem_make_dev_t( IMFS_DEVICE_MAJOR_NUMBER, fs_info->instance );
                                                                      
  buf->st_mode  = the_jnode->st_mode;                                 
ffc0c2d8:	90 04 00 0c 	stw     r0,12(r4)                              
  buf->st_nlink = the_jnode->st_nlink;                                
ffc0c2dc:	a0 0b 00 34 	lhz     r0,52(r11)                             
ffc0c2e0:	b0 04 00 10 	sth     r0,16(r4)                              
  buf->st_ino   = the_jnode->st_ino;                                  
ffc0c2e4:	80 0b 00 38 	lwz     r0,56(r11)                             
ffc0c2e8:	90 04 00 08 	stw     r0,8(r4)                               
  buf->st_uid   = the_jnode->st_uid;                                  
ffc0c2ec:	a0 0b 00 3c 	lhz     r0,60(r11)                             
ffc0c2f0:	b0 04 00 12 	sth     r0,18(r4)                              
  buf->st_gid   = the_jnode->st_gid;                                  
ffc0c2f4:	a0 0b 00 3e 	lhz     r0,62(r11)                             
ffc0c2f8:	b0 04 00 14 	sth     r0,20(r4)                              
                                                                      
  buf->st_atime = the_jnode->stat_atime;                              
ffc0c2fc:	80 0b 00 40 	lwz     r0,64(r11)                             
ffc0c300:	90 04 00 28 	stw     r0,40(r4)                              
  buf->st_mtime = the_jnode->stat_mtime;                              
ffc0c304:	80 0b 00 44 	lwz     r0,68(r11)                             
ffc0c308:	90 04 00 30 	stw     r0,48(r4)                              
  buf->st_ctime = the_jnode->stat_ctime;                              
ffc0c30c:	80 0b 00 48 	lwz     r0,72(r11)                             
ffc0c310:	90 04 00 38 	stw     r0,56(r4)                              
                                                                      
  return 0;                                                           
}                                                                     
ffc0c314:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0c318:	38 21 00 08 	addi    r1,r1,8                                
ffc0c31c:	7c 08 03 a6 	mtlr    r0                                     
ffc0c320:	4e 80 00 20 	blr                                            
                                                                      

ffc03c08 <IMFS_unlink>: int IMFS_unlink( rtems_filesystem_location_info_t *parentloc, /* IN */ rtems_filesystem_location_info_t *loc /* IN */ ) {
ffc03c08:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc03c0c:	7c 08 02 a6 	mflr    r0                                     
ffc03c10:	90 01 00 3c 	stw     r0,60(r1)                              
ffc03c14:	bf 81 00 28 	stmw    r28,40(r1)                             
ffc03c18:	7c 7d 1b 78 	mr      r29,r3                                 
ffc03c1c:	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;                                            
ffc03c20:	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 ) {                               
ffc03c24:	80 1e 00 4c 	lwz     r0,76(r30)                             
ffc03c28:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc03c2c:	40 9e 00 94 	bne-    cr7,ffc03cc0 <IMFS_unlink+0xb8>        
                                                                      
    if ( !node->info.hard_link.link_node )                            
ffc03c30:	80 1e 00 50 	lwz     r0,80(r30)                             
ffc03c34:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc03c38:	40 be 00 18 	bne+    cr7,ffc03c50 <IMFS_unlink+0x48>        <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc03c3c:	48 00 b5 41 	bl      ffc0f17c <__errno>                     <== NOT EXECUTED
ffc03c40:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc03c44:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc03c48:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
ffc03c4c:	48 00 00 90 	b       ffc03cdc <IMFS_unlink+0xd4>            <== NOT EXECUTED
                                                                      
    the_link = *loc;                                                  
ffc03c50:	3b 81 00 10 	addi    r28,r1,16                              
    the_link.node_access = node->info.hard_link.link_node;            
    IMFS_Set_handlers( &the_link );                                   
ffc03c54:	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;                                                  
ffc03c58:	7c a4 a4 aa 	lswi    r5,r4,20                               
ffc03c5c:	7c bc a5 aa 	stswi   r5,r28,20                              
    the_link.node_access = node->info.hard_link.link_node;            
ffc03c60:	90 01 00 10 	stw     r0,16(r1)                              
    IMFS_Set_handlers( &the_link );                                   
ffc03c64:	48 00 7b 51 	bl      ffc0b7b4 <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)               
ffc03c68:	81 3e 00 50 	lwz     r9,80(r30)                             
ffc03c6c:	a1 69 00 34 	lhz     r11,52(r9)                             
ffc03c70:	2f 8b 00 01 	cmpwi   cr7,r11,1                              
ffc03c74:	40 be 00 2c 	bne+    cr7,ffc03ca0 <IMFS_unlink+0x98>        
    {                                                                 
        result = (*the_link.handlers->rmnod_h)( parentloc, &the_link );
ffc03c78:	81 21 00 18 	lwz     r9,24(r1)                              
ffc03c7c:	7f a3 eb 78 	mr      r3,r29                                 
ffc03c80:	7f 84 e3 78 	mr      r4,r28                                 
ffc03c84:	80 09 00 34 	lwz     r0,52(r9)                              
ffc03c88:	7c 09 03 a6 	mtctr   r0                                     
ffc03c8c:	4e 80 04 21 	bctrl                                          
        if ( result != 0 )                                            
            return -1;                                                
ffc03c90:	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 )                                            
ffc03c94:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc03c98:	41 be 00 28 	beq+    cr7,ffc03cc0 <IMFS_unlink+0xb8>        
ffc03c9c:	48 00 00 40 	b       ffc03cdc <IMFS_unlink+0xd4>            
            return -1;                                                
    }                                                                 
    else                                                              
    {                                                                 
        node->info.hard_link.link_node->st_nlink --;                  
ffc03ca0:	39 6b ff ff 	addi    r11,r11,-1                             
ffc03ca4:	b1 69 00 34 	sth     r11,52(r9)                             
        IMFS_update_ctime( node->info.hard_link.link_node );          
ffc03ca8:	38 61 00 08 	addi    r3,r1,8                                
ffc03cac:	38 80 00 00 	li      r4,0                                   
ffc03cb0:	48 00 05 d1 	bl      ffc04280 <gettimeofday>                
ffc03cb4:	81 3e 00 50 	lwz     r9,80(r30)                             
ffc03cb8:	80 01 00 08 	lwz     r0,8(r1)                               
ffc03cbc:	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 );               
ffc03cc0:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc03cc4:	7f a3 eb 78 	mr      r3,r29                                 
ffc03cc8:	7f e4 fb 78 	mr      r4,r31                                 
ffc03ccc:	80 09 00 34 	lwz     r0,52(r9)                              
ffc03cd0:	7c 09 03 a6 	mtctr   r0                                     
ffc03cd4:	4e 80 04 21 	bctrl                                          
ffc03cd8:	7c 60 1b 78 	mr      r0,r3                                  
                                                                      
  return result;                                                      
}                                                                     
ffc03cdc:	39 61 00 38 	addi    r11,r1,56                              
ffc03ce0:	7c 03 03 78 	mr      r3,r0                                  
ffc03ce4:	48 01 04 6c 	b       ffc14150 <_restgpr_28_x>               
                                                                      

ffc03ce8 <IMFS_unmount>: #include <rtems/seterr.h> int IMFS_unmount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
ffc03ce8:	7c 08 02 a6 	mflr    r0                                     
ffc03cec:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc03cf0:	90 01 00 0c 	stw     r0,12(r1)                              
  IMFS_jnode_t  *node;                                                
                                                                      
  node = mt_entry->mt_point_node.node_access;                         
ffc03cf4:	81 23 00 08 	lwz     r9,8(r3)                               
                                                                      
  /*                                                                  
   * Is the node that we are mounting onto a directory node ?         
   */                                                                 
                                                                      
  if ( node->type != IMFS_DIRECTORY )                                 
ffc03cf8:	80 09 00 4c 	lwz     r0,76(r9)                              
ffc03cfc:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc03d00:	41 be 00 10 	beq+    cr7,ffc03d10 <IMFS_unmount+0x28>       <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc03d04:	48 00 b4 79 	bl      ffc0f17c <__errno>                     <== NOT EXECUTED
ffc03d08:	38 00 00 14 	li      r0,20                                  <== NOT EXECUTED
ffc03d0c:	48 00 00 18 	b       ffc03d24 <IMFS_unmount+0x3c>           <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Did the node indicate that there was a directory mounted here?   
   */                                                                 
                                                                      
  if ( node->info.directory.mt_fs == NULL )                           
ffc03d10:	80 09 00 5c 	lwz     r0,92(r9)                              
ffc03d14:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc03d18:	40 be 00 18 	bne+    cr7,ffc03d30 <IMFS_unmount+0x48>       <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );  /* XXX */        
ffc03d1c:	48 00 b4 61 	bl      ffc0f17c <__errno>                     <== NOT EXECUTED
ffc03d20:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc03d24:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc03d28:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc03d2c:	48 00 00 10 	b       ffc03d3c <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;                                  
ffc03d30:	38 00 00 00 	li      r0,0                                   
ffc03d34:	90 09 00 5c 	stw     r0,92(r9)                              
                                                                      
  return 0;                                                           
ffc03d38:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc03d3c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc03d40:	38 21 00 08 	addi    r1,r1,8                                
ffc03d44:	7c 08 03 a6 	mtlr    r0                                     
ffc03d48:	4e 80 00 20 	blr                                            
                                                                      

ffc03494 <Stack_check_Dump_threads_usage>: static rtems_printk_plugin_t print_handler; void Stack_check_Dump_threads_usage( Thread_Control *the_thread ) {
ffc03494:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc03498:	7c 08 02 a6 	mflr    r0                                     
ffc0349c:	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)                                       
ffc034a0:	3c 00 a5 a5 	lis     r0,-23131                              
ffc034a4:	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                                          
)                                                                     
{                                                                     
ffc034a8:	be e1 00 1c 	stmw    r23,28(r1)                             
ffc034ac:	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);                       
ffc034b0:	81 63 00 b8 	lwz     r11,184(r3)                            
  size = Stack_check_usable_stack_size(stack);                        
ffc034b4:	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);                       
ffc034b8:	39 6b 00 80 	addi    r11,r11,128                            
      current = 0;                                                    
    } else                                                            
  #endif                                                              
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
ffc034bc:	83 43 00 c4 	lwz     r26,196(r3)                            
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
  size = Stack_check_usable_stack_size(stack);                        
ffc034c0:	3b 9c ff 80 	addi    r28,r28,-128                           
    /*                                                                
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
ffc034c4:	39 2b 00 80 	addi    r9,r11,128                             
    for (ebase = base + length; base < ebase; base++)                 
ffc034c8:	57 8a 00 3a 	rlwinm  r10,r28,0,0,29                         
ffc034cc:	7d 49 52 14 	add     r10,r9,r10                             
ffc034d0:	48 00 00 14 	b       ffc034e4 <Stack_check_Dump_threads_usage+0x50>
      if (*base != U32_PATTERN)                                       
ffc034d4:	81 09 00 00 	lwz     r8,0(r9)                               
ffc034d8:	7f 88 00 00 	cmpw    cr7,r8,r0                              
ffc034dc:	40 9e 00 18 	bne-    cr7,ffc034f4 <Stack_check_Dump_threads_usage+0x60>
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
ffc034e0:	39 29 00 04 	addi    r9,r9,4                                
ffc034e4:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc034e8:	41 9c ff ec 	blt+    cr7,ffc034d4 <Stack_check_Dump_threads_usage+0x40><== 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;                                                         
ffc034ec:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
ffc034f0:	48 00 00 18 	b       ffc03508 <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 )                                              
ffc034f4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
  else                                                                
    used = 0;                                                         
ffc034f8:	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 )                                              
ffc034fc:	41 9e 00 0c 	beq-    cr7,ffc03508 <Stack_check_Dump_threads_usage+0x74><== NEVER TAKEN
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
ffc03500:	7f ab e2 14 	add     r29,r11,r28                            
ffc03504:	7f a9 e8 50 	subf    r29,r9,r29                             
                                                                      
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if ( the_thread )                                                 
  #endif                                                              
    {                                                                 
      (*print_handler)(                                               
ffc03508:	3f c0 00 00 	lis     r30,0                                  
ffc0350c:	83 1b 00 08 	lwz     r24,8(r27)                             
ffc03510:	3b fe 28 50 	addi    r31,r30,10320                          
ffc03514:	83 3e 28 50 	lwz     r25,10320(r30)                         
ffc03518:	82 ff 00 04 	lwz     r23,4(r31)                             
ffc0351c:	38 80 00 05 	li      r4,5                                   
ffc03520:	38 a1 00 08 	addi    r5,r1,8                                
ffc03524:	7f 03 c3 78 	mr      r3,r24                                 
ffc03528:	48 00 42 71 	bl      ffc07798 <rtems_object_get_name>       
ffc0352c:	3c 80 ff c1 	lis     r4,-63                                 
ffc03530:	7c 66 1b 78 	mr      r6,r3                                  
ffc03534:	7f 29 03 a6 	mtctr   r25                                    
ffc03538:	38 84 5c fc 	addi    r4,r4,23804                            
ffc0353c:	7f 05 c3 78 	mr      r5,r24                                 
ffc03540:	7e e3 bb 78 	mr      r3,r23                                 
ffc03544:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03548:	4e 80 04 21 	bctrl                                          
                                                                      
  (*print_handler)(                                                   
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
ffc0354c:	80 db 00 b4 	lwz     r6,180(r27)                            
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
ffc03550:	80 1e 28 50 	lwz     r0,10320(r30)                          
ffc03554:	3c 80 ff c1 	lis     r4,-63                                 
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
ffc03558:	80 bb 00 b8 	lwz     r5,184(r27)                            
ffc0355c:	38 c6 ff ff 	addi    r6,r6,-1                               
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
ffc03560:	7c 09 03 a6 	mtctr   r0                                     
ffc03564:	80 7f 00 04 	lwz     r3,4(r31)                              
ffc03568:	38 84 5d 09 	addi    r4,r4,23817                            
ffc0356c:	7c c5 32 14 	add     r6,r5,r6                               
ffc03570:	7f 47 d3 78 	mr      r7,r26                                 
ffc03574:	7f 88 e3 78 	mr      r8,r28                                 
ffc03578:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0357c:	4e 80 04 21 	bctrl                                          
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
ffc03580:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc03584:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc03588:	40 be 00 24 	bne+    cr7,ffc035ac <Stack_check_Dump_threads_usage+0x118><== ALWAYS TAKEN
    (*print_handler)( print_context, "Unavailable\n" );               
ffc0358c:	80 1e 28 50 	lwz     r0,10320(r30)                          <== NOT EXECUTED
ffc03590:	3c 80 ff c1 	lis     r4,-63                                 <== NOT EXECUTED
ffc03594:	80 7f 00 04 	lwz     r3,4(r31)                              <== NOT EXECUTED
ffc03598:	38 84 5d 27 	addi    r4,r4,23847                            <== NOT EXECUTED
ffc0359c:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc035a0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc035a4:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc035a8:	48 00 00 24 	b       ffc035cc <Stack_check_Dump_threads_usage+0x138><== NOT EXECUTED
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
ffc035ac:	80 1e 28 50 	lwz     r0,10320(r30)                          
ffc035b0:	3c 80 ff c1 	lis     r4,-63                                 
ffc035b4:	80 7f 00 04 	lwz     r3,4(r31)                              
ffc035b8:	38 84 5d 34 	addi    r4,r4,23860                            
ffc035bc:	7f a5 eb 78 	mr      r5,r29                                 
ffc035c0:	7c 09 03 a6 	mtctr   r0                                     
ffc035c4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc035c8:	4e 80 04 21 	bctrl                                          
  }                                                                   
                                                                      
                                                                      
}                                                                     
ffc035cc:	39 61 00 40 	addi    r11,r1,64                              
ffc035d0:	48 01 0b d0 	b       ffc141a0 <_restgpr_23_x>               
                                                                      

ffc036a4 <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) {
ffc036a4:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc036a8:	7c 08 02 a6 	mflr    r0                                     
ffc036ac:	90 01 00 3c 	stw     r0,60(r1)                              
ffc036b0:	bf a1 00 2c 	stmw    r29,44(r1)                             
ffc036b4:	7c 7d 1b 78 	mr      r29,r3                                 
ffc036b8:	7c 9e 23 78 	mr      r30,r4                                 
  Stack_Control *stack = &running->Start.Initial_stack;               
  void          *pattern_area = Stack_check_Get_pattern(stack);       
ffc036bc:	83 e3 00 b8 	lwz     r31,184(r3)                            
  char           name[32];                                            
                                                                      
  printk("BLOWN STACK!!!\n");                                         
ffc036c0:	3c 60 ff c1 	lis     r3,-63                                 
ffc036c4:	38 63 5d 3a 	addi    r3,r3,23866                            
ffc036c8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc036cc:	48 00 1b 21 	bl      ffc051ec <printk>                      
  printk("task control block: 0x%08" PRIxPTR "\n", running);          
ffc036d0:	3c 60 ff c1 	lis     r3,-63                                 
ffc036d4:	38 63 5d 4a 	addi    r3,r3,23882                            
ffc036d8:	7f a4 eb 78 	mr      r4,r29                                 
ffc036dc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc036e0:	48 00 1b 0d 	bl      ffc051ec <printk>                      
  printk("task ID: 0x%08lx\n", (unsigned long) running->Object.id);   
ffc036e4:	80 9d 00 08 	lwz     r4,8(r29)                              
ffc036e8:	3c 60 ff c1 	lis     r3,-63                                 
ffc036ec:	38 63 5d 67 	addi    r3,r3,23911                            
ffc036f0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc036f4:	48 00 1a f9 	bl      ffc051ec <printk>                      
  printk(                                                             
ffc036f8:	80 9d 00 0c 	lwz     r4,12(r29)                             
ffc036fc:	3c 60 ff c1 	lis     r3,-63                                 
ffc03700:	38 63 5d 79 	addi    r3,r3,23929                            
ffc03704:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03708:	48 00 1a e5 	bl      ffc051ec <printk>                      
    "task name: 0x%08" PRIx32 "\n",                                   
    running->Object.name.name_u32                                     
  );                                                                  
  printk(                                                             
ffc0370c:	80 7d 00 08 	lwz     r3,8(r29)                              
ffc03710:	38 a1 00 08 	addi    r5,r1,8                                
ffc03714:	38 80 00 20 	li      r4,32                                  
ffc03718:	48 00 40 81 	bl      ffc07798 <rtems_object_get_name>       
ffc0371c:	7c 64 1b 78 	mr      r4,r3                                  
ffc03720:	3c 60 ff c1 	lis     r3,-63                                 
ffc03724:	38 63 5d 8d 	addi    r3,r3,23949                            
ffc03728:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0372c:	48 00 1a c1 	bl      ffc051ec <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)                              
ffc03730:	80 bd 00 b8 	lwz     r5,184(r29)                            
ffc03734:	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(                                                             
ffc03738:	3c 60 ff c1 	lis     r3,-63                                 
ffc0373c:	38 63 5d a3 	addi    r3,r3,23971                            
ffc03740:	7c c5 22 14 	add     r6,r5,r4                               
ffc03744:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03748:	48 00 1a a5 	bl      ffc051ec <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) {                                                  
ffc0374c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc03750:	40 be 00 20 	bne+    cr7,ffc03770 <Stack_check_report_blown_task+0xcc><== NEVER TAKEN
    printk(                                                           
ffc03754:	3c 60 ff c1 	lis     r3,-63                                 
ffc03758:	38 63 5d d4 	addi    r3,r3,24020                            
ffc0375c:	38 80 00 80 	li      r4,128                                 
ffc03760:	38 bf 00 08 	addi    r5,r31,8                               
ffc03764:	38 df 00 88 	addi    r6,r31,136                             
ffc03768:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0376c:	48 00 1a 81 	bl      ffc051ec <printk>                      
          rtems_configuration_get_user_multiprocessing_table()->node  
      );                                                              
    }                                                                 
  #endif                                                              
                                                                      
  rtems_fatal_error_occurred(0x81);                                   
ffc03770:	38 60 00 81 	li      r3,129                                 
ffc03774:	48 00 4a 41 	bl      ffc081b4 <rtems_fatal_error_occurred>  
                                                                      

ffc11990 <_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 ) {
ffc11990:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc11994:	7c 08 02 a6 	mflr    r0                                     
  /*                                                                  
   *  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)) {              
ffc11998:	7c c9 33 78 	mr      r9,r6                                  
  CORE_message_queue_Control    *the_message_queue,                   
  CORE_message_queue_Attributes *the_message_queue_attributes,        
  uint32_t                       maximum_pending_messages,            
  size_t                         maximum_message_size                 
)                                                                     
{                                                                     
ffc1199c:	90 01 00 24 	stw     r0,36(r1)                              
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
  the_message_queue->number_of_pending_messages = 0;                  
ffc119a0:	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                 
)                                                                     
{                                                                     
ffc119a4:	bf 81 00 10 	stmw    r28,16(r1)                             
ffc119a8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc119ac:	7c 9d 23 78 	mr      r29,r4                                 
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
  the_message_queue->number_of_pending_messages = 0;                  
ffc119b0:	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)) {              
ffc119b4:	70 c0 00 03 	andi.   r0,r6,3                                
)                                                                     
{                                                                     
  size_t message_buffering_required;                                  
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
ffc119b8:	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;
ffc119bc:	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)) {              
ffc119c0:	41 82 00 18 	beq-    ffc119d8 <_CORE_message_queue_Initialize+0x48>
    allocated_message_size += sizeof(uint32_t);                       
ffc119c4:	39 26 00 04 	addi    r9,r6,4                                
    allocated_message_size &= ~(sizeof(uint32_t) - 1);                
ffc119c8:	55 29 00 3a 	rlwinm  r9,r9,0,0,29                           
  }                                                                   
                                                                      
  if (allocated_message_size < maximum_message_size)                  
ffc119cc:	7f 89 30 40 	cmplw   cr7,r9,r6                              
    return false;                                                     
ffc119d0:	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)                  
ffc119d4:	41 bc 00 78 	blt+    cr7,ffc11a4c <_CORE_message_queue_Initialize+0xbc><== NEVER TAKEN
  /*                                                                  
   *  Calculate how much total memory is required for message buffering and
   *  check for overflow on the multiplication.                       
   */                                                                 
  message_buffering_required = (size_t) maximum_pending_messages *    
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
ffc119d8:	3b 89 00 10 	addi    r28,r9,16                              
                                                                      
  /*                                                                  
   *  Calculate how much total memory is required for message buffering and
   *  check for overflow on the multiplication.                       
   */                                                                 
  message_buffering_required = (size_t) maximum_pending_messages *    
ffc119dc:	7c 7c 29 d6 	mullw   r3,r28,r5                              
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
    return false;                                                     
ffc119e0:	3b c0 00 00 	li      r30,0                                  
   *  check for overflow on the multiplication.                       
   */                                                                 
  message_buffering_required = (size_t) maximum_pending_messages *    
       (allocated_message_size + sizeof(CORE_message_queue_Buffer_control));
                                                                      
  if (message_buffering_required < allocated_message_size)            
ffc119e4:	7f 83 48 40 	cmplw   cr7,r3,r9                              
ffc119e8:	41 bc 00 64 	blt+    cr7,ffc11a4c <_CORE_message_queue_Initialize+0xbc><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
     _Workspace_Allocate( message_buffering_required );               
ffc119ec:	90 a1 00 08 	stw     r5,8(r1)                               
ffc119f0:	48 00 31 f9 	bl      ffc14be8 <_Workspace_Allocate>         
                                                                      
  if (the_message_queue->message_buffers == 0)                        
ffc119f4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
     _Workspace_Allocate( message_buffering_required );               
ffc119f8:	7c 64 1b 78 	mr      r4,r3                                  
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
ffc119fc:	90 7f 00 5c 	stw     r3,92(r31)                             
     _Workspace_Allocate( message_buffering_required );               
                                                                      
  if (the_message_queue->message_buffers == 0)                        
ffc11a00:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc11a04:	41 9e 00 48 	beq-    cr7,ffc11a4c <_CORE_message_queue_Initialize+0xbc>
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
ffc11a08:	38 7f 00 60 	addi    r3,r31,96                              
ffc11a0c:	7f 86 e3 78 	mr      r6,r28                                 
ffc11a10:	48 00 4e ed 	bl      ffc168fc <_Chain_Initialize>           
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 );                        
ffc11a14:	38 1f 00 54 	addi    r0,r31,84                              
                                                                      
  head->next = tail;                                                  
ffc11a18:	90 1f 00 50 	stw     r0,80(r31)                             
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Initialize_empty(                    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
ffc11a1c:	38 1f 00 50 	addi    r0,r31,80                              
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
                                                                      
  _Thread_queue_Initialize(                                           
ffc11a20:	7f e3 fb 78 	mr      r3,r31                                 
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc11a24:	93 df 00 54 	stw     r30,84(r31)                            
ffc11a28:	38 a0 00 80 	li      r5,128                                 
ffc11a2c:	38 c0 00 06 	li      r6,6                                   
  tail->previous = head;                                              
ffc11a30:	90 1f 00 58 	stw     r0,88(r31)                             
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
ffc11a34:	3b c0 00 01 	li      r30,1                                  
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
                                                                      
  _Thread_queue_Initialize(                                           
ffc11a38:	80 9d 00 00 	lwz     r4,0(r29)                              
ffc11a3c:	68 84 00 01 	xori    r4,r4,1                                
ffc11a40:	7c 84 00 34 	cntlzw  r4,r4                                  
ffc11a44:	54 84 d9 7e 	rlwinm  r4,r4,27,5,31                          
ffc11a48:	48 00 26 a5 	bl      ffc140ec <_Thread_queue_Initialize>    
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
}                                                                     
ffc11a4c:	39 61 00 20 	addi    r11,r1,32                              
ffc11a50:	7f c3 f3 78 	mr      r3,r30                                 
ffc11a54:	4b ff 3f 84 	b       ffc059d8 <_restgpr_28_x>               
                                                                      

ffc11a58 <_CORE_message_queue_Seize>: void *buffer, size_t *size_p, bool wait, Watchdog_Interval timeout ) {
ffc11a58:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc11a5c:	7c 08 02 a6 	mflr    r0                                     
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
ffc11a60:	3d 20 00 00 	lis     r9,0                                   
  void                            *buffer,                            
  size_t                          *size_p,                            
  bool                             wait,                              
  Watchdog_Interval                timeout                            
)                                                                     
{                                                                     
ffc11a64:	90 01 00 14 	stw     r0,20(r1)                              
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; 
ffc11a68:	39 60 00 00 	li      r11,0                                  
  void                            *buffer,                            
  size_t                          *size_p,                            
  bool                             wait,                              
  Watchdog_Interval                timeout                            
)                                                                     
{                                                                     
ffc11a6c:	7c 80 23 78 	mr      r0,r4                                  
ffc11a70:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc11a74:	7c 7f 1b 78 	mr      r31,r3                                 
ffc11a78:	7c a3 2b 78 	mr      r3,r5                                  
  ISR_Level                          level;                           
  CORE_message_queue_Buffer_control *the_message;                     
  Thread_Control                    *executing;                       
                                                                      
  executing = _Thread_Executing;                                      
ffc11a7c:	81 29 2f 44 	lwz     r9,12100(r9)                           
  executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; 
ffc11a80:	91 69 00 34 	stw     r11,52(r9)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc11a84:	7d 60 00 a6 	mfmsr   r11                                    
ffc11a88:	7d 50 42 a6 	mfsprg  r10,0                                  
ffc11a8c:	7d 6a 50 78 	andc    r10,r11,r10                            
ffc11a90:	7d 40 01 24 	mtmsr   r10                                    
  executing->Wait.return_argument = size_p;                           
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
}                                                                     
ffc11a94:	83 df 00 50 	lwz     r30,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 );                            
ffc11a98:	39 5f 00 54 	addi    r10,r31,84                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
ffc11a9c:	7f 9e 50 00 	cmpw    cr7,r30,r10                            
ffc11aa0:	41 9e 00 5c 	beq-    cr7,ffc11afc <_CORE_message_queue_Seize+0xa4>
                                                                      
  executing = _Thread_Executing;                                      
  executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; 
  _ISR_Disable( level );                                              
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
ffc11aa4:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
ffc11aa8:	80 be 00 00 	lwz     r5,0(r30)                              
                                                                      
  head->next = new_first;                                             
ffc11aac:	7f ea fb 78 	mr      r10,r31                                
ffc11ab0:	94 aa 00 50 	stwu    r5,80(r10)                             
  new_first->previous = head;                                         
ffc11ab4:	91 45 00 04 	stw     r10,4(r5)                              
ffc11ab8:	41 9e 00 44 	beq-    cr7,ffc11afc <_CORE_message_queue_Seize+0xa4><== NEVER TAKEN
    the_message_queue->number_of_pending_messages -= 1;               
ffc11abc:	81 3f 00 48 	lwz     r9,72(r31)                             
ffc11ac0:	38 09 ff ff 	addi    r0,r9,-1                               
ffc11ac4:	90 1f 00 48 	stw     r0,72(r31)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc11ac8:	7d 60 01 24 	mtmsr   r11                                    
    _ISR_Enable( level );                                             
                                                                      
    *size_p = the_message->Contents.size;                             
    _Thread_Executing->Wait.count =                                   
ffc11acc:	3d 20 00 00 	lis     r9,0                                   
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
    the_message_queue->number_of_pending_messages -= 1;               
    _ISR_Enable( level );                                             
                                                                      
    *size_p = the_message->Contents.size;                             
ffc11ad0:	80 be 00 08 	lwz     r5,8(r30)                              
    _Thread_Executing->Wait.count =                                   
ffc11ad4:	81 29 2f 44 	lwz     r9,12100(r9)                           
ffc11ad8:	38 00 00 00 	li      r0,0                                   
  the_message = _CORE_message_queue_Get_pending_message( the_message_queue );
  if ( the_message != NULL ) {                                        
    the_message_queue->number_of_pending_messages -= 1;               
    _ISR_Enable( level );                                             
                                                                      
    *size_p = the_message->Contents.size;                             
ffc11adc:	90 a6 00 00 	stw     r5,0(r6)                               
  const void *source,                                                 
  void       *destination,                                            
  size_t      size                                                    
)                                                                     
{                                                                     
  memcpy(destination, source, size);                                  
ffc11ae0:	38 9e 00 0c 	addi    r4,r30,12                              
    _Thread_Executing->Wait.count =                                   
ffc11ae4:	90 09 00 24 	stw     r0,36(r9)                              
ffc11ae8:	48 00 7b 05 	bl      ffc195ec <memcpy>                      
RTEMS_INLINE_ROUTINE void _CORE_message_queue_Free_message_buffer (   
  CORE_message_queue_Control        *the_message_queue,               
  CORE_message_queue_Buffer_control *the_message                      
)                                                                     
{                                                                     
  _Chain_Append( &the_message_queue->Inactive_messages, &the_message->Node );
ffc11aec:	38 7f 00 60 	addi    r3,r31,96                              
ffc11af0:	7f c4 f3 78 	mr      r4,r30                                 
ffc11af4:	4b ff fd d9 	bl      ffc118cc <_Chain_Append>               
      /*                                                              
       *  There is not an API with blocking sends enabled.            
       *  So return immediately.                                      
       */                                                             
      _CORE_message_queue_Free_message_buffer(the_message_queue, the_message);
      return;                                                         
ffc11af8:	48 00 00 4c 	b       ffc11b44 <_CORE_message_queue_Seize+0xec>
      return;                                                         
    }                                                                 
    #endif                                                            
  }                                                                   
                                                                      
  if ( !wait ) {                                                      
ffc11afc:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc11b00:	40 9e 00 14 	bne-    cr7,ffc11b14 <_CORE_message_queue_Seize+0xbc>
ffc11b04:	7d 60 01 24 	mtmsr   r11                                    
    _ISR_Enable( level );                                             
    executing->Wait.return_code = CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT;
ffc11b08:	38 00 00 04 	li      r0,4                                   
ffc11b0c:	90 09 00 34 	stw     r0,52(r9)                              
    return;                                                           
ffc11b10:	48 00 00 34 	b       ffc11b44 <_CORE_message_queue_Seize+0xec>
                                                                      
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;
ffc11b14:	39 40 00 01 	li      r10,1                                  
ffc11b18:	91 5f 00 30 	stw     r10,48(r31)                            
  }                                                                   
                                                                      
  _Thread_queue_Enter_critical_section( &the_message_queue->Wait_queue );
  executing->Wait.queue = &the_message_queue->Wait_queue;             
ffc11b1c:	93 e9 00 44 	stw     r31,68(r9)                             
  executing->Wait.id = id;                                            
ffc11b20:	90 09 00 20 	stw     r0,32(r9)                              
  executing->Wait.return_argument_second.mutable_object = buffer;     
ffc11b24:	90 69 00 2c 	stw     r3,44(r9)                              
  executing->Wait.return_argument = size_p;                           
ffc11b28:	90 c9 00 28 	stw     r6,40(r9)                              
ffc11b2c:	7d 60 01 24 	mtmsr   r11                                    
  /* Wait.count will be filled in with the message priority */        
  _ISR_Enable( level );                                               
                                                                      
  _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout );   
ffc11b30:	3c a0 ff c1 	lis     r5,-63                                 
ffc11b34:	7f e3 fb 78 	mr      r3,r31                                 
ffc11b38:	7d 04 43 78 	mr      r4,r8                                  
ffc11b3c:	38 a5 41 c8 	addi    r5,r5,16840                            
ffc11b40:	48 00 22 d1 	bl      ffc13e10 <_Thread_queue_Enqueue_with_handler>
}                                                                     
ffc11b44:	39 61 00 10 	addi    r11,r1,16                              
ffc11b48:	4b ff 3e 98 	b       ffc059e0 <_restgpr_30_x>               
                                                                      

ffc0858c <_CORE_mutex_Seize>: Objects_Id _id, bool _wait, Watchdog_Interval _timeout, ISR_Level _level ) {
ffc0858c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc08590:	7c 08 02 a6 	mflr    r0                                     
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
ffc08594:	3d 20 00 00 	lis     r9,0                                   
  Objects_Id           _id,                                           
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
ffc08598:	90 01 00 24 	stw     r0,36(r1)                              
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
ffc0859c:	80 09 27 a4 	lwz     r0,10148(r9)                           
  Objects_Id           _id,                                           
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
ffc085a0:	bf 81 00 10 	stmw    r28,16(r1)                             
ffc085a4:	7c 7f 1b 78 	mr      r31,r3                                 
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
ffc085a8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
  Objects_Id           _id,                                           
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
ffc085ac:	7c 9e 23 78 	mr      r30,r4                                 
ffc085b0:	90 e1 00 08 	stw     r7,8(r1)                               
ffc085b4:	7c bd 2b 78 	mr      r29,r5                                 
ffc085b8:	7c dc 33 78 	mr      r28,r6                                 
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
ffc085bc:	41 9e 00 2c 	beq-    cr7,ffc085e8 <_CORE_mutex_Seize+0x5c>  
ffc085c0:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc085c4:	41 9e 00 24 	beq-    cr7,ffc085e8 <_CORE_mutex_Seize+0x5c>  <== NEVER TAKEN
ffc085c8:	3d 20 00 00 	lis     r9,0                                   
ffc085cc:	80 09 27 e8 	lwz     r0,10216(r9)                           
ffc085d0:	2b 80 00 01 	cmplwi  cr7,r0,1                               
ffc085d4:	40 bd 00 14 	ble+    cr7,ffc085e8 <_CORE_mutex_Seize+0x5c>  
ffc085d8:	38 60 00 00 	li      r3,0                                   
ffc085dc:	38 80 00 00 	li      r4,0                                   
ffc085e0:	38 a0 00 12 	li      r5,18                                  
ffc085e4:	48 00 07 a1 	bl      ffc08d84 <_Internal_error_Occurred>    
ffc085e8:	7f e3 fb 78 	mr      r3,r31                                 
ffc085ec:	38 81 00 08 	addi    r4,r1,8                                
ffc085f0:	48 00 4a a1 	bl      ffc0d090 <_CORE_mutex_Seize_interrupt_trylock>
ffc085f4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc085f8:	41 9e 00 64 	beq-    cr7,ffc0865c <_CORE_mutex_Seize+0xd0>  
ffc085fc:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc08600:	3d 20 00 00 	lis     r9,0                                   
ffc08604:	39 29 2d 98 	addi    r9,r9,11672                            
ffc08608:	40 9e 00 1c 	bne-    cr7,ffc08624 <_CORE_mutex_Seize+0x98>  
ffc0860c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc08610:	7c 00 01 24 	mtmsr   r0                                     
ffc08614:	81 29 00 0c 	lwz     r9,12(r9)                              
ffc08618:	38 00 00 01 	li      r0,1                                   
ffc0861c:	90 09 00 34 	stw     r0,52(r9)                              
ffc08620:	48 00 00 3c 	b       ffc0865c <_CORE_mutex_Seize+0xd0>      
ffc08624:	81 29 00 0c 	lwz     r9,12(r9)                              
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
ffc08628:	38 00 00 01 	li      r0,1                                   
ffc0862c:	90 1f 00 30 	stw     r0,48(r31)                             
ffc08630:	93 e9 00 44 	stw     r31,68(r9)                             
ffc08634:	93 c9 00 20 	stw     r30,32(r9)                             
ffc08638:	3d 20 00 00 	lis     r9,0                                   
ffc0863c:	81 69 27 a4 	lwz     r11,10148(r9)                          
ffc08640:	38 0b 00 01 	addi    r0,r11,1                               
ffc08644:	90 09 27 a4 	stw     r0,10148(r9)                           
ffc08648:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0864c:	7c 00 01 24 	mtmsr   r0                                     
ffc08650:	7f e3 fb 78 	mr      r3,r31                                 
ffc08654:	7f 84 e3 78 	mr      r4,r28                                 
ffc08658:	4b ff fe c1 	bl      ffc08518 <_CORE_mutex_Seize_interrupt_blocking>
}                                                                     
ffc0865c:	39 61 00 20 	addi    r11,r1,32                              
ffc08660:	48 00 ba f0 	b       ffc14150 <_restgpr_28_x>               
                                                                      

ffc08804 <_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 ) {
ffc08804:	7c 08 02 a6 	mflr    r0                                     
ffc08808:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0880c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc08810:	90 01 00 14 	stw     r0,20(r1)                              
ffc08814:	48 00 b8 fd 	bl      ffc14110 <_savegpr_31>                 
ffc08818:	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)) ) {
ffc0881c:	48 00 1b dd 	bl      ffc0a3f8 <_Thread_queue_Dequeue>       
ffc08820:	2f 83 00 00 	cmpwi   cr7,r3,0                               
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
ffc08824:	38 00 00 00 	li      r0,0                                   
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
ffc08828:	40 be 00 38 	bne+    cr7,ffc08860 <_CORE_semaphore_Surrender+0x5c>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0882c:	7d 60 00 a6 	mfmsr   r11                                    
ffc08830:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc08834:	7d 60 00 78 	andc    r0,r11,r0                              
ffc08838:	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 )
ffc0883c:	81 3f 00 48 	lwz     r9,72(r31)                             
        the_semaphore->count += 1;                                    
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
ffc08840:	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 )
ffc08844:	81 5f 00 40 	lwz     r10,64(r31)                            
ffc08848:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc0884c:	40 9c 00 10 	bge-    cr7,ffc0885c <_CORE_semaphore_Surrender+0x58><== NEVER TAKEN
        the_semaphore->count += 1;                                    
ffc08850:	39 29 00 01 	addi    r9,r9,1                                
ffc08854:	91 3f 00 48 	stw     r9,72(r31)                             
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
ffc08858:	38 00 00 00 	li      r0,0                                   
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0885c:	7d 60 01 24 	mtmsr   r11                                    
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc08860:	39 61 00 10 	addi    r11,r1,16                              
ffc08864:	7c 03 03 78 	mr      r3,r0                                  
ffc08868:	48 00 b8 f4 	b       ffc1415c <_restgpr_31_x>               
                                                                      

ffc07454 <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
ffc07454:	7c 2b 0b 78 	mr      r11,r1                                 
ffc07458:	7c 08 02 a6 	mflr    r0                                     
ffc0745c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc07460:	90 01 00 14 	stw     r0,20(r1)                              
ffc07464:	48 00 cc ad 	bl      ffc14110 <_savegpr_31>                 
ffc07468:	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 ];               
ffc0746c:	81 03 01 2c 	lwz     r8,300(r3)                             
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
ffc07470:	80 e3 00 30 	lwz     r7,48(r3)                              
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc07474:	7c 00 00 a6 	mfmsr   r0                                     
ffc07478:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0747c:	7c 09 48 78 	andc    r9,r0,r9                               
ffc07480:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
  _ISR_Disable( level );                                              
  pending_events  = api->pending_events;                              
ffc07484:	81 68 00 00 	lwz     r11,0(r8)                              
  event_condition = (rtems_event_set) the_thread->Wait.count;         
ffc07488:	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 ) ) {                      
ffc0748c:	7d 49 58 39 	and.    r9,r10,r11                             
ffc07490:	40 a2 00 08 	bne+    ffc07498 <_Event_Surrender+0x44>       
    _ISR_Enable( level );                                             
ffc07494:	48 00 00 f4 	b       ffc07588 <_Event_Surrender+0x134>      
                                                                      
  /*                                                                  
   *  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() &&                                       
ffc07498:	3c c0 00 00 	lis     r6,0                                   
ffc0749c:	38 c6 2d 98 	addi    r6,r6,11672                            
ffc074a0:	80 a6 00 08 	lwz     r5,8(r6)                               
ffc074a4:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc074a8:	41 9e 00 64 	beq-    cr7,ffc0750c <_Event_Surrender+0xb8>   
ffc074ac:	80 c6 00 0c 	lwz     r6,12(r6)                              
ffc074b0:	7f 83 30 00 	cmpw    cr7,r3,r6                              
ffc074b4:	40 be 00 58 	bne+    cr7,ffc0750c <_Event_Surrender+0xb8>   
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
ffc074b8:	3c c0 00 00 	lis     r6,0                                   
ffc074bc:	80 a6 27 f0 	lwz     r5,10224(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 ) &&                          
ffc074c0:	2f 85 00 02 	cmpwi   cr7,r5,2                               
ffc074c4:	41 9e 00 10 	beq-    cr7,ffc074d4 <_Event_Surrender+0x80>   <== NEVER TAKEN
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
ffc074c8:	80 c6 27 f0 	lwz     r6,10224(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) ||   
ffc074cc:	2f 86 00 01 	cmpwi   cr7,r6,1                               
ffc074d0:	40 be 00 3c 	bne+    cr7,ffc0750c <_Event_Surrender+0xb8>   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
ffc074d4:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc074d8:	41 9e 00 0c 	beq-    cr7,ffc074e4 <_Event_Surrender+0x90>   
ffc074dc:	70 e5 00 02 	andi.   r5,r7,2                                
ffc074e0:	41 82 00 28 	beq-    ffc07508 <_Event_Surrender+0xb4>       <== 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) );                            
ffc074e4:	7d 6b 48 78 	andc    r11,r11,r9                             
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
ffc074e8:	91 68 00 00 	stw     r11,0(r8)                              
      the_thread->Wait.count = 0;                                     
ffc074ec:	39 60 00 00 	li      r11,0                                  
ffc074f0:	91 7f 00 24 	stw     r11,36(r31)                            
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
ffc074f4:	81 7f 00 28 	lwz     r11,40(r31)                            
ffc074f8:	91 2b 00 00 	stw     r9,0(r11)                              
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
ffc074fc:	39 60 00 03 	li      r11,3                                  
ffc07500:	3d 20 00 00 	lis     r9,0                                   
ffc07504:	91 69 27 f0 	stw     r11,10224(r9)                          
    }                                                                 
    _ISR_Enable( level );                                             
ffc07508:	48 00 00 80 	b       ffc07588 <_Event_Surrender+0x134>      
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_event (              
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_FOR_EVENT);                    
ffc0750c:	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 ) ) {  
ffc07510:	70 c5 01 00 	andi.   r5,r6,256                              
ffc07514:	41 82 00 74 	beq-    ffc07588 <_Event_Surrender+0x134>      
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
ffc07518:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc0751c:	41 9e 00 0c 	beq-    cr7,ffc07528 <_Event_Surrender+0xd4>   
ffc07520:	70 ea 00 02 	andi.   r10,r7,2                               
ffc07524:	41 82 00 64 	beq-    ffc07588 <_Event_Surrender+0x134>      <== NEVER TAKEN
ffc07528:	7d 6b 48 78 	andc    r11,r11,r9                             
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
ffc0752c:	91 68 00 00 	stw     r11,0(r8)                              
      the_thread->Wait.count = 0;                                     
ffc07530:	39 60 00 00 	li      r11,0                                  
ffc07534:	91 7f 00 24 	stw     r11,36(r31)                            
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
ffc07538:	81 7f 00 28 	lwz     r11,40(r31)                            
ffc0753c:	91 2b 00 00 	stw     r9,0(r11)                              
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  __asm__ volatile (                                                  
ffc07540:	7d 20 00 a6 	mfmsr   r9                                     
ffc07544:	7c 00 01 24 	mtmsr   r0                                     
ffc07548:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
ffc0754c:	81 3f 00 50 	lwz     r9,80(r31)                             
ffc07550:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc07554:	41 9e 00 0c 	beq-    cr7,ffc07560 <_Event_Surrender+0x10c>  
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc07558:	7c 00 01 24 	mtmsr   r0                                     
ffc0755c:	48 00 00 18 	b       ffc07574 <_Event_Surrender+0x120>      
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
ffc07560:	39 20 00 03 	li      r9,3                                   
ffc07564:	91 3f 00 50 	stw     r9,80(r31)                             
ffc07568:	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 );                
ffc0756c:	38 7f 00 48 	addi    r3,r31,72                              
ffc07570:	48 00 3c 29 	bl      ffc0b198 <_Watchdog_Remove>            
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
ffc07574:	3c 80 10 03 	lis     r4,4099                                
ffc07578:	7f e3 fb 78 	mr      r3,r31                                 
ffc0757c:	60 84 ff f8 	ori     r4,r4,65528                            
ffc07580:	48 00 27 6d 	bl      ffc09cec <_Thread_Clear_state>         
ffc07584:	48 00 00 08 	b       ffc0758c <_Event_Surrender+0x138>      
ffc07588:	7c 00 01 24 	mtmsr   r0                                     
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
ffc0758c:	39 61 00 10 	addi    r11,r1,16                              
ffc07590:	48 00 cb cc 	b       ffc1415c <_restgpr_31_x>               
                                                                      

ffc07594 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
ffc07594:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc07598:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0759c:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
void _Event_Timeout(                                                  
  Objects_Id  id,                                                     
  void       *ignored                                                 
)                                                                     
{                                                                     
ffc075a0:	90 01 00 1c 	stw     r0,28(r1)                              
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc075a4:	48 00 2b 19 	bl      ffc0a0bc <_Thread_Get>                 
  switch ( location ) {                                               
ffc075a8:	80 01 00 08 	lwz     r0,8(r1)                               
ffc075ac:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc075b0:	40 9e 00 68 	bne-    cr7,ffc07618 <_Event_Timeout+0x84>     <== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc075b4:	7d 60 00 a6 	mfmsr   r11                                    
ffc075b8:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc075bc:	7d 69 48 78 	andc    r9,r11,r9                              
ffc075c0:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
ffc075c4:	3d 20 00 00 	lis     r9,0                                   
            _ISR_Enable( level );                                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
ffc075c8:	90 03 00 24 	stw     r0,36(r3)                              
        if ( _Thread_Is_executing( the_thread ) ) {                   
ffc075cc:	80 09 2d a4 	lwz     r0,11684(r9)                           
ffc075d0:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc075d4:	40 be 00 1c 	bne+    cr7,ffc075f0 <_Event_Timeout+0x5c>     
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
ffc075d8:	3d 20 00 00 	lis     r9,0                                   
ffc075dc:	80 09 27 f0 	lwz     r0,10224(r9)                           
ffc075e0:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc075e4:	40 be 00 0c 	bne+    cr7,ffc075f0 <_Event_Timeout+0x5c>     
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
ffc075e8:	38 00 00 02 	li      r0,2                                   
ffc075ec:	90 09 27 f0 	stw     r0,10224(r9)                           
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
ffc075f0:	38 00 00 06 	li      r0,6                                   
ffc075f4:	90 03 00 34 	stw     r0,52(r3)                              
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc075f8:	7d 60 01 24 	mtmsr   r11                                    
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
ffc075fc:	3c 80 10 03 	lis     r4,4099                                
ffc07600:	60 84 ff f8 	ori     r4,r4,65528                            
ffc07604:	48 00 26 e9 	bl      ffc09cec <_Thread_Clear_state>         
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
ffc07608:	3d 20 00 00 	lis     r9,0                                   
ffc0760c:	81 69 27 a4 	lwz     r11,10148(r9)                          
ffc07610:	38 0b ff ff 	addi    r0,r11,-1                              
ffc07614:	90 09 27 a4 	stw     r0,10148(r9)                           
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
ffc07618:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0761c:	38 21 00 18 	addi    r1,r1,24                               
ffc07620:	7c 08 03 a6 	mtlr    r0                                     
ffc07624:	4e 80 00 20 	blr                                            
                                                                      

ffc0d8d0 <_Heap_Extend>: Heap_Control *heap, void *extend_area_begin_ptr, uintptr_t extend_area_size, uintptr_t *extended_size_ptr ) {
ffc0d8d0:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc0d8d4:	7c 08 02 a6 	mflr    r0                                     
ffc0d8d8:	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;
ffc0d8dc:	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 ) {                        
ffc0d8e0:	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                                        
)                                                                     
{                                                                     
ffc0d8e4:	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;                              
ffc0d8e8:	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                                        
)                                                                     
{                                                                     
ffc0d8ec:	7c d9 33 78 	mr      r25,r6                                 
ffc0d8f0:	7c 7f 1b 78 	mr      r31,r3                                 
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const first_block = heap->first_block;                  
ffc0d8f4:	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                                        
)                                                                     
{                                                                     
ffc0d8f8:	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;                              
ffc0d8fc:	93 41 00 08 	stw     r26,8(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;                                                     
ffc0d900:	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;                               
ffc0d904:	93 41 00 0c 	stw     r26,12(r1)                             
  uintptr_t const page_size = heap->page_size;                        
ffc0d908:	83 63 00 10 	lwz     r27,16(r3)                             
  uintptr_t const min_block_size = heap->min_block_size;              
ffc0d90c:	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;                       
ffc0d910:	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 ) {                        
ffc0d914:	41 bc 02 70 	blt+    cr7,ffc0db84 <_Heap_Extend+0x2b4>      
    return false;                                                     
  }                                                                   
                                                                      
  extend_area_ok = _Heap_Get_first_and_last_block(                    
ffc0d918:	7c 83 23 78 	mr      r3,r4                                  
ffc0d91c:	38 e1 00 08 	addi    r7,r1,8                                
ffc0d920:	7c a4 2b 78 	mr      r4,r5                                  
ffc0d924:	39 01 00 0c 	addi    r8,r1,12                               
ffc0d928:	7f 65 db 78 	mr      r5,r27                                 
ffc0d92c:	4b ff b6 01 	bl      ffc08f2c <_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;                                                     
ffc0d930:	7f 40 d3 78 	mr      r0,r26                                 
    page_size,                                                        
    min_block_size,                                                   
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
ffc0d934:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0d938:	41 9e 02 4c 	beq-    cr7,ffc0db84 <_Heap_Extend+0x2b4>      
ffc0d93c:	7f 89 e3 78 	mr      r9,r28                                 
ffc0d940:	3a c0 00 00 	li      r22,0                                  
ffc0d944:	39 40 00 00 	li      r10,0                                  
ffc0d948:	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;                     
ffc0d94c:	7f 89 e0 00 	cmpw    cr7,r9,r28                             
ffc0d950:	7d 2b 4b 78 	mr      r11,r9                                 
ffc0d954:	40 be 00 08 	bne+    cr7,ffc0d95c <_Heap_Extend+0x8c>       
ffc0d958:	81 7f 00 18 	lwz     r11,24(r31)                            
    uintptr_t const sub_area_end = start_block->prev_size;            
ffc0d95c:	80 09 00 00 	lwz     r0,0(r9)                               
    Heap_Block *const end_block =                                     
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
ffc0d960:	7f 80 e8 40 	cmplw   cr7,r0,r29                             
ffc0d964:	40 9d 00 0c 	ble-    cr7,ffc0d970 <_Heap_Extend+0xa0>       
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
ffc0d968:	7f 9e 58 40 	cmplw   cr7,r30,r11                            
ffc0d96c:	41 9d 02 14 	bgt-    cr7,ffc0db80 <_Heap_Extend+0x2b0>      
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
ffc0d970:	7f 9e 58 00 	cmpw    cr7,r30,r11                            
ffc0d974:	41 9e 00 10 	beq-    cr7,ffc0d984 <_Heap_Extend+0xb4>       
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
ffc0d978:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc0d97c:	41 9c 00 10 	blt-    cr7,ffc0d98c <_Heap_Extend+0xbc>       
ffc0d980:	48 00 00 10 	b       ffc0d990 <_Heap_Extend+0xc0>           
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
ffc0d984:	7d 37 4b 78 	mr      r23,r9                                 
ffc0d988:	48 00 00 08 	b       ffc0d990 <_Heap_Extend+0xc0>           
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
ffc0d98c:	7d 2a 4b 78 	mr      r10,r9                                 
ffc0d990:	7d 60 db 96 	divwu   r11,r0,r27                             
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
ffc0d994:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
ffc0d998:	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);                                        
ffc0d99c:	39 6b ff f8 	addi    r11,r11,-8                             
ffc0d9a0:	40 be 00 10 	bne+    cr7,ffc0d9b0 <_Heap_Extend+0xe0>       
      start_block->prev_size = extend_area_end;                       
ffc0d9a4:	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 )   
ffc0d9a8:	7d 7a 5b 78 	mr      r26,r11                                
ffc0d9ac:	48 00 00 10 	b       ffc0d9bc <_Heap_Extend+0xec>           
                                                                      
      merge_above_block = end_block;                                  
    } else if ( sub_area_end < extend_area_begin ) {                  
ffc0d9b0:	7f 80 e8 40 	cmplw   cr7,r0,r29                             
ffc0d9b4:	40 9c 00 08 	bge-    cr7,ffc0d9bc <_Heap_Extend+0xec>       
ffc0d9b8:	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;                
ffc0d9bc:	81 2b 00 04 	lwz     r9,4(r11)                              
ffc0d9c0:	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);                 
ffc0d9c4:	7d 2b 4a 14 	add     r9,r11,r9                              
      link_above_block = end_block;                                   
    }                                                                 
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
ffc0d9c8:	7f 89 e0 00 	cmpw    cr7,r9,r28                             
ffc0d9cc:	40 9e ff 80 	bne+    cr7,ffc0d94c <_Heap_Extend+0x7c>       
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
ffc0d9d0:	80 1f 00 18 	lwz     r0,24(r31)                             
ffc0d9d4:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc0d9d8:	40 9c 00 0c 	bge-    cr7,ffc0d9e4 <_Heap_Extend+0x114>      
    heap->area_begin = extend_area_begin;                             
ffc0d9dc:	93 bf 00 18 	stw     r29,24(r31)                            
ffc0d9e0:	48 00 00 14 	b       ffc0d9f4 <_Heap_Extend+0x124>          
  } else if ( heap->area_end < extend_area_end ) {                    
ffc0d9e4:	80 1f 00 1c 	lwz     r0,28(r31)                             
ffc0d9e8:	7f 80 f0 40 	cmplw   cr7,r0,r30                             
ffc0d9ec:	40 9c 00 08 	bge-    cr7,ffc0d9f4 <_Heap_Extend+0x124>      
    heap->area_end = extend_area_end;                                 
ffc0d9f0:	93 df 00 1c 	stw     r30,28(r31)                            
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
ffc0d9f4:	81 61 00 08 	lwz     r11,8(r1)                              
ffc0d9f8:	81 21 00 0c 	lwz     r9,12(r1)                              
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
ffc0d9fc:	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 =                                           
ffc0da00:	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;                   
ffc0da04:	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;             
ffc0da08:	90 09 00 00 	stw     r0,0(r9)                               
  extend_last_block->size_and_flag = 0;                               
ffc0da0c:	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 =                                 
ffc0da10:	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;                               
ffc0da14:	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 ) {
ffc0da18:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc0da1c:	7f 80 58 40 	cmplw   cr7,r0,r11                             
ffc0da20:	40 9d 00 0c 	ble-    cr7,ffc0da2c <_Heap_Extend+0x15c>      
    heap->first_block = extend_first_block;                           
ffc0da24:	91 7f 00 20 	stw     r11,32(r31)                            
ffc0da28:	48 00 00 14 	b       ffc0da3c <_Heap_Extend+0x16c>          
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
ffc0da2c:	80 1f 00 24 	lwz     r0,36(r31)                             
ffc0da30:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc0da34:	40 9c 00 08 	bge-    cr7,ffc0da3c <_Heap_Extend+0x16c>      
    heap->last_block = extend_last_block;                             
ffc0da38:	91 3f 00 24 	stw     r9,36(r31)                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
ffc0da3c:	2f 97 00 00 	cmpwi   cr7,r23,0                              
ffc0da40:	41 9e 00 48 	beq-    cr7,ffc0da88 <_Heap_Extend+0x1b8>      
  Heap_Control *heap,                                                 
  uintptr_t extend_area_begin,                                        
  Heap_Block *first_block                                             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
ffc0da44:	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 );
ffc0da48:	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;                            
ffc0da4c:	7d 3d 03 96 	divwu   r9,r29,r0                              
ffc0da50:	7d 29 01 d6 	mullw   r9,r9,r0                               
                                                                      
  if ( remainder != 0 ) {                                             
ffc0da54:	7d 29 e8 51 	subf.   r9,r9,r29                              
ffc0da58:	41 82 00 0c 	beq-    ffc0da64 <_Heap_Extend+0x194>          <== NEVER TAKEN
    return value - remainder + alignment;                             
ffc0da5c:	7f bd 02 14 	add     r29,r29,r0                             
ffc0da60:	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;                
ffc0da64:	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 =                             
ffc0da68:	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 );                          
ffc0da6c:	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;                
ffc0da70:	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 =                              
ffc0da74:	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;
ffc0da78:	60 00 00 01 	ori     r0,r0,1                                
ffc0da7c:	90 04 00 04 	stw     r0,4(r4)                               
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
ffc0da80:	4b ff fe 15 	bl      ffc0d894 <_Heap_Free_block>            
ffc0da84:	48 00 00 1c 	b       ffc0daa0 <_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 ) {                            
ffc0da88:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0da8c:	41 9e 00 14 	beq-    cr7,ffc0daa0 <_Heap_Extend+0x1d0>      
    _Heap_Link_below(                                                 
ffc0da90:	81 21 00 0c 	lwz     r9,12(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;           
ffc0da94:	7d 49 50 50 	subf    r10,r9,r10                             
ffc0da98:	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 =                                         
ffc0da9c:	91 49 00 04 	stw     r10,4(r9)                              
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
ffc0daa0:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0daa4:	41 9e 00 4c 	beq-    cr7,ffc0daf0 <_Heap_Extend+0x220>      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc0daa8:	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,      
ffc0daac:	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(             
ffc0dab0:	7f da f0 50 	subf    r30,r26,r30                            
ffc0dab4:	7f de 03 96 	divwu   r30,r30,r0                             
ffc0dab8:	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)                 
ffc0dabc:	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 );                               
ffc0dac0:	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)                 
ffc0dac4:	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 =                                     
ffc0dac8:	7d 3e d2 14 	add     r9,r30,r26                             
    (last_block->size_and_flag - last_block_new_size)                 
      | HEAP_PREV_BLOCK_USED;                                         
ffc0dacc:	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 =                                     
ffc0dad0:	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 );                               
ffc0dad4:	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;       
ffc0dad8:	80 1a 00 04 	lwz     r0,4(r26)                              
ffc0dadc:	54 00 07 fe 	clrlwi  r0,r0,31                               
                                                                      
  block->size_and_flag = size | flag;                                 
ffc0dae0:	7f de 03 78 	or      r30,r30,r0                             
ffc0dae4:	93 da 00 04 	stw     r30,4(r26)                             
ffc0dae8:	4b ff fd ad 	bl      ffc0d894 <_Heap_Free_block>            
ffc0daec:	48 00 00 34 	b       ffc0db20 <_Heap_Extend+0x250>          
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
ffc0daf0:	2f 96 00 00 	cmpwi   cr7,r22,0                              
ffc0daf4:	41 9e 00 2c 	beq-    cr7,ffc0db20 <_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;       
ffc0daf8:	80 16 00 04 	lwz     r0,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 );       
ffc0dafc:	81 61 00 08 	lwz     r11,8(r1)                              
ffc0db00:	54 00 07 fe 	clrlwi  r0,r0,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(                                                 
ffc0db04:	81 21 00 0c 	lwz     r9,12(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 );       
ffc0db08:	7d 76 58 50 	subf    r11,r22,r11                            
                                                                      
  block->size_and_flag = size | flag;                                 
ffc0db0c:	7d 60 03 78 	or      r0,r11,r0                              
ffc0db10:	90 16 00 04 	stw     r0,4(r22)                              
                                                                      
  last_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                  
ffc0db14:	80 09 00 04 	lwz     r0,4(r9)                               
ffc0db18:	60 00 00 01 	ori     r0,r0,1                                
ffc0db1c:	90 09 00 04 	stw     r0,4(r9)                               
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
ffc0db20:	2f 97 00 00 	cmpwi   cr7,r23,0                              
ffc0db24:	40 be 00 18 	bne+    cr7,ffc0db3c <_Heap_Extend+0x26c>      
ffc0db28:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0db2c:	40 be 00 10 	bne+    cr7,ffc0db3c <_Heap_Extend+0x26c>      
    _Heap_Free_block( heap, extend_first_block );                     
ffc0db30:	80 81 00 08 	lwz     r4,8(r1)                               
ffc0db34:	7f e3 fb 78 	mr      r3,r31                                 
ffc0db38:	4b ff fd 5d 	bl      ffc0d894 <_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      
ffc0db3c:	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 )                                    
ffc0db40:	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(                                               
ffc0db44:	81 7f 00 20 	lwz     r11,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;       
ffc0db48:	80 09 00 04 	lwz     r0,4(r9)                               
 * This feature will be used to terminate the scattered heap area list.  See
 * also _Heap_Extend().                                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Heap_Set_last_block_size( Heap_Control *heap )
{                                                                     
  _Heap_Block_set_size(                                               
ffc0db4c:	7d 69 58 50 	subf    r11,r9,r11                             
RTEMS_INLINE_ROUTINE void _Heap_Block_set_size(                       
  Heap_Block *block,                                                  
  uintptr_t size                                                      
)                                                                     
{                                                                     
  uintptr_t flag = block->size_and_flag & HEAP_PREV_BLOCK_USED;       
ffc0db50:	54 00 07 fe 	clrlwi  r0,r0,31                               
                                                                      
  block->size_and_flag = size | flag;                                 
ffc0db54:	7d 60 03 78 	or      r0,r11,r0                              
ffc0db58:	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;                       
ffc0db5c:	80 1f 00 30 	lwz     r0,48(r31)                             
ffc0db60:	7f 18 00 50 	subf    r24,r24,r0                             
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
ffc0db64:	80 1f 00 2c 	lwz     r0,44(r31)                             
ffc0db68:	7c 00 c2 14 	add     r0,r0,r24                              
ffc0db6c:	90 1f 00 2c 	stw     r0,44(r31)                             
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
ffc0db70:	38 00 00 01 	li      r0,1                                   
  extended_size = stats->free_size - free_size;                       
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
ffc0db74:	41 9e 00 10 	beq-    cr7,ffc0db84 <_Heap_Extend+0x2b4>      <== NEVER TAKEN
    *extended_size_ptr = extended_size;                               
ffc0db78:	93 19 00 00 	stw     r24,0(r25)                             
ffc0db7c:	48 00 00 08 	b       ffc0db84 <_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;                                                   
ffc0db80:	38 00 00 00 	li      r0,0                                   
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
ffc0db84:	39 61 00 40 	addi    r11,r1,64                              
ffc0db88:	7c 03 03 78 	mr      r3,r0                                  
ffc0db8c:	4b ff 2a 14 	b       ffc005a0 <_restgpr_22_x>               
                                                                      

ffc0d3bc <_Heap_Free>: /* * If NULL return true so a free on NULL is considered a valid release. This * is a special case that could be handled by the in heap check how-ever that * would result in false being returned which is wrong. */ if ( alloc_begin_ptr == NULL ) {
ffc0d3bc:	7c 8b 23 79 	mr.     r11,r4                                 
    return do_free;                                                   
  }                                                                   
#endif                                                                
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
{                                                                     
ffc0d3c0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0d3c4:	7c 69 1b 78 	mr      r9,r3                                  
ffc0d3c8:	93 e1 00 0c 	stw     r31,12(r1)                             
   * If NULL return true so a free on NULL is considered a valid release. This
   * is a special case that could be handled by the in heap check how-ever that
   * would result in false being returned which is wrong.             
   */                                                                 
  if ( alloc_begin_ptr == NULL ) {                                    
    return true;                                                      
ffc0d3cc:	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 ) {                                    
ffc0d3d0:	41 82 01 ec 	beq-    ffc0d5bc <_Heap_Free+0x200>            
ffc0d3d4:	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           
ffc0d3d8:	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);                                 
ffc0d3dc:	7d 6b 03 96 	divwu   r11,r11,r0                             
ffc0d3e0:	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;             
ffc0d3e4:	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);                                        
ffc0d3e8:	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;             
ffc0d3ec:	7f 8b 28 40 	cmplw   cr7,r11,r5                             
ffc0d3f0:	41 9c 00 14 	blt-    cr7,ffc0d404 <_Heap_Free+0x48>         
ffc0d3f4:	80 09 00 24 	lwz     r0,36(r9)                              
ffc0d3f8:	7c 0b 00 10 	subfc   r0,r11,r0                              
ffc0d3fc:	38 00 00 00 	li      r0,0                                   
ffc0d400:	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 ) ) {                     
ffc0d404:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return false;                                                     
ffc0d408:	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 ) ) {                     
ffc0d40c:	41 9e 01 b0 	beq-    cr7,ffc0d5bc <_Heap_Free+0x200>        
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc0d410:	80 cb 00 04 	lwz     r6,4(r11)                              
ffc0d414:	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;                
ffc0d418:	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);                 
ffc0d41c:	7d 4b 42 14 	add     r10,r11,r8                             
  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;             
ffc0d420:	7f 8a 28 40 	cmplw   cr7,r10,r5                             
ffc0d424:	41 9c 00 14 	blt-    cr7,ffc0d438 <_Heap_Free+0x7c>         <== NEVER TAKEN
ffc0d428:	80 09 00 24 	lwz     r0,36(r9)                              
ffc0d42c:	7c 0a 00 10 	subfc   r0,r10,r0                              
ffc0d430:	38 00 00 00 	li      r0,0                                   
ffc0d434:	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 ) ) {                
ffc0d438:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return false;                                                     
ffc0d43c:	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 ) ) {                
ffc0d440:	41 9e 01 7c 	beq-    cr7,ffc0d5bc <_Heap_Free+0x200>        <== NEVER TAKEN
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc0d444:	80 0a 00 04 	lwz     r0,4(r10)                              
    return false;                                                     
  }                                                                   
                                                                      
  _Heap_Protection_block_check( heap, next_block );                   
                                                                      
  if ( !_Heap_Is_prev_used( next_block ) ) {                          
ffc0d448:	70 04 00 01 	andi.   r4,r0,1                                
ffc0d44c:	41 82 01 70 	beq-    ffc0d5bc <_Heap_Free+0x200>            
  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                       
ffc0d450:	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;                
ffc0d454:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
ffc0d458:	38 80 00 00 	li      r4,0                                   
ffc0d45c:	7f 8a 18 00 	cmpw    cr7,r10,r3                             
ffc0d460:	41 9e 00 18 	beq-    cr7,ffc0d478 <_Heap_Free+0xbc>         
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc0d464:	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;                 
ffc0d468:	80 e7 00 04 	lwz     r7,4(r7)                               
                                                                      
    return do_free;                                                   
  }                                                                   
#endif                                                                
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
ffc0d46c:	70 ff 00 01 	andi.   r31,r7,1                               
ffc0d470:	7c 80 00 26 	mfcr    r4                                     
ffc0d474:	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 ) ) {                               
ffc0d478:	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                       
ffc0d47c:	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 ) ) {                               
ffc0d480:	40 82 00 98 	bne-    ffc0d518 <_Heap_Free+0x15c>            
    uintptr_t const prev_size = block->prev_size;                     
ffc0d484:	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;             
ffc0d488:	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);                 
ffc0d48c:	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;             
ffc0d490:	7f 87 28 40 	cmplw   cr7,r7,r5                              
ffc0d494:	41 9c 00 10 	blt-    cr7,ffc0d4a4 <_Heap_Free+0xe8>         <== NEVER TAKEN
ffc0d498:	7d 87 18 10 	subfc   r12,r7,r3                              
ffc0d49c:	39 80 00 00 	li      r12,0                                  
ffc0d4a0:	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 ) ) {              
ffc0d4a4:	2f 8c 00 00 	cmpwi   cr7,r12,0                              
      _HAssert( false );                                              
      return( false );                                                
ffc0d4a8:	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 ) ) {              
ffc0d4ac:	41 9e 01 10 	beq-    cr7,ffc0d5bc <_Heap_Free+0x200>        <== 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;                 
ffc0d4b0:	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) ) {                        
ffc0d4b4:	70 bf 00 01 	andi.   r31,r5,1                               
ffc0d4b8:	41 82 01 04 	beq-    ffc0d5bc <_Heap_Free+0x200>            <== NEVER TAKEN
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
ffc0d4bc:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0d4c0:	41 9e 00 38 	beq-    cr7,ffc0d4f8 <_Heap_Free+0x13c>        
  return _Heap_Free_list_tail(heap)->prev;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
ffc0d4c4:	81 6a 00 08 	lwz     r11,8(r10)                             
      uintptr_t const size = block_size + prev_size + next_block_size;
ffc0d4c8:	7c 08 02 14 	add     r0,r8,r0                               
  Heap_Block *prev = block->prev;                                     
ffc0d4cc:	81 4a 00 0c 	lwz     r10,12(r10)                            
ffc0d4d0:	7c c0 32 14 	add     r6,r0,r6                               
                                                                      
  prev->next = next;                                                  
ffc0d4d4:	91 6a 00 08 	stw     r11,8(r10)                             
  next->prev = prev;                                                  
ffc0d4d8:	91 4b 00 0c 	stw     r10,12(r11)                            
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
ffc0d4dc:	81 69 00 38 	lwz     r11,56(r9)                             
ffc0d4e0:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0d4e4:	90 09 00 38 	stw     r0,56(r9)                              
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
ffc0d4e8:	60 c0 00 01 	ori     r0,r6,1                                
ffc0d4ec:	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;                                   
ffc0d4f0:	7c c7 31 2e 	stwx    r6,r7,r6                               
ffc0d4f4:	48 00 00 a0 	b       ffc0d594 <_Heap_Free+0x1d8>            
    } else {                      /* coalesce prev */                 
      uintptr_t const size = block_size + prev_size;                  
ffc0d4f8:	7c c8 32 14 	add     r6,r8,r6                               
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
ffc0d4fc:	60 c0 00 01 	ori     r0,r6,1                                
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
      next_block->prev_size = size;                                   
ffc0d500:	7c cb 41 2e 	stwx    r6,r11,r8                              
      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;        
ffc0d504:	90 07 00 04 	stw     r0,4(r7)                               
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
ffc0d508:	80 0a 00 04 	lwz     r0,4(r10)                              
ffc0d50c:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
ffc0d510:	90 0a 00 04 	stw     r0,4(r10)                              
ffc0d514:	48 00 00 80 	b       ffc0d594 <_Heap_Free+0x1d8>            
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
ffc0d518:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0d51c:	41 9e 00 30 	beq-    cr7,ffc0d54c <_Heap_Free+0x190>        
RTEMS_INLINE_ROUTINE void _Heap_Free_list_replace(                    
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
ffc0d520:	80 ca 00 08 	lwz     r6,8(r10)                              
    uintptr_t const size = block_size + next_block_size;              
ffc0d524:	7c e0 42 14 	add     r7,r0,r8                               
  Heap_Block *prev = old_block->prev;                                 
ffc0d528:	81 4a 00 0c 	lwz     r10,12(r10)                            
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
ffc0d52c:	60 e0 00 01 	ori     r0,r7,1                                
                                                                      
  new_block->next = next;                                             
ffc0d530:	90 cb 00 08 	stw     r6,8(r11)                              
  new_block->prev = prev;                                             
ffc0d534:	91 4b 00 0c 	stw     r10,12(r11)                            
                                                                      
  next->prev = new_block;                                             
  prev->next = new_block;                                             
ffc0d538:	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;                                             
ffc0d53c:	91 66 00 0c 	stw     r11,12(r6)                             
ffc0d540:	90 0b 00 04 	stw     r0,4(r11)                              
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
ffc0d544:	7c eb 39 2e 	stwx    r7,r11,r7                              
ffc0d548:	48 00 00 4c 	b       ffc0d594 <_Heap_Free+0x1d8>            
  } 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;         
ffc0d54c:	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;                              
ffc0d550:	80 e9 00 08 	lwz     r7,8(r9)                               
ffc0d554:	90 0b 00 04 	stw     r0,4(r11)                              
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
ffc0d558:	80 0a 00 04 	lwz     r0,4(r10)                              
                                                                      
  new_block->next = next;                                             
ffc0d55c:	90 eb 00 08 	stw     r7,8(r11)                              
ffc0d560:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
  new_block->prev = block_before;                                     
ffc0d564:	91 2b 00 0c 	stw     r9,12(r11)                             
    next_block->prev_size = block_size;                               
ffc0d568:	7d 0b 41 2e 	stwx    r8,r11,r8                              
  block_before->next = new_block;                                     
  next->prev = new_block;                                             
ffc0d56c:	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;                                     
ffc0d570:	91 69 00 08 	stw     r11,8(r9)                              
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
ffc0d574:	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;               
ffc0d578:	90 0a 00 04 	stw     r0,4(r10)                              
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
ffc0d57c:	38 0b 00 01 	addi    r0,r11,1                               
    if ( stats->max_free_blocks < stats->free_blocks ) {              
ffc0d580:	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;                                             
ffc0d584:	90 09 00 38 	stw     r0,56(r9)                              
    if ( stats->max_free_blocks < stats->free_blocks ) {              
ffc0d588:	7f 8b 00 40 	cmplw   cr7,r11,r0                             
ffc0d58c:	40 9c 00 08 	bge-    cr7,ffc0d594 <_Heap_Free+0x1d8>        
      stats->max_free_blocks = stats->free_blocks;                    
ffc0d590:	90 09 00 3c 	stw     r0,60(r9)                              
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
ffc0d594:	81 69 00 40 	lwz     r11,64(r9)                             
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
ffc0d598:	38 60 00 01 	li      r3,1                                   
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
ffc0d59c:	38 0b ff ff 	addi    r0,r11,-1                              
  ++stats->frees;                                                     
ffc0d5a0:	81 69 00 50 	lwz     r11,80(r9)                             
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
ffc0d5a4:	90 09 00 40 	stw     r0,64(r9)                              
  ++stats->frees;                                                     
ffc0d5a8:	38 0b 00 01 	addi    r0,r11,1                               
ffc0d5ac:	90 09 00 50 	stw     r0,80(r9)                              
  stats->free_size += block_size;                                     
ffc0d5b0:	80 09 00 30 	lwz     r0,48(r9)                              
ffc0d5b4:	7d 00 42 14 	add     r8,r0,r8                               
ffc0d5b8:	91 09 00 30 	stw     r8,48(r9)                              
                                                                      
  return( true );                                                     
}                                                                     
ffc0d5bc:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0d5c0:	38 21 00 10 	addi    r1,r1,16                               
ffc0d5c4:	4e 80 00 20 	blr                                            
                                                                      

ffc14ce8 <_Heap_Size_of_alloc_area>: RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down( uintptr_t value, uintptr_t alignment ) { return value - (value % alignment);
ffc14ce8:	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                                               
)                                                                     
{                                                                     
ffc14cec:	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           
ffc14cf0:	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);                                 
ffc14cf4:	7d 44 03 96 	divwu   r10,r4,r0                              
ffc14cf8:	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;             
ffc14cfc:	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);                                        
ffc14d00:	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;             
ffc14d04:	7f 8a 40 40 	cmplw   cr7,r10,r8                             
ffc14d08:	41 9c 00 14 	blt-    cr7,ffc14d1c <_Heap_Size_of_alloc_area+0x34>
ffc14d0c:	80 03 00 24 	lwz     r0,36(r3)                              
ffc14d10:	7c 0a 00 10 	subfc   r0,r10,r0                              
ffc14d14:	38 00 00 00 	li      r0,0                                   
ffc14d18:	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 ) ) {                     
ffc14d1c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return false;                                                     
ffc14d20:	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 ) ) {                     
ffc14d24:	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;                
ffc14d28:	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;             
ffc14d2c:	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;                
ffc14d30:	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);                 
ffc14d34:	7d 6a 5a 14 	add     r11,r10,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;             
ffc14d38:	7f 8b 40 40 	cmplw   cr7,r11,r8                             
ffc14d3c:	41 9c 00 14 	blt-    cr7,ffc14d50 <_Heap_Size_of_alloc_area+0x68><== NEVER TAKEN
ffc14d40:	80 09 00 24 	lwz     r0,36(r9)                              
ffc14d44:	7c 0b 00 10 	subfc   r0,r11,r0                              
ffc14d48:	38 00 00 00 	li      r0,0                                   
ffc14d4c:	7c 00 01 14 	adde    r0,r0,r0                               
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
ffc14d50:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
ffc14d54:	38 60 00 00 	li      r3,0                                   
  }                                                                   
                                                                      
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
ffc14d58:	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;                 
ffc14d5c:	80 0b 00 04 	lwz     r0,4(r11)                              
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
ffc14d60:	70 09 00 01 	andi.   r9,r0,1                                
ffc14d64:	4d 82 00 20 	beqlr                                          
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
ffc14d68:	20 84 00 04 	subfic  r4,r4,4                                
ffc14d6c:	7d 64 5a 14 	add     r11,r4,r11                             
ffc14d70:	91 65 00 00 	stw     r11,0(r5)                              
                                                                      
  return true;                                                        
ffc14d74:	38 60 00 01 	li      r3,1                                   
}                                                                     
ffc14d78:	4e 80 00 20 	blr                                            
                                                                      

ffc09ab0 <_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;
ffc09ab0:	2f 85 00 00 	cmpwi   cr7,r5,0                               
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
ffc09ab4:	94 21 ff 98 	stwu    r1,-104(r1)                            
ffc09ab8:	7c 08 02 a6 	mflr    r0                                     
ffc09abc:	bd c1 00 20 	stmw    r14,32(r1)                             
ffc09ac0:	7c 7e 1b 78 	mr      r30,r3                                 
ffc09ac4:	7c 9f 23 78 	mr      r31,r4                                 
ffc09ac8:	90 01 00 6c 	stw     r0,108(r1)                             
  uintptr_t const page_size = heap->page_size;                        
ffc09acc:	83 43 00 10 	lwz     r26,16(r3)                             
  uintptr_t const min_block_size = heap->min_block_size;              
ffc09ad0:	83 23 00 14 	lwz     r25,20(r3)                             
  Heap_Block *const first_block = heap->first_block;                  
ffc09ad4:	83 03 00 20 	lwz     r24,32(r3)                             
  Heap_Block *const last_block = heap->last_block;                    
ffc09ad8:	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;                      
ffc09adc:	41 9e 00 10 	beq-    cr7,ffc09aec <_Heap_Walk+0x3c>         
ffc09ae0:	3d 20 ff c1 	lis     r9,-63                                 
ffc09ae4:	39 29 9a 00 	addi    r9,r9,-26112                           
ffc09ae8:	48 00 00 0c 	b       ffc09af4 <_Heap_Walk+0x44>             
ffc09aec:	3d 20 ff c1 	lis     r9,-63                                 
ffc09af0:	39 29 99 fc 	addi    r9,r9,-26116                           
ffc09af4:	91 21 00 18 	stw     r9,24(r1)                              
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
ffc09af8:	3d 20 00 00 	lis     r9,0                                   
    return true;                                                      
ffc09afc:	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() ) ) {                
ffc09b00:	80 09 27 e8 	lwz     r0,10216(r9)                           
ffc09b04:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc09b08:	40 be 04 c4 	bne+    cr7,ffc09fcc <_Heap_Walk+0x51c>        
  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)(                                                         
ffc09b0c:	80 1e 00 08 	lwz     r0,8(r30)                              
ffc09b10:	3c a0 ff c1 	lis     r5,-63                                 
ffc09b14:	81 1e 00 18 	lwz     r8,24(r30)                             
ffc09b18:	7f e3 fb 78 	mr      r3,r31                                 
ffc09b1c:	90 01 00 0c 	stw     r0,12(r1)                              
ffc09b20:	38 80 00 00 	li      r4,0                                   
ffc09b24:	38 a5 71 cd 	addi    r5,r5,29133                            
ffc09b28:	80 1e 00 0c 	lwz     r0,12(r30)                             
ffc09b2c:	7f 46 d3 78 	mr      r6,r26                                 
ffc09b30:	81 3e 00 1c 	lwz     r9,28(r30)                             
ffc09b34:	7f 27 cb 78 	mr      r7,r25                                 
ffc09b38:	90 01 00 10 	stw     r0,16(r1)                              
ffc09b3c:	7f 0a c3 78 	mr      r10,r24                                
ffc09b40:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09b44:	92 e1 00 08 	stw     r23,8(r1)                              
ffc09b48:	7c 09 03 a6 	mtctr   r0                                     
ffc09b4c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09b50:	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 ) {                                             
ffc09b54:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc09b58:	40 be 00 18 	bne+    cr7,ffc09b70 <_Heap_Walk+0xc0>         
    (*printer)( source, true, "page size is zero\n" );                
ffc09b5c:	3c a0 ff c1 	lis     r5,-63                                 
ffc09b60:	7f e3 fb 78 	mr      r3,r31                                 
ffc09b64:	38 80 00 01 	li      r4,1                                   
ffc09b68:	38 a5 72 5e 	addi    r5,r5,29278                            
ffc09b6c:	48 00 00 94 	b       ffc09c00 <_Heap_Walk+0x150>            
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
ffc09b70:	73 49 00 07 	andi.   r9,r26,7                               
ffc09b74:	41 a2 00 1c 	beq+    ffc09b90 <_Heap_Walk+0xe0>             
    (*printer)(                                                       
ffc09b78:	3c a0 ff c1 	lis     r5,-63                                 
ffc09b7c:	7f e3 fb 78 	mr      r3,r31                                 
ffc09b80:	38 80 00 01 	li      r4,1                                   
ffc09b84:	38 a5 72 71 	addi    r5,r5,29297                            
ffc09b88:	7f 46 d3 78 	mr      r6,r26                                 
ffc09b8c:	48 00 04 5c 	b       ffc09fe8 <_Heap_Walk+0x538>            
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc09b90:	7c 19 d3 96 	divwu   r0,r25,r26                             
ffc09b94:	7c 00 d1 d6 	mullw   r0,r0,r26                              
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
ffc09b98:	7f 99 00 00 	cmpw    cr7,r25,r0                             
ffc09b9c:	41 be 00 1c 	beq+    cr7,ffc09bb8 <_Heap_Walk+0x108>        
    (*printer)(                                                       
ffc09ba0:	3c a0 ff c1 	lis     r5,-63                                 
ffc09ba4:	7f e3 fb 78 	mr      r3,r31                                 
ffc09ba8:	38 80 00 01 	li      r4,1                                   
ffc09bac:	38 a5 72 8f 	addi    r5,r5,29327                            
ffc09bb0:	7f 26 cb 78 	mr      r6,r25                                 
ffc09bb4:	48 00 04 34 	b       ffc09fe8 <_Heap_Walk+0x538>            
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
ffc09bb8:	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;                                    
ffc09bbc:	7d 20 d3 96 	divwu   r9,r0,r26                              
ffc09bc0:	7d 29 d1 d6 	mullw   r9,r9,r26                              
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
ffc09bc4:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc09bc8:	41 be 00 1c 	beq+    cr7,ffc09be4 <_Heap_Walk+0x134>        
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
ffc09bcc:	3c a0 ff c1 	lis     r5,-63                                 
ffc09bd0:	7f e3 fb 78 	mr      r3,r31                                 
ffc09bd4:	38 80 00 01 	li      r4,1                                   
ffc09bd8:	38 a5 72 b3 	addi    r5,r5,29363                            
ffc09bdc:	7f 06 c3 78 	mr      r6,r24                                 
ffc09be0:	48 00 04 08 	b       ffc09fe8 <_Heap_Walk+0x538>            
  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;                 
ffc09be4:	80 18 00 04 	lwz     r0,4(r24)                              
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
ffc09be8:	70 09 00 01 	andi.   r9,r0,1                                
ffc09bec:	40 a2 00 28 	bne+    ffc09c14 <_Heap_Walk+0x164>            
    (*printer)(                                                       
ffc09bf0:	3c a0 ff c1 	lis     r5,-63                                 
ffc09bf4:	7f e3 fb 78 	mr      r3,r31                                 
ffc09bf8:	38 80 00 01 	li      r4,1                                   
ffc09bfc:	38 a5 72 e4 	addi    r5,r5,29412                            
ffc09c00:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09c04:	7c 09 03 a6 	mtctr   r0                                     
ffc09c08:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09c0c:	4e 80 04 21 	bctrl                                          
ffc09c10:	48 00 01 18 	b       ffc09d28 <_Heap_Walk+0x278>            
    - 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;                
ffc09c14:	83 b7 00 04 	lwz     r29,4(r23)                             
ffc09c18:	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);                 
ffc09c1c:	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;                 
ffc09c20:	80 1d 00 04 	lwz     r0,4(r29)                              
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
ffc09c24:	70 09 00 01 	andi.   r9,r0,1                                
ffc09c28:	40 a2 00 18 	bne+    ffc09c40 <_Heap_Walk+0x190>            
    (*printer)(                                                       
ffc09c2c:	3c a0 ff c1 	lis     r5,-63                                 
ffc09c30:	7f e3 fb 78 	mr      r3,r31                                 
ffc09c34:	38 80 00 01 	li      r4,1                                   
ffc09c38:	38 a5 73 12 	addi    r5,r5,29458                            
ffc09c3c:	4b ff ff c4 	b       ffc09c00 <_Heap_Walk+0x150>            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
ffc09c40:	7f 9d c0 00 	cmpw    cr7,r29,r24                            
ffc09c44:	41 9e 00 18 	beq-    cr7,ffc09c5c <_Heap_Walk+0x1ac>        
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
ffc09c48:	3c a0 ff c1 	lis     r5,-63                                 
ffc09c4c:	7f e3 fb 78 	mr      r3,r31                                 
ffc09c50:	38 80 00 01 	li      r4,1                                   
ffc09c54:	38 a5 73 27 	addi    r5,r5,29479                            
ffc09c58:	4b ff ff a8 	b       ffc09c00 <_Heap_Walk+0x150>            
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
ffc09c5c:	81 3e 00 10 	lwz     r9,16(r30)                             
  const Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );
ffc09c60:	7f c0 f3 78 	mr      r0,r30                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc09c64:	80 de 00 08 	lwz     r6,8(r30)                              
ffc09c68:	48 00 00 d0 	b       ffc09d38 <_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;             
ffc09c6c:	81 5e 00 20 	lwz     r10,32(r30)                            
ffc09c70:	39 60 00 00 	li      r11,0                                  
ffc09c74:	7f 8a 30 40 	cmplw   cr7,r10,r6                             
ffc09c78:	41 9d 00 14 	bgt-    cr7,ffc09c8c <_Heap_Walk+0x1dc>        
ffc09c7c:	81 7e 00 24 	lwz     r11,36(r30)                            
ffc09c80:	7d 66 58 10 	subfc   r11,r6,r11                             
ffc09c84:	39 60 00 00 	li      r11,0                                  
ffc09c88:	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 ) ) {              
ffc09c8c:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc09c90:	40 be 00 18 	bne+    cr7,ffc09ca8 <_Heap_Walk+0x1f8>        
      (*printer)(                                                     
ffc09c94:	3c a0 ff c1 	lis     r5,-63                                 
ffc09c98:	7f e3 fb 78 	mr      r3,r31                                 
ffc09c9c:	38 80 00 01 	li      r4,1                                   
ffc09ca0:	38 a5 73 56 	addi    r5,r5,29526                            
ffc09ca4:	48 00 03 44 	b       ffc09fe8 <_Heap_Walk+0x538>            
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
ffc09ca8:	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;                                    
ffc09cac:	7d 4b 4b 96 	divwu   r10,r11,r9                             
ffc09cb0:	7d 4a 49 d6 	mullw   r10,r10,r9                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
ffc09cb4:	7f 8b 50 00 	cmpw    cr7,r11,r10                            
ffc09cb8:	41 be 00 18 	beq+    cr7,ffc09cd0 <_Heap_Walk+0x220>        
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
ffc09cbc:	3c a0 ff c1 	lis     r5,-63                                 
ffc09cc0:	7f e3 fb 78 	mr      r3,r31                                 
ffc09cc4:	38 80 00 01 	li      r4,1                                   
ffc09cc8:	38 a5 73 76 	addi    r5,r5,29558                            
ffc09ccc:	48 00 03 1c 	b       ffc09fe8 <_Heap_Walk+0x538>            
    - 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;                
ffc09cd0:	81 66 00 04 	lwz     r11,4(r6)                              
ffc09cd4:	55 6b 00 3c 	rlwinm  r11,r11,0,0,30                         
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc09cd8:	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;                 
ffc09cdc:	81 6b 00 04 	lwz     r11,4(r11)                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
ffc09ce0:	71 6a 00 01 	andi.   r10,r11,1                              
ffc09ce4:	41 a2 00 18 	beq+    ffc09cfc <_Heap_Walk+0x24c>            
      (*printer)(                                                     
ffc09ce8:	3c a0 ff c1 	lis     r5,-63                                 
ffc09cec:	7f e3 fb 78 	mr      r3,r31                                 
ffc09cf0:	38 80 00 01 	li      r4,1                                   
ffc09cf4:	38 a5 73 a6 	addi    r5,r5,29606                            
ffc09cf8:	48 00 02 f0 	b       ffc09fe8 <_Heap_Walk+0x538>            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
ffc09cfc:	80 e6 00 0c 	lwz     r7,12(r6)                              
ffc09d00:	7f 87 00 00 	cmpw    cr7,r7,r0                              
ffc09d04:	41 be 00 2c 	beq+    cr7,ffc09d30 <_Heap_Walk+0x280>        
      (*printer)(                                                     
ffc09d08:	3c a0 ff c1 	lis     r5,-63                                 
ffc09d0c:	7f e3 fb 78 	mr      r3,r31                                 
ffc09d10:	38 80 00 01 	li      r4,1                                   
ffc09d14:	38 a5 73 c2 	addi    r5,r5,29634                            
ffc09d18:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09d1c:	7c 09 03 a6 	mtctr   r0                                     
ffc09d20:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09d24:	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;                                                     
ffc09d28:	38 60 00 00 	li      r3,0                                   
ffc09d2c:	48 00 02 a0 	b       ffc09fcc <_Heap_Walk+0x51c>            
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
ffc09d30:	7c c0 33 78 	mr      r0,r6                                  
ffc09d34:	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 ) {                            
ffc09d38:	7f 86 f0 00 	cmpw    cr7,r6,r30                             
ffc09d3c:	40 9e ff 30 	bne+    cr7,ffc09c6c <_Heap_Walk+0x1bc>        
ffc09d40:	48 00 00 0c 	b       ffc09d4c <_Heap_Walk+0x29c>            
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
ffc09d44:	7f 7d db 78 	mr      r29,r27                                
ffc09d48:	48 00 00 30 	b       ffc09d78 <_Heap_Walk+0x2c8>            
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
ffc09d4c:	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)(                                                     
ffc09d50:	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)(                                                         
ffc09d54:	3e 40 ff c1 	lis     r18,-63                                
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
ffc09d58:	3a 73 75 62 	addi    r19,r19,30050                          
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
      (*printer)(                                                     
ffc09d5c:	3a 94 75 4b 	addi    r20,r20,30027                          
  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)(                                                         
ffc09d60:	3a 52 74 ae 	addi    r18,r18,29870                          
ffc09d64:	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)" : "")          
ffc09d68:	3e c0 ff c1 	lis     r22,-63                                
ffc09d6c:	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)(                                                         
ffc09d70:	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)" : ""),         
ffc09d74:	3d c0 ff c1 	lis     r14,-63                                
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc09d78:	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;             
ffc09d7c:	38 00 00 00 	li      r0,0                                   
ffc09d80:	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;                
ffc09d84:	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);                 
ffc09d88:	7f 7d e2 14 	add     r27,r29,r28                            
  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;             
ffc09d8c:	7f 89 d8 40 	cmplw   cr7,r9,r27                             
ffc09d90:	41 9d 00 14 	bgt-    cr7,ffc09da4 <_Heap_Walk+0x2f4>        <== NEVER TAKEN
ffc09d94:	80 1e 00 24 	lwz     r0,36(r30)                             
ffc09d98:	7c 1b 00 10 	subfc   r0,r27,r0                              
ffc09d9c:	38 00 00 00 	li      r0,0                                   
ffc09da0:	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 ) ) {              
ffc09da4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09da8:	40 be 00 18 	bne+    cr7,ffc09dc0 <_Heap_Walk+0x310>        
      (*printer)(                                                     
ffc09dac:	3c a0 ff c1 	lis     r5,-63                                 
ffc09db0:	7f e3 fb 78 	mr      r3,r31                                 
ffc09db4:	38 80 00 01 	li      r4,1                                   
ffc09db8:	38 a5 73 f4 	addi    r5,r5,29684                            
ffc09dbc:	48 00 00 a8 	b       ffc09e64 <_Heap_Walk+0x3b4>            
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc09dc0:	7d 3c d3 96 	divwu   r9,r28,r26                             
ffc09dc4:	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;               
ffc09dc8:	7f a0 ba 78 	xor     r0,r29,r23                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
ffc09dcc:	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;               
ffc09dd0:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc09dd4:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc09dd8:	68 00 00 01 	xori    r0,r0,1                                
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
ffc09ddc:	41 9e 00 28 	beq-    cr7,ffc09e04 <_Heap_Walk+0x354>        
ffc09de0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09de4:	41 be 00 20 	beq+    cr7,ffc09e04 <_Heap_Walk+0x354>        
      (*printer)(                                                     
ffc09de8:	3c a0 ff c1 	lis     r5,-63                                 
ffc09dec:	7f e3 fb 78 	mr      r3,r31                                 
ffc09df0:	38 80 00 01 	li      r4,1                                   
ffc09df4:	38 a5 74 21 	addi    r5,r5,29729                            
ffc09df8:	7f a6 eb 78 	mr      r6,r29                                 
ffc09dfc:	7f 87 e3 78 	mr      r7,r28                                 
ffc09e00:	4b ff ff 18 	b       ffc09d18 <_Heap_Walk+0x268>            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
ffc09e04:	7f 9c c8 40 	cmplw   cr7,r28,r25                            
ffc09e08:	40 9c 00 3c 	bge-    cr7,ffc09e44 <_Heap_Walk+0x394>        
ffc09e0c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09e10:	41 be 00 34 	beq+    cr7,ffc09e44 <_Heap_Walk+0x394>        <== NEVER TAKEN
      (*printer)(                                                     
ffc09e14:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09e18:	3c a0 ff c1 	lis     r5,-63                                 
ffc09e1c:	7f e3 fb 78 	mr      r3,r31                                 
ffc09e20:	38 80 00 01 	li      r4,1                                   
ffc09e24:	7c 09 03 a6 	mtctr   r0                                     
ffc09e28:	38 a5 74 4f 	addi    r5,r5,29775                            
ffc09e2c:	7f a6 eb 78 	mr      r6,r29                                 
ffc09e30:	7f 87 e3 78 	mr      r7,r28                                 
ffc09e34:	7f 28 cb 78 	mr      r8,r25                                 
ffc09e38:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09e3c:	4e 80 04 21 	bctrl                                          
ffc09e40:	4b ff fe e8 	b       ffc09d28 <_Heap_Walk+0x278>            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
ffc09e44:	7f 9b e8 40 	cmplw   cr7,r27,r29                            
ffc09e48:	41 9d 00 28 	bgt-    cr7,ffc09e70 <_Heap_Walk+0x3c0>        
ffc09e4c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09e50:	41 be 00 20 	beq+    cr7,ffc09e70 <_Heap_Walk+0x3c0>        
      (*printer)(                                                     
ffc09e54:	3c a0 ff c1 	lis     r5,-63                                 
ffc09e58:	7f e3 fb 78 	mr      r3,r31                                 
ffc09e5c:	38 80 00 01 	li      r4,1                                   
ffc09e60:	38 a5 74 7a 	addi    r5,r5,29818                            
ffc09e64:	7f a6 eb 78 	mr      r6,r29                                 
ffc09e68:	7f 67 db 78 	mr      r7,r27                                 
ffc09e6c:	4b ff fe ac 	b       ffc09d18 <_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;                 
ffc09e70:	80 1b 00 04 	lwz     r0,4(r27)                              
ffc09e74:	56 b5 07 fe 	clrlwi  r21,r21,31                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
ffc09e78:	70 09 00 01 	andi.   r9,r0,1                                
ffc09e7c:	40 a2 00 ec 	bne+    ffc09f68 <_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 ?                                 
ffc09e80:	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)(                                                         
ffc09e84:	39 2f 71 9a 	addi    r9,r15,29082                           
ffc09e88:	80 1e 00 08 	lwz     r0,8(r30)                              
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc09e8c:	81 7e 00 0c 	lwz     r11,12(r30)                            
  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)(                                                         
ffc09e90:	7f 88 00 00 	cmpw    cr7,r8,r0                              
ffc09e94:	41 9e 00 14 	beq-    cr7,ffc09ea8 <_Heap_Walk+0x3f8>        
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
ffc09e98:	7f 88 f0 00 	cmpw    cr7,r8,r30                             
ffc09e9c:	39 36 70 e3 	addi    r9,r22,28899                           
ffc09ea0:	40 be 00 08 	bne+    cr7,ffc09ea8 <_Heap_Walk+0x3f8>        
ffc09ea4:	39 2e 71 aa 	addi    r9,r14,29098                           
    block->next,                                                      
    block->next == last_free_block ?                                  
ffc09ea8:	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)(                                                         
ffc09eac:	38 11 71 b4 	addi    r0,r17,29108                           
ffc09eb0:	7f 8a 58 00 	cmpw    cr7,r10,r11                            
ffc09eb4:	41 9e 00 14 	beq-    cr7,ffc09ec8 <_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)" : "")          
ffc09eb8:	7f 8a f0 00 	cmpw    cr7,r10,r30                            
ffc09ebc:	38 16 70 e3 	addi    r0,r22,28899                           
ffc09ec0:	40 be 00 08 	bne+    cr7,ffc09ec8 <_Heap_Walk+0x418>        
ffc09ec4:	38 10 71 c3 	addi    r0,r16,29123                           
  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)(                                                         
ffc09ec8:	90 01 00 08 	stw     r0,8(r1)                               
ffc09ecc:	7f e3 fb 78 	mr      r3,r31                                 
ffc09ed0:	38 80 00 00 	li      r4,0                                   
ffc09ed4:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09ed8:	7e 45 93 78 	mr      r5,r18                                 
ffc09edc:	7f a6 eb 78 	mr      r6,r29                                 
ffc09ee0:	7f 87 e3 78 	mr      r7,r28                                 
ffc09ee4:	7c 09 03 a6 	mtctr   r0                                     
ffc09ee8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09eec:	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 ) {                        
ffc09ef0:	81 1b 00 00 	lwz     r8,0(r27)                              
ffc09ef4:	7f 9c 40 00 	cmpw    cr7,r28,r8                             
ffc09ef8:	41 be 00 34 	beq+    cr7,ffc09f2c <_Heap_Walk+0x47c>        
    (*printer)(                                                       
ffc09efc:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09f00:	3c a0 ff c1 	lis     r5,-63                                 
ffc09f04:	7f e3 fb 78 	mr      r3,r31                                 
ffc09f08:	38 80 00 01 	li      r4,1                                   
ffc09f0c:	7c 09 03 a6 	mtctr   r0                                     
ffc09f10:	38 a5 74 e3 	addi    r5,r5,29923                            
ffc09f14:	7f a6 eb 78 	mr      r6,r29                                 
ffc09f18:	7f 87 e3 78 	mr      r7,r28                                 
ffc09f1c:	7f 69 db 78 	mr      r9,r27                                 
ffc09f20:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09f24:	4e 80 04 21 	bctrl                                          
ffc09f28:	4b ff fe 00 	b       ffc09d28 <_Heap_Walk+0x278>            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
ffc09f2c:	2f 95 00 00 	cmpwi   cr7,r21,0                              
ffc09f30:	40 be 00 18 	bne+    cr7,ffc09f48 <_Heap_Walk+0x498>        
    (*printer)(                                                       
ffc09f34:	3c a0 ff c1 	lis     r5,-63                                 
ffc09f38:	7f e3 fb 78 	mr      r3,r31                                 
ffc09f3c:	38 80 00 01 	li      r4,1                                   
ffc09f40:	38 a5 75 1c 	addi    r5,r5,29980                            
ffc09f44:	48 00 00 a0 	b       ffc09fe4 <_Heap_Walk+0x534>            
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc09f48:	81 3e 00 08 	lwz     r9,8(r30)                              
ffc09f4c:	48 00 00 10 	b       ffc09f5c <_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 ) {                                      
ffc09f50:	7f 89 e8 00 	cmpw    cr7,r9,r29                             
ffc09f54:	41 9e 00 6c 	beq-    cr7,ffc09fc0 <_Heap_Walk+0x510>        
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
ffc09f58:	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 ) {                            
ffc09f5c:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc09f60:	40 9e ff f0 	bne+    cr7,ffc09f50 <_Heap_Walk+0x4a0>        
ffc09f64:	48 00 00 70 	b       ffc09fd4 <_Heap_Walk+0x524>            
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
ffc09f68:	2f 95 00 00 	cmpwi   cr7,r21,0                              
ffc09f6c:	41 9e 00 2c 	beq-    cr7,ffc09f98 <_Heap_Walk+0x4e8>        
      (*printer)(                                                     
ffc09f70:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09f74:	7f e3 fb 78 	mr      r3,r31                                 
ffc09f78:	38 80 00 00 	li      r4,0                                   
ffc09f7c:	7e 85 a3 78 	mr      r5,r20                                 
ffc09f80:	7c 09 03 a6 	mtctr   r0                                     
ffc09f84:	7f a6 eb 78 	mr      r6,r29                                 
ffc09f88:	7f 87 e3 78 	mr      r7,r28                                 
ffc09f8c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09f90:	4e 80 04 21 	bctrl                                          
ffc09f94:	48 00 00 2c 	b       ffc09fc0 <_Heap_Walk+0x510>            
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
ffc09f98:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09f9c:	7f e3 fb 78 	mr      r3,r31                                 
ffc09fa0:	38 80 00 00 	li      r4,0                                   
ffc09fa4:	81 1d 00 00 	lwz     r8,0(r29)                              
ffc09fa8:	7e 65 9b 78 	mr      r5,r19                                 
ffc09fac:	7c 09 03 a6 	mtctr   r0                                     
ffc09fb0:	7f a6 eb 78 	mr      r6,r29                                 
ffc09fb4:	7f 87 e3 78 	mr      r7,r28                                 
ffc09fb8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09fbc:	4e 80 04 21 	bctrl                                          
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
ffc09fc0:	7f 9b c0 00 	cmpw    cr7,r27,r24                            
ffc09fc4:	40 9e fd 80 	bne+    cr7,ffc09d44 <_Heap_Walk+0x294>        
                                                                      
  return true;                                                        
ffc09fc8:	38 60 00 01 	li      r3,1                                   
}                                                                     
ffc09fcc:	39 61 00 68 	addi    r11,r1,104                             
ffc09fd0:	4b ff 6b 24 	b       ffc00af4 <_restgpr_14_x>               
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
ffc09fd4:	3c a0 ff c1 	lis     r5,-63                                 
ffc09fd8:	7f e3 fb 78 	mr      r3,r31                                 
ffc09fdc:	38 80 00 01 	li      r4,1                                   
ffc09fe0:	38 a5 75 87 	addi    r5,r5,30087                            
ffc09fe4:	7f a6 eb 78 	mr      r6,r29                                 
ffc09fe8:	80 01 00 18 	lwz     r0,24(r1)                              
ffc09fec:	7c 09 03 a6 	mtctr   r0                                     
ffc09ff0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09ff4:	4e 80 04 21 	bctrl                                          
ffc09ff8:	4b ff fd 30 	b       ffc09d28 <_Heap_Walk+0x278>            
                                                                      

ffc09a00 <_Heap_Walk_print>: static void _Heap_Walk_print( int source, bool error, const char *fmt, ... ) {
ffc09a00:	7c 08 02 a6 	mflr    r0                                     
ffc09a04:	7c 2b 0b 78 	mr      r11,r1                                 
ffc09a08:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc09a0c:	90 01 00 7c 	stw     r0,124(r1)                             
ffc09a10:	4b ff 70 dd 	bl      ffc00aec <_savegpr_31>                 
ffc09a14:	7c 60 1b 78 	mr      r0,r3                                  
ffc09a18:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc09a1c:	90 e1 00 20 	stw     r7,32(r1)                              
ffc09a20:	91 01 00 24 	stw     r8,36(r1)                              
ffc09a24:	91 21 00 28 	stw     r9,40(r1)                              
ffc09a28:	91 41 00 2c 	stw     r10,44(r1)                             
ffc09a2c:	40 86 00 24 	bne-    cr1,ffc09a50 <_Heap_Walk_print+0x50>   <== ALWAYS TAKEN
ffc09a30:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc09a34:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc09a38:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc09a3c:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc09a40:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc09a44:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc09a48:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc09a4c:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  va_list ap;                                                         
                                                                      
  if ( error ) {                                                      
ffc09a50:	2f 84 00 00 	cmpwi   cr7,r4,0                               
{                                                                     
  /* Do nothing */                                                    
}                                                                     
                                                                      
static void _Heap_Walk_print( int source, bool error, const char *fmt, ... )
{                                                                     
ffc09a54:	7c bf 2b 78 	mr      r31,r5                                 
  va_list ap;                                                         
                                                                      
  if ( error ) {                                                      
ffc09a58:	41 be 00 10 	beq+    cr7,ffc09a68 <_Heap_Walk_print+0x68>   
    printk( "FAIL[%d]: ", source );                                   
ffc09a5c:	3c 60 ff c1 	lis     r3,-63                                 
ffc09a60:	38 63 71 84 	addi    r3,r3,29060                            
ffc09a64:	48 00 00 0c 	b       ffc09a70 <_Heap_Walk_print+0x70>       
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
ffc09a68:	3c 60 ff c1 	lis     r3,-63                                 
ffc09a6c:	38 63 71 8f 	addi    r3,r3,29071                            
ffc09a70:	7c 04 03 78 	mr      r4,r0                                  
ffc09a74:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09a78:	4b ff be f5 	bl      ffc0596c <printk>                      
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc09a7c:	38 00 00 03 	li      r0,3                                   
ffc09a80:	98 01 00 08 	stb     r0,8(r1)                               
ffc09a84:	38 00 00 00 	li      r0,0                                   
  vprintk( fmt, ap );                                                 
ffc09a88:	7f e3 fb 78 	mr      r3,r31                                 
    printk( "FAIL[%d]: ", source );                                   
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc09a8c:	98 01 00 09 	stb     r0,9(r1)                               
ffc09a90:	38 01 00 80 	addi    r0,r1,128                              
  vprintk( fmt, ap );                                                 
ffc09a94:	38 81 00 08 	addi    r4,r1,8                                
    printk( "FAIL[%d]: ", source );                                   
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc09a98:	90 01 00 0c 	stw     r0,12(r1)                              
ffc09a9c:	38 01 00 10 	addi    r0,r1,16                               
ffc09aa0:	90 01 00 10 	stw     r0,16(r1)                              
  vprintk( fmt, ap );                                                 
ffc09aa4:	4b ff dc 8d 	bl      ffc07730 <vprintk>                     
  va_end( ap );                                                       
}                                                                     
ffc09aa8:	39 61 00 78 	addi    r11,r1,120                             
ffc09aac:	4b ff 70 8c 	b       ffc00b38 <_restgpr_31_x>               
                                                                      

ffc08040 <_IO_Manager_initialization>: * workspace. * */ void _IO_Manager_initialization(void) {
ffc08040:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc08044:	7c 08 02 a6 	mflr    r0                                     
  uint32_t                    index;                                  
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
ffc08048:	3d 20 00 00 	lis     r9,0                                   
 *  workspace.                                                        
 *                                                                    
 */                                                                   
                                                                      
void _IO_Manager_initialization(void)                                 
{                                                                     
ffc0804c:	90 01 00 24 	stw     r0,36(r1)                              
  uint32_t                    index;                                  
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
ffc08050:	39 29 20 d0 	addi    r9,r9,8400                             
 *  workspace.                                                        
 *                                                                    
 */                                                                   
                                                                      
void _IO_Manager_initialization(void)                                 
{                                                                     
ffc08054:	bf 41 00 08 	stmw    r26,8(r1)                              
ffc08058:	3f a0 00 00 	lis     r29,0                                  
ffc0805c:	3f 40 00 00 	lis     r26,0                                  
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
  drivers_in_table  = Configuration.number_of_device_drivers;         
ffc08060:	83 c9 00 30 	lwz     r30,48(r9)                             
  number_of_drivers = Configuration.maximum_drivers;                  
ffc08064:	83 69 00 2c 	lwz     r27,44(r9)                             
  uint32_t                    index;                                  
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
ffc08068:	83 e9 00 34 	lwz     r31,52(r9)                             
                                                                      
  /*                                                                  
   *  If the user claims there are less drivers than are actually in  
   *  the table, then let's just go with the table's count.           
   */                                                                 
  if ( number_of_drivers <= drivers_in_table )                        
ffc0806c:	7f 9b f0 40 	cmplw   cr7,r27,r30                            
ffc08070:	40 9d 00 40 	ble-    cr7,ffc080b0 <_IO_Manager_initialization+0x70>
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
ffc08074:	1f 9b 00 18 	mulli   r28,r27,24                             
   *  The application requested extra slots in the driver table, so we
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
      _Workspace_Allocate_or_fatal_error(                             
ffc08078:	7f 83 e3 78 	mr      r3,r28                                 
ffc0807c:	48 00 33 4d 	bl      ffc0b3c8 <_Workspace_Allocate_or_fatal_error>
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
                                                                      
  memset(                                                             
ffc08080:	38 80 00 00 	li      r4,0                                   
ffc08084:	7f 85 e3 78 	mr      r5,r28                                 
  /*                                                                  
   *  The application requested extra slots in the driver table, so we
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
ffc08088:	90 7d 27 f8 	stw     r3,10232(r29)                          
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
ffc0808c:	93 7a 27 f4 	stw     r27,10228(r26)                         
                                                                      
  memset(                                                             
ffc08090:	48 00 7e 2d 	bl      ffc0febc <memset>                      
ffc08094:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
ffc08098:	39 60 00 00 	li      r11,0                                  
    _IO_Driver_address_table[index] = driver_table[index];            
ffc0809c:	7f a4 eb 78 	mr      r4,r29                                 
ffc080a0:	38 1e 00 01 	addi    r0,r30,1                               
ffc080a4:	40 be 00 30 	bne+    cr7,ffc080d4 <_IO_Manager_initialization+0x94><== ALWAYS TAKEN
ffc080a8:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc080ac:	48 00 00 28 	b       ffc080d4 <_IO_Manager_initialization+0x94><== NOT EXECUTED
   *  If the maximum number of driver is the same as the number in the
   *  table, then we do not have to copy the driver table.  They can't
   *  register any dynamically.                                       
   */                                                                 
  if ( number_of_drivers == drivers_in_table ) {                      
    _IO_Driver_address_table = driver_table;                          
ffc080b0:	93 fd 27 f8 	stw     r31,10232(r29)                         
    _IO_Number_of_drivers = number_of_drivers;                        
ffc080b4:	93 da 27 f4 	stw     r30,10228(r26)                         
    return;                                                           
ffc080b8:	48 00 00 24 	b       ffc080dc <_IO_Manager_initialization+0x9c>
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
    _IO_Driver_address_table[index] = driver_table[index];            
ffc080bc:	80 64 27 f8 	lwz     r3,10232(r4)                           
ffc080c0:	7d 9f 5a 14 	add     r12,r31,r11                            
ffc080c4:	7c 63 5a 14 	add     r3,r3,r11                              
ffc080c8:	7c ac c4 aa 	lswi    r5,r12,24                              
ffc080cc:	7c a3 c5 aa 	stswi   r5,r3,24                               
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
ffc080d0:	39 6b 00 18 	addi    r11,r11,24                             
ffc080d4:	34 00 ff ff 	addic.  r0,r0,-1                               
ffc080d8:	40 82 ff e4 	bne+    ffc080bc <_IO_Manager_initialization+0x7c>
    _IO_Driver_address_table[index] = driver_table[index];            
}                                                                     
ffc080dc:	39 61 00 20 	addi    r11,r1,32                              
ffc080e0:	48 00 c0 68 	b       ffc14148 <_restgpr_26_x>               
                                                                      

ffc08d84 <_Internal_error_Occurred>: void _Internal_error_Occurred( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
ffc08d84:	7c 2b 0b 78 	mr      r11,r1                                 
ffc08d88:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc08d8c:	7c 08 02 a6 	mflr    r0                                     
ffc08d90:	48 00 b3 81 	bl      ffc14110 <_savegpr_31>                 
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
ffc08d94:	3d 60 00 00 	lis     r11,0                                  
ffc08d98:	39 2b 2c b0 	addi    r9,r11,11440                           
void _Internal_error_Occurred(                                        
  Internal_errors_Source  the_source,                                 
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
ffc08d9c:	90 01 00 14 	stw     r0,20(r1)                              
ffc08da0:	7c bf 2b 78 	mr      r31,r5                                 
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  _Internal_errors_What_happened.is_internal = is_internal;           
ffc08da4:	98 89 00 04 	stb     r4,4(r9)                               
  _Internal_errors_What_happened.the_error   = the_error;             
ffc08da8:	90 a9 00 08 	stw     r5,8(r9)                               
  bool                    is_internal,                                
  Internal_errors_t       the_error                                   
)                                                                     
{                                                                     
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
ffc08dac:	90 6b 2c b0 	stw     r3,11440(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 );       
ffc08db0:	48 00 20 a9 	bl      ffc0ae58 <_User_extensions_Fatal>      
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
ffc08db4:	38 00 00 05 	li      r0,5                                   
ffc08db8:	3d 20 00 00 	lis     r9,0                                   
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
ffc08dbc:	7f e3 fb 78 	mr      r3,r31                                 
ffc08dc0:	90 09 27 e8 	stw     r0,10216(r9)                           
ffc08dc4:	4b ff a5 75 	bl      ffc03338 <_BSP_Fatal_error>            
ffc08dc8:	48 00 00 00 	b       ffc08dc8 <_Internal_error_Occurred+0x44><== NOT EXECUTED
                                                                      

ffc08de0 <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
ffc08de0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc08de4:	7c 08 02 a6 	mflr    r0                                     
ffc08de8:	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 )                                       
ffc08dec:	80 03 00 18 	lwz     r0,24(r3)                              
 */                                                                   
                                                                      
Objects_Control *_Objects_Allocate(                                   
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc08df0:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc08df4:	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 )                                       
ffc08df8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return NULL;                                                      
ffc08dfc:	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 )                                       
ffc08e00:	41 be 00 70 	beq+    cr7,ffc08e70 <_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 );
ffc08e04:	3b df 00 20 	addi    r30,r31,32                             
ffc08e08:	7f c3 f3 78 	mr      r3,r30                                 
ffc08e0c:	4b ff f5 e9 	bl      ffc083f4 <_Chain_Get>                  
                                                                      
  if ( information->auto_extend ) {                                   
ffc08e10:	88 1f 00 12 	lbz     r0,18(r31)                             
ffc08e14:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08e18:	41 9e 00 58 	beq-    cr7,ffc08e70 <_Objects_Allocate+0x90>  
    /*                                                                
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
ffc08e1c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08e20:	40 be 00 1c 	bne+    cr7,ffc08e3c <_Objects_Allocate+0x5c>  
      _Objects_Extend_information( information );                     
ffc08e24:	7f e3 fb 78 	mr      r3,r31                                 
ffc08e28:	48 00 00 85 	bl      ffc08eac <_Objects_Extend_information> 
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
ffc08e2c:	7f c3 f3 78 	mr      r3,r30                                 
ffc08e30:	4b ff f5 c5 	bl      ffc083f4 <_Chain_Get>                  
    }                                                                 
                                                                      
    if ( the_object ) {                                               
ffc08e34:	2c 03 00 00 	cmpwi   r3,0                                   
ffc08e38:	41 a2 00 38 	beq+    ffc08e70 <_Objects_Allocate+0x90>      
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
ffc08e3c:	a1 23 00 0a 	lhz     r9,10(r3)                              
ffc08e40:	a0 1f 00 0a 	lhz     r0,10(r31)                             
ffc08e44:	7c 00 48 50 	subf    r0,r0,r9                               
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
ffc08e48:	a1 3f 00 14 	lhz     r9,20(r31)                             
ffc08e4c:	7c 00 4b 96 	divwu   r0,r0,r9                               
                                                                      
      information->inactive_per_block[ block ]--;                     
ffc08e50:	81 3f 00 30 	lwz     r9,48(r31)                             
ffc08e54:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc08e58:	7d 69 00 2e 	lwzx    r11,r9,r0                              
ffc08e5c:	39 6b ff ff 	addi    r11,r11,-1                             
ffc08e60:	7d 69 01 2e 	stwx    r11,r9,r0                              
      information->inactive--;                                        
ffc08e64:	a1 3f 00 2c 	lhz     r9,44(r31)                             
ffc08e68:	38 09 ff ff 	addi    r0,r9,-1                               
ffc08e6c:	b0 1f 00 2c 	sth     r0,44(r31)                             
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
ffc08e70:	39 61 00 10 	addi    r11,r1,16                              
ffc08e74:	48 00 b2 e4 	b       ffc14158 <_restgpr_30_x>               
                                                                      

ffc08eac <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
ffc08eac:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc08eb0:	7c 08 02 a6 	mflr    r0                                     
ffc08eb4:	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 )                           
ffc08eb8:	81 63 00 34 	lwz     r11,52(r3)                             
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc08ebc:	be a1 00 1c 	stmw    r21,28(r1)                             
ffc08ec0:	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 )                           
ffc08ec4:	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 );      
ffc08ec8:	a3 83 00 0a 	lhz     r28,10(r3)                             
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
ffc08ecc:	41 9e 00 54 	beq-    cr7,ffc08f20 <_Objects_Extend_information+0x74>
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
ffc08ed0:	a1 23 00 14 	lhz     r9,20(r3)                              
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
ffc08ed4:	39 6b ff fc 	addi    r11,r11,-4                             
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
ffc08ed8:	a3 63 00 10 	lhz     r27,16(r3)                             
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
ffc08edc:	7f 9e e3 78 	mr      r30,r28                                
  index_base    = minimum_index;                                      
  block         = 0;                                                  
ffc08ee0:	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;
ffc08ee4:	7f 7b 4b 96 	divwu   r27,r27,r9                             
ffc08ee8:	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;                                                  
ffc08eec:	38 1b 00 01 	addi    r0,r27,1                               
ffc08ef0:	40 be 00 20 	bne+    cr7,ffc08f10 <_Objects_Extend_information+0x64><== ALWAYS TAKEN
ffc08ef4:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc08ef8:	48 00 00 18 	b       ffc08f10 <_Objects_Extend_information+0x64><== NOT EXECUTED
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
ffc08efc:	85 4b 00 04 	lwzu    r10,4(r11)                             
ffc08f00:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc08f04:	41 9e 00 30 	beq-    cr7,ffc08f34 <_Objects_Extend_information+0x88>
ffc08f08:	7f de 4a 14 	add     r30,r30,r9                             
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
ffc08f0c:	3b bd 00 01 	addi    r29,r29,1                              
ffc08f10:	34 00 ff ff 	addic.  r0,r0,-1                               
ffc08f14:	40 82 ff e8 	bne+    ffc08efc <_Objects_Extend_information+0x50>
                                                                      
  /*                                                                  
   *  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;                                               
ffc08f18:	3b 20 00 01 	li      r25,1                                  
ffc08f1c:	48 00 00 1c 	b       ffc08f38 <_Objects_Extend_information+0x8c>
  minimum_index = _Objects_Get_index( information->minimum_id );      
ffc08f20:	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;                                               
ffc08f24:	3b 20 00 01 	li      r25,1                                  
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
ffc08f28:	3b a0 00 00 	li      r29,0                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
ffc08f2c:	3b 60 00 00 	li      r27,0                                  
ffc08f30:	48 00 00 08 	b       ffc08f38 <_Objects_Extend_information+0x8c>
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
        do_extend = false;                                            
ffc08f34:	3b 20 00 00 	li      r25,0                                  
      } else                                                          
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
ffc08f38:	a0 1f 00 14 	lhz     r0,20(r31)                             
ffc08f3c:	a2 ff 00 10 	lhz     r23,16(r31)                            
ffc08f40:	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 ) {                           
ffc08f44:	2b 97 ff ff 	cmplwi  cr7,r23,65535                          
ffc08f48:	41 9d 02 00 	bgt-    cr7,ffc09148 <_Objects_Extend_information+0x29c>
                                                                      
  /*                                                                  
   * 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;      
ffc08f4c:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc08f50:	7c 60 19 d6 	mullw   r3,r0,r3                               
  if ( information->auto_extend ) {                                   
ffc08f54:	88 1f 00 12 	lbz     r0,18(r31)                             
ffc08f58:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08f5c:	41 9e 00 14 	beq-    cr7,ffc08f70 <_Objects_Extend_information+0xc4>
    new_object_block = _Workspace_Allocate( block_size );             
ffc08f60:	48 00 24 09 	bl      ffc0b368 <_Workspace_Allocate>         
    if ( !new_object_block )                                          
ffc08f64:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc08f68:	40 a2 00 10 	bne+    ffc08f78 <_Objects_Extend_information+0xcc>
ffc08f6c:	48 00 01 dc 	b       ffc09148 <_Objects_Extend_information+0x29c>
      return;                                                         
  } else {                                                            
    new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
ffc08f70:	48 00 24 59 	bl      ffc0b3c8 <_Workspace_Allocate_or_fatal_error>
ffc08f74:	7c 7a 1b 78 	mr      r26,r3                                 
  }                                                                   
                                                                      
  /*                                                                  
   *  Do we need to grow the tables?                                  
   */                                                                 
  if ( do_extend ) {                                                  
ffc08f78:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc08f7c:	41 9e 01 4c 	beq-    cr7,ffc090c8 <_Objects_Extend_information+0x21c>
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
ffc08f80:	3b 3b 00 01 	addi    r25,r27,1                              
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
ffc08f84:	1c 19 00 03 	mulli   r0,r25,3                               
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
ffc08f88:	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 *)) +
ffc08f8c:	7c 63 02 14 	add     r3,r3,r0                               
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
ffc08f90:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
ffc08f94:	48 00 23 d5 	bl      ffc0b368 <_Workspace_Allocate>         
                                                                      
    if ( !object_blocks ) {                                           
ffc08f98:	7c 76 1b 79 	mr.     r22,r3                                 
ffc08f9c:	40 a2 00 10 	bne+    ffc08fac <_Objects_Extend_information+0x100>
      _Workspace_Free( new_object_block );                            
ffc08fa0:	7f 43 d3 78 	mr      r3,r26                                 
ffc08fa4:	48 00 23 f9 	bl      ffc0b39c <_Workspace_Free>             
      return;                                                         
ffc08fa8:	48 00 01 a0 	b       ffc09148 <_Objects_Extend_information+0x29c>
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
ffc08fac:	a0 1f 00 10 	lhz     r0,16(r31)                             
    }                                                                 
                                                                      
    /*                                                                
     *  Break the block into the various sections.                    
     */                                                               
    inactive_per_block = (uint32_t *) _Addresses_Add_offset(          
ffc08fb0:	57 39 10 3a 	rlwinm  r25,r25,2,0,29                         
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
ffc08fb4:	7f 16 ca 14 	add     r24,r22,r25                            
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
ffc08fb8:	7f 80 e0 40 	cmplw   cr7,r0,r28                             
ffc08fbc:	7f 38 ca 14 	add     r25,r24,r25                            
ffc08fc0:	41 9d 00 20 	bgt-    cr7,ffc08fe0 <_Objects_Extend_information+0x134>
ffc08fc4:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc08fc8:	39 39 ff fc 	addi    r9,r25,-4                              
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
        local_table[ index ] = NULL;                                  
ffc08fcc:	39 60 00 00 	li      r11,0                                  
ffc08fd0:	38 1c 00 01 	addi    r0,r28,1                               
ffc08fd4:	40 be 00 4c 	bne+    cr7,ffc09020 <_Objects_Extend_information+0x174><== ALWAYS TAKEN
ffc08fd8:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc08fdc:	48 00 00 44 	b       ffc09020 <_Objects_Extend_information+0x174><== NOT EXECUTED
       *  separate parts as size of each block has changed.           
       */                                                             
                                                                      
      memcpy( object_blocks,                                          
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
ffc08fe0:	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,                                          
ffc08fe4:	80 9f 00 34 	lwz     r4,52(r31)                             
ffc08fe8:	7e a5 ab 78 	mr      r5,r21                                 
ffc08fec:	48 00 6d f1 	bl      ffc0fddc <memcpy>                      
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
ffc08ff0:	80 9f 00 30 	lwz     r4,48(r31)                             
ffc08ff4:	7e a5 ab 78 	mr      r5,r21                                 
ffc08ff8:	7f 03 c3 78 	mr      r3,r24                                 
ffc08ffc:	48 00 6d e1 	bl      ffc0fddc <memcpy>                      
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
ffc09000:	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,                                            
ffc09004:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc09008:	7f 23 cb 78 	mr      r3,r25                                 
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
ffc0900c:	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,                                            
ffc09010:	57 85 10 3a 	rlwinm  r5,r28,2,0,29                          
ffc09014:	48 00 6d c9 	bl      ffc0fddc <memcpy>                      
ffc09018:	48 00 00 10 	b       ffc09028 <_Objects_Extend_information+0x17c>
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
        local_table[ index ] = NULL;                                  
ffc0901c:	95 69 00 04 	stwu    r11,4(r9)                              
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
ffc09020:	34 00 ff ff 	addic.  r0,r0,-1                               
ffc09024:	40 82 ff f8 	bne+    ffc0901c <_Objects_Extend_information+0x170>
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
ffc09028:	a1 5f 00 14 	lhz     r10,20(r31)                            
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
ffc0902c:	57 c9 10 3a 	rlwinm  r9,r30,2,0,29                          
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
ffc09030:	38 00 00 00 	li      r0,0                                   
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
ffc09034:	7d 7e 52 14 	add     r11,r30,r10                            
ffc09038:	7f 9e 58 40 	cmplw   cr7,r30,r11                            
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
ffc0903c:	57 7b 10 3a 	rlwinm  r27,r27,2,0,29                         
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
ffc09040:	39 29 ff fc 	addi    r9,r9,-4                               
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
ffc09044:	7c 16 d9 2e 	stwx    r0,r22,r27                             
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
ffc09048:	7d 29 ca 14 	add     r9,r9,r25                              
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
ffc0904c:	7c 18 d9 2e 	stwx    r0,r24,r27                             
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
ffc09050:	39 00 00 00 	li      r8,0                                   
ffc09054:	38 0a 00 01 	addi    r0,r10,1                               
ffc09058:	41 9d 00 0c 	bgt-    cr7,ffc09064 <_Objects_Extend_information+0x1b8><== NEVER TAKEN
ffc0905c:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc09060:	40 be 00 10 	bne+    cr7,ffc09070 <_Objects_Extend_information+0x1c4><== ALWAYS TAKEN
ffc09064:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc09068:	48 00 00 08 	b       ffc09070 <_Objects_Extend_information+0x1c4><== NOT EXECUTED
ffc0906c:	95 09 00 04 	stwu    r8,4(r9)                               
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
ffc09070:	34 00 ff ff 	addic.  r0,r0,-1                               
ffc09074:	40 82 ff f8 	bne+    ffc0906c <_Objects_Extend_information+0x1c0>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc09078:	7c 00 00 a6 	mfmsr   r0                                     
ffc0907c:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc09080:	7c 09 48 78 	andc    r9,r0,r9                               
ffc09084:	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)   |    
ffc09088:	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;                 
ffc0908c:	56 f7 04 3e 	clrlwi  r23,r23,16                             
    information->maximum_id = _Objects_Build_id(                      
ffc09090:	a1 7f 00 04 	lhz     r11,4(r31)                             
ffc09094:	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;                 
ffc09098:	b2 ff 00 10 	sth     r23,16(r31)                            
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
ffc0909c:	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)   |    
ffc090a0:	65 29 00 01 	oris    r9,r9,1                                
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
ffc090a4:	80 7f 00 34 	lwz     r3,52(r31)                             
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
ffc090a8:	7d 29 5b 78 	or      r9,r9,r11                              
                                                                      
    information->object_blocks = object_blocks;                       
ffc090ac:	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)   |    
ffc090b0:	7d 37 bb 78 	or      r23,r9,r23                             
    information->inactive_per_block = inactive_per_block;             
ffc090b4:	93 1f 00 30 	stw     r24,48(r31)                            
    information->local_table = local_table;                           
ffc090b8:	93 3f 00 1c 	stw     r25,28(r31)                            
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
ffc090bc:	92 ff 00 0c 	stw     r23,12(r31)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc090c0:	7c 00 01 24 	mtmsr   r0                                     
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
                                                                      
    _Workspace_Free( old_tables );                                    
ffc090c4:	48 00 22 d9 	bl      ffc0b39c <_Workspace_Free>             
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
ffc090c8:	81 3f 00 34 	lwz     r9,52(r31)                             
ffc090cc:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
ffc090d0:	3b 81 00 08 	addi    r28,r1,8                               
ffc090d4:	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;             
ffc090d8:	7f 49 e9 2e 	stwx    r26,r9,r29                             
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
ffc090dc:	7f 83 e3 78 	mr      r3,r28                                 
ffc090e0:	7f 44 d3 78 	mr      r4,r26                                 
ffc090e4:	80 df 00 18 	lwz     r6,24(r31)                             
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
ffc090e8:	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(                                                  
ffc090ec:	48 00 3f 69 	bl      ffc0d054 <_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 ) {
ffc090f0:	48 00 00 30 	b       ffc09120 <_Objects_Extend_information+0x274>
ffc090f4:	81 3f 00 00 	lwz     r9,0(r31)                              
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
ffc090f8:	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(                               
ffc090fc:	a0 1f 00 04 	lhz     r0,4(r31)                              
ffc09100:	55 29 c0 0e 	rlwinm  r9,r9,24,0,7                           
ffc09104:	65 29 00 01 	oris    r9,r9,1                                
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
ffc09108:	54 00 d8 08 	rlwinm  r0,r0,27,0,4                           
ffc0910c:	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)   |    
ffc09110:	7c 00 f3 78 	or      r0,r0,r30                              
ffc09114:	90 04 00 08 	stw     r0,8(r4)                               
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
ffc09118:	3b de 00 01 	addi    r30,r30,1                              
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
ffc0911c:	4b ff f2 81 	bl      ffc0839c <_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 ) {
ffc09120:	7f 83 e3 78 	mr      r3,r28                                 
ffc09124:	4b ff f2 d1 	bl      ffc083f4 <_Chain_Get>                  
ffc09128:	7c 64 1b 79 	mr.     r4,r3                                  
ffc0912c:	40 82 ff c8 	bne+    ffc090f4 <_Objects_Extend_information+0x248>
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
ffc09130:	a0 1f 00 14 	lhz     r0,20(r31)                             
ffc09134:	81 3f 00 30 	lwz     r9,48(r31)                             
ffc09138:	7c 09 e9 2e 	stwx    r0,r9,r29                              
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
ffc0913c:	a1 3f 00 2c 	lhz     r9,44(r31)                             
ffc09140:	7c 00 4a 14 	add     r0,r0,r9                               
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
  information->inactive =                                             
ffc09144:	b0 1f 00 2c 	sth     r0,44(r31)                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
}                                                                     
ffc09148:	39 61 00 48 	addi    r11,r1,72                              
ffc0914c:	48 00 af e8 	b       ffc14134 <_restgpr_21_x>               
                                                                      

ffc09204 <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint16_t the_class ) {
ffc09204:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc09208:	7c 08 02 a6 	mflr    r0                                     
ffc0920c:	bf a1 00 0c 	stmw    r29,12(r1)                             
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
ffc09210:	7c 9d 23 79 	mr.     r29,r4                                 
                                                                      
Objects_Information *_Objects_Get_information(                        
  Objects_APIs   the_api,                                             
  uint16_t       the_class                                            
)                                                                     
{                                                                     
ffc09214:	7c 7e 1b 78 	mr      r30,r3                                 
ffc09218:	90 01 00 1c 	stw     r0,28(r1)                              
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
    return NULL;                                                      
ffc0921c:	3b e0 00 00 	li      r31,0                                  
)                                                                     
{                                                                     
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
ffc09220:	41 a2 00 50 	beq+    ffc09270 <_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 );      
ffc09224:	48 00 43 a5 	bl      ffc0d5c8 <_Objects_API_maximum_class>  
  if ( the_class_api_maximum == 0 )                                   
ffc09228:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0922c:	41 a2 00 44 	beq+    ffc09270 <_Objects_Get_information+0x6c>
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
ffc09230:	7f 9d 18 40 	cmplw   cr7,r29,r3                             
ffc09234:	41 bd 00 3c 	bgt+    cr7,ffc09270 <_Objects_Get_information+0x6c>
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
ffc09238:	3d 20 00 00 	lis     r9,0                                   
ffc0923c:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         
ffc09240:	39 29 2b c0 	addi    r9,r9,11200                            
ffc09244:	7d 29 f0 2e 	lwzx    r9,r9,r30                              
ffc09248:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0924c:	41 be 00 24 	beq+    cr7,ffc09270 <_Objects_Get_information+0x6c><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
ffc09250:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
ffc09254:	7f e9 e8 2e 	lwzx    r31,r9,r29                             
  if ( !info )                                                        
ffc09258:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0925c:	41 be 00 14 	beq+    cr7,ffc09270 <_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 )                                         
ffc09260:	a0 1f 00 10 	lhz     r0,16(r31)                             
ffc09264:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09268:	40 be 00 08 	bne+    cr7,ffc09270 <_Objects_Get_information+0x6c>
      return NULL;                                                    
ffc0926c:	3b e0 00 00 	li      r31,0                                  
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
ffc09270:	39 61 00 18 	addi    r11,r1,24                              
ffc09274:	7f e3 fb 78 	mr      r3,r31                                 
ffc09278:	48 00 ae dc 	b       ffc14154 <_restgpr_29_x>               
                                                                      

ffc1b984 <_Objects_Get_no_protection>: /* * You can't just extract the index portion or you can get tricked * by a value between 1 and maximum. */ index = id - information->minimum_id + 1;
ffc1b984:	80 03 00 08 	lwz     r0,8(r3)                               
                                                                      
  if ( information->maximum >= index ) {                              
ffc1b988:	a1 23 00 10 	lhz     r9,16(r3)                              
                                                                      
  /*                                                                  
   * You can't just extract the index portion or you can get tricked  
   * by a value between 1 and maximum.                                
   */                                                                 
  index = id - information->minimum_id + 1;                           
ffc1b98c:	20 00 00 01 	subfic  r0,r0,1                                
ffc1b990:	7c 00 22 14 	add     r0,r0,r4                               
                                                                      
  if ( information->maximum >= index ) {                              
ffc1b994:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc1b998:	41 9c 00 24 	blt-    cr7,ffc1b9bc <_Objects_Get_no_protection+0x38>
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
ffc1b99c:	81 23 00 1c 	lwz     r9,28(r3)                              
ffc1b9a0:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc1b9a4:	7c 69 00 2e 	lwzx    r3,r9,r0                               
ffc1b9a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1b9ac:	41 9e 00 10 	beq-    cr7,ffc1b9bc <_Objects_Get_no_protection+0x38><== NEVER TAKEN
      *location = OBJECTS_LOCAL;                                      
ffc1b9b0:	38 00 00 00 	li      r0,0                                   
ffc1b9b4:	90 05 00 00 	stw     r0,0(r5)                               
      return the_object;                                              
ffc1b9b8:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  This isn't supported or required yet for Global objects so      
   *  if it isn't local, we don't find it.                            
   */                                                                 
  *location = OBJECTS_ERROR;                                          
ffc1b9bc:	38 00 00 01 	li      r0,1                                   
ffc1b9c0:	90 05 00 00 	stw     r0,0(r5)                               
  return NULL;                                                        
ffc1b9c4:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1b9c8:	4e 80 00 20 	blr                                            
                                                                      

ffc0ac84 <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
ffc0ac84:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0ac88:	7c 08 02 a6 	mflr    r0                                     
ffc0ac8c:	bf c1 00 18 	stmw    r30,24(r1)                             
ffc0ac90:	7c 9e 23 78 	mr      r30,r4                                 
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
ffc0ac94:	7c 64 1b 79 	mr.     r4,r3                                  
 */                                                                   
Objects_Name_or_id_lookup_errors _Objects_Id_to_name (                
  Objects_Id      id,                                                 
  Objects_Name   *name                                                
)                                                                     
{                                                                     
ffc0ac98:	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;
ffc0ac9c:	40 82 00 10 	bne-    ffc0acac <_Objects_Id_to_name+0x28>    
ffc0aca0:	3d 20 00 00 	lis     r9,0                                   
ffc0aca4:	81 29 2d e4 	lwz     r9,11748(r9)                           
ffc0aca8:	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);
ffc0acac:	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 )                      
ffc0acb0:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0acb4:	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;                                        
ffc0acb8:	3b e0 00 03 	li      r31,3                                  
ffc0acbc:	41 9d 00 38 	bgt-    cr7,ffc0acf4 <_Objects_Id_to_name+0x70>
ffc0acc0:	48 00 00 40 	b       ffc0ad00 <_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 ];   
ffc0acc4:	54 80 3e 7a 	rlwinm  r0,r4,7,25,29                          
ffc0acc8:	7c 69 00 2e 	lwzx    r3,r9,r0                               
  if ( !information )                                                 
ffc0accc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0acd0:	41 9e 00 24 	beq-    cr7,ffc0acf4 <_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 ); 
ffc0acd4:	38 a1 00 08 	addi    r5,r1,8                                
ffc0acd8:	4b ff ff 31 	bl      ffc0ac08 <_Objects_Get>                
  if ( !the_object )                                                  
ffc0acdc:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0ace0:	41 82 00 14 	beq-    ffc0acf4 <_Objects_Id_to_name+0x70>    
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
ffc0ace4:	80 03 00 0c 	lwz     r0,12(r3)                              
  _Thread_Enable_dispatch();                                          
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
ffc0ace8:	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;                                           
ffc0acec:	90 1e 00 00 	stw     r0,0(r30)                              
  _Thread_Enable_dispatch();                                          
ffc0acf0:	48 00 0d 61 	bl      ffc0ba50 <_Thread_Enable_dispatch>     
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
}                                                                     
ffc0acf4:	39 61 00 20 	addi    r11,r1,32                              
ffc0acf8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0acfc:	4b ff 69 9c 	b       ffc01698 <_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 ] )                       
ffc0ad00:	3d 60 00 00 	lis     r11,0                                  
ffc0ad04:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc0ad08:	39 6b 2c 00 	addi    r11,r11,11264                          
ffc0ad0c:	7d 2b 48 2e 	lwzx    r9,r11,r9                              
ffc0ad10:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ad14:	40 9e ff b0 	bne+    cr7,ffc0acc4 <_Objects_Id_to_name+0x40>
ffc0ad18:	4b ff ff dc 	b       ffc0acf4 <_Objects_Id_to_name+0x70>    
                                                                      

ffc094e4 <_Objects_Shrink_information>: */ void _Objects_Shrink_information( Objects_Information *information ) {
ffc094e4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc094e8:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
ffc094ec:	39 20 00 00 	li      r9,0                                   
 */                                                                   
                                                                      
void _Objects_Shrink_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc094f0:	90 01 00 1c 	stw     r0,28(r1)                              
ffc094f4:	bf 81 00 08 	stmw    r28,8(r1)                              
ffc094f8:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
  /*                                                                  
   * Search the list to find block or chunk with all objects inactive.
   */                                                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
ffc094fc:	a3 c3 00 0a 	lhz     r30,10(r3)                             
  block_count = (information->maximum - index_base) /                 
ffc09500:	a1 43 00 10 	lhz     r10,16(r3)                             
ffc09504:	a1 63 00 14 	lhz     r11,20(r3)                             
ffc09508:	7d 5e 50 50 	subf    r10,r30,r10                            
ffc0950c:	7d 4a 5b 96 	divwu   r10,r10,r11                            
ffc09510:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
ffc09514:	38 0a 00 01 	addi    r0,r10,1                               
ffc09518:	40 be 00 90 	bne+    cr7,ffc095a8 <_Objects_Shrink_information+0xc4><== ALWAYS TAKEN
ffc0951c:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc09520:	48 00 00 88 	b       ffc095a8 <_Objects_Shrink_information+0xc4><== NOT EXECUTED
    if ( information->inactive_per_block[ block ] ==                  
ffc09524:	81 5f 00 30 	lwz     r10,48(r31)                            
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
ffc09528:	55 3d 10 3a 	rlwinm  r29,r9,2,0,29                          
    if ( information->inactive_per_block[ block ] ==                  
ffc0952c:	7d 4a e8 2e 	lwzx    r10,r10,r29                            
ffc09530:	7f 8a 58 00 	cmpw    cr7,r10,r11                            
ffc09534:	40 be 00 6c 	bne+    cr7,ffc095a0 <_Objects_Shrink_information+0xbc>
         information->allocation_size ) {                             
                                                                      
      /*                                                              
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) _Chain_First( &information->Inactive );
ffc09538:	80 7f 00 20 	lwz     r3,32(r31)                             
ffc0953c:	48 00 00 08 	b       ffc09544 <_Objects_Shrink_information+0x60>
         index = _Objects_Get_index( the_object->id );                
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
ffc09540:	7f 83 e3 78 	mr      r3,r28                                 
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) _Chain_First( &information->Inactive );
                                                                      
      do {                                                            
         index = _Objects_Get_index( the_object->id );                
ffc09544:	a0 03 00 0a 	lhz     r0,10(r3)                              
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
ffc09548:	83 83 00 00 	lwz     r28,0(r3)                              
         if ((index >= index_base) &&                                 
ffc0954c:	7f 80 f0 40 	cmplw   cr7,r0,r30                             
ffc09550:	41 9c 00 18 	blt-    cr7,ffc09568 <_Objects_Shrink_information+0x84>
             (index < (index_base + information->allocation_size))) { 
ffc09554:	a1 3f 00 14 	lhz     r9,20(r31)                             
ffc09558:	7d 3e 4a 14 	add     r9,r30,r9                              
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
         if ((index >= index_base) &&                                 
ffc0955c:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc09560:	40 bc 00 08 	bge+    cr7,ffc09568 <_Objects_Shrink_information+0x84>
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
ffc09564:	4b ff ee 69 	bl      ffc083cc <_Chain_Extract>              
         }                                                            
       }                                                              
       while ( the_object );                                          
ffc09568:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0956c:	40 9e ff d4 	bne+    cr7,ffc09540 <_Objects_Shrink_information+0x5c>
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
ffc09570:	81 3f 00 34 	lwz     r9,52(r31)                             
ffc09574:	7c 69 e8 2e 	lwzx    r3,r9,r29                              
ffc09578:	48 00 1e 25 	bl      ffc0b39c <_Workspace_Free>             
      information->object_blocks[ block ] = NULL;                     
ffc0957c:	81 3f 00 34 	lwz     r9,52(r31)                             
      information->inactive_per_block[ block ] = 0;                   
                                                                      
      information->inactive -= information->allocation_size;          
ffc09580:	a0 1f 00 14 	lhz     r0,20(r31)                             
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
ffc09584:	7f 89 e9 2e 	stwx    r28,r9,r29                             
      information->inactive_per_block[ block ] = 0;                   
ffc09588:	81 3f 00 30 	lwz     r9,48(r31)                             
ffc0958c:	7f 89 e9 2e 	stwx    r28,r9,r29                             
                                                                      
      information->inactive -= information->allocation_size;          
ffc09590:	a1 3f 00 2c 	lhz     r9,44(r31)                             
ffc09594:	7c 00 48 50 	subf    r0,r0,r9                               
ffc09598:	b0 1f 00 2c 	sth     r0,44(r31)                             
                                                                      
      return;                                                         
ffc0959c:	48 00 00 14 	b       ffc095b0 <_Objects_Shrink_information+0xcc>
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
ffc095a0:	7f de 5a 14 	add     r30,r30,r11                            
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
ffc095a4:	39 29 00 01 	addi    r9,r9,1                                
ffc095a8:	34 00 ff ff 	addic.  r0,r0,-1                               
ffc095ac:	40 82 ff 78 	bne+    ffc09524 <_Objects_Shrink_information+0x40>
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  }                                                                   
}                                                                     
ffc095b0:	39 61 00 18 	addi    r11,r1,24                              
ffc095b4:	48 00 ab 9c 	b       ffc14150 <_restgpr_28_x>               
                                                                      

ffc0cd58 <_RTEMS_tasks_Post_switch_extension>: */ void _RTEMS_tasks_Post_switch_extension( Thread_Control *executing ) {
ffc0cd58:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0cd5c:	7c 08 02 a6 	mflr    r0                                     
ffc0cd60:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0cd64:	bf a1 00 1c 	stmw    r29,28(r1)                             
  RTEMS_API_Control *api;                                             
  ASR_Information   *asr;                                             
  rtems_signal_set   signal_set;                                      
  Modes_Control      prev_mode;                                       
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
ffc0cd68:	83 e3 01 2c 	lwz     r31,300(r3)                            
  if ( !api )                                                         
ffc0cd6c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0cd70:	41 9e 00 80 	beq-    cr7,ffc0cdf0 <_RTEMS_tasks_Post_switch_extension+0x98><== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0cd74:	7c 00 00 a6 	mfmsr   r0                                     
ffc0cd78:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0cd7c:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0cd80:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
    signal_set = asr->signals_posted;                                 
    asr->signals_posted = 0;                                          
ffc0cd84:	39 20 00 00 	li      r9,0                                   
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
    signal_set = asr->signals_posted;                                 
ffc0cd88:	83 bf 00 14 	lwz     r29,20(r31)                            
    asr->signals_posted = 0;                                          
ffc0cd8c:	91 3f 00 14 	stw     r9,20(r31)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0cd90:	7c 00 01 24 	mtmsr   r0                                     
  _ISR_Enable( level );                                               
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
ffc0cd94:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0cd98:	41 be 00 58 	beq+    cr7,ffc0cdf0 <_RTEMS_tasks_Post_switch_extension+0x98>
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
ffc0cd9c:	81 3f 00 1c 	lwz     r9,28(r31)                             
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
ffc0cda0:	3b c1 00 08 	addi    r30,r1,8                               
ffc0cda4:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc0cda8:	38 80 00 00 	li      r4,0                                   
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
ffc0cdac:	38 09 00 01 	addi    r0,r9,1                                
ffc0cdb0:	90 1f 00 1c 	stw     r0,28(r31)                             
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
ffc0cdb4:	60 84 ff ff 	ori     r4,r4,65535                            
ffc0cdb8:	7f c5 f3 78 	mr      r5,r30                                 
ffc0cdbc:	48 00 1e 99 	bl      ffc0ec54 <rtems_task_mode>             
                                                                      
  (*asr->handler)( signal_set );                                      
ffc0cdc0:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc0cdc4:	7f a3 eb 78 	mr      r3,r29                                 
ffc0cdc8:	7c 09 03 a6 	mtctr   r0                                     
ffc0cdcc:	4e 80 04 21 	bctrl                                          
                                                                      
  asr->nest_level -= 1;                                               
ffc0cdd0:	81 3f 00 1c 	lwz     r9,28(r31)                             
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
ffc0cdd4:	38 80 00 00 	li      r4,0                                   
ffc0cdd8:	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;                                               
ffc0cddc:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0cde0:	90 1f 00 1c 	stw     r0,28(r31)                             
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
ffc0cde4:	60 84 ff ff 	ori     r4,r4,65535                            
ffc0cde8:	7f c5 f3 78 	mr      r5,r30                                 
ffc0cdec:	48 00 1e 69 	bl      ffc0ec54 <rtems_task_mode>             
                                                                      
}                                                                     
ffc0cdf0:	39 61 00 28 	addi    r11,r1,40                              
ffc0cdf4:	48 00 73 60 	b       ffc14154 <_restgpr_29_x>               
                                                                      

ffc09168 <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
ffc09168:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0916c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc09170:	7c 08 02 a6 	mflr    r0                                     
ffc09174:	7c 64 1b 78 	mr      r4,r3                                  
ffc09178:	3c 60 00 00 	lis     r3,0                                   
ffc0917c:	48 01 2a a1 	bl      ffc1bc1c <_savegpr_31>                 
ffc09180:	38 63 2c 00 	addi    r3,r3,11264                            
ffc09184:	90 01 00 24 	stw     r0,36(r1)                              
ffc09188:	38 a1 00 08 	addi    r5,r1,8                                
ffc0918c:	48 00 20 e9 	bl      ffc0b274 <_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 ) {                                               
ffc09190:	80 01 00 08 	lwz     r0,8(r1)                               
ffc09194:	7c 7f 1b 78 	mr      r31,r3                                 
ffc09198:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0919c:	40 9e 00 84 	bne-    cr7,ffc09220 <_Rate_monotonic_Timeout+0xb8><== NEVER TAKEN
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
ffc091a0:	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);                   
ffc091a4:	80 03 00 10 	lwz     r0,16(r3)                              
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
ffc091a8:	70 09 40 00 	andi.   r9,r0,16384                            
ffc091ac:	41 82 00 24 	beq-    ffc091d0 <_Rate_monotonic_Timeout+0x68>
ffc091b0:	81 23 00 20 	lwz     r9,32(r3)                              
ffc091b4:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc091b8:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc091bc:	40 be 00 14 	bne+    cr7,ffc091d0 <_Rate_monotonic_Timeout+0x68>
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
ffc091c0:	3c 80 10 03 	lis     r4,4099                                
ffc091c4:	60 84 ff f8 	ori     r4,r4,65528                            
ffc091c8:	48 00 2a ad 	bl      ffc0bc74 <_Thread_Clear_state>         
ffc091cc:	48 00 00 18 	b       ffc091e4 <_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 ) {
ffc091d0:	80 1f 00 38 	lwz     r0,56(r31)                             
ffc091d4:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc091d8:	40 be 00 30 	bne+    cr7,ffc09208 <_Rate_monotonic_Timeout+0xa0>
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
ffc091dc:	38 00 00 03 	li      r0,3                                   
ffc091e0:	90 1f 00 38 	stw     r0,56(r31)                             
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
ffc091e4:	7f e3 fb 78 	mr      r3,r31                                 
ffc091e8:	4b ff f9 45 	bl      ffc08b2c <_Rate_monotonic_Initiate_statistics>
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc091ec:	80 1f 00 3c 	lwz     r0,60(r31)                             
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc091f0:	3c 60 00 00 	lis     r3,0                                   
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc091f4:	90 1f 00 1c 	stw     r0,28(r31)                             
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc091f8:	38 63 2d c8 	addi    r3,r3,11720                            
ffc091fc:	38 9f 00 10 	addi    r4,r31,16                              
ffc09200:	48 00 3e cd 	bl      ffc0d0cc <_Watchdog_Insert>            
ffc09204:	48 00 00 0c 	b       ffc09210 <_Rate_monotonic_Timeout+0xa8>
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
ffc09208:	38 00 00 04 	li      r0,4                                   
ffc0920c:	90 1f 00 38 	stw     r0,56(r31)                             
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
ffc09210:	3d 20 00 00 	lis     r9,0                                   
ffc09214:	81 69 28 08 	lwz     r11,10248(r9)                          
ffc09218:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0921c:	90 09 28 08 	stw     r0,10248(r9)                           
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
ffc09220:	39 61 00 20 	addi    r11,r1,32                              
ffc09224:	4b ff 7f a8 	b       ffc011cc <_restgpr_31_x>               
                                                                      

ffc096b8 <_Scheduler_priority_Block>: ) { Scheduler_priority_Per_thread *sched_info; Chain_Control *ready; sched_info = (Scheduler_priority_Per_thread *) the_thread->scheduler_info;
ffc096b8:	81 63 00 8c 	lwz     r11,140(r3)                            
  ready      = sched_info->ready_chain;                               
ffc096bc:	81 2b 00 00 	lwz     r9,0(r11)                              
                                                                      
  if ( _Chain_Has_only_one_node( ready ) ) {                          
ffc096c0:	81 49 00 00 	lwz     r10,0(r9)                              
ffc096c4:	80 09 00 08 	lwz     r0,8(r9)                               
ffc096c8:	7f 8a 00 00 	cmpw    cr7,r10,r0                             
ffc096cc:	40 be 00 4c 	bne+    cr7,ffc09718 <_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 );                        
ffc096d0:	38 09 00 04 	addi    r0,r9,4                                
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc096d4:	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;                                                  
ffc096d8:	90 09 00 00 	stw     r0,0(r9)                               
  head->previous = NULL;                                              
ffc096dc:	38 00 00 00 	li      r0,0                                   
ffc096e0:	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;          
ffc096e4:	81 2b 00 04 	lwz     r9,4(r11)                              
ffc096e8:	80 0b 00 14 	lwz     r0,20(r11)                             
ffc096ec:	81 49 00 00 	lwz     r10,0(r9)                              
ffc096f0:	7d 40 00 38 	and     r0,r10,r0                              
  if ( *the_priority_map->minor == 0 )                                
ffc096f4:	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;          
ffc096f8:	90 09 00 00 	stw     r0,0(r9)                               
  if ( *the_priority_map->minor == 0 )                                
ffc096fc:	40 9e 00 2c 	bne-    cr7,ffc09728 <_Scheduler_priority_Block+0x70>
    _Priority_Major_bit_map &= the_priority_map->block_major;         
ffc09700:	3d 20 00 00 	lis     r9,0                                   
ffc09704:	80 0b 00 10 	lwz     r0,16(r11)                             
ffc09708:	81 49 27 ec 	lwz     r10,10220(r9)                          
ffc0970c:	7d 40 00 38 	and     r0,r10,r0                              
ffc09710:	90 09 27 ec 	stw     r0,10220(r9)                           
ffc09714:	48 00 00 14 	b       ffc09728 <_Scheduler_priority_Block+0x70>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc09718:	81 63 00 00 	lwz     r11,0(r3)                              
  previous       = the_node->previous;                                
ffc0971c:	81 23 00 04 	lwz     r9,4(r3)                               
  next->previous = previous;                                          
ffc09720:	91 2b 00 04 	stw     r9,4(r11)                              
  previous->next = next;                                              
ffc09724:	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 );                              
ffc09728:	3d 20 00 00 	lis     r9,0                                   
{                                                                     
  _Scheduler_priority_Ready_queue_extract( the_thread );              
                                                                      
  /* TODO: flash critical section? */                                 
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
ffc0972c:	80 09 2d a8 	lwz     r0,11688(r9)                           
ffc09730:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc09734:	40 be 00 64 	bne+    cr7,ffc09798 <_Scheduler_priority_Block+0xe0>
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 );         
ffc09738:	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                          
ffc0973c:	3d 20 00 00 	lis     r9,0                                   
ffc09740:	80 0a 27 ec 	lwz     r0,10220(r10)                          
 *                                                                    
 *  @param[in] the_thread  - pointer to thread                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(void)     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
ffc09744:	81 29 20 04 	lwz     r9,8196(r9)                            
ffc09748:	7c 0b 00 34 	cntlzw  r11,r0                                 
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0974c:	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 );         
ffc09750:	90 0a 27 ec 	stw     r0,10220(r10)                          
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc09754:	39 08 2d c0 	addi    r8,r8,11712                            
ffc09758:	55 6a 10 3a 	rlwinm  r10,r11,2,0,29                         
ffc0975c:	7c 08 50 2e 	lwzx    r0,r8,r10                              
ffc09760:	7c 07 00 34 	cntlzw  r7,r0                                  
ffc09764:	7c 08 51 2e 	stwx    r0,r8,r10                              
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
ffc09768:	55 60 20 36 	rlwinm  r0,r11,4,0,27                          
ffc0976c:	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 ] ) )                
ffc09770:	1c 00 00 0c 	mulli   r0,r0,12                               
ffc09774:	7d 69 02 14 	add     r11,r9,r0                              
     _Scheduler_priority_Schedule_body();                             
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
    _Thread_Dispatch_necessary = true;                                
                                                                      
}                                                                     
ffc09778:	7d 29 00 2e 	lwzx    r9,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 );                            
ffc0977c:	39 6b 00 04 	addi    r11,r11,4                              
ffc09780:	7f 89 58 00 	cmpw    cr7,r9,r11                             
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
                                                                      
  return NULL;                                                        
ffc09784:	38 00 00 00 	li      r0,0                                   
  Chain_Control       *the_ready_queue                                
)                                                                     
{                                                                     
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
ffc09788:	41 9e 00 08 	beq-    cr7,ffc09790 <_Scheduler_priority_Block+0xd8><== NEVER TAKEN
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
ffc0978c:	7d 20 4b 78 	mr      r0,r9                                  
 *                                                                    
 *  @param[in] the_thread  - pointer to thread                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(void)     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
ffc09790:	3d 20 00 00 	lis     r9,0                                   
ffc09794:	90 09 2d a8 	stw     r0,11688(r9)                           
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
ffc09798:	3d 20 00 00 	lis     r9,0                                   
ffc0979c:	39 29 2d 98 	addi    r9,r9,11672                            
  /* TODO: flash critical section? */                                 
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
     _Scheduler_priority_Schedule_body();                             
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
ffc097a0:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc097a4:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc097a8:	4c be 00 20 	bnelr+  cr7                                    
    _Thread_Dispatch_necessary = true;                                
ffc097ac:	38 00 00 01 	li      r0,1                                   
ffc097b0:	98 09 00 18 	stb     r0,24(r9)                              
ffc097b4:	4e 80 00 20 	blr                                            
                                                                      

ffc09970 <_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 );
ffc09970:	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                          
ffc09974:	3d 20 00 00 	lis     r9,0                                   
ffc09978:	80 0a 27 ec 	lwz     r0,10220(r10)                          
 *                                                                    
 *  @param[in] the_thread  - pointer to thread                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(void)     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
ffc0997c:	81 29 20 04 	lwz     r9,8196(r9)                            
ffc09980:	7c 0b 00 34 	cntlzw  r11,r0                                 
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc09984:	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 );         
ffc09988:	90 0a 27 ec 	stw     r0,10220(r10)                          
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0998c:	39 08 2d c0 	addi    r8,r8,11712                            
ffc09990:	55 6a 10 3a 	rlwinm  r10,r11,2,0,29                         
ffc09994:	7c 08 50 2e 	lwzx    r0,r8,r10                              
ffc09998:	7c 07 00 34 	cntlzw  r7,r0                                  
ffc0999c:	7c 08 51 2e 	stwx    r0,r8,r10                              
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
ffc099a0:	55 60 20 36 	rlwinm  r0,r11,4,0,27                          
ffc099a4:	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 ] ) )                
ffc099a8:	1c 00 00 0c 	mulli   r0,r0,12                               
ffc099ac:	7d 69 02 14 	add     r11,r9,r0                              
#include <rtems/score/schedulerpriority.h>                            
                                                                      
void _Scheduler_priority_Schedule(void)                               
{                                                                     
  _Scheduler_priority_Schedule_body();                                
}                                                                     
ffc099b0:	7d 29 00 2e 	lwzx    r9,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 );                            
ffc099b4:	39 6b 00 04 	addi    r11,r11,4                              
ffc099b8:	7f 89 58 00 	cmpw    cr7,r9,r11                             
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
                                                                      
  return NULL;                                                        
ffc099bc:	38 00 00 00 	li      r0,0                                   
  Chain_Control       *the_ready_queue                                
)                                                                     
{                                                                     
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
ffc099c0:	41 9e 00 08 	beq-    cr7,ffc099c8 <_Scheduler_priority_Schedule+0x58><== NEVER TAKEN
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
ffc099c4:	7d 20 4b 78 	mr      r0,r9                                  
 *                                                                    
 *  @param[in] the_thread  - pointer to thread                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(void)     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
ffc099c8:	3d 20 00 00 	lis     r9,0                                   
ffc099cc:	90 09 2d a8 	stw     r0,11688(r9)                           
ffc099d0:	4e 80 00 20 	blr                                            
                                                                      

ffc09ac8 <_Scheduler_priority_Yield>: Scheduler_priority_Per_thread *sched_info; ISR_Level level; Thread_Control *executing; Chain_Control *ready; executing = _Thread_Executing;
ffc09ac8:	3d 40 00 00 	lis     r10,0                                  
ffc09acc:	39 4a 2d 98 	addi    r10,r10,11672                          
ffc09ad0:	81 2a 00 0c 	lwz     r9,12(r10)                             
  sched_info = (Scheduler_priority_Per_thread *) executing->scheduler_info;
  ready      = sched_info->ready_chain;                               
ffc09ad4:	81 69 00 8c 	lwz     r11,140(r9)                            
ffc09ad8:	81 6b 00 00 	lwz     r11,0(r11)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc09adc:	7c 00 00 a6 	mfmsr   r0                                     
ffc09ae0:	7d 10 42 a6 	mfsprg  r8,0                                   
ffc09ae4:	7c 08 40 78 	andc    r8,r0,r8                               
ffc09ae8:	7d 00 01 24 	mtmsr   r8                                     
  _ISR_Disable( level );                                              
    if ( !_Chain_Has_only_one_node( ready ) ) {                       
ffc09aec:	80 eb 00 00 	lwz     r7,0(r11)                              
ffc09af0:	81 0b 00 08 	lwz     r8,8(r11)                              
ffc09af4:	7f 87 40 00 	cmpw    cr7,r7,r8                              
ffc09af8:	41 9e 00 60 	beq-    cr7,ffc09b58 <_Scheduler_priority_Yield+0x90>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc09afc:	80 e9 00 00 	lwz     r7,0(r9)                               
  previous       = the_node->previous;                                
ffc09b00:	81 09 00 04 	lwz     r8,4(r9)                               
  next->previous = previous;                                          
ffc09b04:	91 07 00 04 	stw     r8,4(r7)                               
  previous->next = next;                                              
ffc09b08:	90 e8 00 00 	stw     r7,0(r8)                               
RTEMS_INLINE_ROUTINE void _Chain_Append_unprotected(                  
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
ffc09b0c:	38 eb 00 04 	addi    r7,r11,4                               
  Chain_Node *old_last = tail->previous;                              
ffc09b10:	81 0b 00 08 	lwz     r8,8(r11)                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
ffc09b14:	91 2b 00 08 	stw     r9,8(r11)                              
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
ffc09b18:	90 e9 00 00 	stw     r7,0(r9)                               
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
  the_node->previous = old_last;                                      
ffc09b1c:	91 09 00 04 	stw     r8,4(r9)                               
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
ffc09b20:	91 28 00 00 	stw     r9,0(r8)                               
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  __asm__ volatile (                                                  
ffc09b24:	7d 00 00 a6 	mfmsr   r8                                     
ffc09b28:	7c 00 01 24 	mtmsr   r0                                     
ffc09b2c:	7d 00 01 24 	mtmsr   r8                                     
      _Chain_Extract_unprotected( &executing->Object.Node );          
      _Chain_Append_unprotected( ready, &executing->Object.Node );    
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( _Thread_Is_heir( executing ) )                             
ffc09b30:	81 0a 00 10 	lwz     r8,16(r10)                             
ffc09b34:	7f 89 40 00 	cmpw    cr7,r9,r8                              
ffc09b38:	40 be 00 0c 	bne+    cr7,ffc09b44 <_Scheduler_priority_Yield+0x7c><== NEVER TAKEN
        _Thread_Heir = (Thread_Control *) _Chain_First( ready );      
ffc09b3c:	81 2b 00 00 	lwz     r9,0(r11)                              
ffc09b40:	91 2a 00 10 	stw     r9,16(r10)                             
      _Thread_Dispatch_necessary = true;                              
ffc09b44:	3d 20 00 00 	lis     r9,0                                   
ffc09b48:	39 60 00 01 	li      r11,1                                  
ffc09b4c:	39 29 2d 98 	addi    r9,r9,11672                            
ffc09b50:	99 69 00 18 	stb     r11,24(r9)                             
ffc09b54:	48 00 00 18 	b       ffc09b6c <_Scheduler_priority_Yield+0xa4>
    }                                                                 
    else if ( !_Thread_Is_heir( executing ) )                         
ffc09b58:	81 6a 00 10 	lwz     r11,16(r10)                            
ffc09b5c:	7f 89 58 00 	cmpw    cr7,r9,r11                             
ffc09b60:	41 9e 00 0c 	beq-    cr7,ffc09b6c <_Scheduler_priority_Yield+0xa4><== ALWAYS TAKEN
      _Thread_Dispatch_necessary = true;                              
ffc09b64:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc09b68:	99 2a 00 18 	stb     r9,24(r10)                             <== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc09b6c:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
  _ISR_Enable( level );                                               
}                                                                     
ffc09b70:	4e 80 00 20 	blr                                            
                                                                      

ffc08c14 <_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) ||
ffc08c14:	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();                 
ffc08c18:	3d 20 00 00 	lis     r9,0                                   
ffc08c1c:	81 29 20 fc 	lwz     r9,8444(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;                                                    
ffc08c20:	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)                                  ||                  
ffc08c24:	41 82 00 94 	beq-    ffc08cb8 <_TOD_Validate+0xa4>          <== NEVER TAKEN
)                                                                     
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
ffc08c28:	3d 60 00 0f 	lis     r11,15                                 
ffc08c2c:	61 6b 42 40 	ori     r11,r11,16960                          
ffc08c30:	7d 2b 4b 96 	divwu   r9,r11,r9                              
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
ffc08c34:	81 63 00 18 	lwz     r11,24(r3)                             
ffc08c38:	7f 8b 48 40 	cmplw   cr7,r11,r9                             
ffc08c3c:	40 9c 00 7c 	bge-    cr7,ffc08cb8 <_TOD_Validate+0xa4>      
      (the_tod->ticks  >= ticks_per_second)       ||                  
ffc08c40:	81 23 00 14 	lwz     r9,20(r3)                              
ffc08c44:	2b 89 00 3b 	cmplwi  cr7,r9,59                              
ffc08c48:	41 9d 00 70 	bgt-    cr7,ffc08cb8 <_TOD_Validate+0xa4>      
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
ffc08c4c:	81 23 00 10 	lwz     r9,16(r3)                              
ffc08c50:	2b 89 00 3b 	cmplwi  cr7,r9,59                              
ffc08c54:	41 9d 00 64 	bgt-    cr7,ffc08cb8 <_TOD_Validate+0xa4>      
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
ffc08c58:	81 23 00 0c 	lwz     r9,12(r3)                              
ffc08c5c:	2b 89 00 17 	cmplwi  cr7,r9,23                              
ffc08c60:	41 9d 00 58 	bgt-    cr7,ffc08cb8 <_TOD_Validate+0xa4>      
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
ffc08c64:	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)      ||                  
ffc08c68:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08c6c:	41 9e 00 4c 	beq-    cr7,ffc08cb8 <_TOD_Validate+0xa4>      <== NEVER TAKEN
      (the_tod->month  == 0)                      ||                  
ffc08c70:	2b 89 00 0c 	cmplwi  cr7,r9,12                              
ffc08c74:	41 9d 00 44 	bgt-    cr7,ffc08cb8 <_TOD_Validate+0xa4>      
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
ffc08c78:	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)    ||                  
ffc08c7c:	2b 8a 07 c3 	cmplwi  cr7,r10,1987                           
ffc08c80:	40 9d 00 38 	ble-    cr7,ffc08cb8 <_TOD_Validate+0xa4>      
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
ffc08c84:	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)          ||                  
ffc08c88:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc08c8c:	41 9e 00 2c 	beq-    cr7,ffc08cb8 <_TOD_Validate+0xa4>      <== NEVER TAKEN
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
ffc08c90:	71 40 00 03 	andi.   r0,r10,3                               
ffc08c94:	3d 40 ff c2 	lis     r10,-62                                
ffc08c98:	39 4a e8 0c 	addi    r10,r10,-6132                          
ffc08c9c:	40 82 00 08 	bne-    ffc08ca4 <_TOD_Validate+0x90>          
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
ffc08ca0:	39 29 00 0d 	addi    r9,r9,13                               
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
ffc08ca4:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc08ca8:	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(                                                   
ffc08cac:	7c 0b 00 10 	subfc   r0,r11,r0                              
ffc08cb0:	38 00 00 00 	li      r0,0                                   
ffc08cb4:	7c 00 01 14 	adde    r0,r0,r0                               
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
ffc08cb8:	7c 03 03 78 	mr      r3,r0                                  
ffc08cbc:	4e 80 00 20 	blr                                            
                                                                      

ffc09bd4 <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
ffc09bd4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc09bd8:	7c 08 02 a6 	mflr    r0                                     
ffc09bdc:	90 01 00 24 	stw     r0,36(r1)                              
ffc09be0:	bf 81 00 10 	stmw    r28,16(r1)                             
ffc09be4:	7c 7f 1b 78 	mr      r31,r3                                 
ffc09be8:	7c be 2b 78 	mr      r30,r5                                 
  States_Control state, original_state;                               
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
ffc09bec:	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 );                                
ffc09bf0:	90 81 00 08 	stw     r4,8(r1)                               
ffc09bf4:	48 00 0e 25 	bl      ffc0aa18 <_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 )                  
ffc09bf8:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc09bfc:	80 81 00 08 	lwz     r4,8(r1)                               
ffc09c00:	7f 80 20 00 	cmpw    cr7,r0,r4                              
ffc09c04:	41 9e 00 0c 	beq-    cr7,ffc09c10 <_Thread_Change_priority+0x3c>
    _Thread_Set_priority( the_thread, new_priority );                 
ffc09c08:	7f e3 fb 78 	mr      r3,r31                                 
ffc09c0c:	48 00 0d 81 	bl      ffc0a98c <_Thread_Set_priority>        
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc09c10:	7f 80 00 a6 	mfmsr   r28                                    
ffc09c14:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc09c18:	7f 80 00 78 	andc    r0,r28,r0                              
ffc09c1c:	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;                                  
ffc09c20:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc09c24:	57 bd 07 7a 	rlwinm  r29,r29,0,29,29                        
  if ( state != STATES_TRANSIENT ) {                                  
ffc09c28:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc09c2c:	41 9e 00 38 	beq-    cr7,ffc09c64 <_Thread_Change_priority+0x90>
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
ffc09c30:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc09c34:	40 9e 00 0c 	bne-    cr7,ffc09c40 <_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);                         
ffc09c38:	54 09 07 b8 	rlwinm  r9,r0,0,30,28                          
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
ffc09c3c:	91 3f 00 10 	stw     r9,16(r31)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc09c40:	7f 80 01 24 	mtmsr   r28                                    
    _ISR_Enable( level );                                             
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
ffc09c44:	3d 20 00 03 	lis     r9,3                                   
ffc09c48:	61 29 be e0 	ori     r9,r9,48864                            
ffc09c4c:	7c 0b 48 39 	and.    r11,r0,r9                              
ffc09c50:	41 a2 00 94 	beq+    ffc09ce4 <_Thread_Change_priority+0x110>
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
ffc09c54:	80 7f 00 44 	lwz     r3,68(r31)                             
ffc09c58:	7f e4 fb 78 	mr      r4,r31                                 
ffc09c5c:	48 00 0c 79 	bl      ffc0a8d4 <_Thread_queue_Requeue>       
ffc09c60:	48 00 00 84 	b       ffc09ce4 <_Thread_Change_priority+0x110>
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
ffc09c64:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc09c68:	40 9e 00 30 	bne-    cr7,ffc09c98 <_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 )                                                 
ffc09c6c:	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 );
ffc09c70:	93 bf 00 10 	stw     r29,16(r31)                            
ffc09c74:	3d 20 00 00 	lis     r9,0                                   
ffc09c78:	39 29 20 04 	addi    r9,r9,8196                             
                                                                      
    if ( prepend_it )                                                 
ffc09c7c:	41 9e 00 0c 	beq-    cr7,ffc09c88 <_Thread_Change_priority+0xb4>
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Enqueue_first(                   
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Scheduler.Operations.enqueue_first( the_thread );                  
ffc09c80:	80 09 00 28 	lwz     r0,40(r9)                              
ffc09c84:	48 00 00 08 	b       ffc09c8c <_Thread_Change_priority+0xb8>
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Enqueue(                         
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Scheduler.Operations.enqueue( the_thread );                        
ffc09c88:	80 09 00 24 	lwz     r0,36(r9)                              
ffc09c8c:	7f e3 fb 78 	mr      r3,r31                                 
ffc09c90:	7c 09 03 a6 	mtctr   r0                                     
ffc09c94:	4e 80 04 21 	bctrl                                          
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  __asm__ volatile (                                                  
ffc09c98:	7c 00 00 a6 	mfmsr   r0                                     
ffc09c9c:	7f 80 01 24 	mtmsr   r28                                    
ffc09ca0:	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();                                   
ffc09ca4:	3d 20 00 00 	lis     r9,0                                   
ffc09ca8:	80 09 20 0c 	lwz     r0,8204(r9)                            
ffc09cac:	7c 09 03 a6 	mtctr   r0                                     
ffc09cb0:	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 );                       
ffc09cb4:	3d 20 00 00 	lis     r9,0                                   
ffc09cb8:	39 29 2d 98 	addi    r9,r9,11672                            
ffc09cbc:	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() &&                       
ffc09cc0:	80 09 00 10 	lwz     r0,16(r9)                              
ffc09cc4:	7f 8b 00 00 	cmpw    cr7,r11,r0                             
ffc09cc8:	41 9e 00 18 	beq-    cr7,ffc09ce0 <_Thread_Change_priority+0x10c>
ffc09ccc:	88 0b 00 74 	lbz     r0,116(r11)                            
ffc09cd0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09cd4:	41 9e 00 0c 	beq-    cr7,ffc09ce0 <_Thread_Change_priority+0x10c>
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
ffc09cd8:	38 00 00 01 	li      r0,1                                   
ffc09cdc:	98 09 00 18 	stb     r0,24(r9)                              
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc09ce0:	7f 80 01 24 	mtmsr   r28                                    
  _ISR_Enable( level );                                               
}                                                                     
ffc09ce4:	39 61 00 20 	addi    r11,r1,32                              
ffc09ce8:	48 00 a4 68 	b       ffc14150 <_restgpr_28_x>               
                                                                      

ffc09ef8 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
ffc09ef8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc09efc:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc09f00:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
void _Thread_Delay_ended(                                             
  Objects_Id  id,                                                     
  void       *ignored __attribute__((unused))                         
)                                                                     
{                                                                     
ffc09f04:	90 01 00 1c 	stw     r0,28(r1)                              
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc09f08:	48 00 01 b5 	bl      ffc0a0bc <_Thread_Get>                 
  switch ( location ) {                                               
ffc09f0c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc09f10:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09f14:	40 9e 00 20 	bne-    cr7,ffc09f34 <_Thread_Delay_ended+0x3c><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
ffc09f18:	3c 80 10 00 	lis     r4,4096                                
ffc09f1c:	60 84 00 18 	ori     r4,r4,24                               
ffc09f20:	4b ff fd cd 	bl      ffc09cec <_Thread_Clear_state>         
ffc09f24:	3d 20 00 00 	lis     r9,0                                   
ffc09f28:	81 69 27 a4 	lwz     r11,10148(r9)                          
ffc09f2c:	38 0b ff ff 	addi    r0,r11,-1                              
ffc09f30:	90 09 27 a4 	stw     r0,10148(r9)                           
          | STATES_INTERRUPTIBLE_BY_SIGNAL                            
      );                                                              
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
ffc09f34:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc09f38:	38 21 00 18 	addi    r1,r1,24                               
ffc09f3c:	7c 08 03 a6 	mtlr    r0                                     
ffc09f40:	4e 80 00 20 	blr                                            
                                                                      

ffc09f44 <_Thread_Dispatch>: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
ffc09f44:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc09f48:	7c 08 02 a6 	mflr    r0                                     
ffc09f4c:	be a1 00 1c 	stmw    r21,28(r1)                             
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
ffc09f50:	3f 40 00 00 	lis     r26,0                                  
ffc09f54:	39 3a 2d 98 	addi    r9,r26,11672                           
 *    dispatch thread                                                 
 *    no dispatch thread                                              
 */                                                                   
                                                                      
void _Thread_Dispatch( void )                                         
{                                                                     
ffc09f58:	90 01 00 4c 	stw     r0,76(r1)                              
  Thread_Control   *executing;                                        
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
ffc09f5c:	83 e9 00 0c 	lwz     r31,12(r9)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc09f60:	7c 00 00 a6 	mfmsr   r0                                     
ffc09f64:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc09f68:	7c 09 48 78 	andc    r9,r0,r9                               
ffc09f6c:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
        _Timestamp_Subtract(                                          
ffc09f70:	3f 80 00 00 	lis     r28,0                                  
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
ffc09f74:	3e a0 00 00 	lis     r21,0                                  
ffc09f78:	3a c0 00 01 	li      r22,1                                  
    _Thread_Dispatch_necessary = false;                               
ffc09f7c:	3a e0 00 00 	li      r23,0                                  
#if __RTEMS_ADA__                                                     
    executing->rtems_ada_self = rtems_ada_self;                       
    rtems_ada_self = heir->rtems_ada_self;                            
#endif                                                                
    if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
ffc09f80:	3f 00 00 00 	lis     r24,0                                  
    _ISR_Enable( level );                                             
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
ffc09f84:	3b 61 00 08 	addi    r27,r1,8                               
        _Timestamp_Subtract(                                          
ffc09f88:	3b 9c 27 d4 	addi    r28,r28,10196                          
ffc09f8c:	3b a1 00 10 	addi    r29,r1,16                              
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
ffc09f90:	3f 20 00 00 	lis     r25,0                                  
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
ffc09f94:	48 00 00 dc 	b       ffc0a070 <_Thread_Dispatch+0x12c>      
    heir = _Thread_Heir;                                              
ffc09f98:	83 c9 00 10 	lwz     r30,16(r9)                             
    _Thread_Dispatch_disable_level = 1;                               
ffc09f9c:	92 d5 27 a4 	stw     r22,10148(r21)                         
    /*                                                                
     *  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 )                                          
ffc09fa0:	7f 9e f8 00 	cmpw    cr7,r30,r31                            
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
    _Thread_Dispatch_disable_level = 1;                               
    _Thread_Dispatch_necessary = false;                               
ffc09fa4:	9a e9 00 18 	stb     r23,24(r9)                             
    _Thread_Executing = heir;                                         
ffc09fa8:	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 )                                          
ffc09fac:	41 9e 00 d4 	beq-    cr7,ffc0a080 <_Thread_Dispatch+0x13c>  
     */                                                               
#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 )
ffc09fb0:	81 3e 00 7c 	lwz     r9,124(r30)                            
ffc09fb4:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc09fb8:	40 be 00 0c 	bne+    cr7,ffc09fc4 <_Thread_Dispatch+0x80>   
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
ffc09fbc:	81 38 27 a0 	lwz     r9,10144(r24)                          
ffc09fc0:	91 3e 00 78 	stw     r9,120(r30)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc09fc4:	7c 00 01 24 	mtmsr   r0                                     
    _ISR_Enable( level );                                             
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
ffc09fc8:	7f 63 db 78 	mr      r3,r27                                 
ffc09fcc:	48 00 31 e5 	bl      ffc0d1b0 <_TOD_Get_uptime>             
        _Timestamp_Subtract(                                          
ffc09fd0:	7f 83 e3 78 	mr      r3,r28                                 
ffc09fd4:	7f 64 db 78 	mr      r4,r27                                 
ffc09fd8:	7f a5 eb 78 	mr      r5,r29                                 
ffc09fdc:	48 00 0c e1 	bl      ffc0acbc <_Timespec_Subtract>          
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
ffc09fe0:	38 7f 00 84 	addi    r3,r31,132                             
ffc09fe4:	7f a4 eb 78 	mr      r4,r29                                 
ffc09fe8:	48 00 0c 79 	bl      ffc0ac60 <_Timespec_Add_to>            
        _Thread_Time_of_last_context_switch = uptime;                 
ffc09fec:	81 21 00 08 	lwz     r9,8(r1)                               
ffc09ff0:	81 41 00 0c 	lwz     r10,12(r1)                             
ffc09ff4:	91 3c 00 00 	stw     r9,0(r28)                              
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
ffc09ff8:	81 39 27 b8 	lwz     r9,10168(r25)                          
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
ffc09ffc:	91 5c 00 04 	stw     r10,4(r28)                             
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
ffc0a000:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0a004:	41 9e 00 14 	beq-    cr7,ffc0a018 <_Thread_Dispatch+0xd4>   <== NEVER TAKEN
      executing->libc_reent = *_Thread_libc_reent;                    
ffc0a008:	80 09 00 00 	lwz     r0,0(r9)                               
ffc0a00c:	90 1f 01 28 	stw     r0,296(r31)                            
      *_Thread_libc_reent = heir->libc_reent;                         
ffc0a010:	80 1e 01 28 	lwz     r0,296(r30)                            
ffc0a014:	90 09 00 00 	stw     r0,0(r9)                               
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
ffc0a018:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a01c:	7f c4 f3 78 	mr      r4,r30                                 
ffc0a020:	48 00 0f c9 	bl      ffc0afe8 <_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 )                              
ffc0a024:	80 1f 01 24 	lwz     r0,292(r31)                            
ffc0a028:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a02c:	41 9e 00 0c 	beq-    cr7,ffc0a038 <_Thread_Dispatch+0xf4>   
      _Context_Save_fp( &executing->fp_context );                     
ffc0a030:	38 7f 01 24 	addi    r3,r31,292                             
ffc0a034:	48 00 a1 ed 	bl      ffc14220 <_CPU_Context_save_fp>        
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
ffc0a038:	38 7f 00 c4 	addi    r3,r31,196                             
ffc0a03c:	38 9e 00 c4 	addi    r4,r30,196                             
ffc0a040:	48 00 a3 61 	bl      ffc143a0 <_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 )                              
ffc0a044:	80 1f 01 24 	lwz     r0,292(r31)                            
ffc0a048:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a04c:	41 9e 00 0c 	beq-    cr7,ffc0a058 <_Thread_Dispatch+0x114>  
      _Context_Restore_fp( &executing->fp_context );                  
ffc0a050:	38 7f 01 24 	addi    r3,r31,292                             
ffc0a054:	48 00 a2 8d 	bl      ffc142e0 <_CPU_Context_restore_fp>     
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
ffc0a058:	39 3a 2d 98 	addi    r9,r26,11672                           
ffc0a05c:	83 e9 00 0c 	lwz     r31,12(r9)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0a060:	7c 00 00 a6 	mfmsr   r0                                     
ffc0a064:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0a068:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0a06c:	7d 20 01 24 	mtmsr   r9                                     
  Thread_Control   *heir;                                             
  ISR_Level         level;                                            
                                                                      
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
ffc0a070:	39 3a 2d 98 	addi    r9,r26,11672                           
ffc0a074:	89 69 00 18 	lbz     r11,24(r9)                             
ffc0a078:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0a07c:	40 9e ff 1c 	bne+    cr7,ffc09f98 <_Thread_Dispatch+0x54>   
                                                                      
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
post_switch:                                                          
  _Thread_Dispatch_disable_level = 0;                                 
ffc0a080:	39 60 00 00 	li      r11,0                                  
ffc0a084:	3d 20 00 00 	lis     r9,0                                   
ffc0a088:	91 69 27 a4 	stw     r11,10148(r9)                          
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0a08c:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
  _ISR_Enable( level );                                               
                                                                      
  _API_extensions_Run_postswitch();                                   
ffc0a090:	4b ff e1 81 	bl      ffc08210 <_API_extensions_Run_postswitch>
}                                                                     
ffc0a094:	39 61 00 48 	addi    r11,r1,72                              
ffc0a098:	48 00 a0 9c 	b       ffc14134 <_restgpr_21_x>               
                                                                      

ffc0efe8 <_Thread_Handler>: * * Output parameters: NONE */ void _Thread_Handler( void ) {
ffc0efe8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0efec:	7c 08 02 a6 	mflr    r0                                     
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
ffc0eff0:	3d 20 00 00 	lis     r9,0                                   
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Thread_Handler( void )                                          
{                                                                     
ffc0eff4:	90 01 00 14 	stw     r0,20(r1)                              
ffc0eff8:	bf c1 00 08 	stmw    r30,8(r1)                              
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static char doneConstructors;                                     
    char doneCons;                                                    
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
ffc0effc:	83 e9 2d a4 	lwz     r31,11684(r9)                          
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
                                                                      
  level = executing->Start.isr_level;                                 
ffc0f000:	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);                                                  
ffc0f004:	38 00 00 00 	li      r0,0                                   
ffc0f008:	7c 00 00 a6 	mfmsr   r0                                     
  if (!(level & CPU_MODES_INTERRUPT_MASK)) {                          
ffc0f00c:	71 2b 00 01 	andi.   r11,r9,1                               
ffc0f010:	40 82 00 10 	bne-    ffc0f020 <_Thread_Handler+0x38>        
                                                                      
static inline uint32_t ppc_interrupt_get_disable_mask( void )         
{                                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0f014:	7d 30 42 a6 	mfsprg  r9,0                                   
    msr |= ppc_interrupt_get_disable_mask();                          
ffc0f018:	7d 20 03 78 	or      r0,r9,r0                               
ffc0f01c:	48 00 00 0c 	b       ffc0f028 <_Thread_Handler+0x40>        
ffc0f020:	7d 30 42 a6 	mfsprg  r9,0                                   
  }                                                                   
  else {                                                              
    msr &= ~ppc_interrupt_get_disable_mask();                         
ffc0f024:	7c 00 48 78 	andc    r0,r0,r9                               
  }                                                                   
  _CPU_MSR_SET(msr);                                                  
ffc0f028:	7c 00 01 24 	mtmsr   r0                                     
  _ISR_Set_level(level);                                              
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
ffc0f02c:	3d 20 00 00 	lis     r9,0                                   
ffc0f030:	8b c9 29 60 	lbz     r30,10592(r9)                          
    doneConstructors = 1;                                             
ffc0f034:	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 );                         
ffc0f038:	7f e3 fb 78 	mr      r3,r31                                 
  level = executing->Start.isr_level;                                 
  _ISR_Set_level(level);                                              
                                                                      
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    doneCons = doneConstructors;                                      
    doneConstructors = 1;                                             
ffc0f03c:	98 09 29 60 	stb     r0,10592(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 );                         
ffc0f040:	4b ff bd 75 	bl      ffc0adb4 <_User_extensions_Thread_begin>
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
ffc0f044:	4b ff b0 59 	bl      ffc0a09c <_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 (!doneCons) /* && (volatile void *)_init) */ {                 
ffc0f048:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0f04c:	40 be 00 08 	bne+    cr7,ffc0f054 <_Thread_Handler+0x6c>    
      INIT_NAME ();                                                   
ffc0f050:	48 00 61 ed 	bl      ffc1523c <_init>                       
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
ffc0f054:	80 1f 00 94 	lwz     r0,148(r31)                            
ffc0f058:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f05c:	40 be 00 18 	bne+    cr7,ffc0f074 <_Thread_Handler+0x8c>    <== NEVER TAKEN
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
ffc0f060:	80 1f 00 90 	lwz     r0,144(r31)                            
ffc0f064:	80 7f 00 9c 	lwz     r3,156(r31)                            
ffc0f068:	7c 09 03 a6 	mtctr   r0                                     
ffc0f06c:	4e 80 04 21 	bctrl                                          
      INIT_NAME ();                                                   
    }                                                                 
  #endif                                                              
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
    executing->Wait.return_argument =                                 
ffc0f070:	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 );                       
ffc0f074:	7f e3 fb 78 	mr      r3,r31                                 
ffc0f078:	4b ff bd 91 	bl      ffc0ae08 <_User_extensions_Thread_exitted>
                                                                      
  _Internal_error_Occurred(                                           
ffc0f07c:	38 60 00 00 	li      r3,0                                   
ffc0f080:	38 80 00 01 	li      r4,1                                   
ffc0f084:	38 a0 00 05 	li      r5,5                                   
ffc0f088:	4b ff 9c fd 	bl      ffc08d84 <_Internal_error_Occurred>    
                                                                      

ffc0a168 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
ffc0a168:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0a16c:	7c 08 02 a6 	mflr    r0                                     
ffc0a170:	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;                             
ffc0a174:	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                          
)                                                                     
{                                                                     
ffc0a178:	7d 3a 4b 78 	mr      r26,r9                                 
ffc0a17c:	90 01 00 34 	stw     r0,52(r1)                              
ffc0a180:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0a184:	7c 9f 23 78 	mr      r31,r4                                 
ffc0a188:	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 );
ffc0a18c:	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;                             
ffc0a190:	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                          
)                                                                     
{                                                                     
ffc0a194:	7c dd 33 78 	mr      r29,r6                                 
ffc0a198:	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;                             
ffc0a19c:	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                          
)                                                                     
{                                                                     
ffc0a1a0:	7d 1b 43 78 	mr      r27,r8                                 
ffc0a1a4:	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;                                      
ffc0a1a8:	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 );
ffc0a1ac:	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                          
)                                                                     
{                                                                     
ffc0a1b0:	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 );
ffc0a1b4:	48 00 08 b9 	bl      ffc0aa6c <_Thread_Stack_Allocate>      
    if ( !actual_stack_size || actual_stack_size < stack_size )       
ffc0a1b8:	2c 03 00 00 	cmpwi   r3,0                                   
      return false;                     /* stack allocation failed */ 
ffc0a1bc:	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 )       
ffc0a1c0:	41 82 01 7c 	beq-    ffc0a33c <_Thread_Initialize+0x1d4>    
ffc0a1c4:	7f 83 e8 40 	cmplw   cr7,r3,r29                             
ffc0a1c8:	41 9c 01 74 	blt-    cr7,ffc0a33c <_Thread_Initialize+0x1d4><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
ffc0a1cc:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
ffc0a1d0:	80 1f 00 c0 	lwz     r0,192(r31)                            
  the_stack->size = size;                                             
ffc0a1d4:	90 7f 00 b4 	stw     r3,180(r31)                            
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
ffc0a1d8:	90 1f 00 b8 	stw     r0,184(r31)                            
ffc0a1dc:	41 be 00 14 	beq+    cr7,ffc0a1f0 <_Thread_Initialize+0x88> 
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
ffc0a1e0:	38 60 01 08 	li      r3,264                                 
ffc0a1e4:	48 00 11 85 	bl      ffc0b368 <_Workspace_Allocate>         
      if ( !fp_area )                                                 
ffc0a1e8:	7c 79 1b 79 	mr.     r25,r3                                 
ffc0a1ec:	41 82 01 0c 	beq-    ffc0a2f8 <_Thread_Initialize+0x190>    
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0a1f0:	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;                           
ffc0a1f4:	93 3f 01 24 	stw     r25,292(r31)                           
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc0a1f8:	38 00 00 00 	li      r0,0                                   
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0a1fc:	80 69 27 c4 	lwz     r3,10180(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;                                             
ffc0a200:	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;                           
ffc0a204:	93 3f 00 bc 	stw     r25,188(r31)                           
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0a208:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0a20c:	90 1f 00 50 	stw     r0,80(r31)                             
  the_watchdog->routine   = routine;                                  
ffc0a210:	90 1f 00 64 	stw     r0,100(r31)                            
  the_watchdog->id        = id;                                       
ffc0a214:	90 1f 00 68 	stw     r0,104(r31)                            
  the_watchdog->user_data = user_data;                                
ffc0a218:	90 1f 00 6c 	stw     r0,108(r31)                            
ffc0a21c:	41 be 00 18 	beq+    cr7,ffc0a234 <_Thread_Initialize+0xcc> 
    extensions_area = _Workspace_Allocate(                            
ffc0a220:	38 63 00 01 	addi    r3,r3,1                                
ffc0a224:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
ffc0a228:	48 00 11 41 	bl      ffc0b368 <_Workspace_Allocate>         
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
ffc0a22c:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc0a230:	41 82 00 cc 	beq-    ffc0a2fc <_Thread_Initialize+0x194>    
   * 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 ) {                                     
ffc0a234:	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;                 
ffc0a238:	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 ) {                                     
ffc0a23c:	41 9e 00 2c 	beq-    cr7,ffc0a268 <_Thread_Initialize+0x100>
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
ffc0a240:	3d 20 00 00 	lis     r9,0                                   
ffc0a244:	81 49 27 c4 	lwz     r10,10180(r9)                          
 *  all memory associated with this thread.  It completes by adding   
 *  the thread to the local object table so operations on this        
 *  thread id are allowed.                                            
 */                                                                   
                                                                      
bool _Thread_Initialize(                                              
ffc0a248:	39 7d ff fc 	addi    r11,r29,-4                             
ffc0a24c:	39 20 00 00 	li      r9,0                                   
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
      the_thread->extensions[i] = NULL;                               
ffc0a250:	38 00 00 00 	li      r0,0                                   
ffc0a254:	48 00 00 0c 	b       ffc0a260 <_Thread_Initialize+0xf8>     
ffc0a258:	94 0b 00 04 	stwu    r0,4(r11)                              
   * 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++ )              
ffc0a25c:	39 29 00 01 	addi    r9,r9,1                                
ffc0a260:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc0a264:	40 9d ff f4 	ble+    cr7,ffc0a258 <_Thread_Initialize+0xf0> 
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
ffc0a268:	80 01 00 38 	lwz     r0,56(r1)                              
 */                                                                   
RTEMS_INLINE_ROUTINE void* _Scheduler_Allocate(                       
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  return _Scheduler.Operations.allocate( the_thread );                
ffc0a26c:	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;                         
ffc0a270:	3b 80 00 00 	li      r28,0                                  
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
ffc0a274:	9b 5f 00 a0 	stb     r26,160(r31)                           
ffc0a278:	7f e3 fb 78 	mr      r3,r31                                 
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
ffc0a27c:	90 1f 00 a8 	stw     r0,168(r31)                            
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
ffc0a280:	80 01 00 3c 	lwz     r0,60(r1)                              
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
ffc0a284:	92 ff 00 a4 	stw     r23,164(r31)                           
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
ffc0a288:	90 1f 00 ac 	stw     r0,172(r31)                            
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
ffc0a28c:	38 00 00 01 	li      r0,1                                   
ffc0a290:	90 1f 00 10 	stw     r0,16(r31)                             
ffc0a294:	80 09 20 1c 	lwz     r0,8220(r9)                            
  the_thread->Wait.queue              = NULL;                         
ffc0a298:	93 9f 00 44 	stw     r28,68(r31)                            
ffc0a29c:	7c 09 03 a6 	mtctr   r0                                     
  the_thread->resource_count          = 0;                            
ffc0a2a0:	93 9f 00 1c 	stw     r28,28(r31)                            
  the_thread->real_priority           = priority;                     
ffc0a2a4:	93 7f 00 18 	stw     r27,24(r31)                            
  the_thread->Start.initial_priority  = priority;                     
ffc0a2a8:	93 7f 00 b0 	stw     r27,176(r31)                           
ffc0a2ac:	4e 80 04 21 	bctrl                                          
  sched =_Scheduler_Allocate( the_thread );                           
  if ( !sched )                                                       
ffc0a2b0:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc0a2b4:	41 82 00 4c 	beq-    ffc0a300 <_Thread_Initialize+0x198>    
    goto failed;                                                      
  _Thread_Set_priority( the_thread, priority );                       
ffc0a2b8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a2bc:	7f 64 db 78 	mr      r4,r27                                 
ffc0a2c0:	48 00 06 cd 	bl      ffc0a98c <_Thread_Set_priority>        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
ffc0a2c4:	a0 1f 00 0a 	lhz     r0,10(r31)                             
                                                                      
   _Workspace_Free( sched );                                          
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
}                                                                     
ffc0a2c8:	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 );    
ffc0a2cc:	7f e3 fb 78 	mr      r3,r31                                 
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc0a2d0:	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 );             
ffc0a2d4:	93 9f 00 84 	stw     r28,132(r31)                           
ffc0a2d8:	93 9f 00 88 	stw     r28,136(r31)                           
ffc0a2dc:	7f e9 01 2e 	stwx    r31,r9,r0                              
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
ffc0a2e0:	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 );    
ffc0a2e4:	48 00 0b d5 	bl      ffc0aeb8 <_User_extensions_Thread_create>
  if ( extension_status )                                             
    return true;                                                      
ffc0a2e8:	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 )                                             
ffc0a2ec:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0a2f0:	41 be 00 10 	beq+    cr7,ffc0a300 <_Thread_Initialize+0x198>
ffc0a2f4:	48 00 00 48 	b       ffc0a33c <_Thread_Initialize+0x1d4>    
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
ffc0a2f8:	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;                                  
ffc0a2fc:	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 );                          
ffc0a300:	80 7f 01 28 	lwz     r3,296(r31)                            
ffc0a304:	48 00 10 99 	bl      ffc0b39c <_Workspace_Free>             
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    _Workspace_Free( the_thread->API_Extensions[i] );                 
ffc0a308:	80 7f 01 2c 	lwz     r3,300(r31)                            
ffc0a30c:	48 00 10 91 	bl      ffc0b39c <_Workspace_Free>             
ffc0a310:	80 7f 01 30 	lwz     r3,304(r31)                            
ffc0a314:	48 00 10 89 	bl      ffc0b39c <_Workspace_Free>             
                                                                      
  _Workspace_Free( extensions_area );                                 
ffc0a318:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a31c:	48 00 10 81 	bl      ffc0b39c <_Workspace_Free>             
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    _Workspace_Free( fp_area );                                       
ffc0a320:	7f 23 cb 78 	mr      r3,r25                                 
ffc0a324:	48 00 10 79 	bl      ffc0b39c <_Workspace_Free>             
  #endif                                                              
                                                                      
   _Workspace_Free( sched );                                          
ffc0a328:	7f 43 d3 78 	mr      r3,r26                                 
ffc0a32c:	48 00 10 71 	bl      ffc0b39c <_Workspace_Free>             
                                                                      
   _Thread_Stack_Free( the_thread );                                  
ffc0a330:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a334:	48 00 07 ad 	bl      ffc0aae0 <_Thread_Stack_Free>          
  return false;                                                       
ffc0a338:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc0a33c:	39 61 00 30 	addi    r11,r1,48                              
ffc0a340:	7c 03 03 78 	mr      r3,r0                                  
ffc0a344:	48 00 9d f8 	b       ffc1413c <_restgpr_23_x>               
                                                                      

ffc0b97c <_Thread_Restart>: bool _Thread_Restart( Thread_Control *the_thread, void *pointer_argument, Thread_Entry_numeric_type numeric_argument ) {
ffc0b97c:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0b980:	7c 08 02 a6 	mflr    r0                                     
ffc0b984:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0b988:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0b98c:	48 00 f3 89 	bl      ffc1ad14 <_savegpr_31>                 
      _Thread_Restart_self();                                         
                                                                      
    return true;                                                      
  }                                                                   
                                                                      
  return false;                                                       
ffc0b990:	38 00 00 00 	li      r0,0                                   
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_dormant (                        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_DORMANT);                              
ffc0b994:	81 23 00 10 	lwz     r9,16(r3)                              
bool _Thread_Restart(                                                 
  Thread_Control            *the_thread,                              
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
ffc0b998:	7c 7f 1b 78 	mr      r31,r3                                 
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
ffc0b99c:	71 2b 00 01 	andi.   r11,r9,1                               
ffc0b9a0:	40 a2 00 70 	bne+    ffc0ba10 <_Thread_Restart+0x94>        
                                                                      
    _Thread_Set_transient( the_thread );                              
ffc0b9a4:	90 81 00 08 	stw     r4,8(r1)                               
ffc0b9a8:	90 a1 00 0c 	stw     r5,12(r1)                              
ffc0b9ac:	48 00 00 fd 	bl      ffc0baa8 <_Thread_Set_transient>       
                                                                      
    _Thread_Reset( the_thread, pointer_argument, numeric_argument );  
ffc0b9b0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b9b4:	80 81 00 08 	lwz     r4,8(r1)                               
ffc0b9b8:	80 a1 00 0c 	lwz     r5,12(r1)                              
ffc0b9bc:	48 00 31 0d 	bl      ffc0eac8 <_Thread_Reset>               
                                                                      
    _Thread_Load_environment( the_thread );                           
ffc0b9c0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b9c4:	48 00 2d c5 	bl      ffc0e788 <_Thread_Load_environment>    
                                                                      
    _Thread_Ready( the_thread );                                      
ffc0b9c8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b9cc:	48 00 30 b5 	bl      ffc0ea80 <_Thread_Ready>               
                                                                      
    _User_extensions_Thread_restart( the_thread );                    
ffc0b9d0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b9d4:	48 00 06 45 	bl      ffc0c018 <_User_extensions_Thread_restart>
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
ffc0b9d8:	3d 20 00 00 	lis     r9,0                                   
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
ffc0b9dc:	81 29 2d e4 	lwz     r9,11748(r9)                           
      _Thread_Restart_self();                                         
                                                                      
    return true;                                                      
ffc0b9e0:	38 00 00 01 	li      r0,1                                   
                                                                      
    _Thread_Ready( the_thread );                                      
                                                                      
    _User_extensions_Thread_restart( the_thread );                    
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
ffc0b9e4:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
ffc0b9e8:	40 be 00 28 	bne+    cr7,ffc0ba10 <_Thread_Restart+0x94>    
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Restart_self( void )                
{                                                                     
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
  if ( _Thread_Executing->fp_context != NULL )                        
ffc0b9ec:	80 1f 01 24 	lwz     r0,292(r31)                            
ffc0b9f0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0b9f4:	41 9e 00 0c 	beq-    cr7,ffc0ba00 <_Thread_Restart+0x84>    <== NEVER TAKEN
    _Context_Restore_fp( &_Thread_Executing->fp_context );            
ffc0b9f8:	38 7f 01 24 	addi    r3,r31,292                             
ffc0b9fc:	48 00 f4 85 	bl      ffc1ae80 <_CPU_Context_restore_fp>     
#endif                                                                
                                                                      
  _CPU_Context_Restart_self( &_Thread_Executing->Registers );         
ffc0ba00:	3d 20 00 00 	lis     r9,0                                   
ffc0ba04:	80 69 2d e4 	lwz     r3,11748(r9)                           
ffc0ba08:	38 63 00 c4 	addi    r3,r3,196                              
ffc0ba0c:	48 00 f6 35 	bl      ffc1b040 <_CPU_Context_restore>        
                                                                      
    return true;                                                      
  }                                                                   
                                                                      
  return false;                                                       
}                                                                     
ffc0ba10:	39 61 00 18 	addi    r11,r1,24                              
ffc0ba14:	7c 03 03 78 	mr      r3,r0                                  
ffc0ba18:	4b ff 53 40 	b       ffc00d58 <_restgpr_31_x>               
                                                                      

ffc0a8d4 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
ffc0a8d4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0a8d8:	7c 08 02 a6 	mflr    r0                                     
ffc0a8dc:	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 )                                            
ffc0a8e0:	7c 7f 1b 79 	mr.     r31,r3                                 
                                                                      
void _Thread_queue_Requeue(                                           
  Thread_queue_Control *the_thread_queue,                             
  Thread_Control       *the_thread                                    
)                                                                     
{                                                                     
ffc0a8e4:	7c 9e 23 78 	mr      r30,r4                                 
ffc0a8e8:	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 )                                            
ffc0a8ec:	41 82 00 54 	beq-    ffc0a940 <_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 ) {
ffc0a8f0:	80 1f 00 34 	lwz     r0,52(r31)                             
ffc0a8f4:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc0a8f8:	40 be 00 48 	bne+    cr7,ffc0a940 <_Thread_queue_Requeue+0x6c><== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0a8fc:	7f a0 00 a6 	mfmsr   r29                                    
ffc0a900:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0a904:	7f a9 48 78 	andc    r9,r29,r9                              
ffc0a908:	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 ) ) {
ffc0a90c:	3d 60 00 03 	lis     r11,3                                  
ffc0a910:	81 24 00 10 	lwz     r9,16(r4)                              
ffc0a914:	61 6b be e0 	ori     r11,r11,48864                          
ffc0a918:	7d 6a 48 39 	and.    r10,r11,r9                             
ffc0a91c:	41 a2 00 20 	beq+    ffc0a93c <_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;
ffc0a920:	90 1f 00 30 	stw     r0,48(r31)                             
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
ffc0a924:	38 a0 00 01 	li      r5,1                                   
ffc0a928:	48 00 2e 61 	bl      ffc0d788 <_Thread_queue_Extract_priority_helper>
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
ffc0a92c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a930:	7f c4 f3 78 	mr      r4,r30                                 
ffc0a934:	38 a1 00 08 	addi    r5,r1,8                                
ffc0a938:	4b ff fd 0d 	bl      ffc0a644 <_Thread_queue_Enqueue_priority>
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0a93c:	7f a0 01 24 	mtmsr   r29                                    
    }                                                                 
    _ISR_Enable( level );                                             
  }                                                                   
}                                                                     
ffc0a940:	39 61 00 28 	addi    r11,r1,40                              
ffc0a944:	48 00 98 10 	b       ffc14154 <_restgpr_29_x>               
                                                                      

ffc0a948 <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
ffc0a948:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0a94c:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0a950:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
void _Thread_queue_Timeout(                                           
  Objects_Id  id,                                                     
  void       *ignored __attribute__((unused))                         
)                                                                     
{                                                                     
ffc0a954:	90 01 00 1c 	stw     r0,28(r1)                              
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0a958:	4b ff f7 65 	bl      ffc0a0bc <_Thread_Get>                 
  switch ( location ) {                                               
ffc0a95c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0a960:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0a964:	40 9e 00 18 	bne-    cr7,ffc0a97c <_Thread_queue_Timeout+0x34><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
ffc0a968:	48 00 2f 15 	bl      ffc0d87c <_Thread_queue_Process_timeout>
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unnest_dispatch( void )             
{                                                                     
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
  _Thread_Dispatch_disable_level -= 1;                                
ffc0a96c:	3d 20 00 00 	lis     r9,0                                   
ffc0a970:	81 69 27 a4 	lwz     r11,10148(r9)                          
ffc0a974:	38 0b ff ff 	addi    r0,r11,-1                              
ffc0a978:	90 09 27 a4 	stw     r0,10148(r9)                           
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
ffc0a97c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0a980:	38 21 00 18 	addi    r1,r1,24                               
ffc0a984:	7c 08 03 a6 	mtlr    r0                                     
ffc0a988:	4e 80 00 20 	blr                                            
                                                                      

ffc18fc8 <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
ffc18fc8:	94 21 ff 98 	stwu    r1,-104(r1)                            
ffc18fcc:	7c 08 02 a6 	mflr    r0                                     
ffc18fd0:	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;                                                  
ffc18fd4:	3a 81 00 0c 	addi    r20,r1,12                              
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc18fd8:	3a 21 00 08 	addi    r17,r1,8                               
ffc18fdc:	90 01 00 6c 	stw     r0,108(r1)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc18fe0:	3b 81 00 14 	addi    r28,r1,20                              
  head->previous = NULL;                                              
ffc18fe4:	38 00 00 00 	li      r0,0                                   
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc18fe8:	3b 61 00 18 	addi    r27,r1,24                              
ffc18fec:	92 81 00 08 	stw     r20,8(r1)                              
ffc18ff0:	7c 7f 1b 78 	mr      r31,r3                                 
  head->previous = NULL;                                              
ffc18ff4:	90 01 00 0c 	stw     r0,12(r1)                              
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
ffc18ff8:	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 );  
ffc18ffc:	3b 43 00 30 	addi    r26,r3,48                              
  tail->previous = head;                                              
ffc19000:	92 21 00 10 	stw     r17,16(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();
ffc19004:	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 ); 
ffc19008:	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;                                                  
ffc1900c:	93 61 00 14 	stw     r27,20(r1)                             
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
    return _Chain_Get_first_unprotected(the_chain);                   
  else                                                                
    return NULL;                                                      
ffc19010:	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;                                             
ffc19014:	3a c0 00 00 	li      r22,0                                  
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc19018:	90 01 00 18 	stw     r0,24(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;                                              
ffc1901c:	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 );        
ffc19020:	3b 03 00 08 	addi    r24,r3,8                               
  tail->previous = head;                                              
ffc19024:	93 81 00 1c 	stw     r28,28(r1)                             
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
ffc19028:	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;                                    
ffc1902c:	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;            
ffc19030:	80 12 28 d8 	lwz     r0,10456(r18)                          
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc19034:	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;      
ffc19038:	80 9f 00 3c 	lwz     r4,60(r31)                             
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc1903c:	7f 43 d3 78 	mr      r3,r26                                 
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
ffc19040:	90 1f 00 3c 	stw     r0,60(r31)                             
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc19044:	7c 84 00 50 	subf    r4,r4,r0                               
ffc19048:	48 00 49 05 	bl      ffc1d94c <_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();
ffc1904c:	83 d3 28 b4 	lwz     r30,10420(r19)                         
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
ffc19050:	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 ) {                                   
ffc19054:	7f 9e 28 40 	cmplw   cr7,r30,r5                             
ffc19058:	40 bd 00 18 	ble+    cr7,ffc19070 <_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 );
ffc1905c:	7c 85 f0 50 	subf    r4,r5,r30                              
ffc19060:	7f a3 eb 78 	mr      r3,r29                                 
ffc19064:	7f 85 e3 78 	mr      r5,r28                                 
ffc19068:	48 00 48 e5 	bl      ffc1d94c <_Watchdog_Adjust_to_chain>   
ffc1906c:	48 00 00 18 	b       ffc19084 <_Timer_server_Body+0xbc>     
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
ffc19070:	40 bc 00 14 	bge+    cr7,ffc19084 <_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 ); 
ffc19074:	7f a3 eb 78 	mr      r3,r29                                 
ffc19078:	38 80 00 01 	li      r4,1                                   
ffc1907c:	7c be 28 50 	subf    r5,r30,r5                              
ffc19080:	48 00 48 15 	bl      ffc1d894 <_Watchdog_Adjust>            
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
ffc19084:	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 );
ffc19088:	80 7f 00 78 	lwz     r3,120(r31)                            
ffc1908c:	48 00 0b 71 	bl      ffc19bfc <_Chain_Get>                  
                                                                      
    if ( timer == NULL ) {                                            
ffc19090:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc19094:	41 82 00 2c 	beq-    ffc190c0 <_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 ) {                 
ffc19098:	80 1e 00 38 	lwz     r0,56(r30)                             
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
ffc1909c:	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 ) {                 
ffc190a0:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc190a4:	41 9e 00 10 	beq-    cr7,ffc190b4 <_Timer_server_Body+0xec> 
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
ffc190a8:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc190ac:	40 9e ff dc 	bne+    cr7,ffc19088 <_Timer_server_Body+0xc0> <== NEVER TAKEN
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
ffc190b0:	7f a3 eb 78 	mr      r3,r29                                 
ffc190b4:	38 9e 00 10 	addi    r4,r30,16                              
ffc190b8:	48 00 49 49 	bl      ffc1da00 <_Watchdog_Insert>            
ffc190bc:	4b ff ff cc 	b       ffc19088 <_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 );                                            
ffc190c0:	4b ff fe 21 	bl      ffc18ee0 <ppc_interrupt_disable>       
    if ( _Chain_Is_empty( insert_chain ) ) {                          
ffc190c4:	80 01 00 08 	lwz     r0,8(r1)                               
ffc190c8:	7f 80 a0 00 	cmpw    cr7,r0,r20                             
ffc190cc:	40 be 00 1c 	bne+    cr7,ffc190e8 <_Timer_server_Body+0x120><== NEVER TAKEN
      ts->insert_chain = NULL;                                        
ffc190d0:	93 df 00 78 	stw     r30,120(r31)                           
ffc190d4:	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 ) ) {                          
ffc190d8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc190dc:	7f 80 d8 00 	cmpw    cr7,r0,r27                             
ffc190e0:	40 be 00 10 	bne+    cr7,ffc190f0 <_Timer_server_Body+0x128>
ffc190e4:	48 00 00 58 	b       ffc1913c <_Timer_server_Body+0x174>    
ffc190e8:	7c 60 01 24 	mtmsr   r3                                     <== NOT EXECUTED
ffc190ec:	4b ff ff 44 	b       ffc19030 <_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 );                                        
ffc190f0:	4b ff fd f1 	bl      ffc18ee0 <ppc_interrupt_disable>       
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
ffc190f4:	81 21 00 14 	lwz     r9,20(r1)                              
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
ffc190f8:	7f 89 d8 00 	cmpw    cr7,r9,r27                             
ffc190fc:	41 9e 00 38 	beq-    cr7,ffc19134 <_Timer_server_Body+0x16c>
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
ffc19100:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
ffc19104:	81 69 00 00 	lwz     r11,0(r9)                              
                                                                      
  head->next = new_first;                                             
ffc19108:	91 61 00 14 	stw     r11,20(r1)                             
  new_first->previous = head;                                         
ffc1910c:	93 8b 00 04 	stw     r28,4(r11)                             
ffc19110:	41 9e 00 24 	beq-    cr7,ffc19134 <_Timer_server_Body+0x16c><== NEVER TAKEN
          watchdog->state = WATCHDOG_INACTIVE;                        
ffc19114:	92 a9 00 08 	stw     r21,8(r9)                              
ffc19118:	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 );    
ffc1911c:	80 09 00 1c 	lwz     r0,28(r9)                              
ffc19120:	80 69 00 20 	lwz     r3,32(r9)                              
ffc19124:	80 89 00 24 	lwz     r4,36(r9)                              
ffc19128:	7c 09 03 a6 	mtctr   r0                                     
ffc1912c:	4e 80 04 21 	bctrl                                          
      }                                                               
ffc19130:	4b ff ff c0 	b       ffc190f0 <_Timer_server_Body+0x128>    
ffc19134:	7c 60 01 24 	mtmsr   r3                                     
ffc19138:	4b ff fe f4 	b       ffc1902c <_Timer_server_Body+0x64>     
    } else {                                                          
      ts->active = false;                                             
ffc1913c:	9a df 00 7c 	stb     r22,124(r31)                           
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
ffc19140:	4b ff fd b5 	bl      ffc18ef4 <_Thread_Disable_dispatch>    
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
ffc19144:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc19148:	38 80 00 08 	li      r4,8                                   
ffc1914c:	48 00 3f f1 	bl      ffc1d13c <_Thread_Set_state>           
        _Timer_server_Reset_interval_system_watchdog( ts );           
ffc19150:	7f e3 fb 78 	mr      r3,r31                                 
ffc19154:	4b ff fd b5 	bl      ffc18f08 <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
ffc19158:	7f e3 fb 78 	mr      r3,r31                                 
ffc1915c:	4b ff fe 0d 	bl      ffc18f68 <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
ffc19160:	48 00 36 1d 	bl      ffc1c77c <_Thread_Enable_dispatch>     
                                                                      
      ts->active = true;                                              
ffc19164:	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 );        
ffc19168:	7f 03 c3 78 	mr      r3,r24                                 
ffc1916c:	48 00 49 f1 	bl      ffc1db5c <_Watchdog_Remove>            
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
ffc19170:	7f 23 cb 78 	mr      r3,r25                                 
ffc19174:	48 00 49 e9 	bl      ffc1db5c <_Watchdog_Remove>            
ffc19178:	4b ff fe b4 	b       ffc1902c <_Timer_server_Body+0x64>     
                                                                      

ffc1917c <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
ffc1917c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc19180:	7c 08 02 a6 	mflr    r0                                     
ffc19184:	90 01 00 14 	stw     r0,20(r1)                              
  if ( ts->insert_chain == NULL ) {                                   
ffc19188:	80 03 00 78 	lwz     r0,120(r3)                             
                                                                      
static void _Timer_server_Schedule_operation_method(                  
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
ffc1918c:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc19190:	7c 7f 1b 78 	mr      r31,r3                                 
  if ( ts->insert_chain == NULL ) {                                   
ffc19194:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
static void _Timer_server_Schedule_operation_method(                  
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
ffc19198:	7c 9e 23 78 	mr      r30,r4                                 
  if ( ts->insert_chain == NULL ) {                                   
ffc1919c:	40 be 01 00 	bne+    cr7,ffc1929c <_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();                                         
ffc191a0:	4b ff fd 55 	bl      ffc18ef4 <_Thread_Disable_dispatch>    
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
ffc191a4:	80 1e 00 38 	lwz     r0,56(r30)                             
ffc191a8:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc191ac:	40 be 00 6c 	bne+    cr7,ffc19218 <_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 );                                            
ffc191b0:	4b ff fd 31 	bl      ffc18ee0 <ppc_interrupt_disable>       
    snapshot = _Watchdog_Ticks_since_boot;                            
ffc191b4:	3d 20 00 00 	lis     r9,0                                   
ffc191b8:	80 09 28 d8 	lwz     r0,10456(r9)                           
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc191bc:	39 7f 00 34 	addi    r11,r31,52                             
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
ffc191c0:	81 3f 00 30 	lwz     r9,48(r31)                             
     *  We have to advance the last known ticks value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = _Watchdog_Ticks_since_boot;                            
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
ffc191c4:	81 5f 00 3c 	lwz     r10,60(r31)                            
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
ffc191c8:	7f 89 58 00 	cmpw    cr7,r9,r11                             
ffc191cc:	41 9e 00 20 	beq-    cr7,ffc191ec <_Timer_server_Schedule_operation_method+0x70>
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
ffc191d0:	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;                               
ffc191d4:	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;                                           
ffc191d8:	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) {                                   
ffc191dc:	7f 88 50 40 	cmplw   cr7,r8,r10                             
ffc191e0:	40 9d 00 08 	ble-    cr7,ffc191e8 <_Timer_server_Schedule_operation_method+0x6c>
        delta_interval -= delta;                                      
ffc191e4:	7d 6a 40 50 	subf    r11,r10,r8                             
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
ffc191e8:	91 69 00 10 	stw     r11,16(r9)                             
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
ffc191ec:	90 1f 00 3c 	stw     r0,60(r31)                             
ffc191f0:	7c 60 01 24 	mtmsr   r3                                     
    _ISR_Enable( level );                                             
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
ffc191f4:	38 7f 00 30 	addi    r3,r31,48                              
ffc191f8:	38 9e 00 10 	addi    r4,r30,16                              
ffc191fc:	48 00 48 05 	bl      ffc1da00 <_Watchdog_Insert>            
                                                                      
    if ( !ts->active ) {                                              
ffc19200:	88 1f 00 7c 	lbz     r0,124(r31)                            
ffc19204:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc19208:	40 be 00 8c 	bne+    cr7,ffc19294 <_Timer_server_Schedule_operation_method+0x118>
      _Timer_server_Reset_interval_system_watchdog( ts );             
ffc1920c:	7f e3 fb 78 	mr      r3,r31                                 
ffc19210:	4b ff fc f9 	bl      ffc18f08 <_Timer_server_Reset_interval_system_watchdog>
ffc19214:	48 00 00 80 	b       ffc19294 <_Timer_server_Schedule_operation_method+0x118>
    }                                                                 
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
ffc19218:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc1921c:	40 be 00 78 	bne+    cr7,ffc19294 <_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 );                                            
ffc19220:	4b ff fc c1 	bl      ffc18ee0 <ppc_interrupt_disable>       
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
ffc19224:	3d 20 00 00 	lis     r9,0                                   
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
ffc19228:	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();        
ffc1922c:	80 09 28 b4 	lwz     r0,10420(r9)                           
ffc19230:	39 7f 00 6c 	addi    r11,r31,108                            
      initialized = false;                                            
    }                                                                 
  #endif                                                              
                                                                      
  return status;                                                      
}                                                                     
ffc19234:	81 3f 00 68 	lwz     r9,104(r31)                            
     *  the watchdog chain accordingly.                               
     */                                                               
    _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 ) ) {             
ffc19238:	7f 89 58 00 	cmpw    cr7,r9,r11                             
ffc1923c:	41 9e 00 30 	beq-    cr7,ffc1926c <_Timer_server_Schedule_operation_method+0xf0>
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
      if ( snapshot > last_snapshot ) {                               
ffc19240:	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;                
ffc19244:	81 49 00 10 	lwz     r10,16(r9)                             
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
ffc19248:	7d 6a 42 14 	add     r11,r10,r8                             
        delta_interval += delta;                                      
ffc1924c:	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 ) {                               
ffc19250:	40 9d 00 18 	ble-    cr7,ffc19268 <_Timer_server_Schedule_operation_method+0xec>
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
ffc19254:	7d 08 00 50 	subf    r8,r8,r0                               
        if (delta_interval > delta) {                                 
ffc19258:	7f 8a 40 40 	cmplw   cr7,r10,r8                             
          delta_interval -= delta;                                    
        } else {                                                      
          delta_interval = 0;                                         
ffc1925c:	39 60 00 00 	li      r11,0                                  
      if ( snapshot > last_snapshot ) {                               
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
        if (delta_interval > delta) {                                 
ffc19260:	40 9d 00 08 	ble-    cr7,ffc19268 <_Timer_server_Schedule_operation_method+0xec><== NEVER TAKEN
          delta_interval -= delta;                                    
ffc19264:	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;                
ffc19268:	91 69 00 10 	stw     r11,16(r9)                             
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
ffc1926c:	90 1f 00 74 	stw     r0,116(r31)                            
ffc19270:	7c 60 01 24 	mtmsr   r3                                     
    _ISR_Enable( level );                                             
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
ffc19274:	38 7f 00 68 	addi    r3,r31,104                             
ffc19278:	38 9e 00 10 	addi    r4,r30,16                              
ffc1927c:	48 00 47 85 	bl      ffc1da00 <_Watchdog_Insert>            
                                                                      
    if ( !ts->active ) {                                              
ffc19280:	88 1f 00 7c 	lbz     r0,124(r31)                            
ffc19284:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc19288:	40 be 00 0c 	bne+    cr7,ffc19294 <_Timer_server_Schedule_operation_method+0x118>
      _Timer_server_Reset_tod_system_watchdog( ts );                  
ffc1928c:	7f e3 fb 78 	mr      r3,r31                                 
ffc19290:	4b ff fc d9 	bl      ffc18f68 <_Timer_server_Reset_tod_system_watchdog>
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
ffc19294:	48 00 34 e9 	bl      ffc1c77c <_Thread_Enable_dispatch>     
ffc19298:	48 00 00 0c 	b       ffc192a4 <_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 );           
ffc1929c:	80 63 00 78 	lwz     r3,120(r3)                             
ffc192a0:	48 00 09 05 	bl      ffc19ba4 <_Chain_Append>               
  }                                                                   
}                                                                     
ffc192a4:	39 61 00 10 	addi    r11,r1,16                              
ffc192a8:	4b ff 50 f8 	b       ffc0e3a0 <_restgpr_30_x>               
                                                                      

ffc0cd10 <_Timespec_Less_than>: bool _Timespec_Less_than( const struct timespec *lhs, const struct timespec *rhs ) { if ( lhs->tv_sec < rhs->tv_sec )
ffc0cd10:	81 63 00 00 	lwz     r11,0(r3)                              
                                                                      
bool _Timespec_Less_than(                                             
  const struct timespec *lhs,                                         
  const struct timespec *rhs                                          
)                                                                     
{                                                                     
ffc0cd14:	7c 69 1b 78 	mr      r9,r3                                  
  if ( lhs->tv_sec < rhs->tv_sec )                                    
ffc0cd18:	80 04 00 00 	lwz     r0,0(r4)                               
    return true;                                                      
ffc0cd1c:	38 60 00 01 	li      r3,1                                   
bool _Timespec_Less_than(                                             
  const struct timespec *lhs,                                         
  const struct timespec *rhs                                          
)                                                                     
{                                                                     
  if ( lhs->tv_sec < rhs->tv_sec )                                    
ffc0cd20:	7f 8b 00 00 	cmpw    cr7,r11,r0                             
ffc0cd24:	4d 9c 00 20 	bltlr   cr7                                    
    return true;                                                      
                                                                      
  if ( lhs->tv_sec > rhs->tv_sec )                                    
ffc0cd28:	41 9d 00 1c 	bgt-    cr7,ffc0cd44 <_Timespec_Less_than+0x34><== NEVER TAKEN
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/timespec.h>                                     
#include <rtems/score/tod.h>                                          
                                                                      
bool _Timespec_Less_than(                                             
ffc0cd2c:	81 29 00 04 	lwz     r9,4(r9)                               
ffc0cd30:	80 04 00 04 	lwz     r0,4(r4)                               
ffc0cd34:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0cd38:	7c 60 00 26 	mfcr    r3                                     
ffc0cd3c:	54 63 ef fe 	rlwinm  r3,r3,29,31,31                         
ffc0cd40:	4e 80 00 20 	blr                                            
{                                                                     
  if ( lhs->tv_sec < rhs->tv_sec )                                    
    return true;                                                      
                                                                      
  if ( lhs->tv_sec > rhs->tv_sec )                                    
    return false;                                                     
ffc0cd44:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
  /* ASSERT: lhs->tv_sec == rhs->tv_sec */                            
  if ( lhs->tv_nsec < rhs->tv_nsec )                                  
    return true;                                                      
                                                                      
  return false;                                                       
}                                                                     
ffc0cd48:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc0ad00 <_User_extensions_Handler_initialization>: #include <rtems/score/userext.h> #include <rtems/score/wkspace.h> #include <string.h> void _User_extensions_Handler_initialization(void) {
ffc0ad00:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0ad04:	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;  
ffc0ad08:	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)                    
{                                                                     
ffc0ad0c:	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;  
ffc0ad10:	39 29 20 d0 	addi    r9,r9,8400                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0ad14:	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)                    
{                                                                     
ffc0ad18:	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;          
ffc0ad1c:	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;  
ffc0ad20:	83 c9 00 38 	lwz     r30,56(r9)                             
ffc0ad24:	39 2b 2d 54 	addi    r9,r11,11604                           
  initial_extensions   = Configuration.User_extension_table;          
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
ffc0ad28:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc0ad2c:	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;                                                  
ffc0ad30:	38 09 00 04 	addi    r0,r9,4                                
ffc0ad34:	90 0b 2d 54 	stw     r0,11604(r11)                          
  head->previous = NULL;                                              
ffc0ad38:	38 00 00 00 	li      r0,0                                   
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0ad3c:	3d 60 00 00 	lis     r11,0                                  
  head->previous = NULL;                                              
ffc0ad40:	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;                                                  
ffc0ad44:	39 2b 2c 30 	addi    r9,r11,11312                           
ffc0ad48:	39 49 00 04 	addi    r10,r9,4                               
ffc0ad4c:	91 4b 2c 30 	stw     r10,11312(r11)                         
  head->previous = NULL;                                              
ffc0ad50:	90 09 00 04 	stw     r0,4(r9)                               
  tail->previous = head;                                              
ffc0ad54:	91 29 00 08 	stw     r9,8(r9)                               
ffc0ad58:	41 9e 00 54 	beq-    cr7,ffc0adac <_User_extensions_Handler_initialization+0xac><== NEVER TAKEN
    extension = (User_extensions_Control *)                           
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
ffc0ad5c:	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 *)                           
      _Workspace_Allocate_or_fatal_error(                             
ffc0ad60:	7f 83 e3 78 	mr      r3,r28                                 
ffc0ad64:	48 00 06 65 	bl      ffc0b3c8 <_Workspace_Allocate_or_fatal_error>
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
ffc0ad68:	7f 85 e3 78 	mr      r5,r28                                 
ffc0ad6c:	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 *)                           
      _Workspace_Allocate_or_fatal_error(                             
ffc0ad70:	7c 7f 1b 78 	mr      r31,r3                                 
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
ffc0ad74:	48 00 51 49 	bl      ffc0febc <memset>                      
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
ffc0ad78:	3b 80 00 00 	li      r28,0                                  
ffc0ad7c:	48 00 00 28 	b       ffc0ada4 <_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)                    
ffc0ad80:	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;                             
ffc0ad84:	38 9f 00 14 	addi    r4,r31,20                              
ffc0ad88:	7c 7d 1a 14 	add     r3,r29,r3                              
ffc0ad8c:	7c a3 04 aa 	lswi    r5,r3,32                               
ffc0ad90:	7c a4 05 aa 	stswi   r5,r4,32                               
                                                                      
  _User_extensions_Add_set( extension );                              
ffc0ad94:	7f e3 fb 78 	mr      r3,r31                                 
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
ffc0ad98:	3b 9c 00 01 	addi    r28,r28,1                              
ffc0ad9c:	48 00 2b 91 	bl      ffc0d92c <_User_extensions_Add_set>    
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
ffc0ada0:	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++ ) {                  
ffc0ada4:	7f 9c f0 40 	cmplw   cr7,r28,r30                            
ffc0ada8:	41 9c ff d8 	blt+    cr7,ffc0ad80 <_User_extensions_Handler_initialization+0x80>
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
    }                                                                 
  }                                                                   
}                                                                     
ffc0adac:	39 61 00 18 	addi    r11,r1,24                              
ffc0adb0:	48 00 93 a0 	b       ffc14150 <_restgpr_28_x>               
                                                                      

ffc0d154 <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
ffc0d154:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0d158:	7c 08 02 a6 	mflr    r0                                     
ffc0d15c:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc0d160:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0d164:	7c be 2b 78 	mr      r30,r5                                 
ffc0d168:	90 01 00 24 	stw     r0,36(r1)                              
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0d16c:	7c 00 00 a6 	mfmsr   r0                                     
ffc0d170:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0d174:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0d178:	7d 20 01 24 	mtmsr   r9                                     
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
ffc0d17c:	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 );                            
ffc0d180:	3b 83 00 04 	addi    r28,r3,4                               
   *       hence the compiler must not assume *header to remain       
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
ffc0d184:	7f 89 e0 00 	cmpw    cr7,r9,r28                             
ffc0d188:	41 9e 00 78 	beq-    cr7,ffc0d200 <_Watchdog_Adjust+0xac>   
    switch ( direction ) {                                            
ffc0d18c:	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;            
ffc0d190:	3b 60 00 01 	li      r27,1                                  
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
    switch ( direction ) {                                            
ffc0d194:	41 9e 00 64 	beq-    cr7,ffc0d1f8 <_Watchdog_Adjust+0xa4>   
ffc0d198:	2f 84 00 01 	cmpwi   cr7,r4,1                               
ffc0d19c:	40 be 00 64 	bne+    cr7,ffc0d200 <_Watchdog_Adjust+0xac>   <== NEVER TAKEN
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
ffc0d1a0:	81 69 00 10 	lwz     r11,16(r9)                             
ffc0d1a4:	7f cb 2a 14 	add     r30,r11,r5                             
ffc0d1a8:	48 00 00 18 	b       ffc0d1c0 <_Watchdog_Adjust+0x6c>       
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_First(               
  Chain_Control *header                                               
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) _Chain_First( header ) );             
ffc0d1ac:	81 3f 00 00 	lwz     r9,0(r31)                              
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
ffc0d1b0:	83 a9 00 10 	lwz     r29,16(r9)                             
ffc0d1b4:	7f 9e e8 40 	cmplw   cr7,r30,r29                            
ffc0d1b8:	40 bc 00 10 	bge+    cr7,ffc0d1c8 <_Watchdog_Adjust+0x74>   
            _Watchdog_First( header )->delta_interval -= units;       
ffc0d1bc:	7f de e8 50 	subf    r30,r30,r29                            
ffc0d1c0:	93 c9 00 10 	stw     r30,16(r9)                             
            break;                                                    
ffc0d1c4:	48 00 00 3c 	b       ffc0d200 <_Watchdog_Adjust+0xac>       
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
ffc0d1c8:	93 69 00 10 	stw     r27,16(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0d1cc:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
            _ISR_Enable( level );                                     
                                                                      
            _Watchdog_Tickle( header );                               
ffc0d1d0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d1d4:	48 00 02 3d 	bl      ffc0d410 <_Watchdog_Tickle>            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0d1d8:	7c 00 00 a6 	mfmsr   r0                                     
ffc0d1dc:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0d1e0:	7c 09 48 78 	andc    r9,r0,r9                               
ffc0d1e4:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
            _ISR_Disable( level );                                    
                                                                      
            if ( _Chain_Is_empty( header ) )                          
ffc0d1e8:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc0d1ec:	7f 89 e0 00 	cmpw    cr7,r9,r28                             
ffc0d1f0:	41 9e 00 10 	beq-    cr7,ffc0d200 <_Watchdog_Adjust+0xac>   
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
ffc0d1f4:	7f dd f0 50 	subf    r30,r29,r30                            
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
ffc0d1f8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0d1fc:	40 9e ff b0 	bne+    cr7,ffc0d1ac <_Watchdog_Adjust+0x58>   <== ALWAYS TAKEN
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0d200:	7c 00 01 24 	mtmsr   r0                                     
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
ffc0d204:	39 61 00 20 	addi    r11,r1,32                              
ffc0d208:	4b ff 41 38 	b       ffc01340 <_restgpr_27_x>               
                                                                      

ffc0b198 <_Watchdog_Remove>: */ Watchdog_States _Watchdog_Remove( Watchdog_Control *the_watchdog ) {
ffc0b198:	7c 69 1b 78 	mr      r9,r3                                  
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0b19c:	7c 00 00 a6 	mfmsr   r0                                     
ffc0b1a0:	7d 70 42 a6 	mfsprg  r11,0                                  
ffc0b1a4:	7c 0b 58 78 	andc    r11,r0,r11                             
ffc0b1a8:	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;                               
ffc0b1ac:	80 63 00 08 	lwz     r3,8(r3)                               
  switch ( previous_state ) {                                         
ffc0b1b0:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc0b1b4:	41 9e 00 18 	beq-    cr7,ffc0b1cc <_Watchdog_Remove+0x34>   
ffc0b1b8:	2b 83 00 01 	cmplwi  cr7,r3,1                               
ffc0b1bc:	41 9c 00 70 	blt-    cr7,ffc0b22c <_Watchdog_Remove+0x94>   
ffc0b1c0:	2b 83 00 03 	cmplwi  cr7,r3,3                               
ffc0b1c4:	41 9d 00 68 	bgt-    cr7,ffc0b22c <_Watchdog_Remove+0x94>   <== NEVER TAKEN
ffc0b1c8:	48 00 00 10 	b       ffc0b1d8 <_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;                        
ffc0b1cc:	39 60 00 00 	li      r11,0                                  
ffc0b1d0:	91 69 00 08 	stw     r11,8(r9)                              
      break;                                                          
ffc0b1d4:	48 00 00 58 	b       ffc0b22c <_Watchdog_Remove+0x94>       
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
ffc0b1d8:	39 60 00 00 	li      r11,0                                  
ffc0b1dc:	91 69 00 08 	stw     r11,8(r9)                              
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
ffc0b1e0:	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) )                            
ffc0b1e4:	81 4b 00 00 	lwz     r10,0(r11)                             
ffc0b1e8:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0b1ec:	41 9e 00 14 	beq-    cr7,ffc0b200 <_Watchdog_Remove+0x68>   
        next_watchdog->delta_interval += the_watchdog->delta_interval;
ffc0b1f0:	81 0b 00 10 	lwz     r8,16(r11)                             
ffc0b1f4:	81 49 00 10 	lwz     r10,16(r9)                             
ffc0b1f8:	7d 48 52 14 	add     r10,r8,r10                             
ffc0b1fc:	91 4b 00 10 	stw     r10,16(r11)                            
                                                                      
      if ( _Watchdog_Sync_count )                                     
ffc0b200:	3d 40 00 00 	lis     r10,0                                  
ffc0b204:	81 4a 27 dc 	lwz     r10,10204(r10)                         
ffc0b208:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0b20c:	41 9e 00 14 	beq-    cr7,ffc0b220 <_Watchdog_Remove+0x88>   
        _Watchdog_Sync_level = _ISR_Nest_level;                       
ffc0b210:	3d 40 00 00 	lis     r10,0                                  
ffc0b214:	81 0a 2d a0 	lwz     r8,11680(r10)                          
ffc0b218:	3d 40 00 00 	lis     r10,0                                  
ffc0b21c:	91 0a 27 cc 	stw     r8,10188(r10)                          
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
ffc0b220:	81 49 00 04 	lwz     r10,4(r9)                              
  next->previous = previous;                                          
ffc0b224:	91 4b 00 04 	stw     r10,4(r11)                             
  previous->next = next;                                              
ffc0b228:	91 6a 00 00 	stw     r11,0(r10)                             
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
ffc0b22c:	3d 60 00 00 	lis     r11,0                                  
ffc0b230:	81 6b 27 e0 	lwz     r11,10208(r11)                         
ffc0b234:	91 69 00 18 	stw     r11,24(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0b238:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
ffc0b23c:	4e 80 00 20 	blr                                            
                                                                      

ffc0c998 <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
ffc0c998:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0c99c:	7c 08 02 a6 	mflr    r0                                     
ffc0c9a0:	bf 81 00 08 	stmw    r28,8(r1)                              
ffc0c9a4:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0c9a8:	7c 9f 23 78 	mr      r31,r4                                 
ffc0c9ac:	90 01 00 1c 	stw     r0,28(r1)                              
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0c9b0:	7f a0 00 a6 	mfmsr   r29                                    
ffc0c9b4:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc0c9b8:	7f a0 00 78 	andc    r0,r29,r0                              
ffc0c9bc:	7c 00 01 24 	mtmsr   r0                                     
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
ffc0c9c0:	3c 60 ff c2 	lis     r3,-62                                 
ffc0c9c4:	7f e5 fb 78 	mr      r5,r31                                 
ffc0c9c8:	38 63 e0 6c 	addi    r3,r3,-8084                            
ffc0c9cc:	7f c4 f3 78 	mr      r4,r30                                 
ffc0c9d0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0c9d4:	4b ff 96 d9 	bl      ffc060ac <printk>                      
      printk( "== end of %s \n", name );                              
    } else {                                                          
      printk( "Chain is empty\n" );                                   
    }                                                                 
  _ISR_Enable( level );                                               
}                                                                     
ffc0c9d8:	83 9f 00 00 	lwz     r28,0(r31)                             
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0c9dc:	3b ff 00 04 	addi    r31,r31,4                              
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
ffc0c9e0:	7f 9c f8 00 	cmpw    cr7,r28,r31                            
ffc0c9e4:	41 9e 00 34 	beq-    cr7,ffc0ca18 <_Watchdog_Report_chain+0x80>
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
ffc0c9e8:	7f 84 e3 78 	mr      r4,r28                                 
ffc0c9ec:	38 60 00 00 	li      r3,0                                   
ffc0c9f0:	48 00 00 45 	bl      ffc0ca34 <_Watchdog_Report>            
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = _Chain_First( header ) ;                           
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
ffc0c9f4:	83 9c 00 00 	lwz     r28,0(r28)                             
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = _Chain_First( header ) ;                           
ffc0c9f8:	7f 9c f8 00 	cmpw    cr7,r28,r31                            
ffc0c9fc:	40 9e ff ec 	bne+    cr7,ffc0c9e8 <_Watchdog_Report_chain+0x50><== NEVER TAKEN
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
ffc0ca00:	3c 60 ff c2 	lis     r3,-62                                 
ffc0ca04:	38 63 e0 83 	addi    r3,r3,-8061                            
ffc0ca08:	7f c4 f3 78 	mr      r4,r30                                 
ffc0ca0c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0ca10:	4b ff 96 9d 	bl      ffc060ac <printk>                      
ffc0ca14:	48 00 00 14 	b       ffc0ca28 <_Watchdog_Report_chain+0x90> 
    } else {                                                          
      printk( "Chain is empty\n" );                                   
ffc0ca18:	3c 60 ff c2 	lis     r3,-62                                 
ffc0ca1c:	38 63 e0 92 	addi    r3,r3,-8046                            
ffc0ca20:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0ca24:	4b ff 96 89 	bl      ffc060ac <printk>                      
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0ca28:	7f a0 01 24 	mtmsr   r29                                    
    }                                                                 
  _ISR_Enable( level );                                               
}                                                                     
ffc0ca2c:	39 61 00 18 	addi    r11,r1,24                              
ffc0ca30:	4b ff 44 94 	b       ffc00ec4 <_restgpr_28_x>               
                                                                      

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

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

ffc08fd4 <_rename_r>: int _rename_r( struct _reent *ptr __attribute__((unused)), const char *old, const char *new ) {
ffc08fd4:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc08fd8:	7d 80 00 26 	mfcr    r12                                    
ffc08fdc:	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 );              
ffc08fe0:	7c 83 23 78 	mr      r3,r4                                  
int _rename_r(                                                        
  struct _reent *ptr __attribute__((unused)),                         
  const char    *old,                                                 
  const char    *new                                                  
)                                                                     
{                                                                     
ffc08fe4:	bf 41 00 60 	stmw    r26,96(r1)                             
ffc08fe8:	7c 9d 23 78 	mr      r29,r4                                 
ffc08fec:	7c bb 2b 78 	mr      r27,r5                                 
ffc08ff0:	90 01 00 7c 	stw     r0,124(r1)                             
ffc08ff4:	91 81 00 5c 	stw     r12,92(r1)                             
                                                                      
  /*                                                                  
   *  Get the parent node of the old path to be renamed. Find the parent path.
   */                                                                 
                                                                      
  old_parent_pathlen = rtems_filesystem_dirname ( old );              
ffc08ff8:	4b ff e7 b5 	bl      ffc077ac <rtems_filesystem_dirname>    
                                                                      
  if ( old_parent_pathlen == 0 )                                      
ffc08ffc:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc09000:	38 c1 00 24 	addi    r6,r1,36                               
ffc09004:	40 82 00 1c 	bne-    ffc09020 <_rename_r+0x4c>              
    rtems_filesystem_get_start_loc( old, &i, &old_parent_loc );       
ffc09008:	7f a3 eb 78 	mr      r3,r29                                 
ffc0900c:	38 81 00 08 	addi    r4,r1,8                                
ffc09010:	7c c5 33 78 	mr      r5,r6                                  
ffc09014:	48 00 03 99 	bl      ffc093ac <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;     
ffc09018:	3b c0 00 00 	li      r30,0                                  
ffc0901c:	48 00 00 28 	b       ffc09044 <_rename_r+0x70>              
  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, 
ffc09020:	7f a3 eb 78 	mr      r3,r29                                 
ffc09024:	7f 44 d3 78 	mr      r4,r26                                 
ffc09028:	38 a0 00 02 	li      r5,2                                   
ffc0902c:	38 e0 00 00 	li      r7,0                                   
ffc09030:	4b ff e7 21 	bl      ffc07750 <rtems_filesystem_evaluate_path>
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &old_parent_loc,         
                                             false );                 
    if ( result != 0 )                                                
      return -1;                                                      
ffc09034:	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 )                                                
ffc09038:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0903c:	40 9e 01 5c 	bne-    cr7,ffc09198 <_rename_r+0x1c4>         <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_old_parentloc = true;                                        
ffc09040:	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;                                           
ffc09044:	3b 81 00 10 	addi    r28,r1,16                              
ffc09048:	3b e1 00 24 	addi    r31,r1,36                              
ffc0904c:	7c bf a4 aa 	lswi    r5,r31,20                              
ffc09050:	7c bc a5 aa 	stswi   r5,r28,20                              
  name = old + old_parent_pathlen;                                    
ffc09054:	7f bd d2 14 	add     r29,r29,r26                            
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc09058:	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;                                    
ffc0905c:	93 a1 00 0c 	stw     r29,12(r1)                             
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc09060:	48 00 e0 15 	bl      ffc17074 <strlen>                      
ffc09064:	7c 64 1b 78 	mr      r4,r3                                  
ffc09068:	7f a3 eb 78 	mr      r3,r29                                 
ffc0906c:	4b ff e7 89 	bl      ffc077f4 <rtems_filesystem_prefix_separators>
ffc09070:	7f bd 1a 14 	add     r29,r29,r3                             
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
ffc09074:	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 ) ); 
ffc09078:	93 a1 00 0c 	stw     r29,12(r1)                             
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
ffc0907c:	48 00 df f9 	bl      ffc17074 <strlen>                      
ffc09080:	38 a0 00 00 	li      r5,0                                   
ffc09084:	7c 64 1b 78 	mr      r4,r3                                  
ffc09088:	7f 86 e3 78 	mr      r6,r28                                 
ffc0908c:	7f a3 eb 78 	mr      r3,r29                                 
ffc09090:	38 e0 00 00 	li      r7,0                                   
ffc09094:	4b ff e6 39 	bl      ffc076cc <rtems_filesystem_evaluate_relative_path>
                                                    0, &old_loc, false );
  if ( result != 0 ) {                                                
ffc09098:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0909c:	41 be 00 18 	beq+    cr7,ffc090b4 <_rename_r+0xe0>          
    if ( free_old_parentloc )                                         
ffc090a0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
      rtems_filesystem_freenode( &old_parent_loc );                   
    return -1;                                                        
ffc090a4:	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 );                   
ffc090a8:	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 )                                         
ffc090ac:	41 be 00 ec 	beq+    cr7,ffc09198 <_rename_r+0x1c4>         <== NEVER TAKEN
ffc090b0:	48 00 00 e4 	b       ffc09194 <_rename_r+0x1c0>             
                                                                      
  /*                                                                  
   * Get the parent of the new node we are renaming to.               
   */                                                                 
                                                                      
  rtems_filesystem_get_start_loc( new, &i, &new_parent_loc );         
ffc090b4:	3b a1 00 38 	addi    r29,r1,56                              
ffc090b8:	7f 63 db 78 	mr      r3,r27                                 
ffc090bc:	38 81 00 08 	addi    r4,r1,8                                
ffc090c0:	7f a5 eb 78 	mr      r5,r29                                 
ffc090c4:	48 00 02 e9 	bl      ffc093ac <rtems_filesystem_get_start_loc>
                                                                      
  result = (*new_parent_loc.ops->evalformake_h)( &new[i], &new_parent_loc, &name );
ffc090c8:	81 21 00 44 	lwz     r9,68(r1)                              
ffc090cc:	80 61 00 08 	lwz     r3,8(r1)                               
ffc090d0:	7f a4 eb 78 	mr      r4,r29                                 
ffc090d4:	80 09 00 04 	lwz     r0,4(r9)                               
ffc090d8:	38 a1 00 0c 	addi    r5,r1,12                               
ffc090dc:	7c 7b 1a 14 	add     r3,r27,r3                              
ffc090e0:	7c 09 03 a6 	mtctr   r0                                     
ffc090e4:	4e 80 04 21 	bctrl                                          
  if ( result != 0 ) {                                                
ffc090e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc090ec:	41 be 00 28 	beq+    cr7,ffc09114 <_rename_r+0x140>         
    rtems_filesystem_freenode( &new_parent_loc );                     
ffc090f0:	7f a3 eb 78 	mr      r3,r29                                 
ffc090f4:	4b ff e9 99 	bl      ffc07a8c <rtems_filesystem_freenode>   
    if ( free_old_parentloc )                                         
ffc090f8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc090fc:	41 be 00 0c 	beq+    cr7,ffc09108 <_rename_r+0x134>         <== NEVER TAKEN
      rtems_filesystem_freenode( &old_parent_loc );                   
ffc09100:	7f e3 fb 78 	mr      r3,r31                                 
ffc09104:	4b ff e9 89 	bl      ffc07a8c <rtems_filesystem_freenode>   
    rtems_filesystem_freenode( &old_loc );                            
ffc09108:	38 61 00 10 	addi    r3,r1,16                               
ffc0910c:	4b ff e9 81 	bl      ffc07a8c <rtems_filesystem_freenode>   
ffc09110:	48 00 00 40 	b       ffc09150 <_rename_r+0x17c>             
  /*                                                                  
   *  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 ) {         
ffc09114:	80 01 00 48 	lwz     r0,72(r1)                              
ffc09118:	2e 1e 00 00 	cmpwi   cr4,r30,0                              
ffc0911c:	81 21 00 34 	lwz     r9,52(r1)                              
ffc09120:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc09124:	41 be 00 34 	beq+    cr7,ffc09158 <_rename_r+0x184>         
    rtems_filesystem_freenode( &new_parent_loc );                     
ffc09128:	7f a3 eb 78 	mr      r3,r29                                 
ffc0912c:	4b ff e9 61 	bl      ffc07a8c <rtems_filesystem_freenode>   
    if ( free_old_parentloc )                                         
ffc09130:	41 b2 00 0c 	beq+    cr4,ffc0913c <_rename_r+0x168>         
      rtems_filesystem_freenode( &old_parent_loc );                   
ffc09134:	7f e3 fb 78 	mr      r3,r31                                 
ffc09138:	4b ff e9 55 	bl      ffc07a8c <rtems_filesystem_freenode>   
    rtems_filesystem_freenode( &old_loc );                            
ffc0913c:	38 61 00 10 	addi    r3,r1,16                               
ffc09140:	4b ff e9 4d 	bl      ffc07a8c <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( EXDEV );                    
ffc09144:	48 00 a5 bd 	bl      ffc13700 <__errno>                     
ffc09148:	38 00 00 12 	li      r0,18                                  
ffc0914c:	90 03 00 00 	stw     r0,0(r3)                               
ffc09150:	3b 80 ff ff 	li      r28,-1                                 
ffc09154:	48 00 00 44 	b       ffc09198 <_rename_r+0x1c4>             
  }                                                                   
                                                                      
  result = (*new_parent_loc.ops->rename_h)( &old_parent_loc, &old_loc, &new_parent_loc, name );
ffc09158:	81 21 00 44 	lwz     r9,68(r1)                              
ffc0915c:	7f 84 e3 78 	mr      r4,r28                                 
ffc09160:	7f e3 fb 78 	mr      r3,r31                                 
ffc09164:	80 c1 00 0c 	lwz     r6,12(r1)                              
ffc09168:	80 09 00 40 	lwz     r0,64(r9)                              
ffc0916c:	7f a5 eb 78 	mr      r5,r29                                 
ffc09170:	7c 09 03 a6 	mtctr   r0                                     
ffc09174:	4e 80 04 21 	bctrl                                          
ffc09178:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  rtems_filesystem_freenode( &new_parent_loc );                       
ffc0917c:	7f a3 eb 78 	mr      r3,r29                                 
ffc09180:	4b ff e9 0d 	bl      ffc07a8c <rtems_filesystem_freenode>   
  if ( free_old_parentloc )                                           
ffc09184:	41 b2 00 0c 	beq+    cr4,ffc09190 <_rename_r+0x1bc>         
    rtems_filesystem_freenode( &old_parent_loc );                     
ffc09188:	7f e3 fb 78 	mr      r3,r31                                 
ffc0918c:	4b ff e9 01 	bl      ffc07a8c <rtems_filesystem_freenode>   
  rtems_filesystem_freenode( &old_loc );                              
ffc09190:	38 61 00 10 	addi    r3,r1,16                               
ffc09194:	4b ff e8 f9 	bl      ffc07a8c <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc09198:	81 81 00 5c 	lwz     r12,92(r1)                             
ffc0919c:	39 61 00 78 	addi    r11,r1,120                             
ffc091a0:	7f 83 e3 78 	mr      r3,r28                                 
ffc091a4:	7d 80 81 20 	mtcrf   8,r12                                  
ffc091a8:	4b ff a3 b8 	b       ffc03560 <_restgpr_26_x>               
                                                                      

ffc04194 <chroot>: #include <rtems/seterr.h> int chroot( const char *pathname ) {
ffc04194:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc04198:	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) {             
ffc0419c:	3d 20 00 00 	lis     r9,0                                   
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
ffc041a0:	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) {             
ffc041a4:	3f c0 00 00 	lis     r30,0                                  
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
ffc041a8:	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) {             
ffc041ac:	83 fe 26 f4 	lwz     r31,9972(r30)                          
#include <rtems/seterr.h>                                             
                                                                      
int chroot(                                                           
  const char *pathname                                                
)                                                                     
{                                                                     
ffc041b0:	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) {             
ffc041b4:	38 09 2a d8 	addi    r0,r9,10968                            
ffc041b8:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
ffc041bc:	40 be 00 24 	bne+    cr7,ffc041e0 <chroot+0x4c>             
   rtems_libio_set_private_env(); /* try to set a new private env*/   
ffc041c0:	48 00 15 69 	bl      ffc05728 <rtems_libio_set_private_env> 
   if (rtems_current_user_env == &rtems_global_user_env) /* not ok */ 
ffc041c4:	80 1e 26 f4 	lwz     r0,9972(r30)                           
ffc041c8:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc041cc:	40 be 00 14 	bne+    cr7,ffc041e0 <chroot+0x4c>             
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
ffc041d0:	48 00 b5 19 	bl      ffc0f6e8 <__errno>                     
ffc041d4:	38 00 00 86 	li      r0,134                                 
ffc041d8:	90 03 00 00 	stw     r0,0(r3)                               
ffc041dc:	48 00 00 28 	b       ffc04204 <chroot+0x70>                 
  }                                                                   
                                                                      
  result = chdir(pathname);                                           
ffc041e0:	7f a3 eb 78 	mr      r3,r29                                 
ffc041e4:	48 00 8a 05 	bl      ffc0cbe8 <chdir>                       
  if (result) {                                                       
ffc041e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc041ec:	41 be 00 20 	beq+    cr7,ffc0420c <chroot+0x78>             
    rtems_set_errno_and_return_minus_one( errno );                    
ffc041f0:	48 00 b4 f9 	bl      ffc0f6e8 <__errno>                     
ffc041f4:	7c 7f 1b 78 	mr      r31,r3                                 
ffc041f8:	48 00 b4 f1 	bl      ffc0f6e8 <__errno>                     
ffc041fc:	80 03 00 00 	lwz     r0,0(r3)                               
ffc04200:	90 1f 00 00 	stw     r0,0(r31)                              
ffc04204:	38 60 ff ff 	li      r3,-1                                  
ffc04208:	48 00 00 50 	b       ffc04258 <chroot+0xc4>                 
  }                                                                   
                                                                      
  /* clone the new root location */                                   
  if (rtems_filesystem_evaluate_path(".", 1, 0, &loc, 0)) {           
ffc0420c:	3c 60 ff c1 	lis     r3,-63                                 
ffc04210:	3b e1 00 08 	addi    r31,r1,8                               
ffc04214:	38 63 64 f0 	addi    r3,r3,25840                            
ffc04218:	38 80 00 01 	li      r4,1                                   
ffc0421c:	38 a0 00 00 	li      r5,0                                   
ffc04220:	7f e6 fb 78 	mr      r6,r31                                 
ffc04224:	38 e0 00 00 	li      r7,0                                   
ffc04228:	48 00 01 49 	bl      ffc04370 <rtems_filesystem_evaluate_path>
ffc0422c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04230:	40 be ff c0 	bne-    cr7,ffc041f0 <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);                  
ffc04234:	3f c0 00 00 	lis     r30,0                                  
ffc04238:	80 7e 26 f4 	lwz     r3,9972(r30)                           
ffc0423c:	38 63 00 18 	addi    r3,r3,24                               
ffc04240:	48 00 02 25 	bl      ffc04464 <rtems_filesystem_freenode>   
  rtems_filesystem_root = loc;                                        
ffc04244:	81 7e 26 f4 	lwz     r11,9972(r30)                          
                                                                      
  return 0;                                                           
ffc04248:	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;                                        
ffc0424c:	39 6b 00 18 	addi    r11,r11,24                             
ffc04250:	7c bf a4 aa 	lswi    r5,r31,20                              
ffc04254:	7c ab a5 aa 	stswi   r5,r11,20                              
                                                                      
  return 0;                                                           
}                                                                     
ffc04258:	39 61 00 38 	addi    r11,r1,56                              
ffc0425c:	48 01 03 7c 	b       ffc145d8 <_restgpr_29_x>               
                                                                      

ffc0c1f8 <devFS_evaluate_path>: const char *pathname, size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc ) {
ffc0c1f8:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0c1fc:	7c 08 02 a6 	mflr    r0                                     
ffc0c200:	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 ) )                         
ffc0c204:	54 a0 00 39 	rlwinm. r0,r5,0,0,28                           
  const char                        *pathname,                        
  size_t                             pathnamelen,                     
  int                                flags,                           
  rtems_filesystem_location_info_t  *pathloc                          
)                                                                     
{                                                                     
ffc0c208:	bf 21 00 0c 	stmw    r25,12(r1)                             
ffc0c20c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0c210:	7c 9f 23 78 	mr      r31,r4                                 
ffc0c214:	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 ) )                         
ffc0c218:	41 a2 00 10 	beq+    ffc0c228 <devFS_evaluate_path+0x30>    <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EPERM );                    
ffc0c21c:	48 00 1c 09 	bl      ffc0de24 <__errno>                     <== NOT EXECUTED
ffc0c220:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0c224:	48 00 00 a0 	b       ffc0c2c4 <devFS_evaluate_path+0xcc>    <== NOT EXECUTED
                                                                      
  /* get the device name table */                                     
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
ffc0c228:	83 86 00 00 	lwz     r28,0(r6)                              
  if (!device_name_table)                                             
ffc0c22c:	3b 60 00 00 	li      r27,0                                  
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
ffc0c230:	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)                                             
ffc0c234:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0c238:	40 be 00 78 	bne+    cr7,ffc0c2b0 <devFS_evaluate_path+0xb8>
    rtems_set_errno_and_return_minus_one( EFAULT );                   
ffc0c23c:	48 00 1b e9 	bl      ffc0de24 <__errno>                     
ffc0c240:	38 00 00 0e 	li      r0,14                                  
ffc0c244:	48 00 00 80 	b       ffc0c2c4 <devFS_evaluate_path+0xcc>    
                                                                      
  for (i = 0; i < rtems_device_table_size; i++) {                     
    if (!device_name_table[i].device_name)                            
ffc0c248:	83 5c 00 00 	lwz     r26,0(r28)                             
ffc0c24c:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0c250:	41 9e 00 58 	beq-    cr7,ffc0c2a8 <devFS_evaluate_path+0xb0>
      continue;                                                       
                                                                      
    if (strncmp(pathname, device_name_table[i].device_name, pathnamelen) != 0)
ffc0c254:	7f c3 f3 78 	mr      r3,r30                                 
ffc0c258:	7f 44 d3 78 	mr      r4,r26                                 
ffc0c25c:	7f e5 fb 78 	mr      r5,r31                                 
ffc0c260:	48 00 35 3d 	bl      ffc0f79c <strncmp>                     
ffc0c264:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c268:	40 9e 00 40 	bne-    cr7,ffc0c2a8 <devFS_evaluate_path+0xb0>
      continue;                                                       
                                                                      
    if (device_name_table[i].device_name[pathnamelen] != '\0')        
ffc0c26c:	7c 1a f8 ae 	lbzx    r0,r26,r31                             
ffc0c270:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c274:	40 be 00 34 	bne+    cr7,ffc0c2a8 <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;                         
ffc0c278:	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];             
ffc0c27c:	93 9d 00 00 	stw     r28,0(r29)                             
    pathloc->handlers = &devFS_file_handlers;                         
ffc0c280:	38 09 21 78 	addi    r0,r9,8568                             
    pathloc->ops = &devFS_ops;                                        
ffc0c284:	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;                         
ffc0c288:	90 1d 00 08 	stw     r0,8(r29)                              
    pathloc->ops = &devFS_ops;                                        
ffc0c28c:	38 09 21 b0 	addi    r0,r9,8624                             
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
ffc0c290:	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;                                        
ffc0c294:	90 1d 00 0c 	stw     r0,12(r29)                             
    pathloc->mt_entry = rtems_filesystem_root.mt_entry;               
ffc0c298:	81 29 27 74 	lwz     r9,10100(r9)                           
ffc0c29c:	80 09 00 28 	lwz     r0,40(r9)                              
ffc0c2a0:	90 1d 00 10 	stw     r0,16(r29)                             
    return 0;                                                         
ffc0c2a4:	48 00 00 28 	b       ffc0c2cc <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++) {                     
ffc0c2a8:	3b 7b 00 01 	addi    r27,r27,1                              
ffc0c2ac:	3b 9c 00 14 	addi    r28,r28,20                             
ffc0c2b0:	80 19 27 30 	lwz     r0,10032(r25)                          
ffc0c2b4:	7f 9b 00 40 	cmplw   cr7,r27,r0                             
ffc0c2b8:	41 9c ff 90 	blt+    cr7,ffc0c248 <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 );                     
ffc0c2bc:	48 00 1b 69 	bl      ffc0de24 <__errno>                     
ffc0c2c0:	38 00 00 02 	li      r0,2                                   
ffc0c2c4:	90 03 00 00 	stw     r0,0(r3)                               
ffc0c2c8:	38 60 ff ff 	li      r3,-1                                  
}                                                                     
ffc0c2cc:	39 61 00 28 	addi    r11,r1,40                              
ffc0c2d0:	48 00 b4 fc 	b       ffc177cc <_restgpr_25_x>               
                                                                      

ffc047a0 <devFS_mknod>: const char *path, mode_t mode, dev_t dev, rtems_filesystem_location_info_t *pathloc ) {
ffc047a0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc047a4:	7c 08 02 a6 	mflr    r0                                     
ffc047a8:	bf 01 00 08 	stmw    r24,8(r1)                              
ffc047ac:	7c 7f 1b 78 	mr      r31,r3                                 
ffc047b0:	7c 9e 23 78 	mr      r30,r4                                 
ffc047b4:	90 01 00 2c 	stw     r0,44(r1)                              
ffc047b8:	7c bd 2b 78 	mr      r29,r5                                 
ffc047bc:	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') &&                         
ffc047c0:	88 03 00 00 	lbz     r0,0(r3)                               
ffc047c4:	2f 80 00 64 	cmpwi   cr7,r0,100                             
ffc047c8:	40 be 00 2c 	bne+    cr7,ffc047f4 <devFS_mknod+0x54>        
ffc047cc:	88 03 00 01 	lbz     r0,1(r3)                               
ffc047d0:	2f 80 00 65 	cmpwi   cr7,r0,101                             
ffc047d4:	40 be 00 20 	bne+    cr7,ffc047f4 <devFS_mknod+0x54>        <== NEVER TAKEN
ffc047d8:	88 03 00 02 	lbz     r0,2(r3)                               
ffc047dc:	2f 80 00 76 	cmpwi   cr7,r0,118                             
ffc047e0:	40 be 00 14 	bne+    cr7,ffc047f4 <devFS_mknod+0x54>        <== NEVER TAKEN
      (path[2] == 'v') && (path[3] == '\0'))                          
ffc047e4:	88 03 00 03 	lbz     r0,3(r3)                               
      return 0;                                                       
ffc047e8:	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'))                          
ffc047ec:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc047f0:	41 9e 00 e4 	beq-    cr7,ffc048d4 <devFS_mknod+0x134>       
      return 0;                                                       
                                                                      
  /* must be a character device or a block device */                  
  if (!S_ISBLK(mode) && !S_ISCHR(mode))                               
ffc047f4:	57 c0 04 26 	rlwinm  r0,r30,0,16,19                         
ffc047f8:	2f 80 60 00 	cmpwi   cr7,r0,24576                           
ffc047fc:	41 9e 00 18 	beq-    cr7,ffc04814 <devFS_mknod+0x74>        
ffc04800:	2f 80 20 00 	cmpwi   cr7,r0,8192                            
ffc04804:	41 be 00 10 	beq+    cr7,ffc04814 <devFS_mknod+0x74>        
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc04808:	48 00 96 1d 	bl      ffc0de24 <__errno>                     
ffc0480c:	38 00 00 16 	li      r0,22                                  
ffc04810:	48 00 00 28 	b       ffc04838 <devFS_mknod+0x98>            
  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;    
ffc04814:	83 47 00 00 	lwz     r26,0(r7)                              
  if (!device_name_table)                                             
ffc04818:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0481c:	41 9e 00 14 	beq-    cr7,ffc04830 <devFS_mknod+0x90>        
ffc04820:	3b 20 ff ff 	li      r25,-1                                 
ffc04824:	3b 60 00 00 	li      r27,0                                  
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  for (slot = -1, i = 0; i < rtems_device_table_size; i++){           
ffc04828:	3f 00 00 00 	lis     r24,0                                  
ffc0482c:	48 00 00 4c 	b       ffc04878 <devFS_mknod+0xd8>            
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
  /* Find an empty slot in device name table */                       
  device_name_table = (rtems_device_name_t *)pathloc->node_access;    
  if (!device_name_table)                                             
    rtems_set_errno_and_return_minus_one( EFAULT );                   
ffc04830:	48 00 95 f5 	bl      ffc0de24 <__errno>                     
ffc04834:	38 00 00 0e 	li      r0,14                                  
ffc04838:	90 03 00 00 	stw     r0,0(r3)                               
ffc0483c:	38 60 ff ff 	li      r3,-1                                  
ffc04840:	48 00 00 94 	b       ffc048d4 <devFS_mknod+0x134>           
#include <stdlib.h>                                                   
                                                                      
#include <rtems/seterr.h>                                             
#include "devfs.h"                                                    
                                                                      
int devFS_mknod(                                                      
ffc04844:	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)                   
ffc04848:	7c 9a 00 2e 	lwzx    r4,r26,r0                              
ffc0484c:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc04850:	41 9e 00 20 	beq-    cr7,ffc04870 <devFS_mknod+0xd0>        
          slot = i;                                                   
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
ffc04854:	7f e3 fb 78 	mr      r3,r31                                 
ffc04858:	48 00 ad ed 	bl      ffc0f644 <strcmp>                      
ffc0485c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04860:	40 be 00 14 	bne+    cr7,ffc04874 <devFS_mknod+0xd4>        
              rtems_set_errno_and_return_minus_one( EEXIST );         
ffc04864:	48 00 95 c1 	bl      ffc0de24 <__errno>                     
ffc04868:	38 00 00 11 	li      r0,17                                  
ffc0486c:	4b ff ff cc 	b       ffc04838 <devFS_mknod+0x98>            
  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;                                                   
ffc04870:	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++){           
ffc04874:	3b 7b 00 01 	addi    r27,r27,1                              
ffc04878:	80 18 27 30 	lwz     r0,10032(r24)                          
ffc0487c:	7f 9b 00 40 	cmplw   cr7,r27,r0                             
ffc04880:	41 9c ff c4 	blt+    cr7,ffc04844 <devFS_mknod+0xa4>        
      else                                                            
          if (strcmp(path, device_name_table[i].device_name) == 0)    
              rtems_set_errno_and_return_minus_one( EEXIST );         
  }                                                                   
                                                                      
  if (slot == -1)                                                     
ffc04884:	2f 99 ff ff 	cmpwi   cr7,r25,-1                             
ffc04888:	40 be 00 10 	bne+    cr7,ffc04898 <devFS_mknod+0xf8>        
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
ffc0488c:	48 00 95 99 	bl      ffc0de24 <__errno>                     
ffc04890:	38 00 00 0c 	li      r0,12                                  
ffc04894:	4b ff ff a4 	b       ffc04838 <devFS_mknod+0x98>            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc04898:	7f 00 00 a6 	mfmsr   r24                                    
ffc0489c:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc048a0:	7f 00 00 78 	andc    r0,r24,r0                              
ffc048a4:	7c 00 01 24 	mtmsr   r0                                     
                                                                      
  _ISR_Disable(level);                                                
  device_name_table[slot].device_name  = (char *)path;                
ffc048a8:	1f 39 00 14 	mulli   r25,r25,20                             
ffc048ac:	7f fa c9 2e 	stwx    r31,r26,r25                            
  device_name_table[slot].device_name_length = strlen(path);          
ffc048b0:	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;                
ffc048b4:	7f 7a ca 14 	add     r27,r26,r25                            
  device_name_table[slot].device_name_length = strlen(path);          
ffc048b8:	48 00 ae 41 	bl      ffc0f6f8 <strlen>                      
  device_name_table[slot].major = major;                              
ffc048bc:	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);          
ffc048c0:	90 7b 00 04 	stw     r3,4(r27)                              
  device_name_table[slot].major = major;                              
  device_name_table[slot].minor = minor;                              
ffc048c4:	93 9b 00 0c 	stw     r28,12(r27)                            
  device_name_table[slot].mode  = mode;                               
ffc048c8:	93 db 00 10 	stw     r30,16(r27)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc048cc:	7f 00 01 24 	mtmsr   r24                                    
  _ISR_Enable(level);                                                 
                                                                      
  return 0;                                                           
ffc048d0:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc048d4:	39 61 00 28 	addi    r11,r1,40                              
ffc048d8:	48 01 2e f0 	b       ffc177c8 <_restgpr_24_x>               
                                                                      

ffc05200 <drainOutput>: /* * Drain output queue */ static void drainOutput (struct rtems_termios_tty *tty) {
ffc05200:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc05204:	7c 08 02 a6 	mflr    r0                                     
ffc05208:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
ffc0520c:	80 03 00 b4 	lwz     r0,180(r3)                             
/*                                                                    
 * Drain output queue                                                 
 */                                                                   
static void                                                           
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
ffc05210:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc05214:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
ffc05218:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0521c:	41 be 00 4c 	beq+    cr7,ffc05268 <drainOutput+0x68>        
    rtems_interrupt_disable (level);                                  
ffc05220:	4b ff ff cd 	bl      ffc051ec <ppc_interrupt_disable>       
    while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {              
      tty->rawOutBufState = rob_wait;                                 
ffc05224:	3b c0 00 02 	li      r30,2                                  
  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) {              
ffc05228:	48 00 00 2c 	b       ffc05254 <drainOutput+0x54>            
      tty->rawOutBufState = rob_wait;                                 
ffc0522c:	93 df 00 94 	stw     r30,148(r31)                           <== NOT EXECUTED
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc05230:	7c 60 01 24 	mtmsr   r3                                     <== NOT EXECUTED
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
ffc05234:	80 7f 00 8c 	lwz     r3,140(r31)                            <== NOT EXECUTED
ffc05238:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc0523c:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc05240:	48 00 26 69 	bl      ffc078a8 <rtems_semaphore_obtain>      <== NOT EXECUTED
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc05244:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc05248:	41 be 00 08 	beq+    cr7,ffc05250 <drainOutput+0x50>        <== NOT EXECUTED
        rtems_fatal_error_occurred (sc);                              
ffc0524c:	48 00 2d d9 	bl      ffc08024 <rtems_fatal_error_occurred>  <== NOT EXECUTED
      rtems_interrupt_disable (level);                                
ffc05250:	4b ff ff 9d 	bl      ffc051ec <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) {              
ffc05254:	81 3f 00 84 	lwz     r9,132(r31)                            
ffc05258:	80 1f 00 80 	lwz     r0,128(r31)                            
ffc0525c:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc05260:	40 9e ff cc 	bne+    cr7,ffc0522c <drainOutput+0x2c>        <== NEVER TAKEN
ffc05264:	7c 60 01 24 	mtmsr   r3                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    rtems_interrupt_enable (level);                                   
  }                                                                   
}                                                                     
ffc05268:	39 61 00 10 	addi    r11,r1,16                              
ffc0526c:	48 00 ee ec 	b       ffc14158 <_restgpr_30_x>               
                                                                      

ffc05edc <echo>: /* * Echo a typed character */ static void echo (unsigned char c, struct rtems_termios_tty *tty) {
ffc05edc:	7c 08 02 a6 	mflr    r0                                     
ffc05ee0:	7c 2b 0b 78 	mr      r11,r1                                 
ffc05ee4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc05ee8:	90 01 00 24 	stw     r0,36(r1)                              
ffc05eec:	48 00 e2 25 	bl      ffc14110 <_savegpr_31>                 
ffc05ef0:	7c 9f 23 78 	mr      r31,r4                                 
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
ffc05ef4:	80 04 00 3c 	lwz     r0,60(r4)                              
ffc05ef8:	70 09 02 00 	andi.   r9,r0,512                              
ffc05efc:	41 82 00 5c 	beq-    ffc05f58 <echo+0x7c>                   <== NEVER TAKEN
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
ffc05f00:	3d 20 00 00 	lis     r9,0                                   
ffc05f04:	81 29 27 24 	lwz     r9,10020(r9)                           
ffc05f08:	7d 29 1a 14 	add     r9,r9,r3                               
ffc05f0c:	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) &&                             
ffc05f10:	70 09 00 20 	andi.   r9,r0,32                               
ffc05f14:	41 82 00 44 	beq-    ffc05f58 <echo+0x7c>                   
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
ffc05f18:	2f 83 00 09 	cmpwi   cr7,r3,9                               
ffc05f1c:	41 9e 00 3c 	beq-    cr7,ffc05f58 <echo+0x7c>               
ffc05f20:	2f 83 00 0a 	cmpwi   cr7,r3,10                              
ffc05f24:	41 be 00 34 	beq+    cr7,ffc05f58 <echo+0x7c>               
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
ffc05f28:	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] = '^';                                                 
ffc05f2c:	38 00 00 5e 	li      r0,94                                  
    echobuf[1] = c ^ 0x40;                                            
ffc05f30:	98 61 00 09 	stb     r3,9(r1)                               
    rtems_termios_puts (echobuf, 2, tty);                             
ffc05f34:	38 80 00 02 	li      r4,2                                   
ffc05f38:	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] = '^';                                                 
ffc05f3c:	98 01 00 08 	stb     r0,8(r1)                               
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
ffc05f40:	7f e5 fb 78 	mr      r5,r31                                 
ffc05f44:	4b ff fd 05 	bl      ffc05c48 <rtems_termios_puts>          
    tty->column += 2;                                                 
ffc05f48:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc05f4c:	38 09 00 02 	addi    r0,r9,2                                
ffc05f50:	90 1f 00 28 	stw     r0,40(r31)                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
ffc05f54:	48 00 00 0c 	b       ffc05f60 <echo+0x84>                   
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
    tty->column += 2;                                                 
  } else {                                                            
    oproc (c, tty);                                                   
ffc05f58:	7f e4 fb 78 	mr      r4,r31                                 
ffc05f5c:	4b ff fe 15 	bl      ffc05d70 <oproc>                       
  }                                                                   
}                                                                     
ffc05f60:	39 61 00 20 	addi    r11,r1,32                              
ffc05f64:	48 00 e1 f8 	b       ffc1415c <_restgpr_31_x>               
                                                                      

ffc05464 <endgrent>: void endgrent(void) { if (group_fp != NULL)
ffc05464:	3d 20 00 00 	lis     r9,0                                   
    fclose(group_fp);                                                 
  group_fp = fopen("/etc/group", "r");                                
}                                                                     
                                                                      
void endgrent(void)                                                   
{                                                                     
ffc05468:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0546c:	7c 08 02 a6 	mflr    r0                                     
  if (group_fp != NULL)                                               
ffc05470:	80 69 2a 1c 	lwz     r3,10780(r9)                           
    fclose(group_fp);                                                 
  group_fp = fopen("/etc/group", "r");                                
}                                                                     
                                                                      
void endgrent(void)                                                   
{                                                                     
ffc05474:	90 01 00 0c 	stw     r0,12(r1)                              
  if (group_fp != NULL)                                               
ffc05478:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0547c:	41 9e 00 08 	beq-    cr7,ffc05484 <endgrent+0x20>           <== NEVER TAKEN
    fclose(group_fp);                                                 
ffc05480:	48 00 b1 49 	bl      ffc105c8 <fclose>                      
}                                                                     
ffc05484:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc05488:	38 21 00 08 	addi    r1,r1,8                                
ffc0548c:	7c 08 03 a6 	mtlr    r0                                     
ffc05490:	4e 80 00 20 	blr                                            
                                                                      

ffc052a4 <endpwent>: void endpwent(void) { if (passwd_fp != NULL)
ffc052a4:	3d 20 00 00 	lis     r9,0                                   
    fclose(passwd_fp);                                                
  passwd_fp = fopen("/etc/passwd", "r");                              
}                                                                     
                                                                      
void endpwent(void)                                                   
{                                                                     
ffc052a8:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc052ac:	7c 08 02 a6 	mflr    r0                                     
  if (passwd_fp != NULL)                                              
ffc052b0:	80 69 29 40 	lwz     r3,10560(r9)                           
    fclose(passwd_fp);                                                
  passwd_fp = fopen("/etc/passwd", "r");                              
}                                                                     
                                                                      
void endpwent(void)                                                   
{                                                                     
ffc052b4:	90 01 00 0c 	stw     r0,12(r1)                              
  if (passwd_fp != NULL)                                              
ffc052b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc052bc:	41 9e 00 08 	beq-    cr7,ffc052c4 <endpwent+0x20>           <== NEVER TAKEN
    fclose(passwd_fp);                                                
ffc052c0:	48 00 b3 09 	bl      ffc105c8 <fclose>                      
}                                                                     
ffc052c4:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc052c8:	38 21 00 08 	addi    r1,r1,8                                
ffc052cc:	7c 08 03 a6 	mtlr    r0                                     
ffc052d0:	4e 80 00 20 	blr                                            
                                                                      

ffc05f68 <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) {
ffc05f68:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc05f6c:	7c 08 02 a6 	mflr    r0                                     
ffc05f70:	7d 80 00 26 	mfcr    r12                                    
ffc05f74:	90 01 00 24 	stw     r0,36(r1)                              
  if (tty->ccount == 0)                                               
ffc05f78:	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)                   
{                                                                     
ffc05f7c:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc05f80:	7c 7f 1b 78 	mr      r31,r3                                 
  if (tty->ccount == 0)                                               
ffc05f84:	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)                   
{                                                                     
ffc05f88:	91 81 00 08 	stw     r12,8(r1)                              
  if (tty->ccount == 0)                                               
ffc05f8c:	41 9e 01 d8 	beq-    cr7,ffc06164 <erase+0x1fc>             
    return;                                                           
  if (lineFlag) {                                                     
ffc05f90:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc05f94:	41 9e 01 ac 	beq-    cr7,ffc06140 <erase+0x1d8>             
    if (!(tty->termios.c_lflag & ECHO)) {                             
ffc05f98:	80 03 00 3c 	lwz     r0,60(r3)                              
ffc05f9c:	70 09 00 08 	andi.   r9,r0,8                                
ffc05fa0:	40 a2 00 0c 	bne+    ffc05fac <erase+0x44>                  <== ALWAYS TAKEN
      tty->ccount = 0;                                                
ffc05fa4:	91 23 00 20 	stw     r9,32(r3)                              <== NOT EXECUTED
      return;                                                         
ffc05fa8:	48 00 01 bc 	b       ffc06164 <erase+0x1fc>                 <== NOT EXECUTED
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
ffc05fac:	70 00 00 10 	andi.   r0,r0,16                               
ffc05fb0:	40 a2 01 90 	bne+    ffc06140 <erase+0x1d8>                 <== ALWAYS TAKEN
      tty->ccount = 0;                                                
ffc05fb4:	90 03 00 20 	stw     r0,32(r3)                              <== NOT EXECUTED
      echo (tty->termios.c_cc[VKILL], tty);                           
ffc05fb8:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc05fbc:	88 63 00 44 	lbz     r3,68(r3)                              <== NOT EXECUTED
ffc05fc0:	4b ff ff 1d 	bl      ffc05edc <echo>                        <== NOT EXECUTED
      if (tty->termios.c_lflag & ECHOK)                               
ffc05fc4:	80 1f 00 3c 	lwz     r0,60(r31)                             <== NOT EXECUTED
        echo ('\n', tty);                                             
ffc05fc8:	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)                               
ffc05fcc:	70 07 00 20 	andi.   r7,r0,32                               <== NOT EXECUTED
ffc05fd0:	41 a2 01 94 	beq+    ffc06164 <erase+0x1fc>                 <== NOT EXECUTED
ffc05fd4:	48 00 00 30 	b       ffc06004 <erase+0x9c>                  <== NOT EXECUTED
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
ffc05fd8:	80 1f 00 3c 	lwz     r0,60(r31)                             
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
ffc05fdc:	39 29 ff ff 	addi    r9,r9,-1                               
ffc05fe0:	81 5f 00 1c 	lwz     r10,28(r31)                            
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
ffc05fe4:	70 0b 00 08 	andi.   r11,r0,8                               
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
ffc05fe8:	91 3f 00 20 	stw     r9,32(r31)                             
ffc05fec:	7f ca 48 ae 	lbzx    r30,r10,r9                             
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
ffc05ff0:	41 82 01 48 	beq-    ffc06138 <erase+0x1d0>                 <== NEVER TAKEN
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
ffc05ff4:	40 92 00 30 	bne-    cr4,ffc06024 <erase+0xbc>              
ffc05ff8:	70 07 00 10 	andi.   r7,r0,16                               
ffc05ffc:	40 a2 00 28 	bne+    ffc06024 <erase+0xbc>                  <== ALWAYS TAKEN
        echo (tty->termios.c_cc[VERASE], tty);                        
ffc06000:	88 7f 00 43 	lbz     r3,67(r31)                             <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc06004:	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);                        
ffc06008:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc0600c:	81 81 00 08 	lwz     r12,8(r1)                              <== NOT EXECUTED
ffc06010:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc06014:	bb 61 00 0c 	lmw     r27,12(r1)                             <== NOT EXECUTED
ffc06018:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc0601c:	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);                        
ffc06020:	4b ff fe bc 	b       ffc05edc <echo>                        <== NOT EXECUTED
      } else if (c == '\t') {                                         
ffc06024:	2f 9e 00 09 	cmpwi   cr7,r30,9                              
ffc06028:	40 be 00 90 	bne+    cr7,ffc060b8 <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)                       
ffc0602c:	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;                             
ffc06030:	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)) {                                   
ffc06034:	81 1d 27 24 	lwz     r8,10020(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;                                                    
ffc06038:	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)                       
ffc0603c:	70 07 02 00 	andi.   r7,r0,512                              
ffc06040:	7d 29 03 a6 	mtctr   r9                                     
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
ffc06044:	48 00 00 40 	b       ffc06084 <erase+0x11c>                 
          c = tty->cbuf[i++];                                         
ffc06048:	7c 0a 58 ae 	lbzx    r0,r10,r11                             
ffc0604c:	39 6b 00 01 	addi    r11,r11,1                              
          if (c == '\t') {                                            
ffc06050:	2f 80 00 09 	cmpwi   cr7,r0,9                               
ffc06054:	40 be 00 0c 	bne+    cr7,ffc06060 <erase+0xf8>              
            col = (col | 7) + 1;                                      
ffc06058:	63 de 00 07 	ori     r30,r30,7                              
ffc0605c:	48 00 00 24 	b       ffc06080 <erase+0x118>                 
          } else if (iscntrl (c)) {                                   
ffc06060:	7d 28 02 14 	add     r9,r8,r0                               
ffc06064:	88 09 00 01 	lbz     r0,1(r9)                               
ffc06068:	54 09 df fe 	rlwinm  r9,r0,27,31,31                         
ffc0606c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc06070:	41 9e 00 10 	beq-    cr7,ffc06080 <erase+0x118>             <== ALWAYS TAKEN
            if (tty->termios.c_lflag & ECHOCTL)                       
ffc06074:	41 82 00 10 	beq-    ffc06084 <erase+0x11c>                 <== NOT EXECUTED
              col += 2;                                               
ffc06078:	3b de 00 02 	addi    r30,r30,2                              <== NOT EXECUTED
ffc0607c:	48 00 00 08 	b       ffc06084 <erase+0x11c>                 <== NOT EXECUTED
          } else {                                                    
            col++;                                                    
ffc06080:	3b de 00 01 	addi    r30,r30,1                              
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
ffc06084:	42 00 ff c4 	bdnz+   ffc06048 <erase+0xe0>                  
ffc06088:	48 00 00 20 	b       ffc060a8 <erase+0x140>                 
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
          rtems_termios_puts ("\b", 1, tty);                          
ffc0608c:	7f 63 db 78 	mr      r3,r27                                 
ffc06090:	38 80 00 01 	li      r4,1                                   
ffc06094:	7f e5 fb 78 	mr      r5,r31                                 
ffc06098:	4b ff fb b1 	bl      ffc05c48 <rtems_termios_puts>          
          tty->column--;                                              
ffc0609c:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc060a0:	38 09 ff ff 	addi    r0,r9,-1                               
ffc060a4:	90 1f 00 28 	stw     r0,40(r31)                             
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
ffc060a8:	80 1f 00 28 	lwz     r0,40(r31)                             
ffc060ac:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc060b0:	41 9d ff dc 	bgt+    cr7,ffc0608c <erase+0x124>             
ffc060b4:	48 00 00 84 	b       ffc06138 <erase+0x1d0>                 
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
ffc060b8:	81 3d 27 24 	lwz     r9,10020(r29)                          
ffc060bc:	3b de 00 01 	addi    r30,r30,1                              
ffc060c0:	7d 29 f0 ae 	lbzx    r9,r9,r30                              
ffc060c4:	71 2b 00 20 	andi.   r11,r9,32                              
ffc060c8:	41 82 00 30 	beq-    ffc060f8 <erase+0x190>                 <== ALWAYS TAKEN
ffc060cc:	70 07 02 00 	andi.   r7,r0,512                              <== NOT EXECUTED
ffc060d0:	41 a2 00 28 	beq+    ffc060f8 <erase+0x190>                 <== NOT EXECUTED
          rtems_termios_puts ("\b \b", 3, tty);                       
ffc060d4:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc060d8:	38 80 00 03 	li      r4,3                                   <== NOT EXECUTED
ffc060dc:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc060e0:	4b ff fb 69 	bl      ffc05c48 <rtems_termios_puts>          <== NOT EXECUTED
          if (tty->column)                                            
ffc060e4:	81 3f 00 28 	lwz     r9,40(r31)                             <== NOT EXECUTED
ffc060e8:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc060ec:	41 9e 00 0c 	beq-    cr7,ffc060f8 <erase+0x190>             <== NOT EXECUTED
            tty->column--;                                            
ffc060f0:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc060f4:	91 3f 00 28 	stw     r9,40(r31)                             <== NOT EXECUTED
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
ffc060f8:	81 3d 27 24 	lwz     r9,10020(r29)                          
ffc060fc:	7c 09 f0 ae 	lbzx    r0,r9,r30                              
ffc06100:	70 09 00 20 	andi.   r9,r0,32                               
ffc06104:	41 82 00 10 	beq-    ffc06114 <erase+0x1ac>                 <== ALWAYS TAKEN
ffc06108:	80 1f 00 3c 	lwz     r0,60(r31)                             <== NOT EXECUTED
ffc0610c:	70 0b 02 00 	andi.   r11,r0,512                             <== NOT EXECUTED
ffc06110:	41 82 00 28 	beq-    ffc06138 <erase+0x1d0>                 <== NOT EXECUTED
          rtems_termios_puts ("\b \b", 3, tty);                       
ffc06114:	7f 83 e3 78 	mr      r3,r28                                 
ffc06118:	38 80 00 03 	li      r4,3                                   
ffc0611c:	7f e5 fb 78 	mr      r5,r31                                 
ffc06120:	4b ff fb 29 	bl      ffc05c48 <rtems_termios_puts>          
          if (tty->column)                                            
ffc06124:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc06128:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0612c:	41 9e 00 0c 	beq-    cr7,ffc06138 <erase+0x1d0>             <== NEVER TAKEN
            tty->column--;                                            
ffc06130:	39 29 ff ff 	addi    r9,r9,-1                               
ffc06134:	91 3f 00 28 	stw     r9,40(r31)                             
        }                                                             
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
ffc06138:	40 b2 00 20 	bne+    cr4,ffc06158 <erase+0x1f0>             
ffc0613c:	48 00 00 28 	b       ffc06164 <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)) {             
ffc06140:	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);                       
ffc06144:	3f 80 ff c1 	lis     r28,-63                                
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
          rtems_termios_puts ("\b", 1, tty);                          
ffc06148:	3f 60 ff c1 	lis     r27,-63                                
ffc0614c:	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);                       
ffc06150:	3b 9c 5d f4 	addi    r28,r28,24052                          
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
          rtems_termios_puts ("\b", 1, tty);                          
ffc06154:	3b 7b 5d f6 	addi    r27,r27,24054                          
        echo ('\n', tty);                                             
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
ffc06158:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc0615c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc06160:	40 9e fe 78 	bne+    cr7,ffc05fd8 <erase+0x70>              
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc06164:	81 81 00 08 	lwz     r12,8(r1)                              
ffc06168:	39 61 00 20 	addi    r11,r1,32                              
ffc0616c:	7d 80 81 20 	mtcrf   8,r12                                  
ffc06170:	48 00 df dc 	b       ffc1414c <_restgpr_27_x>               
                                                                      

ffc04d90 <fcntl>: int fd2; int flags; int mask; int ret = 0; rtems_libio_check_fd( fd );
ffc04d90:	3d 20 00 00 	lis     r9,0                                   
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
ffc04d94:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc04d98:	7c 08 02 a6 	mflr    r0                                     
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc04d9c:	81 09 26 cc 	lwz     r8,9932(r9)                            
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
ffc04da0:	90 01 00 3c 	stw     r0,60(r1)                              
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
ffc04da4:	38 00 00 02 	li      r0,2                                   
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc04da8:	7f 83 40 40 	cmplw   cr7,r3,r8                              
  ...                                                                 
)                                                                     
{                                                                     
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
ffc04dac:	98 01 00 08 	stb     r0,8(r1)                               
ffc04db0:	38 01 00 40 	addi    r0,r1,64                               
ffc04db4:	90 01 00 0c 	stw     r0,12(r1)                              
ffc04db8:	38 01 00 10 	addi    r0,r1,16                               
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
ffc04dbc:	bf a1 00 2c 	stmw    r29,44(r1)                             
ffc04dc0:	7c 9e 23 78 	mr      r30,r4                                 
ffc04dc4:	90 a1 00 18 	stw     r5,24(r1)                              
ffc04dc8:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc04dcc:	90 e1 00 20 	stw     r7,32(r1)                              
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
ffc04dd0:	90 01 00 10 	stw     r0,16(r1)                              
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc04dd4:	40 9c 00 20 	bge-    cr7,ffc04df4 <fcntl+0x64>              
  iop = rtems_libio_iop( fd );                                        
ffc04dd8:	3d 20 00 00 	lis     r9,0                                   
ffc04ddc:	81 49 27 88 	lwz     r10,10120(r9)                          
ffc04de0:	54 7f 30 32 	rlwinm  r31,r3,6,0,25                          
ffc04de4:	7f ea fa 14 	add     r31,r10,r31                            
  rtems_libio_check_is_open(iop);                                     
ffc04de8:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc04dec:	70 60 01 00 	andi.   r0,r3,256                              
ffc04df0:	40 a2 00 10 	bne+    ffc04e00 <fcntl+0x70>                  
ffc04df4:	48 00 b7 e5 	bl      ffc105d8 <__errno>                     
ffc04df8:	38 00 00 09 	li      r0,9                                   
ffc04dfc:	48 00 01 80 	b       ffc04f7c <fcntl+0x1ec>                 
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
ffc04e00:	2b 84 00 09 	cmplwi  cr7,r4,9                               
ffc04e04:	41 9d 01 70 	bgt-    cr7,ffc04f74 <fcntl+0x1e4>             
ffc04e08:	3d 20 ff c1 	lis     r9,-63                                 
ffc04e0c:	39 29 7e 34 	addi    r9,r9,32308                            
ffc04e10:	54 80 10 3a 	rlwinm  r0,r4,2,0,29                           
ffc04e14:	7c 09 00 2e 	lwzx    r0,r9,r0                               
ffc04e18:	7d 20 4a 14 	add     r9,r0,r9                               
ffc04e1c:	7d 29 03 a6 	mtctr   r9                                     
ffc04e20:	4e 80 04 20 	bctr                                           
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
ffc04e24:	89 61 00 08 	lbz     r11,8(r1)                              
ffc04e28:	2b 8b 00 07 	cmplwi  cr7,r11,7                              
ffc04e2c:	41 9d 00 1c 	bgt-    cr7,ffc04e48 <fcntl+0xb8>              <== NEVER TAKEN
ffc04e30:	81 21 00 10 	lwz     r9,16(r1)                              
ffc04e34:	55 60 10 3a 	rlwinm  r0,r11,2,0,29                          
ffc04e38:	39 6b 00 01 	addi    r11,r11,1                              
ffc04e3c:	7d 29 02 14 	add     r9,r9,r0                               
ffc04e40:	99 61 00 08 	stb     r11,8(r1)                              
ffc04e44:	48 00 00 10 	b       ffc04e54 <fcntl+0xc4>                  
ffc04e48:	81 21 00 0c 	lwz     r9,12(r1)                              <== NOT EXECUTED
ffc04e4c:	38 09 00 04 	addi    r0,r9,4                                <== NOT EXECUTED
ffc04e50:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
ffc04e54:	80 09 00 00 	lwz     r0,0(r9)                               
      if ( fd2 )                                                      
ffc04e58:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04e5c:	41 9e 00 1c 	beq-    cr7,ffc04e78 <fcntl+0xe8>              
        diop = rtems_libio_iop( fd2 );                                
ffc04e60:	7f 80 40 40 	cmplw   cr7,r0,r8                              
ffc04e64:	38 60 00 00 	li      r3,0                                   
ffc04e68:	40 9c 00 1c 	bge-    cr7,ffc04e84 <fcntl+0xf4>              <== NEVER TAKEN
ffc04e6c:	54 03 30 32 	rlwinm  r3,r0,6,0,25                           
ffc04e70:	7c 6a 1a 14 	add     r3,r10,r3                              
ffc04e74:	48 00 00 10 	b       ffc04e84 <fcntl+0xf4>                  
      else {                                                          
        /* allocate a file control block */                           
        diop = rtems_libio_allocate();                                
ffc04e78:	48 00 07 01 	bl      ffc05578 <rtems_libio_allocate>        
        if ( diop == 0 ) {                                            
ffc04e7c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc04e80:	41 82 01 34 	beq-    ffc04fb4 <fcntl+0x224>                 <== NEVER TAKEN
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
      diop->pathinfo   = iop->pathinfo;                               
ffc04e84:	39 63 00 1c 	addi    r11,r3,28                              
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
ffc04e88:	80 1f 00 18 	lwz     r0,24(r31)                             
      diop->pathinfo   = iop->pathinfo;                               
ffc04e8c:	38 9f 00 1c 	addi    r4,r31,28                              
ffc04e90:	7c a4 a4 aa 	lswi    r5,r4,20                               
ffc04e94:	7c ab a5 aa 	stswi   r5,r11,20                              
      ret = (int) (diop - rtems_libio_iops);                          
ffc04e98:	3d 20 00 00 	lis     r9,0                                   
ffc04e9c:	83 a9 27 88 	lwz     r29,10120(r9)                          
          ret = -1;                                                   
          break;                                                      
        }                                                             
      }                                                               
                                                                      
      diop->flags      = iop->flags;                                  
ffc04ea0:	90 03 00 18 	stw     r0,24(r3)                              
      diop->pathinfo   = iop->pathinfo;                               
      ret = (int) (diop - rtems_libio_iops);                          
ffc04ea4:	7c 7d 18 50 	subf    r3,r29,r3                              
ffc04ea8:	7c 7d 36 70 	srawi   r29,r3,6                               
ffc04eac:	48 00 00 d8 	b       ffc04f84 <fcntl+0x1f4>                 
      break;                                                          
                                                                      
    case F_GETFD:        /* get f_flags */                            
      ret = ((iop->flags & LIBIO_FLAGS_CLOSE_ON_EXEC) != 0);          
ffc04eb0:	54 7d af fe 	rlwinm  r29,r3,21,31,31                        
ffc04eb4:	48 00 00 d8 	b       ffc04f8c <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 ) )                                        
ffc04eb8:	89 61 00 08 	lbz     r11,8(r1)                              
ffc04ebc:	2b 8b 00 07 	cmplwi  cr7,r11,7                              
ffc04ec0:	41 9d 00 1c 	bgt-    cr7,ffc04edc <fcntl+0x14c>             <== NEVER TAKEN
ffc04ec4:	81 21 00 10 	lwz     r9,16(r1)                              
ffc04ec8:	55 60 10 3a 	rlwinm  r0,r11,2,0,29                          
ffc04ecc:	39 6b 00 01 	addi    r11,r11,1                              
ffc04ed0:	7d 29 02 14 	add     r9,r9,r0                               
ffc04ed4:	99 61 00 08 	stb     r11,8(r1)                              
ffc04ed8:	48 00 00 10 	b       ffc04ee8 <fcntl+0x158>                 
ffc04edc:	81 21 00 0c 	lwz     r9,12(r1)                              <== NOT EXECUTED
ffc04ee0:	38 09 00 04 	addi    r0,r9,4                                <== NOT EXECUTED
ffc04ee4:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
ffc04ee8:	80 09 00 00 	lwz     r0,0(r9)                               
ffc04eec:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04ef0:	41 9e 00 0c 	beq-    cr7,ffc04efc <fcntl+0x16c>             
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
ffc04ef4:	60 63 08 00 	ori     r3,r3,2048                             
ffc04ef8:	48 00 00 64 	b       ffc04f5c <fcntl+0x1cc>                 
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
ffc04efc:	54 63 05 66 	rlwinm  r3,r3,0,21,19                          
ffc04f00:	48 00 00 5c 	b       ffc04f5c <fcntl+0x1cc>                 
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
ffc04f04:	48 00 06 29 	bl      ffc0552c <rtems_libio_to_fcntl_flags>  
ffc04f08:	7c 7d 1b 78 	mr      r29,r3                                 
ffc04f0c:	48 00 00 78 	b       ffc04f84 <fcntl+0x1f4>                 
      break;                                                          
                                                                      
    case F_SETFL:                                                     
      flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );           
ffc04f10:	89 61 00 08 	lbz     r11,8(r1)                              
ffc04f14:	2b 8b 00 07 	cmplwi  cr7,r11,7                              
ffc04f18:	41 9d 00 1c 	bgt-    cr7,ffc04f34 <fcntl+0x1a4>             <== NEVER TAKEN
ffc04f1c:	81 21 00 10 	lwz     r9,16(r1)                              
ffc04f20:	55 60 10 3a 	rlwinm  r0,r11,2,0,29                          
ffc04f24:	39 6b 00 01 	addi    r11,r11,1                              
ffc04f28:	7d 29 02 14 	add     r9,r9,r0                               
ffc04f2c:	99 61 00 08 	stb     r11,8(r1)                              
ffc04f30:	48 00 00 10 	b       ffc04f40 <fcntl+0x1b0>                 
ffc04f34:	81 21 00 0c 	lwz     r9,12(r1)                              <== NOT EXECUTED
ffc04f38:	38 09 00 04 	addi    r0,r9,4                                <== NOT EXECUTED
ffc04f3c:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
ffc04f40:	80 69 00 00 	lwz     r3,0(r9)                               
ffc04f44:	48 00 05 a5 	bl      ffc054e8 <rtems_libio_fcntl_flags>     
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
ffc04f48:	80 1f 00 18 	lwz     r0,24(r31)                             
ffc04f4c:	70 63 02 01 	andi.   r3,r3,513                              
ffc04f50:	39 20 fd fe 	li      r9,-514                                
ffc04f54:	7d 20 00 38 	and     r0,r9,r0                               
ffc04f58:	7c 63 03 78 	or      r3,r3,r0                               
ffc04f5c:	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;                                             
ffc04f60:	3b a0 00 00 	li      r29,0                                  
ffc04f64:	48 00 00 28 	b       ffc04f8c <fcntl+0x1fc>                 
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
ffc04f68:	48 00 b6 71 	bl      ffc105d8 <__errno>                     
ffc04f6c:	38 00 00 86 	li      r0,134                                 
ffc04f70:	48 00 00 0c 	b       ffc04f7c <fcntl+0x1ec>                 
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
ffc04f74:	48 00 b6 65 	bl      ffc105d8 <__errno>                     
ffc04f78:	38 00 00 16 	li      r0,22                                  
ffc04f7c:	90 03 00 00 	stw     r0,0(r3)                               
ffc04f80:	48 00 00 34 	b       ffc04fb4 <fcntl+0x224>                 
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
ffc04f84:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc04f88:	41 9c 00 30 	blt-    cr7,ffc04fb8 <fcntl+0x228>             <== NEVER TAKEN
    int err = (*iop->pathinfo.handlers->fcntl_h)( cmd, iop );         
ffc04f8c:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc04f90:	7f e4 fb 78 	mr      r4,r31                                 
ffc04f94:	7f c3 f3 78 	mr      r3,r30                                 
ffc04f98:	80 09 00 30 	lwz     r0,48(r9)                              
ffc04f9c:	7c 09 03 a6 	mtctr   r0                                     
ffc04fa0:	4e 80 04 21 	bctrl                                          
    if (err) {                                                        
ffc04fa4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc04fa8:	41 a2 00 10 	beq+    ffc04fb8 <fcntl+0x228>                 <== ALWAYS TAKEN
      errno = err;                                                    
ffc04fac:	48 00 b6 2d 	bl      ffc105d8 <__errno>                     <== NOT EXECUTED
ffc04fb0:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
      ret = -1;                                                       
ffc04fb4:	3b a0 ff ff 	li      r29,-1                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
ffc04fb8:	39 61 00 38 	addi    r11,r1,56                              
ffc04fbc:	7f a3 eb 78 	mr      r3,r29                                 
ffc04fc0:	4b ff bd 60 	b       ffc00d20 <_restgpr_29_x>               
                                                                      

ffc0e738 <fifo_open>: */ int fifo_open( pipe_control_t **pipep, rtems_libio_t *iop ) {
ffc0e738:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0e73c:	7c 08 02 a6 	mflr    r0                                     
ffc0e740:	bf 41 00 18 	stmw    r26,24(r1)                             
                                                                      
static rtems_status_code pipe_lock(void)                              
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
ffc0e744:	3f c0 00 00 	lis     r30,0                                  
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc0e748:	7c 7c 1b 78 	mr      r28,r3                                 
ffc0e74c:	90 01 00 34 	stw     r0,52(r1)                              
ffc0e750:	7c 9b 23 78 	mr      r27,r4                                 
                                                                      
static rtems_status_code pipe_lock(void)                              
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
ffc0e754:	3b fe 29 60 	addi    r31,r30,10592                          
ffc0e758:	80 1e 29 60 	lwz     r0,10592(r30)                          
ffc0e75c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e760:	40 be 00 5c 	bne+    cr7,ffc0e7bc <fifo_open+0x84>          
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 );
ffc0e764:	3d 20 00 00 	lis     r9,0                                   
ffc0e768:	80 69 27 90 	lwz     r3,10128(r9)                           
ffc0e76c:	38 80 00 00 	li      r4,0                                   
ffc0e770:	38 a0 00 00 	li      r5,0                                   
ffc0e774:	4b ff b3 55 	bl      ffc09ac8 <rtems_semaphore_obtain>      
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
ffc0e778:	80 1e 29 60 	lwz     r0,10592(r30)                          
  free(pipe);                                                         
}                                                                     
                                                                      
static rtems_status_code pipe_lock(void)                              
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
ffc0e77c:	3b c0 00 00 	li      r30,0                                  
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
ffc0e780:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e784:	40 be 00 24 	bne+    cr7,ffc0e7a8 <fifo_open+0x70>          <== NEVER TAKEN
      sc = rtems_semaphore_create(                                    
ffc0e788:	3c 60 50 49 	lis     r3,20553                               
ffc0e78c:	60 63 50 45 	ori     r3,r3,20549                            
ffc0e790:	38 80 00 01 	li      r4,1                                   
ffc0e794:	38 a0 00 54 	li      r5,84                                  
ffc0e798:	38 c0 00 00 	li      r6,0                                   
ffc0e79c:	7f e7 fb 78 	mr      r7,r31                                 
ffc0e7a0:	4b ff b0 a9 	bl      ffc09848 <rtems_semaphore_create>      
ffc0e7a4:	7c 7e 1b 78 	mr      r30,r3                                 
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc0e7a8:	3d 20 00 00 	lis     r9,0                                   
ffc0e7ac:	80 69 27 90 	lwz     r3,10128(r9)                           
ffc0e7b0:	4b ff b4 41 	bl      ffc09bf0 <rtems_semaphore_release>     
    }                                                                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc0e7b4:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0e7b8:	40 be 00 24 	bne+    cr7,ffc0e7dc <fifo_open+0xa4>          
    sc = rtems_semaphore_obtain(pipe_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc0e7bc:	3d 20 00 00 	lis     r9,0                                   
ffc0e7c0:	80 69 29 60 	lwz     r3,10592(r9)                           
ffc0e7c4:	38 80 00 00 	li      r4,0                                   
ffc0e7c8:	38 a0 00 00 	li      r5,0                                   
ffc0e7cc:	4b ff b2 fd 	bl      ffc09ac8 <rtems_semaphore_obtain>      
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
ffc0e7d0:	3b c0 00 00 	li      r30,0                                  
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
    sc = rtems_semaphore_obtain(pipe_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc0e7d4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e7d8:	41 be 00 08 	beq+    cr7,ffc0e7e0 <fifo_open+0xa8>          <== ALWAYS TAKEN
    return 0;                                                         
  } else {                                                            
    return -ENOMEM;                                                   
ffc0e7dc:	3b c0 ff f4 	li      r30,-12                                
{                                                                     
  pipe_control_t *pipe;                                               
  int err = 0;                                                        
                                                                      
  err = pipe_lock();                                                  
  if (err)                                                            
ffc0e7e0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0e7e4:	40 9e 03 18 	bne-    cr7,ffc0eafc <fifo_open+0x3c4>         
    return err;                                                       
                                                                      
  pipe = *pipep;                                                      
ffc0e7e8:	83 fc 00 00 	lwz     r31,0(r28)                             
  if (pipe == NULL) {                                                 
ffc0e7ec:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0e7f0:	40 be 01 00 	bne+    cr7,ffc0e8f0 <fifo_open+0x1b8>         
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
ffc0e7f4:	38 60 00 34 	li      r3,52                                  
ffc0e7f8:	4b ff 7e 71 	bl      ffc06668 <malloc>                      
  if (pipe == NULL)                                                   
ffc0e7fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
ffc0e800:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e804:	7c 7a 1b 78 	mr      r26,r3                                 
  if (pipe == NULL)                                                   
ffc0e808:	41 9e 00 e0 	beq-    cr7,ffc0e8e8 <fifo_open+0x1b0>         
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
ffc0e80c:	38 80 00 00 	li      r4,0                                   
ffc0e810:	38 a0 00 34 	li      r5,52                                  
ffc0e814:	48 00 40 e1 	bl      ffc128f4 <memset>                      
                                                                      
  pipe->Size = PIPE_BUF;                                              
ffc0e818:	38 00 02 00 	li      r0,512                                 
ffc0e81c:	90 1f 00 04 	stw     r0,4(r31)                              
  pipe->Buffer = malloc(pipe->Size);                                  
ffc0e820:	38 60 02 00 	li      r3,512                                 
ffc0e824:	4b ff 7e 45 	bl      ffc06668 <malloc>                      
  if (! pipe->Buffer)                                                 
ffc0e828:	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);                                  
ffc0e82c:	90 7f 00 00 	stw     r3,0(r31)                              
  if (! pipe->Buffer)                                                 
ffc0e830:	41 9e 00 b0 	beq-    cr7,ffc0e8e0 <fifo_open+0x1a8>         <== NEVER TAKEN
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'r', c),                          
ffc0e834:	3f a0 00 00 	lis     r29,0                                  
ffc0e838:	88 7d 21 b1 	lbz     r3,8625(r29)                           
  if (! pipe->Buffer)                                                 
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
ffc0e83c:	38 80 00 00 	li      r4,0                                   
ffc0e840:	38 a0 00 00 	li      r5,0                                   
ffc0e844:	64 63 50 49 	oris    r3,r3,20553                            
ffc0e848:	60 63 72 00 	ori     r3,r3,29184                            
ffc0e84c:	38 df 00 2c 	addi    r6,r31,44                              
ffc0e850:	48 00 11 25 	bl      ffc0f974 <rtems_barrier_create>        
ffc0e854:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e858:	40 9e 00 80 	bne-    cr7,ffc0e8d8 <fifo_open+0x1a0>         
        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),                          
ffc0e85c:	88 7d 21 b1 	lbz     r3,8625(r29)                           
  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(                                           
ffc0e860:	38 80 00 00 	li      r4,0                                   
ffc0e864:	38 a0 00 00 	li      r5,0                                   
ffc0e868:	64 63 50 49 	oris    r3,r3,20553                            
ffc0e86c:	60 63 77 00 	ori     r3,r3,30464                            
ffc0e870:	38 df 00 30 	addi    r6,r31,48                              
ffc0e874:	48 00 11 01 	bl      ffc0f974 <rtems_barrier_create>        
ffc0e878:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e87c:	40 9e 00 54 	bne-    cr7,ffc0e8d0 <fifo_open+0x198>         
        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,                       
ffc0e880:	88 7d 21 b1 	lbz     r3,8625(r29)                           
  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(                                         
ffc0e884:	38 80 00 01 	li      r4,1                                   
ffc0e888:	38 a0 00 10 	li      r5,16                                  
ffc0e88c:	64 63 50 49 	oris    r3,r3,20553                            
ffc0e890:	60 63 73 00 	ori     r3,r3,29440                            
ffc0e894:	38 c0 00 00 	li      r6,0                                   
ffc0e898:	38 ff 00 28 	addi    r7,r31,40                              
ffc0e89c:	4b ff af ad 	bl      ffc09848 <rtems_semaphore_create>      
ffc0e8a0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e8a4:	40 9e 00 24 	bne-    cr7,ffc0e8c8 <fifo_open+0x190>         
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
ffc0e8a8:	89 3d 21 b1 	lbz     r9,8625(r29)                           
ffc0e8ac:	2f 89 00 7a 	cmpwi   cr7,r9,122                             
ffc0e8b0:	38 09 00 01 	addi    r0,r9,1                                
ffc0e8b4:	98 1d 21 b1 	stb     r0,8625(r29)                           
ffc0e8b8:	40 be 00 38 	bne+    cr7,ffc0e8f0 <fifo_open+0x1b8>         
    c = 'a';                                                          
ffc0e8bc:	38 00 00 61 	li      r0,97                                  
ffc0e8c0:	98 1d 21 b1 	stb     r0,8625(r29)                           
ffc0e8c4:	48 00 00 2c 	b       ffc0e8f0 <fifo_open+0x1b8>             
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
ffc0e8c8:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc0e8cc:	48 00 11 75 	bl      ffc0fa40 <rtems_barrier_delete>        
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
ffc0e8d0:	80 7a 00 2c 	lwz     r3,44(r26)                             
ffc0e8d4:	48 00 11 6d 	bl      ffc0fa40 <rtems_barrier_delete>        
err_rbar:                                                             
  free(pipe->Buffer);                                                 
ffc0e8d8:	80 7a 00 00 	lwz     r3,0(r26)                              
ffc0e8dc:	4b ff 75 3d 	bl      ffc05e18 <free>                        
err_buf:                                                              
  free(pipe);                                                         
ffc0e8e0:	7f 43 d3 78 	mr      r3,r26                                 
ffc0e8e4:	4b ff 75 35 	bl      ffc05e18 <free>                        
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
ffc0e8e8:	3b c0 ff f4 	li      r30,-12                                
ffc0e8ec:	48 00 00 44 	b       ffc0e930 <fifo_open+0x1f8>             
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc0e8f0:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0e8f4:	38 80 00 00 	li      r4,0                                   
ffc0e8f8:	38 a0 00 00 	li      r5,0                                   
ffc0e8fc:	4b ff b1 cd 	bl      ffc09ac8 <rtems_semaphore_obtain>      
ffc0e900:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e904:	41 9e 00 08 	beq-    cr7,ffc0e90c <fifo_open+0x1d4>         <== ALWAYS TAKEN
    err = -EINTR;                                                     
ffc0e908:	3b c0 ff fc 	li      r30,-4                                 <== NOT EXECUTED
                                                                      
  if (*pipep == NULL) {                                               
ffc0e90c:	80 1c 00 00 	lwz     r0,0(r28)                              
ffc0e910:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e914:	40 be 00 1c 	bne+    cr7,ffc0e930 <fifo_open+0x1f8>         
    if (err)                                                          
ffc0e918:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0e91c:	41 be 00 10 	beq+    cr7,ffc0e92c <fifo_open+0x1f4>         <== ALWAYS TAKEN
      pipe_free(pipe);                                                
ffc0e920:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0e924:	4b ff fd 19 	bl      ffc0e63c <pipe_free>                   <== NOT EXECUTED
ffc0e928:	48 00 00 08 	b       ffc0e930 <fifo_open+0x1f8>             <== NOT EXECUTED
    else                                                              
      *pipep = pipe;                                                  
ffc0e92c:	93 fc 00 00 	stw     r31,0(r28)                             
  }                                                                   
                                                                      
out:                                                                  
  pipe_unlock();                                                      
ffc0e930:	4b ff fc e5 	bl      ffc0e614 <pipe_unlock>                 
  pipe_control_t *pipe;                                               
  unsigned int prevCounter;                                           
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
ffc0e934:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0e938:	40 9e 01 c4 	bne-    cr7,ffc0eafc <fifo_open+0x3c4>         
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
ffc0e93c:	80 1b 00 18 	lwz     r0,24(r27)                             
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
    return err;                                                       
  pipe = *pipep;                                                      
ffc0e940:	83 fc 00 00 	lwz     r31,0(r28)                             
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
ffc0e944:	54 00 07 7c 	rlwinm  r0,r0,0,29,30                          
ffc0e948:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc0e94c:	41 9e 00 a0 	beq-    cr7,ffc0e9ec <fifo_open+0x2b4>         
ffc0e950:	2f 80 00 06 	cmpwi   cr7,r0,6                               
ffc0e954:	41 9e 01 34 	beq-    cr7,ffc0ea88 <fifo_open+0x350>         
ffc0e958:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0e95c:	40 be 01 84 	bne+    cr7,ffc0eae0 <fifo_open+0x3a8>         <== NEVER TAKEN
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
ffc0e960:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc0e964:	38 09 00 01 	addi    r0,r9,1                                
      if (pipe->Readers ++ == 0)                                      
ffc0e968:	81 3f 00 10 	lwz     r9,16(r31)                             
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
ffc0e96c:	90 1f 00 20 	stw     r0,32(r31)                             
      if (pipe->Readers ++ == 0)                                      
ffc0e970:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0e974:	38 09 00 01 	addi    r0,r9,1                                
ffc0e978:	90 1f 00 10 	stw     r0,16(r31)                             
ffc0e97c:	40 be 00 10 	bne+    cr7,ffc0e98c <fifo_open+0x254>         <== NEVER TAKEN
        PIPE_WAKEUPWRITERS(pipe);                                     
ffc0e980:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc0e984:	38 81 00 08 	addi    r4,r1,8                                
ffc0e988:	48 00 11 71 	bl      ffc0faf8 <rtems_barrier_release>       
                                                                      
      if (pipe->Writers == 0) {                                       
ffc0e98c:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc0e990:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e994:	40 9e 01 4c 	bne-    cr7,ffc0eae0 <fifo_open+0x3a8>         
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
ffc0e998:	80 1b 00 18 	lwz     r0,24(r27)                             
ffc0e99c:	70 09 00 01 	andi.   r9,r0,1                                
ffc0e9a0:	40 82 01 40 	bne-    ffc0eae0 <fifo_open+0x3a8>             
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
ffc0e9a4:	83 bf 00 24 	lwz     r29,36(r31)                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
ffc0e9a8:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0e9ac:	4b ff b2 45 	bl      ffc09bf0 <rtems_semaphore_release>     
          if (! PIPE_READWAIT(pipe))                                  
ffc0e9b0:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc0e9b4:	38 80 00 00 	li      r4,0                                   
ffc0e9b8:	48 00 11 ad 	bl      ffc0fb64 <rtems_barrier_wait>          
ffc0e9bc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e9c0:	40 9e 01 2c 	bne-    cr7,ffc0eaec <fifo_open+0x3b4>         <== NEVER TAKEN
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc0e9c4:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0e9c8:	38 80 00 00 	li      r4,0                                   
ffc0e9cc:	38 a0 00 00 	li      r5,0                                   
ffc0e9d0:	4b ff b0 f9 	bl      ffc09ac8 <rtems_semaphore_obtain>      
ffc0e9d4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e9d8:	40 9e 01 14 	bne-    cr7,ffc0eaec <fifo_open+0x3b4>         <== NEVER TAKEN
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
ffc0e9dc:	80 1f 00 24 	lwz     r0,36(r31)                             
ffc0e9e0:	7f 9d 00 00 	cmpw    cr7,r29,r0                             
ffc0e9e4:	41 9e ff c4 	beq+    cr7,ffc0e9a8 <fifo_open+0x270>         <== NEVER TAKEN
ffc0e9e8:	48 00 00 f8 	b       ffc0eae0 <fifo_open+0x3a8>             
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
ffc0e9ec:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc0e9f0:	38 09 00 01 	addi    r0,r9,1                                
                                                                      
      if (pipe->Writers ++ == 0)                                      
ffc0e9f4:	81 3f 00 14 	lwz     r9,20(r31)                             
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
ffc0e9f8:	90 1f 00 24 	stw     r0,36(r31)                             
                                                                      
      if (pipe->Writers ++ == 0)                                      
ffc0e9fc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ea00:	38 09 00 01 	addi    r0,r9,1                                
ffc0ea04:	90 1f 00 14 	stw     r0,20(r31)                             
ffc0ea08:	40 be 00 10 	bne+    cr7,ffc0ea18 <fifo_open+0x2e0>         <== NEVER TAKEN
        PIPE_WAKEUPREADERS(pipe);                                     
ffc0ea0c:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc0ea10:	38 81 00 08 	addi    r4,r1,8                                
ffc0ea14:	48 00 10 e5 	bl      ffc0faf8 <rtems_barrier_release>       
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
ffc0ea18:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc0ea1c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ea20:	40 9e 00 c0 	bne-    cr7,ffc0eae0 <fifo_open+0x3a8>         
ffc0ea24:	80 1b 00 18 	lwz     r0,24(r27)                             
ffc0ea28:	70 09 00 01 	andi.   r9,r0,1                                
ffc0ea2c:	41 a2 00 14 	beq+    ffc0ea40 <fifo_open+0x308>             
	PIPE_UNLOCK(pipe);                                                   
ffc0ea30:	80 7f 00 28 	lwz     r3,40(r31)                             
        err = -ENXIO;                                                 
ffc0ea34:	3b c0 ff fa 	li      r30,-6                                 
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
	PIPE_UNLOCK(pipe);                                                   
ffc0ea38:	4b ff b1 b9 	bl      ffc09bf0 <rtems_semaphore_release>     
        err = -ENXIO;                                                 
        goto out_error;                                               
ffc0ea3c:	48 00 00 b4 	b       ffc0eaf0 <fifo_open+0x3b8>             
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
ffc0ea40:	83 bf 00 20 	lwz     r29,32(r31)                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
ffc0ea44:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0ea48:	4b ff b1 a9 	bl      ffc09bf0 <rtems_semaphore_release>     
          if (! PIPE_WRITEWAIT(pipe))                                 
ffc0ea4c:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc0ea50:	38 80 00 00 	li      r4,0                                   
ffc0ea54:	48 00 11 11 	bl      ffc0fb64 <rtems_barrier_wait>          
ffc0ea58:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ea5c:	40 9e 00 90 	bne-    cr7,ffc0eaec <fifo_open+0x3b4>         <== NEVER TAKEN
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc0ea60:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0ea64:	38 80 00 00 	li      r4,0                                   
ffc0ea68:	38 a0 00 00 	li      r5,0                                   
ffc0ea6c:	4b ff b0 5d 	bl      ffc09ac8 <rtems_semaphore_obtain>      
ffc0ea70:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ea74:	40 9e 00 78 	bne-    cr7,ffc0eaec <fifo_open+0x3b4>         <== NEVER TAKEN
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
ffc0ea78:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc0ea7c:	7f 9d 00 00 	cmpw    cr7,r29,r0                             
ffc0ea80:	41 9e ff c4 	beq+    cr7,ffc0ea44 <fifo_open+0x30c>         <== NEVER TAKEN
ffc0ea84:	48 00 00 5c 	b       ffc0eae0 <fifo_open+0x3a8>             
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
ffc0ea88:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc0ea8c:	38 09 00 01 	addi    r0,r9,1                                
      if (pipe->Readers ++ == 0)                                      
ffc0ea90:	81 3f 00 10 	lwz     r9,16(r31)                             
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
ffc0ea94:	90 1f 00 20 	stw     r0,32(r31)                             
      if (pipe->Readers ++ == 0)                                      
ffc0ea98:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ea9c:	38 09 00 01 	addi    r0,r9,1                                
ffc0eaa0:	90 1f 00 10 	stw     r0,16(r31)                             
ffc0eaa4:	40 be 00 10 	bne+    cr7,ffc0eab4 <fifo_open+0x37c>         <== NEVER TAKEN
        PIPE_WAKEUPWRITERS(pipe);                                     
ffc0eaa8:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc0eaac:	38 81 00 08 	addi    r4,r1,8                                
ffc0eab0:	48 00 10 49 	bl      ffc0faf8 <rtems_barrier_release>       
      pipe->writerCounter ++;                                         
ffc0eab4:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc0eab8:	38 09 00 01 	addi    r0,r9,1                                
      if (pipe->Writers ++ == 0)                                      
ffc0eabc:	81 3f 00 14 	lwz     r9,20(r31)                             
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
ffc0eac0:	90 1f 00 24 	stw     r0,36(r31)                             
      if (pipe->Writers ++ == 0)                                      
ffc0eac4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0eac8:	38 09 00 01 	addi    r0,r9,1                                
ffc0eacc:	90 1f 00 14 	stw     r0,20(r31)                             
ffc0ead0:	40 be 00 10 	bne+    cr7,ffc0eae0 <fifo_open+0x3a8>         <== NEVER TAKEN
        PIPE_WAKEUPREADERS(pipe);                                     
ffc0ead4:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc0ead8:	38 81 00 08 	addi    r4,r1,8                                
ffc0eadc:	48 00 10 1d 	bl      ffc0faf8 <rtems_barrier_release>       
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
ffc0eae0:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0eae4:	4b ff b1 0d 	bl      ffc09bf0 <rtems_semaphore_release>     
  return 0;                                                           
ffc0eae8:	48 00 00 14 	b       ffc0eafc <fifo_open+0x3c4>             
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
ffc0eaec:	3b c0 ff fc 	li      r30,-4                                 <== NOT EXECUTED
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
ffc0eaf0:	7f 83 e3 78 	mr      r3,r28                                 
ffc0eaf4:	7f 64 db 78 	mr      r4,r27                                 
ffc0eaf8:	4b ff fb 8d 	bl      ffc0e684 <pipe_release>                
  return err;                                                         
}                                                                     
ffc0eafc:	39 61 00 30 	addi    r11,r1,48                              
ffc0eb00:	7f c3 f3 78 	mr      r3,r30                                 
ffc0eb04:	48 01 13 4c 	b       ffc1fe50 <_restgpr_26_x>               
                                                                      

ffc05058 <fpathconf>: long fpathconf( int fd, int name ) {
ffc05058:	7c 08 02 a6 	mflr    r0                                     
ffc0505c:	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);                                           
ffc05060:	3d 20 00 00 	lis     r9,0                                   
                                                                      
long fpathconf(                                                       
  int   fd,                                                           
  int   name                                                          
)                                                                     
{                                                                     
ffc05064:	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);                                           
ffc05068:	80 09 26 cc 	lwz     r0,9932(r9)                            
ffc0506c:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc05070:	40 9c 00 20 	bge-    cr7,ffc05090 <fpathconf+0x38>          
  iop = rtems_libio_iop(fd);                                          
ffc05074:	3d 20 00 00 	lis     r9,0                                   
ffc05078:	80 09 27 88 	lwz     r0,10120(r9)                           
ffc0507c:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc05080:	7c 60 1a 14 	add     r3,r0,r3                               
  rtems_libio_check_is_open(iop);                                     
ffc05084:	80 03 00 18 	lwz     r0,24(r3)                              
ffc05088:	70 09 01 00 	andi.   r9,r0,256                              
ffc0508c:	40 a2 00 10 	bne+    ffc0509c <fpathconf+0x44>              <== ALWAYS TAKEN
ffc05090:	48 00 b5 49 	bl      ffc105d8 <__errno>                     
ffc05094:	38 00 00 09 	li      r0,9                                   
ffc05098:	48 00 00 9c 	b       ffc05134 <fpathconf+0xdc>              
  rtems_libio_check_permissions(iop, LIBIO_FLAGS_READ);               
ffc0509c:	70 09 00 02 	andi.   r9,r0,2                                
ffc050a0:	41 82 00 8c 	beq-    ffc0512c <fpathconf+0xd4>              
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
                                                                      
  switch ( name ) {                                                   
ffc050a4:	2b 84 00 0b 	cmplwi  cr7,r4,11                              
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = &iop->pathinfo.mt_entry->pathconf_limits_and_options;  
ffc050a8:	81 23 00 2c 	lwz     r9,44(r3)                              
                                                                      
  switch ( name ) {                                                   
ffc050ac:	41 9d 00 80 	bgt-    cr7,ffc0512c <fpathconf+0xd4>          
ffc050b0:	3d 60 ff c1 	lis     r11,-63                                
ffc050b4:	39 6b 7e 5c 	addi    r11,r11,32348                          
ffc050b8:	54 84 10 3a 	rlwinm  r4,r4,2,0,29                           
ffc050bc:	7c 0b 20 2e 	lwzx    r0,r11,r4                              
ffc050c0:	7d 60 5a 14 	add     r11,r0,r11                             
ffc050c4:	7d 69 03 a6 	mtctr   r11                                    
ffc050c8:	4e 80 04 20 	bctr                                           
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
ffc050cc:	80 69 00 38 	lwz     r3,56(r9)                              
      break;                                                          
ffc050d0:	48 00 00 6c 	b       ffc0513c <fpathconf+0xe4>              
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
ffc050d4:	80 69 00 3c 	lwz     r3,60(r9)                              
      break;                                                          
ffc050d8:	48 00 00 64 	b       ffc0513c <fpathconf+0xe4>              
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
ffc050dc:	80 69 00 40 	lwz     r3,64(r9)                              
      break;                                                          
ffc050e0:	48 00 00 5c 	b       ffc0513c <fpathconf+0xe4>              
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
ffc050e4:	80 69 00 44 	lwz     r3,68(r9)                              
      break;                                                          
ffc050e8:	48 00 00 54 	b       ffc0513c <fpathconf+0xe4>              
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
ffc050ec:	80 69 00 48 	lwz     r3,72(r9)                              
      break;                                                          
ffc050f0:	48 00 00 4c 	b       ffc0513c <fpathconf+0xe4>              
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
ffc050f4:	80 69 00 4c 	lwz     r3,76(r9)                              
      break;                                                          
ffc050f8:	48 00 00 44 	b       ffc0513c <fpathconf+0xe4>              
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
ffc050fc:	80 69 00 54 	lwz     r3,84(r9)                              
      break;                                                          
ffc05100:	48 00 00 3c 	b       ffc0513c <fpathconf+0xe4>              
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
ffc05104:	80 69 00 58 	lwz     r3,88(r9)                              
      break;                                                          
ffc05108:	48 00 00 34 	b       ffc0513c <fpathconf+0xe4>              
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
ffc0510c:	80 69 00 64 	lwz     r3,100(r9)                             
      break;                                                          
ffc05110:	48 00 00 2c 	b       ffc0513c <fpathconf+0xe4>              
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
ffc05114:	80 69 00 50 	lwz     r3,80(r9)                              
      break;                                                          
ffc05118:	48 00 00 24 	b       ffc0513c <fpathconf+0xe4>              
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
ffc0511c:	80 69 00 5c 	lwz     r3,92(r9)                              
      break;                                                          
ffc05120:	48 00 00 1c 	b       ffc0513c <fpathconf+0xe4>              
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
ffc05124:	80 69 00 60 	lwz     r3,96(r9)                              
      break;                                                          
ffc05128:	48 00 00 14 	b       ffc0513c <fpathconf+0xe4>              
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc0512c:	48 00 b4 ad 	bl      ffc105d8 <__errno>                     
ffc05130:	38 00 00 16 	li      r0,22                                  
ffc05134:	90 03 00 00 	stw     r0,0(r3)                               
ffc05138:	38 60 ff ff 	li      r3,-1                                  
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
ffc0513c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc05140:	38 21 00 08 	addi    r1,r1,8                                
ffc05144:	7c 08 03 a6 	mtlr    r0                                     
ffc05148:	4e 80 00 20 	blr                                            
                                                                      

ffc041cc <free>: #include <stdlib.h> void free( void *ptr ) {
ffc041cc:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc041d0:	7c 08 02 a6 	mflr    r0                                     
  MSBUMP(free_calls, 1);                                              
ffc041d4:	3d 20 00 00 	lis     r9,0                                   
#include <stdlib.h>                                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
ffc041d8:	90 01 00 14 	stw     r0,20(r1)                              
  MSBUMP(free_calls, 1);                                              
ffc041dc:	39 29 2a c8 	addi    r9,r9,10952                            
#include <stdlib.h>                                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
ffc041e0:	bf c1 00 08 	stmw    r30,8(r1)                              
  MSBUMP(free_calls, 1);                                              
                                                                      
  if ( !ptr )                                                         
ffc041e4:	7c 7f 1b 79 	mr.     r31,r3                                 
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
  MSBUMP(free_calls, 1);                                              
ffc041e8:	81 69 00 0c 	lwz     r11,12(r9)                             
ffc041ec:	38 0b 00 01 	addi    r0,r11,1                               
ffc041f0:	90 09 00 0c 	stw     r0,12(r9)                              
                                                                      
  if ( !ptr )                                                         
ffc041f4:	41 82 00 84 	beq-    ffc04278 <free+0xac>                   
    return;                                                           
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
ffc041f8:	3d 20 00 00 	lis     r9,0                                   
ffc041fc:	80 09 27 e8 	lwz     r0,10216(r9)                           
ffc04200:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc04204:	40 be 00 1c 	bne+    cr7,ffc04220 <free+0x54>               <== NEVER TAKEN
       !malloc_is_system_state_OK() ) {                               
ffc04208:	48 00 01 bd 	bl      ffc043c4 <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()) &&                    
ffc0420c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04210:	40 be 00 10 	bne+    cr7,ffc04220 <free+0x54>               
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
ffc04214:	7f e3 fb 78 	mr      r3,r31                                 
ffc04218:	48 00 02 31 	bl      ffc04448 <malloc_deferred_free>        
      return;                                                         
ffc0421c:	48 00 00 5c 	b       ffc04278 <free+0xac>                   
  }                                                                   
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
ffc04220:	3d 20 00 00 	lis     r9,0                                   
ffc04224:	81 29 27 48 	lwz     r9,10056(r9)                           
ffc04228:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0422c:	41 9e 00 14 	beq-    cr7,ffc04240 <free+0x74>               
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
ffc04230:	80 09 00 08 	lwz     r0,8(r9)                               
ffc04234:	7f e3 fb 78 	mr      r3,r31                                 
ffc04238:	7c 09 03 a6 	mtctr   r0                                     
ffc0423c:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
ffc04240:	3f c0 00 00 	lis     r30,0                                  
ffc04244:	80 7e 26 dc 	lwz     r3,9948(r30)                           
ffc04248:	7f e4 fb 78 	mr      r4,r31                                 
ffc0424c:	48 00 53 c5 	bl      ffc09610 <_Protected_heap_Free>        
ffc04250:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04254:	40 be 00 24 	bne+    cr7,ffc04278 <free+0xac>               
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
      ptr,                                                            
      RTEMS_Malloc_Heap->area_begin,                                  
ffc04258:	81 3e 26 dc 	lwz     r9,9948(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",
ffc0425c:	3c 60 ff c1 	lis     r3,-63                                 
ffc04260:	38 63 5d 87 	addi    r3,r3,23943                            
ffc04264:	80 a9 00 18 	lwz     r5,24(r9)                              
ffc04268:	7f e4 fb 78 	mr      r4,r31                                 
ffc0426c:	80 c9 00 1c 	lwz     r6,28(r9)                              
ffc04270:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04274:	48 00 0e 19 	bl      ffc0508c <printk>                      
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
ffc04278:	39 61 00 10 	addi    r11,r1,16                              
ffc0427c:	48 00 fe dc 	b       ffc14158 <_restgpr_30_x>               
                                                                      

ffc056e0 <free_user_env>: * NOTE: this must be called with * thread dispatching disabled! */ static void free_user_env(void *venv) {
ffc056e0:	7c 08 02 a6 	mflr    r0                                     
ffc056e4:	7c 2b 0b 78 	mr      r11,r1                                 
ffc056e8:	94 21 ff f0 	stwu    r1,-16(r1)                             
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
  if (env != &rtems_global_user_env                                   
ffc056ec:	3d 20 00 00 	lis     r9,0                                   
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
ffc056f0:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
  if (env != &rtems_global_user_env                                   
ffc056f4:	38 09 2a d8 	addi    r0,r9,10968                            
ffc056f8:	7f 83 00 00 	cmpw    cr7,r3,r0                              
 * NOTE: this must be called with                                     
 *       thread dispatching disabled!                                 
 */                                                                   
static void                                                           
free_user_env(void *venv)                                             
{                                                                     
ffc056fc:	48 00 ee 99 	bl      ffc14594 <_savegpr_31>                 
ffc05700:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_user_env_t *env = (rtems_user_env_t*) venv ;                  
                                                                      
  if (env != &rtems_global_user_env                                   
ffc05704:	41 9e 00 1c 	beq-    cr7,ffc05720 <free_user_env+0x40>      <== NEVER TAKEN
  #ifdef HAVE_USERENV_REFCNT                                          
      && --env->refcnt <= 0                                           
  #endif                                                              
  ) {                                                                 
    rtems_filesystem_freenode( &env->current_directory);              
ffc05708:	38 63 00 04 	addi    r3,r3,4                                
ffc0570c:	4b ff ed 59 	bl      ffc04464 <rtems_filesystem_freenode>   
    rtems_filesystem_freenode( &env->root_directory);                 
ffc05710:	38 7f 00 18 	addi    r3,r31,24                              
ffc05714:	4b ff ed 51 	bl      ffc04464 <rtems_filesystem_freenode>   
    free(env);                                                        
ffc05718:	7f e3 fb 78 	mr      r3,r31                                 
ffc0571c:	4b ff ed 75 	bl      ffc04490 <free>                        
  }                                                                   
}                                                                     
ffc05720:	39 61 00 10 	addi    r11,r1,16                              
ffc05724:	48 00 ee bc 	b       ffc145e0 <_restgpr_31_x>               
                                                                      

ffc16300 <getdents>: int getdents( int dd_fd, char *dd_buf, int dd_len ) {
ffc16300:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc16304:	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 );                                     
ffc16308:	3d 20 00 00 	lis     r9,0                                   
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
ffc1630c:	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 );                                     
ffc16310:	80 09 27 4c 	lwz     r0,10060(r9)                           
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
ffc16314:	bf c1 00 30 	stmw    r30,48(r1)                             
ffc16318:	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 );                                     
ffc1631c:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc16320:	3b c0 00 00 	li      r30,0                                  
ffc16324:	40 9c 00 14 	bge-    cr7,ffc16338 <getdents+0x38>           <== NEVER TAKEN
ffc16328:	3d 20 00 00 	lis     r9,0                                   
ffc1632c:	83 c9 28 14 	lwz     r30,10260(r9)                          
ffc16330:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc16334:	7f de 1a 14 	add     r30,r30,r3                             
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  loc = iop->pathinfo;                                                
ffc16338:	39 7e 00 1c 	addi    r11,r30,28                             
ffc1633c:	38 61 00 08 	addi    r3,r1,8                                
ffc16340:	7c ab a4 aa 	lswi    r5,r11,20                              
ffc16344:	7c a3 a5 aa 	stswi   r5,r3,20                               
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY )
ffc16348:	81 21 00 14 	lwz     r9,20(r1)                              
ffc1634c:	80 09 00 10 	lwz     r0,16(r9)                              
ffc16350:	90 81 00 28 	stw     r4,40(r1)                              
ffc16354:	7c 09 03 a6 	mtctr   r0                                     
ffc16358:	4e 80 04 21 	bctrl                                          
ffc1635c:	80 81 00 28 	lwz     r4,40(r1)                              
ffc16360:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc16364:	41 be 00 18 	beq+    cr7,ffc1637c <getdents+0x7c>           
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc16368:	4b ff 9d f5 	bl      ffc1015c <__errno>                     
ffc1636c:	38 00 00 14 	li      r0,20                                  
ffc16370:	90 03 00 00 	stw     r0,0(r3)                               
ffc16374:	38 60 ff ff 	li      r3,-1                                  
ffc16378:	48 00 00 1c 	b       ffc16394 <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  );   
ffc1637c:	81 3e 00 24 	lwz     r9,36(r30)                             
ffc16380:	7f c3 f3 78 	mr      r3,r30                                 
ffc16384:	7f e5 fb 78 	mr      r5,r31                                 
ffc16388:	80 09 00 08 	lwz     r0,8(r9)                               
ffc1638c:	7c 09 03 a6 	mtctr   r0                                     
ffc16390:	4e 80 04 21 	bctrl                                          
}                                                                     
ffc16394:	39 61 00 38 	addi    r11,r1,56                              
ffc16398:	4b ff f8 a8 	b       ffc15c40 <_restgpr_30_x>               
                                                                      

ffc04280 <gettimeofday>: */ int gettimeofday( struct timeval *tp, void * __tz __attribute__((unused)) ) {
ffc04280:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc04284:	7c 08 02 a6 	mflr    r0                                     
ffc04288:	bf c1 00 18 	stmw    r30,24(r1)                             
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp )                                                          
ffc0428c:	7c 7f 1b 79 	mr.     r31,r3                                 
 */                                                                   
int gettimeofday(                                                     
  struct timeval  *tp,                                                
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
ffc04290:	90 01 00 24 	stw     r0,36(r1)                              
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp )                                                          
ffc04294:	40 a2 00 18 	bne+    ffc042ac <gettimeofday+0x2c>           <== ALWAYS TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
ffc04298:	48 00 ae e5 	bl      ffc0f17c <__errno>                     <== NOT EXECUTED
ffc0429c:	38 00 00 0e 	li      r0,14                                  <== NOT EXECUTED
ffc042a0:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
ffc042a4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc042a8:	48 00 00 3c 	b       ffc042e4 <gettimeofday+0x64>           <== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc042ac:	7f c0 00 a6 	mfmsr   r30                                    
ffc042b0:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc042b4:	7f c0 00 78 	andc    r0,r30,r0                              
ffc042b8:	7c 00 01 24 	mtmsr   r0                                     
  ISR_Level       level;                                              
  struct timespec now;                                                
  suseconds_t     useconds;                                           
                                                                      
  _ISR_Disable(level);                                                
    _TOD_Get( &now );                                                 
ffc042bc:	38 61 00 08 	addi    r3,r1,8                                
ffc042c0:	48 00 45 ad 	bl      ffc0886c <_TOD_Get>                    
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc042c4:	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;                                         
ffc042c8:	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;                                                           
ffc042cc:	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;           
ffc042d0:	81 21 00 0c 	lwz     r9,12(r1)                              
                                                                      
  time->tv_sec  = now.tv_sec;                                         
ffc042d4:	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;           
ffc042d8:	38 00 03 e8 	li      r0,1000                                
ffc042dc:	7c 09 03 d6 	divw    r0,r9,r0                               
                                                                      
  time->tv_sec  = now.tv_sec;                                         
  time->tv_usec = useconds;                                           
ffc042e0:	90 1f 00 04 	stw     r0,4(r31)                              
}                                                                     
ffc042e4:	39 61 00 20 	addi    r11,r1,32                              
ffc042e8:	48 00 fe 70 	b       ffc14158 <_restgpr_30_x>               
                                                                      

ffc0e834 <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 )
ffc0e834:	81 23 00 1c 	lwz     r9,28(r3)                              
     return -1;      /* It wasn't a directory --> return error */     
ffc0e838:	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 )                            
ffc0e83c:	81 29 00 4c 	lwz     r9,76(r9)                              
ffc0e840:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc0e844:	40 be 00 18 	bne+    cr7,ffc0e85c <imfs_dir_open+0x28>      <== NEVER TAKEN
     return -1;      /* It wasn't a directory --> return error */     
                                                                      
  iop->offset = 0;                                                    
ffc0e848:	39 20 00 00 	li      r9,0                                   
ffc0e84c:	39 40 00 00 	li      r10,0                                  
ffc0e850:	91 23 00 10 	stw     r9,16(r3)                              
  return 0;                                                           
ffc0e854:	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;                                                    
ffc0e858:	91 43 00 14 	stw     r10,20(r3)                             
  return 0;                                                           
}                                                                     
ffc0e85c:	7c 03 03 78 	mr      r3,r0                                  
ffc0e860:	4e 80 00 20 	blr                                            
                                                                      

ffc0ea7c <imfs_dir_rmnod>: int imfs_dir_rmnod( rtems_filesystem_location_info_t *parent_pathloc, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN */ ) {
ffc0ea7c:	7c 08 02 a6 	mflr    r0                                     
ffc0ea80:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0ea84:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0ea88:	90 01 00 14 	stw     r0,20(r1)                              
ffc0ea8c:	48 00 56 85 	bl      ffc14110 <_savegpr_31>                 
  IMFS_jnode_t *the_jnode;                                            
                                                                      
  the_jnode = (IMFS_jnode_t *) pathloc->node_access;                  
ffc0ea90:	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 ) ) 
ffc0ea94:	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 );                            
ffc0ea98:	38 1f 00 54 	addi    r0,r31,84                              
ffc0ea9c:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0eaa0:	41 be 00 10 	beq+    cr7,ffc0eab0 <imfs_dir_rmnod+0x34>     
     rtems_set_errno_and_return_minus_one( ENOTEMPTY );               
ffc0eaa4:	48 00 06 d9 	bl      ffc0f17c <__errno>                     
ffc0eaa8:	38 00 00 5a 	li      r0,90                                  
ffc0eaac:	48 00 00 1c 	b       ffc0eac8 <imfs_dir_rmnod+0x4c>         
                                                                      
  /*                                                                  
   * You cannot remove the file system root node.                     
   */                                                                 
                                                                      
  if ( pathloc->mt_entry->mt_fs_root.node_access == pathloc->node_access )
ffc0eab0:	81 24 00 10 	lwz     r9,16(r4)                              
ffc0eab4:	80 09 00 1c 	lwz     r0,28(r9)                              
ffc0eab8:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0eabc:	40 be 00 18 	bne+    cr7,ffc0ead4 <imfs_dir_rmnod+0x58>     
     rtems_set_errno_and_return_minus_one( EBUSY );                   
ffc0eac0:	48 00 06 bd 	bl      ffc0f17c <__errno>                     
ffc0eac4:	38 00 00 10 	li      r0,16                                  
ffc0eac8:	90 03 00 00 	stw     r0,0(r3)                               
ffc0eacc:	38 60 ff ff 	li      r3,-1                                  
ffc0ead0:	48 00 00 24 	b       ffc0eaf4 <imfs_dir_rmnod+0x78>         
                                                                      
  /*                                                                  
   * You cannot remove a mountpoint.                                  
   */                                                                 
                                                                      
   if ( the_jnode->info.directory.mt_fs != NULL )                     
ffc0ead4:	80 1f 00 5c 	lwz     r0,92(r31)                             
ffc0ead8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0eadc:	40 be ff e4 	bne-    cr7,ffc0eac0 <imfs_dir_rmnod+0x44>     <== NEVER TAKEN
     rtems_set_errno_and_return_minus_one( EBUSY );                   
                                                                      
  IMFS_create_orphan( the_jnode );                                    
ffc0eae0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0eae4:	4b ff d6 41 	bl      ffc0c124 <IMFS_create_orphan>          
  IMFS_check_node_remove( the_jnode );                                
ffc0eae8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0eaec:	4b ff d6 91 	bl      ffc0c17c <IMFS_check_node_remove>      
                                                                      
  return 0;                                                           
ffc0eaf0:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0eaf4:	39 61 00 10 	addi    r11,r1,16                              
ffc0eaf8:	48 00 56 64 	b       ffc1415c <_restgpr_31_x>               
                                                                      

ffc04e80 <init_etc_passwd_group>: /* * Initialize useable but dummy databases */ void init_etc_passwd_group(void) {
ffc04e80:	7c 08 02 a6 	mflr    r0                                     
ffc04e84:	7c 2b 0b 78 	mr      r11,r1                                 
ffc04e88:	94 21 ff f0 	stwu    r1,-16(r1)                             
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
ffc04e8c:	3d 20 00 00 	lis     r9,0                                   
                                                                      
/*                                                                    
 * Initialize useable but dummy databases                             
 */                                                                   
void init_etc_passwd_group(void)                                      
{                                                                     
ffc04e90:	90 01 00 14 	stw     r0,20(r1)                              
ffc04e94:	48 01 10 21 	bl      ffc15eb4 <_savegpr_31>                 
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
ffc04e98:	88 09 28 58 	lbz     r0,10328(r9)                           
ffc04e9c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04ea0:	40 be 00 bc 	bne+    cr7,ffc04f5c <init_etc_passwd_group+0xdc>
    return;                                                           
  etc_passwd_initted = 1;                                             
  mkdir("/etc", 0777);                                                
ffc04ea4:	3c 60 ff c1 	lis     r3,-63                                 
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
ffc04ea8:	38 00 00 01 	li      r0,1                                   
  mkdir("/etc", 0777);                                                
ffc04eac:	38 80 01 ff 	li      r4,511                                 
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
ffc04eb0:	98 09 28 58 	stb     r0,10328(r9)                           
  mkdir("/etc", 0777);                                                
ffc04eb4:	38 63 7c 53 	addi    r3,r3,31827                            
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
ffc04eb8:	3f e0 ff c1 	lis     r31,-63                                
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
  mkdir("/etc", 0777);                                                
ffc04ebc:	48 00 09 d5 	bl      ffc05890 <mkdir>                       
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
ffc04ec0:	3b ff 7c 58 	addi    r31,r31,31832                          
ffc04ec4:	3c 80 ff c1 	lis     r4,-63                                 
ffc04ec8:	7f e3 fb 78 	mr      r3,r31                                 
ffc04ecc:	38 84 74 7c 	addi    r4,r4,29820                            
ffc04ed0:	48 00 c0 b9 	bl      ffc10f88 <fopen>                       
ffc04ed4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04ed8:	40 be 00 30 	bne+    cr7,ffc04f08 <init_etc_passwd_group+0x88>
    fclose(fp);                                                       
  }                                                                   
  else if ((fp = fopen("/etc/passwd", "w")) != NULL) {                
ffc04edc:	3c 80 ff c1 	lis     r4,-63                                 
ffc04ee0:	7f e3 fb 78 	mr      r3,r31                                 
ffc04ee4:	38 84 7c 64 	addi    r4,r4,31844                            
ffc04ee8:	48 00 c0 a1 	bl      ffc10f88 <fopen>                       
ffc04eec:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc04ef0:	41 82 00 1c 	beq-    ffc04f0c <init_etc_passwd_group+0x8c>  <== NEVER TAKEN
    fprintf(fp, "root:*:0:0:root::/:/bin/sh\n"                        
ffc04ef4:	3c 60 ff c1 	lis     r3,-63                                 
ffc04ef8:	38 63 7c 66 	addi    r3,r3,31846                            
ffc04efc:	7f e4 fb 78 	mr      r4,r31                                 
ffc04f00:	48 00 c1 4d 	bl      ffc1104c <fputs>                       
                 "rtems:*:1:1:RTEMS Application::/:/bin/sh\n"         
                 "tty:!:2:2:tty owner::/:/bin/false\n" );             
    fclose(fp);                                                       
ffc04f04:	7f e3 fb 78 	mr      r3,r31                                 
ffc04f08:	48 00 b6 c1 	bl      ffc105c8 <fclose>                      
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize /etc/group                                           
   */                                                                 
  if ((fp = fopen("/etc/group", "r")) != NULL) {                      
ffc04f0c:	3f e0 ff c1 	lis     r31,-63                                
ffc04f10:	3b ff 7c cd 	addi    r31,r31,31949                          
ffc04f14:	3c 80 ff c1 	lis     r4,-63                                 
ffc04f18:	7f e3 fb 78 	mr      r3,r31                                 
ffc04f1c:	38 84 74 7c 	addi    r4,r4,29820                            
ffc04f20:	48 00 c0 69 	bl      ffc10f88 <fopen>                       
ffc04f24:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04f28:	40 be 00 30 	bne+    cr7,ffc04f58 <init_etc_passwd_group+0xd8>
    fclose(fp);                                                       
  }                                                                   
  else if ((fp = fopen("/etc/group", "w")) != NULL) {                 
ffc04f2c:	3c 80 ff c1 	lis     r4,-63                                 
ffc04f30:	7f e3 fb 78 	mr      r3,r31                                 
ffc04f34:	38 84 7c 64 	addi    r4,r4,31844                            
ffc04f38:	48 00 c0 51 	bl      ffc10f88 <fopen>                       
ffc04f3c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc04f40:	41 82 00 1c 	beq-    ffc04f5c <init_etc_passwd_group+0xdc>  <== NEVER TAKEN
    fprintf( fp, "root:x:0:root\n"                                    
ffc04f44:	3c 60 ff c1 	lis     r3,-63                                 
ffc04f48:	38 63 7c d8 	addi    r3,r3,31960                            
ffc04f4c:	7f e4 fb 78 	mr      r4,r31                                 
ffc04f50:	48 00 c0 fd 	bl      ffc1104c <fputs>                       
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
ffc04f54:	7f e3 fb 78 	mr      r3,r31                                 
ffc04f58:	48 00 b6 71 	bl      ffc105c8 <fclose>                      
  }                                                                   
}                                                                     
ffc04f5c:	39 61 00 10 	addi    r11,r1,16                              
ffc04f60:	4b ff b9 68 	b       ffc008c8 <_restgpr_31_x>               
                                                                      

ffc06174 <iproc>: /* * Process a single input character */ static int iproc (unsigned char c, struct rtems_termios_tty *tty) {
ffc06174:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc06178:	7c 08 02 a6 	mflr    r0                                     
ffc0617c:	90 01 00 14 	stw     r0,20(r1)                              
  if (tty->termios.c_iflag & ISTRIP)                                  
ffc06180:	80 04 00 30 	lwz     r0,48(r4)                              
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
ffc06184:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc06188:	7c 7e 1b 78 	mr      r30,r3                                 
  if (tty->termios.c_iflag & ISTRIP)                                  
ffc0618c:	70 09 00 20 	andi.   r9,r0,32                               
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
ffc06190:	7c 9f 23 78 	mr      r31,r4                                 
  if (tty->termios.c_iflag & ISTRIP)                                  
ffc06194:	41 82 00 08 	beq-    ffc0619c <iproc+0x28>                  <== ALWAYS TAKEN
    c &= 0x7f;                                                        
ffc06198:	54 7e 06 7e 	clrlwi  r30,r3,25                              <== NOT EXECUTED
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
ffc0619c:	70 09 02 00 	andi.   r9,r0,512                              
ffc061a0:	41 82 00 28 	beq-    ffc061c8 <iproc+0x54>                  
    c = tolower (c);                                                  
ffc061a4:	3d 20 00 00 	lis     r9,0                                   
ffc061a8:	81 29 27 24 	lwz     r9,10020(r9)                           
ffc061ac:	7d 29 f2 14 	add     r9,r9,r30                              
ffc061b0:	89 29 00 01 	lbz     r9,1(r9)                               
ffc061b4:	55 29 07 be 	clrlwi  r9,r9,30                               
ffc061b8:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc061bc:	40 be 00 08 	bne+    cr7,ffc061c4 <iproc+0x50>              
ffc061c0:	3b de 00 20 	addi    r30,r30,32                             
ffc061c4:	57 de 06 3e 	clrlwi  r30,r30,24                             
                                                                      
  if (c == '\r') {                                                    
ffc061c8:	2f 9e 00 0d 	cmpwi   cr7,r30,13                             
ffc061cc:	40 be 00 20 	bne+    cr7,ffc061ec <iproc+0x78>              
    if (tty->termios.c_iflag & IGNCR)                                 
ffc061d0:	70 09 00 80 	andi.   r9,r0,128                              
      return 0;                                                       
ffc061d4:	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)                                 
ffc061d8:	40 82 01 44 	bne-    ffc0631c <iproc+0x1a8>                 <== NEVER TAKEN
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
ffc061dc:	70 09 01 00 	andi.   r9,r0,256                              
ffc061e0:	41 82 00 2c 	beq-    ffc0620c <iproc+0x98>                  <== NEVER TAKEN
      c = '\n';                                                       
ffc061e4:	3b c0 00 0a 	li      r30,10                                 
ffc061e8:	48 00 00 24 	b       ffc0620c <iproc+0x98>                  
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
ffc061ec:	2f 9e 00 0a 	cmpwi   cr7,r30,10                             
ffc061f0:	40 be 00 14 	bne+    cr7,ffc06204 <iproc+0x90>              
ffc061f4:	70 09 00 40 	andi.   r9,r0,64                               
ffc061f8:	41 82 00 14 	beq-    ffc0620c <iproc+0x98>                  <== ALWAYS TAKEN
    c = '\r';                                                         
ffc061fc:	3b c0 00 0d 	li      r30,13                                 <== NOT EXECUTED
ffc06200:	48 00 00 0c 	b       ffc0620c <iproc+0x98>                  <== NOT EXECUTED
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
ffc06204:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc06208:	41 be 00 c8 	beq+    cr7,ffc062d0 <iproc+0x15c>             <== NEVER TAKEN
ffc0620c:	80 1f 00 3c 	lwz     r0,60(r31)                             
ffc06210:	70 09 00 02 	andi.   r9,r0,2                                
ffc06214:	41 82 00 bc 	beq-    ffc062d0 <iproc+0x15c>                 
    if (c == tty->termios.c_cc[VERASE]) {                             
ffc06218:	89 3f 00 43 	lbz     r9,67(r31)                             
      erase (tty, 0);                                                 
ffc0621c:	7f e3 fb 78 	mr      r3,r31                                 
ffc06220:	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]) {                             
ffc06224:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc06228:	41 9e 00 18 	beq-    cr7,ffc06240 <iproc+0xcc>              
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
ffc0622c:	89 3f 00 44 	lbz     r9,68(r31)                             
ffc06230:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc06234:	40 be 00 14 	bne+    cr7,ffc06248 <iproc+0xd4>              
      erase (tty, 1);                                                 
ffc06238:	7f e3 fb 78 	mr      r3,r31                                 
ffc0623c:	38 80 00 01 	li      r4,1                                   
ffc06240:	4b ff fd 29 	bl      ffc05f68 <erase>                       
ffc06244:	48 00 00 d4 	b       ffc06318 <iproc+0x1a4>                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
ffc06248:	89 3f 00 45 	lbz     r9,69(r31)                             
      return 1;                                                       
ffc0624c:	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]) {                          
ffc06250:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc06254:	41 9e 00 c8 	beq-    cr7,ffc0631c <iproc+0x1a8>             <== NEVER TAKEN
      return 1;                                                       
    } else if (c == '\n') {                                           
ffc06258:	2f 9e 00 0a 	cmpwi   cr7,r30,10                             
ffc0625c:	40 be 00 2c 	bne+    cr7,ffc06288 <iproc+0x114>             
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
ffc06260:	70 09 00 48 	andi.   r9,r0,72                               
ffc06264:	41 a2 00 10 	beq+    ffc06274 <iproc+0x100>                 <== NEVER TAKEN
        echo (c, tty);                                                
ffc06268:	38 60 00 0a 	li      r3,10                                  
ffc0626c:	7f e4 fb 78 	mr      r4,r31                                 
ffc06270:	4b ff fc 6d 	bl      ffc05edc <echo>                        
      tty->cbuf[tty->ccount++] = c;                                   
ffc06274:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc06278:	38 00 00 0a 	li      r0,10                                  
ffc0627c:	81 7f 00 1c 	lwz     r11,28(r31)                            
ffc06280:	7c 0b 49 ae 	stbx    r0,r11,r9                              
ffc06284:	48 00 00 3c 	b       ffc062c0 <iproc+0x14c>                 
      return 1;                                                       
    } else if ((c == tty->termios.c_cc[VEOL]) ||                      
ffc06288:	89 3f 00 4c 	lbz     r9,76(r31)                             
ffc0628c:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc06290:	41 9e 00 10 	beq-    cr7,ffc062a0 <iproc+0x12c>             <== NEVER TAKEN
ffc06294:	89 3f 00 51 	lbz     r9,81(r31)                             
ffc06298:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc0629c:	40 be 00 34 	bne+    cr7,ffc062d0 <iproc+0x15c>             <== ALWAYS TAKEN
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
ffc062a0:	70 09 00 08 	andi.   r9,r0,8                                <== NOT EXECUTED
ffc062a4:	41 a2 00 10 	beq+    ffc062b4 <iproc+0x140>                 <== NOT EXECUTED
        echo (c, tty);                                                
ffc062a8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc062ac:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc062b0:	4b ff fc 2d 	bl      ffc05edc <echo>                        <== NOT EXECUTED
      tty->cbuf[tty->ccount++] = c;                                   
ffc062b4:	81 3f 00 20 	lwz     r9,32(r31)                             <== NOT EXECUTED
ffc062b8:	81 7f 00 1c 	lwz     r11,28(r31)                            <== NOT EXECUTED
ffc062bc:	7f cb 49 ae 	stbx    r30,r11,r9                             <== NOT EXECUTED
ffc062c0:	39 29 00 01 	addi    r9,r9,1                                
ffc062c4:	91 3f 00 20 	stw     r9,32(r31)                             
      return 1;                                                       
ffc062c8:	38 60 00 01 	li      r3,1                                   
ffc062cc:	48 00 00 50 	b       ffc0631c <iproc+0x1a8>                 
  }                                                                   
                                                                      
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
ffc062d0:	3d 20 00 00 	lis     r9,0                                   
ffc062d4:	81 29 21 ac 	lwz     r9,8620(r9)                            
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
  }                                                                   
  return 0;                                                           
ffc062d8:	38 60 00 00 	li      r3,0                                   
  }                                                                   
                                                                      
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
ffc062dc:	38 09 ff ff 	addi    r0,r9,-1                               
ffc062e0:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc062e4:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc062e8:	40 9c 00 34 	bge-    cr7,ffc0631c <iproc+0x1a8>             <== NEVER TAKEN
    if (tty->termios.c_lflag & ECHO)                                  
ffc062ec:	80 1f 00 3c 	lwz     r0,60(r31)                             
ffc062f0:	70 09 00 08 	andi.   r9,r0,8                                
ffc062f4:	41 a2 00 10 	beq+    ffc06304 <iproc+0x190>                 <== NEVER TAKEN
      echo (c, tty);                                                  
ffc062f8:	7f c3 f3 78 	mr      r3,r30                                 
ffc062fc:	7f e4 fb 78 	mr      r4,r31                                 
ffc06300:	4b ff fb dd 	bl      ffc05edc <echo>                        
    tty->cbuf[tty->ccount++] = c;                                     
ffc06304:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc06308:	81 7f 00 1c 	lwz     r11,28(r31)                            
ffc0630c:	7f cb 49 ae 	stbx    r30,r11,r9                             
ffc06310:	39 29 00 01 	addi    r9,r9,1                                
ffc06314:	91 3f 00 20 	stw     r9,32(r31)                             
  }                                                                   
  return 0;                                                           
ffc06318:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0631c:	39 61 00 10 	addi    r11,r1,16                              
ffc06320:	48 00 de 38 	b       ffc14158 <_restgpr_30_x>               
                                                                      

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

ffc14720 <libc_wrapup>: extern void _wrapup_reent(struct _reent *); extern void _reclaim_reent(struct _reent *); void libc_wrapup(void) {
ffc14720:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc14724:	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()))                      
ffc14728:	3d 20 00 00 	lis     r9,0                                   
                                                                      
extern void _wrapup_reent(struct _reent *);                           
extern void _reclaim_reent(struct _reent *);                          
                                                                      
void libc_wrapup(void)                                                
{                                                                     
ffc1472c:	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()))                      
ffc14730:	80 09 27 e8 	lwz     r0,10216(r9)                           
                                                                      
extern void _wrapup_reent(struct _reent *);                           
extern void _reclaim_reent(struct _reent *);                          
                                                                      
void libc_wrapup(void)                                                
{                                                                     
ffc14734:	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()))                      
ffc14738:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc1473c:	40 be 00 50 	bne+    cr7,ffc1478c <libc_wrapup+0x6c>        <== NEVER TAKEN
  /*                                                                  
   *  This was already done if the user called exit() directly .      
  _wrapup_reent(0);                                                   
   */                                                                 
                                                                      
  if (_REENT != _global_impure_ptr) {                                 
ffc14740:	3d 20 00 00 	lis     r9,0                                   
ffc14744:	3f c0 00 00 	lis     r30,0                                  
ffc14748:	83 e9 27 2c 	lwz     r31,10028(r9)                          
ffc1474c:	80 1e 27 28 	lwz     r0,10024(r30)                          
ffc14750:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc14754:	41 9e 00 10 	beq-    cr7,ffc14764 <libc_wrapup+0x44>        
      _wrapup_reent(_global_impure_ptr);                              
ffc14758:	7f e3 fb 78 	mr      r3,r31                                 
ffc1475c:	48 00 07 d5 	bl      ffc14f30 <_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;                                    
ffc14760:	93 fe 27 28 	stw     r31,10024(r30)                         
   *                                                                  
   * Should this be changed to do *all* file streams?                 
   *    _fwalk (_REENT, fclose);                                      
   */                                                                 
                                                                      
  fclose (stdin);                                                     
ffc14764:	3f e0 00 00 	lis     r31,0                                  
ffc14768:	81 3f 27 28 	lwz     r9,10024(r31)                          
ffc1476c:	80 69 00 04 	lwz     r3,4(r9)                               
ffc14770:	4b ff ab ad 	bl      ffc0f31c <fclose>                      
  fclose (stdout);                                                    
ffc14774:	81 3f 27 28 	lwz     r9,10024(r31)                          
ffc14778:	80 69 00 08 	lwz     r3,8(r9)                               
ffc1477c:	4b ff ab a1 	bl      ffc0f31c <fclose>                      
  fclose (stderr);                                                    
ffc14780:	81 3f 27 28 	lwz     r9,10024(r31)                          
ffc14784:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc14788:	4b ff ab 95 	bl      ffc0f31c <fclose>                      
}                                                                     
ffc1478c:	39 61 00 10 	addi    r11,r1,16                              
ffc14790:	4b ff f9 c8 	b       ffc14158 <_restgpr_30_x>               
                                                                      

ffc145fc <lseek>: off_t lseek( int fd, off_t offset, int whence ) {
ffc145fc:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc14600:	7c 08 02 a6 	mflr    r0                                     
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc14604:	3d 20 00 00 	lis     r9,0                                   
off_t lseek(                                                          
  int     fd,                                                         
  off_t   offset,                                                     
  int     whence                                                      
)                                                                     
{                                                                     
ffc14608:	90 01 00 1c 	stw     r0,28(r1)                              
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1460c:	80 09 26 cc 	lwz     r0,9932(r9)                            
off_t lseek(                                                          
  int     fd,                                                         
  off_t   offset,                                                     
  int     whence                                                      
)                                                                     
{                                                                     
ffc14610:	bf a1 00 0c 	stmw    r29,12(r1)                             
  rtems_libio_t *iop;                                                 
  off_t          old_offset;                                          
  off_t          status;                                              
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc14614:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc14618:	40 9c 00 20 	bge-    cr7,ffc14638 <lseek+0x3c>              
  iop = rtems_libio_iop( fd );                                        
ffc1461c:	3d 20 00 00 	lis     r9,0                                   
ffc14620:	83 a9 27 88 	lwz     r29,10120(r9)                          
ffc14624:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc14628:	7f bd 1a 14 	add     r29,r29,r3                             
  rtems_libio_check_is_open(iop);                                     
ffc1462c:	80 1d 00 18 	lwz     r0,24(r29)                             
ffc14630:	70 09 01 00 	andi.   r9,r0,256                              
ffc14634:	40 a2 00 10 	bne+    ffc14644 <lseek+0x48>                  
ffc14638:	4b ff ab 45 	bl      ffc0f17c <__errno>                     
ffc1463c:	38 00 00 09 	li      r0,9                                   
ffc14640:	48 00 00 60 	b       ffc146a0 <lseek+0xa4>                  
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
  switch ( whence ) {                                                 
ffc14644:	2f 87 00 01 	cmpwi   cr7,r7,1                               
                                                                      
  /*                                                                  
   *  Now process the lseek().                                        
   */                                                                 
                                                                      
  old_offset = iop->offset;                                           
ffc14648:	83 dd 00 10 	lwz     r30,16(r29)                            
ffc1464c:	83 fd 00 14 	lwz     r31,20(r29)                            
  switch ( whence ) {                                                 
ffc14650:	41 9e 00 20 	beq-    cr7,ffc14670 <lseek+0x74>              
ffc14654:	2f 87 00 02 	cmpwi   cr7,r7,2                               
ffc14658:	41 9e 00 24 	beq-    cr7,ffc1467c <lseek+0x80>              
ffc1465c:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc14660:	40 9e 00 38 	bne-    cr7,ffc14698 <lseek+0x9c>              
    case SEEK_SET:                                                    
      iop->offset = offset;                                           
ffc14664:	90 bd 00 10 	stw     r5,16(r29)                             
ffc14668:	90 dd 00 14 	stw     r6,20(r29)                             
      break;                                                          
ffc1466c:	48 00 00 44 	b       ffc146b0 <lseek+0xb4>                  
                                                                      
    case SEEK_CUR:                                                    
      iop->offset += offset;                                          
ffc14670:	7d 46 f8 14 	addc    r10,r6,r31                             
ffc14674:	7d 25 f1 14 	adde    r9,r5,r30                              
ffc14678:	48 00 00 14 	b       ffc1468c <lseek+0x90>                  
      break;                                                          
                                                                      
    case SEEK_END:                                                    
      iop->offset = iop->size + offset;                               
ffc1467c:	81 3d 00 08 	lwz     r9,8(r29)                              
ffc14680:	81 5d 00 0c 	lwz     r10,12(r29)                            
ffc14684:	7d 4a 30 14 	addc    r10,r10,r6                             
ffc14688:	7d 29 29 14 	adde    r9,r9,r5                               
ffc1468c:	91 3d 00 10 	stw     r9,16(r29)                             
ffc14690:	91 5d 00 14 	stw     r10,20(r29)                            
      break;                                                          
ffc14694:	48 00 00 1c 	b       ffc146b0 <lseek+0xb4>                  
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc14698:	4b ff aa e5 	bl      ffc0f17c <__errno>                     
ffc1469c:	38 00 00 16 	li      r0,22                                  
ffc146a0:	90 03 00 00 	stw     r0,0(r3)                               
ffc146a4:	39 20 ff ff 	li      r9,-1                                  
ffc146a8:	39 40 ff ff 	li      r10,-1                                 
ffc146ac:	48 00 00 38 	b       ffc146e4 <lseek+0xe8>                  
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->pathinfo.handlers->lseek_h)( iop, offset, whence ); 
ffc146b0:	81 3d 00 24 	lwz     r9,36(r29)                             
ffc146b4:	7f a3 eb 78 	mr      r3,r29                                 
ffc146b8:	80 09 00 14 	lwz     r0,20(r9)                              
ffc146bc:	7c 09 03 a6 	mtctr   r0                                     
ffc146c0:	4e 80 04 21 	bctrl                                          
ffc146c4:	7c 69 1b 78 	mr      r9,r3                                  
  if ( status == (off_t) -1 )                                         
ffc146c8:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
  /*                                                                  
   *  At this time, handlers assume iop->offset has the desired       
   *  new offset.                                                     
   */                                                                 
                                                                      
  status = (*iop->pathinfo.handlers->lseek_h)( iop, offset, whence ); 
ffc146cc:	7c 8a 23 78 	mr      r10,r4                                 
  if ( status == (off_t) -1 )                                         
ffc146d0:	40 be 00 14 	bne+    cr7,ffc146e4 <lseek+0xe8>              
ffc146d4:	2f 84 ff ff 	cmpwi   cr7,r4,-1                              
ffc146d8:	40 be 00 0c 	bne+    cr7,ffc146e4 <lseek+0xe8>              <== NEVER TAKEN
    iop->offset = old_offset;                                         
ffc146dc:	93 dd 00 10 	stw     r30,16(r29)                            
ffc146e0:	93 fd 00 14 	stw     r31,20(r29)                            
  /*                                                                  
   *  So if the operation failed, we have to restore iop->offset.     
   */                                                                 
                                                                      
  return status;                                                      
}                                                                     
ffc146e4:	39 61 00 18 	addi    r11,r1,24                              
ffc146e8:	7d 23 4b 78 	mr      r3,r9                                  
ffc146ec:	7d 44 53 78 	mr      r4,r10                                 
ffc146f0:	4b ff fa 64 	b       ffc14154 <_restgpr_29_x>               
                                                                      

ffc04568 <malloc>: #include "malloc_p.h" void *malloc( size_t size ) {
ffc04568:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0456c:	7c 08 02 a6 	mflr    r0                                     
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
ffc04570:	3d 20 00 00 	lis     r9,0                                   
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
ffc04574:	90 01 00 14 	stw     r0,20(r1)                              
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
ffc04578:	39 29 2a c8 	addi    r9,r9,10952                            
ffc0457c:	81 69 00 04 	lwz     r11,4(r9)                              
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
ffc04580:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc04584:	7c 7f 1b 78 	mr      r31,r3                                 
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
ffc04588:	38 0b 00 01 	addi    r0,r11,1                               
ffc0458c:	90 09 00 04 	stw     r0,4(r9)                               
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
    return (void *) 0;                                                
ffc04590:	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();                                    
ffc04594:	4b ff fe 79 	bl      ffc0440c <malloc_deferred_frees_process>
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
ffc04598:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0459c:	41 9e 00 bc 	beq-    cr7,ffc04658 <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()) &&                    
ffc045a0:	3d 20 00 00 	lis     r9,0                                   
ffc045a4:	80 09 27 e8 	lwz     r0,10216(r9)                           
ffc045a8:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc045ac:	40 be 00 10 	bne+    cr7,ffc045bc <malloc+0x54>             
       !malloc_is_system_state_OK() )                                 
ffc045b0:	4b ff fe 15 	bl      ffc043c4 <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()) &&                    
ffc045b4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc045b8:	41 9e 00 a0 	beq-    cr7,ffc04658 <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 );
ffc045bc:	3d 20 00 00 	lis     r9,0                                   
ffc045c0:	80 69 26 dc 	lwz     r3,9948(r9)                            
ffc045c4:	7f e4 fb 78 	mr      r4,r31                                 
ffc045c8:	38 a0 00 00 	li      r5,0                                   
ffc045cc:	38 c0 00 00 	li      r6,0                                   
ffc045d0:	48 00 4f e9 	bl      ffc095b8 <_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 ) {                                               
ffc045d4:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc045d8:	40 a2 00 40 	bne+    ffc04618 <malloc+0xb0>                 
    if (rtems_malloc_sbrk_helpers)                                    
ffc045dc:	3d 20 00 00 	lis     r9,0                                   
ffc045e0:	81 29 27 4c 	lwz     r9,10060(r9)                           
ffc045e4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc045e8:	41 9e 00 1c 	beq-    cr7,ffc04604 <malloc+0x9c>             
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
ffc045ec:	80 09 00 04 	lwz     r0,4(r9)                               
ffc045f0:	7f e3 fb 78 	mr      r3,r31                                 
ffc045f4:	7c 09 03 a6 	mtctr   r0                                     
ffc045f8:	4e 80 04 21 	bctrl                                          
    if ( !return_this ) {                                             
ffc045fc:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc04600:	40 a2 00 18 	bne+    ffc04618 <malloc+0xb0>                 <== NEVER TAKEN
      errno = ENOMEM;                                                 
ffc04604:	48 00 ab 79 	bl      ffc0f17c <__errno>                     
ffc04608:	38 00 00 0c 	li      r0,12                                  
ffc0460c:	90 03 00 00 	stw     r0,0(r3)                               
      return (void *) 0;                                              
ffc04610:	3b c0 00 00 	li      r30,0                                  
ffc04614:	48 00 00 44 	b       ffc04658 <malloc+0xf0>                 
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
ffc04618:	3d 20 00 00 	lis     r9,0                                   
ffc0461c:	80 09 27 50 	lwz     r0,10064(r9)                           
ffc04620:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04624:	41 9e 00 14 	beq-    cr7,ffc04638 <malloc+0xd0>             
    (*rtems_malloc_dirty_helper)( return_this, size );                
ffc04628:	7f c3 f3 78 	mr      r3,r30                                 
ffc0462c:	7c 09 03 a6 	mtctr   r0                                     
ffc04630:	7f e4 fb 78 	mr      r4,r31                                 
ffc04634:	4e 80 04 21 	bctrl                                          
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
ffc04638:	3d 20 00 00 	lis     r9,0                                   
ffc0463c:	81 29 27 48 	lwz     r9,10056(r9)                           
ffc04640:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc04644:	41 9e 00 14 	beq-    cr7,ffc04658 <malloc+0xf0>             
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
ffc04648:	80 09 00 04 	lwz     r0,4(r9)                               
ffc0464c:	7f c3 f3 78 	mr      r3,r30                                 
ffc04650:	7c 09 03 a6 	mtctr   r0                                     
ffc04654:	4e 80 04 21 	bctrl                                          
                                                                      
  return return_this;                                                 
}                                                                     
ffc04658:	39 61 00 10 	addi    r11,r1,16                              
ffc0465c:	7f c3 f3 78 	mr      r3,r30                                 
ffc04660:	48 00 fa f8 	b       ffc14158 <_restgpr_30_x>               
                                                                      

ffc049dc <malloc_sbrk_extend_and_allocate>: } void *malloc_sbrk_extend_and_allocate( size_t size ) {
ffc049dc:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc049e0:	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;                             
ffc049e4:	3d 20 00 00 	lis     r9,0                                   
}                                                                     
                                                                      
void *malloc_sbrk_extend_and_allocate(                                
  size_t size                                                         
)                                                                     
{                                                                     
ffc049e8:	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;                             
ffc049ec:	80 09 27 9c 	lwz     r0,10140(r9)                           
}                                                                     
                                                                      
void *malloc_sbrk_extend_and_allocate(                                
  size_t size                                                         
)                                                                     
{                                                                     
ffc049f0:	bf 81 00 08 	stmw    r28,8(r1)                              
ffc049f4:	7c 7d 1b 78 	mr      r29,r3                                 
   *  in "page" amounts.                                              
   */                                                                 
                                                                      
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
                                                                      
  if ( sbrk_amount == 0 )                                             
ffc049f8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return (void *) 0;                                                
ffc049fc:	3b c0 00 00 	li      r30,0                                  
   *  in "page" amounts.                                              
   */                                                                 
                                                                      
  sbrk_amount = RTEMS_Malloc_Sbrk_amount;                             
                                                                      
  if ( sbrk_amount == 0 )                                             
ffc04a00:	41 be 00 7c 	beq+    cr7,ffc04a7c <malloc_sbrk_extend_and_allocate+0xa0><== NEVER TAKEN
    return (void *) 0;                                                
                                                                      
  the_size = ((size + sbrk_amount) / sbrk_amount * sbrk_amount);      
ffc04a04:	7f e3 02 14 	add     r31,r3,r0                              
ffc04a08:	7f ff 03 96 	divwu   r31,r31,r0                             
ffc04a0c:	7f ff 01 d6 	mullw   r31,r31,r0                             
                                                                      
  starting_address = (void *) sbrk(the_size);                         
ffc04a10:	7f e3 fb 78 	mr      r3,r31                                 
ffc04a14:	4b ff ba 75 	bl      ffc00488 <sbrk>                        
  if ( starting_address == (void*) -1 )                               
ffc04a18:	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);                         
ffc04a1c:	7c 64 1b 78 	mr      r4,r3                                  
  if ( starting_address == (void*) -1 )                               
ffc04a20:	41 9e 00 5c 	beq-    cr7,ffc04a7c <malloc_sbrk_extend_and_allocate+0xa0>
    return (void *) 0;                                                
                                                                      
  if ( !_Protected_heap_Extend(                                       
ffc04a24:	3f 80 00 00 	lis     r28,0                                  
ffc04a28:	80 7c 26 dc 	lwz     r3,9948(r28)                           
ffc04a2c:	7f e5 fb 78 	mr      r5,r31                                 
ffc04a30:	48 00 50 65 	bl      ffc09a94 <_Protected_heap_Extend>      
ffc04a34:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04a38:	40 be 00 1c 	bne+    cr7,ffc04a54 <malloc_sbrk_extend_and_allocate+0x78>
          RTEMS_Malloc_Heap, starting_address, the_size) ) {          
    sbrk(-the_size);                                                  
ffc04a3c:	7c 7f 00 d0 	neg     r3,r31                                 
ffc04a40:	4b ff ba 49 	bl      ffc00488 <sbrk>                        
    errno = ENOMEM;                                                   
ffc04a44:	48 00 af 0d 	bl      ffc0f950 <__errno>                     
ffc04a48:	38 00 00 0c 	li      r0,12                                  
ffc04a4c:	90 03 00 00 	stw     r0,0(r3)                               
    return (void *) 0;                                                
ffc04a50:	48 00 00 2c 	b       ffc04a7c <malloc_sbrk_extend_and_allocate+0xa0>
  }                                                                   
                                                                      
  MSBUMP(space_available, the_size);                                  
ffc04a54:	3d 20 00 00 	lis     r9,0                                   
ffc04a58:	80 7c 26 dc 	lwz     r3,9948(r28)                           
ffc04a5c:	80 09 2c 28 	lwz     r0,11304(r9)                           
ffc04a60:	7f a4 eb 78 	mr      r4,r29                                 
ffc04a64:	38 a0 00 00 	li      r5,0                                   
ffc04a68:	7f ff 02 14 	add     r31,r31,r0                             
ffc04a6c:	38 c0 00 00 	li      r6,0                                   
ffc04a70:	93 e9 2c 28 	stw     r31,11304(r9)                          
ffc04a74:	48 00 4f c9 	bl      ffc09a3c <_Protected_heap_Allocate_aligned_with_boundary>
ffc04a78:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
}                                                                     
ffc04a7c:	39 61 00 18 	addi    r11,r1,24                              
ffc04a80:	7f c3 f3 78 	mr      r3,r30                                 
ffc04a84:	4b ff bb 34 	b       ffc005b8 <_restgpr_28_x>               
                                                                      

ffc0e428 <memfile_ftruncate>: */ int memfile_ftruncate( rtems_libio_t *iop, rtems_off64_t length ) {
ffc0e428:	7c 08 02 a6 	mflr    r0                                     
ffc0e42c:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0e430:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0e434:	90 01 00 24 	stw     r0,36(r1)                              
ffc0e438:	48 00 5c d9 	bl      ffc14110 <_savegpr_31>                 
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
ffc0e43c:	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 )                           
ffc0e440:	80 1f 00 50 	lwz     r0,80(r31)                             
ffc0e444:	7f 80 28 00 	cmpw    cr7,r0,r5                              
ffc0e448:	41 9c 00 14 	blt-    cr7,ffc0e45c <memfile_ftruncate+0x34>  <== NEVER TAKEN
ffc0e44c:	40 be 00 1c 	bne+    cr7,ffc0e468 <memfile_ftruncate+0x40>  <== NEVER TAKEN
ffc0e450:	80 1f 00 54 	lwz     r0,84(r31)                             
ffc0e454:	7f 80 30 40 	cmplw   cr7,r0,r6                              
ffc0e458:	40 bc 00 10 	bge+    cr7,ffc0e468 <memfile_ftruncate+0x40>  
    return IMFS_memfile_extend( the_jnode, length );                  
ffc0e45c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e460:	4b ff fb f1 	bl      ffc0e050 <IMFS_memfile_extend>         
ffc0e464:	48 00 00 2c 	b       ffc0e490 <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;                                 
ffc0e468:	90 bf 00 50 	stw     r5,80(r31)                             
  iop->size = the_jnode->info.file.size;                              
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc0e46c:	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;                                 
ffc0e470:	90 df 00 54 	stw     r6,84(r31)                             
  iop->size = the_jnode->info.file.size;                              
ffc0e474:	90 a3 00 08 	stw     r5,8(r3)                               
ffc0e478:	90 c3 00 0c 	stw     r6,12(r3)                              
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc0e47c:	38 61 00 08 	addi    r3,r1,8                                
ffc0e480:	4b ff 5e 01 	bl      ffc04280 <gettimeofday>                
ffc0e484:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  return 0;                                                           
ffc0e488:	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 );                                     
ffc0e48c:	90 1f 00 40 	stw     r0,64(r31)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc0e490:	39 61 00 20 	addi    r11,r1,32                              
ffc0e494:	48 00 5c c8 	b       ffc1415c <_restgpr_31_x>               
                                                                      

ffc0e498 <memfile_lseek>: rtems_off64_t memfile_lseek( rtems_libio_t *iop, rtems_off64_t offset, int whence ) {
ffc0e498:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0e49c:	7c 08 02 a6 	mflr    r0                                     
ffc0e4a0:	90 01 00 14 	stw     r0,20(r1)                              
ffc0e4a4:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc0e4a8:	7c 7f 1b 78 	mr      r31,r3                                 
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
ffc0e4ac:	83 c3 00 1c 	lwz     r30,28(r3)                             
                                                                      
  if (the_jnode->type == IMFS_LINEAR_FILE) {                          
ffc0e4b0:	80 1e 00 4c 	lwz     r0,76(r30)                             
ffc0e4b4:	2f 80 00 06 	cmpwi   cr7,r0,6                               
ffc0e4b8:	40 9e 00 34 	bne-    cr7,ffc0e4ec <memfile_lseek+0x54>      
    if (iop->offset > the_jnode->info.linearfile.size)                
ffc0e4bc:	81 3e 00 50 	lwz     r9,80(r30)                             
ffc0e4c0:	81 63 00 10 	lwz     r11,16(r3)                             
ffc0e4c4:	80 1e 00 54 	lwz     r0,84(r30)                             
ffc0e4c8:	7f 8b 48 00 	cmpw    cr7,r11,r9                             
ffc0e4cc:	41 9d 00 14 	bgt-    cr7,ffc0e4e0 <memfile_lseek+0x48>      <== NEVER TAKEN
ffc0e4d0:	40 9e 00 5c 	bne-    cr7,ffc0e52c <memfile_lseek+0x94>      <== NEVER TAKEN
ffc0e4d4:	81 63 00 14 	lwz     r11,20(r3)                             
ffc0e4d8:	7f 8b 00 40 	cmplw   cr7,r11,r0                             
ffc0e4dc:	40 9d 00 50 	ble-    cr7,ffc0e52c <memfile_lseek+0x94>      <== ALWAYS TAKEN
      iop->offset = the_jnode->info.linearfile.size;                  
ffc0e4e0:	91 3f 00 10 	stw     r9,16(r31)                             <== NOT EXECUTED
ffc0e4e4:	90 1f 00 14 	stw     r0,20(r31)                             <== NOT EXECUTED
ffc0e4e8:	48 00 00 44 	b       ffc0e52c <memfile_lseek+0x94>          <== NOT EXECUTED
  }                                                                   
  else {  /* Must be a block file (IMFS_MEMORY_FILE). */              
    if (IMFS_memfile_extend( the_jnode, iop->offset ))                
ffc0e4ec:	80 bf 00 10 	lwz     r5,16(r31)                             
ffc0e4f0:	7f c3 f3 78 	mr      r3,r30                                 
ffc0e4f4:	80 df 00 14 	lwz     r6,20(r31)                             
ffc0e4f8:	4b ff fb 59 	bl      ffc0e050 <IMFS_memfile_extend>         
ffc0e4fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e500:	41 be 00 1c 	beq+    cr7,ffc0e51c <memfile_lseek+0x84>      
      rtems_set_errno_and_return_minus_one( ENOSPC );                 
ffc0e504:	48 00 0c 79 	bl      ffc0f17c <__errno>                     
ffc0e508:	38 00 00 1c 	li      r0,28                                  
ffc0e50c:	90 03 00 00 	stw     r0,0(r3)                               
ffc0e510:	39 20 ff ff 	li      r9,-1                                  
ffc0e514:	39 40 ff ff 	li      r10,-1                                 
ffc0e518:	48 00 00 1c 	b       ffc0e534 <memfile_lseek+0x9c>          
                                                                      
    iop->size = the_jnode->info.file.size;                            
ffc0e51c:	81 3e 00 50 	lwz     r9,80(r30)                             
ffc0e520:	81 5e 00 54 	lwz     r10,84(r30)                            
ffc0e524:	91 3f 00 08 	stw     r9,8(r31)                              
ffc0e528:	91 5f 00 0c 	stw     r10,12(r31)                            
  }                                                                   
  return iop->offset;                                                 
ffc0e52c:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc0e530:	81 5f 00 14 	lwz     r10,20(r31)                            
}                                                                     
ffc0e534:	39 61 00 10 	addi    r11,r1,16                              
ffc0e538:	7d 23 4b 78 	mr      r3,r9                                  
ffc0e53c:	7d 44 53 78 	mr      r4,r10                                 
ffc0e540:	48 00 5c 18 	b       ffc14158 <_restgpr_30_x>               
                                                                      

ffc0e368 <memfile_open>: rtems_libio_t *iop, const char *pathname, uint32_t flag, uint32_t mode ) {
ffc0e368:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0e36c:	7c 08 02 a6 	mflr    r0                                     
ffc0e370:	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))         
ffc0e374:	80 03 00 18 	lwz     r0,24(r3)                              
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  uint32_t       flag,                                                
  uint32_t       mode                                                 
)                                                                     
{                                                                     
ffc0e378:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc0e37c:	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))         
ffc0e380:	70 09 02 04 	andi.   r9,r0,516                              
  uint32_t       mode                                                 
)                                                                     
{                                                                     
  IMFS_jnode_t  *the_jnode;                                           
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
ffc0e384:	83 e3 00 1c 	lwz     r31,28(r3)                             
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & (LIBIO_FLAGS_WRITE | LIBIO_FLAGS_APPEND))         
ffc0e388:	41 82 00 64 	beq-    ffc0e3ec <memfile_open+0x84>           
   && (the_jnode->type == IMFS_LINEAR_FILE)) {                        
ffc0e38c:	80 1f 00 4c 	lwz     r0,76(r31)                             
ffc0e390:	2f 80 00 06 	cmpwi   cr7,r0,6                               
ffc0e394:	40 be 00 58 	bne+    cr7,ffc0e3ec <memfile_open+0x84>       <== ALWAYS TAKEN
    uint32_t   count = the_jnode->info.linearfile.size;               
ffc0e398:	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;                               
ffc0e39c:	38 00 00 05 	li      r0,5                                   <== NOT EXECUTED
ffc0e3a0:	90 1f 00 4c 	stw     r0,76(r31)                             <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
ffc0e3a4:	39 20 00 00 	li      r9,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)                                                  
ffc0e3a8:	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;                         
ffc0e3ac:	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;  
ffc0e3b0:	80 ff 00 58 	lwz     r7,88(r31)                             <== NOT EXECUTED
                                                                      
    the_jnode->type = IMFS_MEMORY_FILE;                               
    the_jnode->info.file.size            = 0;                         
ffc0e3b4:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
ffc0e3b8:	91 3f 00 50 	stw     r9,80(r31)                             <== NOT EXECUTED
ffc0e3bc:	91 5f 00 54 	stw     r10,84(r31)                            <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
ffc0e3c0:	90 1f 00 58 	stw     r0,88(r31)                             <== NOT EXECUTED
    the_jnode->info.file.doubly_indirect = 0;                         
ffc0e3c4:	90 1f 00 5c 	stw     r0,92(r31)                             <== NOT EXECUTED
    the_jnode->info.file.triply_indirect = 0;                         
ffc0e3c8:	90 1f 00 60 	stw     r0,96(r31)                             <== NOT EXECUTED
    if ((count != 0)                                                  
ffc0e3cc:	41 be 00 20 	beq+    cr7,ffc0e3ec <memfile_open+0x84>       <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
ffc0e3d0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0e3d4:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc0e3d8:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc0e3dc:	4b ff fd 95 	bl      ffc0e170 <IMFS_memfile_write>          <== NOT EXECUTED
        return -1;                                                    
ffc0e3e0:	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))      
ffc0e3e4:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              <== NOT EXECUTED
ffc0e3e8:	41 9e 00 34 	beq-    cr7,ffc0e41c <memfile_open+0xb4>       <== NOT EXECUTED
        return -1;                                                    
  }                                                                   
  if (iop->flags & LIBIO_FLAGS_APPEND)                                
ffc0e3ec:	80 1e 00 18 	lwz     r0,24(r30)                             
ffc0e3f0:	70 09 02 00 	andi.   r9,r0,512                              
ffc0e3f4:	41 82 00 14 	beq-    ffc0e408 <memfile_open+0xa0>           
    iop->offset = the_jnode->info.file.size;                          
ffc0e3f8:	81 3f 00 50 	lwz     r9,80(r31)                             
ffc0e3fc:	81 5f 00 54 	lwz     r10,84(r31)                            
ffc0e400:	91 3e 00 10 	stw     r9,16(r30)                             
ffc0e404:	91 5e 00 14 	stw     r10,20(r30)                            
                                                                      
  iop->size = the_jnode->info.file.size;                              
ffc0e408:	81 3f 00 50 	lwz     r9,80(r31)                             
  return 0;                                                           
ffc0e40c:	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;                              
ffc0e410:	81 5f 00 54 	lwz     r10,84(r31)                            
ffc0e414:	91 3e 00 08 	stw     r9,8(r30)                              
ffc0e418:	91 5e 00 0c 	stw     r10,12(r30)                            
  return 0;                                                           
}                                                                     
ffc0e41c:	39 61 00 10 	addi    r11,r1,16                              
ffc0e420:	7c 03 03 78 	mr      r3,r0                                  
ffc0e424:	48 00 5d 34 	b       ffc14158 <_restgpr_30_x>               
                                                                      

ffc04854 <mount>: /* * Are the file system options valid? */ if ( options != RTEMS_FILESYSTEM_READ_ONLY &&
ffc04854:	2b 86 00 01 	cmplwi  cr7,r6,1                               
  const char                 *target,                                 
  const char                 *filesystemtype,                         
  rtems_filesystem_options_t options,                                 
  const void                 *data                                    
)                                                                     
{                                                                     
ffc04858:	94 21 ff a0 	stwu    r1,-96(r1)                             
ffc0485c:	7c 08 02 a6 	mflr    r0                                     
ffc04860:	be 41 00 28 	stmw    r18,40(r1)                             
ffc04864:	7c 7c 1b 78 	mr      r28,r3                                 
ffc04868:	7c 9f 23 78 	mr      r31,r4                                 
ffc0486c:	90 01 00 64 	stw     r0,100(r1)                             
ffc04870:	7c b9 2b 78 	mr      r25,r5                                 
ffc04874:	7c d8 33 78 	mr      r24,r6                                 
ffc04878:	7c fa 3b 78 	mr      r26,r7                                 
                                                                      
  /*                                                                  
   *  Are the file system options valid?                              
   */                                                                 
                                                                      
  if ( options != RTEMS_FILESYSTEM_READ_ONLY &&                       
ffc0487c:	41 9d 00 14 	bgt-    cr7,ffc04890 <mount+0x3c>              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  Get mount handler                                               
   */                                                                 
  mount_h = rtems_filesystem_get_mount_handler( filesystemtype );     
ffc04880:	7c a3 2b 78 	mr      r3,r5                                  
ffc04884:	48 00 80 25 	bl      ffc0c8a8 <rtems_filesystem_get_mount_handler>
  if ( !mount_h )                                                     
ffc04888:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc0488c:	40 a2 00 10 	bne+    ffc0489c <mount+0x48>                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc04890:	48 00 a8 ed 	bl      ffc0f17c <__errno>                     
ffc04894:	38 00 00 16 	li      r0,22                                  
ffc04898:	48 00 00 ec 	b       ffc04984 <mount+0x130>                 
{                                                                     
  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;                                   
ffc0489c:	7f fd 00 34 	cntlzw  r29,r31                                
ffc048a0:	57 bd d9 7e 	rlwinm  r29,r29,27,5,31                        
ffc048a4:	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 : "/"; 
ffc048a8:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc048ac:	7f f6 fb 78 	mr      r22,r31                                
ffc048b0:	40 be 00 0c 	bne+    cr7,ffc048bc <mount+0x68>              
ffc048b4:	3e c0 ff c1 	lis     r22,-63                                
ffc048b8:	3a d6 5d 80 	addi    r22,r22,23936                          
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
ffc048bc:	7f 23 cb 78 	mr      r3,r25                                 
ffc048c0:	48 00 bb 45 	bl      ffc10404 <strlen>                      
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
ffc048c4:	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;          
ffc048c8:	3a a3 00 01 	addi    r21,r3,1                               
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
ffc048cc:	3a e0 00 00 	li      r23,0                                  
ffc048d0:	41 9e 00 10 	beq-    cr7,ffc048e0 <mount+0x8c>              
ffc048d4:	7f 83 e3 78 	mr      r3,r28                                 
ffc048d8:	48 00 bb 2d 	bl      ffc10404 <strlen>                      
ffc048dc:	3a e3 00 01 	addi    r23,r3,1                               
  size_t target_size = strlen( target ) + 1;                          
ffc048e0:	7e c3 b3 78 	mr      r3,r22                                 
ffc048e4:	48 00 bb 21 	bl      ffc10404 <strlen>                      
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size;                
ffc048e8:	38 95 00 74 	addi    r4,r21,116                             
{                                                                     
  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;                          
ffc048ec:	3a 43 00 01 	addi    r18,r3,1                               
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size;                
ffc048f0:	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;                          
ffc048f4:	7c 73 1b 78 	mr      r19,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 ); 
ffc048f8:	7c 84 92 14 	add     r4,r4,r18                              
ffc048fc:	38 60 00 01 	li      r3,1                                   
ffc04900:	4b ff f6 c5 	bl      ffc03fc4 <calloc>                      
                                                                      
  if ( mt_entry != NULL ) {                                           
ffc04904:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc04908:	41 82 00 74 	beq-    ffc0497c <mount+0x128>                 <== NEVER TAKEN
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
ffc0490c:	3a 9e 00 74 	addi    r20,r30,116                            
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
ffc04910:	7f 24 cb 78 	mr      r4,r25                                 
ffc04914:	7e a5 ab 78 	mr      r5,r21                                 
ffc04918:	7e 83 a3 78 	mr      r3,r20                                 
ffc0491c:	48 00 b4 c1 	bl      ffc0fddc <memcpy>                      
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
ffc04920:	7f 34 aa 14 	add     r25,r20,r21                            
                                                                      
  if ( mt_entry != NULL ) {                                           
    char *str = (char *) mt_entry + sizeof( *mt_entry );              
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
    mt_entry->type = str;                                             
ffc04924:	92 9e 00 6c 	stw     r20,108(r30)                           
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
ffc04928:	7e e5 bb 78 	mr      r5,r23                                 
ffc0492c:	7f 84 e3 78 	mr      r4,r28                                 
ffc04930:	7f 23 cb 78 	mr      r3,r25                                 
ffc04934:	48 00 b4 a9 	bl      ffc0fddc <memcpy>                      
    mt_entry->dev = str;                                              
    str += source_size;                                               
ffc04938:	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;                                              
ffc0493c:	93 3e 00 70 	stw     r25,112(r30)                           
    str += source_size;                                               
                                                                      
    memcpy( str, target, target_size );                               
ffc04940:	7e c4 b3 78 	mr      r4,r22                                 
ffc04944:	7e 45 93 78 	mr      r5,r18                                 
ffc04948:	7e e3 bb 78 	mr      r3,r23                                 
ffc0494c:	48 00 b4 91 	bl      ffc0fddc <memcpy>                      
    mt_entry->target = str;                                           
ffc04950:	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;
ffc04954:	3c 80 ff c1 	lis     r4,-63                                 
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
ffc04958:	93 de 00 2c 	stw     r30,44(r30)                            
  mt_entry->options = options;                                        
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
ffc0495c:	38 7e 00 38 	addi    r3,r30,56                              
ffc04960:	38 84 5d c0 	addi    r4,r4,24000                            
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
                                                                      
  mt_entry->mt_fs_root.mt_entry = mt_entry;                           
  mt_entry->options = options;                                        
ffc04964:	93 1e 00 30 	stw     r24,48(r30)                            
  mt_entry->pathconf_limits_and_options = rtems_filesystem_default_pathconf;
ffc04968:	38 a0 00 30 	li      r5,48                                  
ffc0496c:	48 00 b4 71 	bl      ffc0fddc <memcpy>                      
  /*                                                                  
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
ffc04970:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc04974:	41 be 00 d0 	beq+    cr7,ffc04a44 <mount+0x1f0>             
ffc04978:	48 00 00 18 	b       ffc04990 <mount+0x13c>                 
    target,                                                           
    filesystemtype,                                                   
    &target_length                                                    
  );                                                                  
  if ( !mt_entry )                                                    
    rtems_set_errno_and_return_minus_one( ENOMEM );                   
ffc0497c:	48 00 a8 01 	bl      ffc0f17c <__errno>                     <== NOT EXECUTED
ffc04980:	38 00 00 0c 	li      r0,12                                  <== NOT EXECUTED
ffc04984:	90 03 00 00 	stw     r0,0(r3)                               
ffc04988:	3b e0 ff ff 	li      r31,-1                                 
ffc0498c:	48 00 01 7c 	b       ffc04b08 <mount+0x2b4>                 
   *  The mount_point should be a directory with read/write/execute   
   *  permissions in the existing tree.                               
   */                                                                 
                                                                      
  if ( has_target ) {                                                 
    if ( rtems_filesystem_evaluate_path(                              
ffc04990:	7f e3 fb 78 	mr      r3,r31                                 
ffc04994:	3b e1 00 08 	addi    r31,r1,8                               
ffc04998:	7e 64 9b 78 	mr      r4,r19                                 
ffc0499c:	38 a0 00 07 	li      r5,7                                   
ffc049a0:	7f e6 fb 78 	mr      r6,r31                                 
ffc049a4:	38 e0 00 01 	li      r7,1                                   
ffc049a8:	4b ff f7 05 	bl      ffc040ac <rtems_filesystem_evaluate_path>
ffc049ac:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc049b0:	41 9e 01 30 	beq-    cr7,ffc04ae0 <mount+0x28c>             <== NEVER TAKEN
                                                                      
    /*                                                                
     *  Test to see if it is a directory                              
     */                                                               
                                                                      
    if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
ffc049b4:	81 21 00 14 	lwz     r9,20(r1)                              
ffc049b8:	7f e3 fb 78 	mr      r3,r31                                 
ffc049bc:	80 09 00 10 	lwz     r0,16(r9)                              
ffc049c0:	7c 09 03 a6 	mtctr   r0                                     
ffc049c4:	4e 80 04 21 	bctrl                                          
ffc049c8:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc049cc:	41 be 00 10 	beq+    cr7,ffc049dc <mount+0x188>             
      errno = ENOTDIR;                                                
ffc049d0:	48 00 a7 ad 	bl      ffc0f17c <__errno>                     
ffc049d4:	38 00 00 14 	li      r0,20                                  
ffc049d8:	48 00 00 24 	b       ffc049fc <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 ) ) {
ffc049dc:	3c 60 ff c0 	lis     r3,-64                                 
ffc049e0:	80 81 00 08 	lwz     r4,8(r1)                               
ffc049e4:	38 63 47 7c 	addi    r3,r3,18300                            
ffc049e8:	4b ff fe 01 	bl      ffc047e8 <rtems_filesystem_mount_iterate>
ffc049ec:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc049f0:	41 be 00 14 	beq+    cr7,ffc04a04 <mount+0x1b0>             
      errno = EBUSY;                                                  
ffc049f4:	48 00 a7 89 	bl      ffc0f17c <__errno>                     
ffc049f8:	38 00 00 10 	li      r0,16                                  
ffc049fc:	90 03 00 00 	stw     r0,0(r3)                               
ffc04a00:	48 00 00 e8 	b       ffc04ae8 <mount+0x294>                 
     *  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;            
ffc04a04:	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 ) ) {                             
ffc04a08:	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;                            
ffc04a0c:	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;                                               
ffc04a10:	7f fc fb 78 	mr      r28,r31                                
     *  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;            
ffc04a14:	90 1e 00 08 	stw     r0,8(r30)                              
    mt_entry->mt_point_node.handlers = loc.handlers;                  
ffc04a18:	80 01 00 10 	lwz     r0,16(r1)                              
    mt_entry->mt_point_node.ops = loc.ops;                            
ffc04a1c:	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;                  
ffc04a20:	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;                  
ffc04a24:	80 01 00 18 	lwz     r0,24(r1)                              
ffc04a28:	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 ) ) {                             
ffc04a2c:	80 09 00 20 	lwz     r0,32(r9)                              
ffc04a30:	7c 09 03 a6 	mtctr   r0                                     
ffc04a34:	4e 80 04 21 	bctrl                                          
ffc04a38:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04a3c:	41 be 00 34 	beq+    cr7,ffc04a70 <mount+0x21c>             <== ALWAYS TAKEN
ffc04a40:	48 00 00 a8 	b       ffc04ae8 <mount+0x294>                 <== NOT EXECUTED
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
ffc04a44:	3d 20 00 00 	lis     r9,0                                   
ffc04a48:	39 69 21 98 	addi    r11,r9,8600                            
    }                                                                 
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
ffc04a4c:	81 29 21 98 	lwz     r9,8600(r9)                            
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_tail(         
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return &the_chain->Tail.Node;                                       
ffc04a50:	38 0b 00 04 	addi    r0,r11,4                               
ffc04a54:	7f 89 00 00 	cmpw    cr7,r9,r0                              
)                                                                     
{                                                                     
  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;           
ffc04a58:	3b 80 00 00 	li      r28,0                                  
    }                                                                 
  } else {                                                            
    /*                                                                
     * Do we already have a base file system ?                        
     */                                                               
    if ( !rtems_chain_is_empty( &mount_chain ) ) {                    
ffc04a5c:	41 be 00 14 	beq+    cr7,ffc04a70 <mount+0x21c>             <== ALWAYS TAKEN
      errno = EINVAL;                                                 
ffc04a60:	48 00 a7 1d 	bl      ffc0f17c <__errno>                     <== NOT EXECUTED
ffc04a64:	38 00 00 16 	li      r0,22                                  <== NOT EXECUTED
ffc04a68:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
      goto cleanup_and_bail;                                          
ffc04a6c:	48 00 00 80 	b       ffc04aec <mount+0x298>                 <== NOT EXECUTED
     *  mt_point_node.node_access will be left to null to indicate that this
     *  is the root of the entire file system.                        
     */                                                               
  }                                                                   
                                                                      
  if ( (*mount_h)( mt_entry, data ) ) {                               
ffc04a70:	7f c3 f3 78 	mr      r3,r30                                 
ffc04a74:	7f 69 03 a6 	mtctr   r27                                    
ffc04a78:	7f 44 d3 78 	mr      r4,r26                                 
ffc04a7c:	4e 80 04 21 	bctrl                                          
ffc04a80:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04a84:	41 be 00 1c 	beq+    cr7,ffc04aa0 <mount+0x24c>             
    /*                                                                
     * Try to undo the mount operation                                
     */                                                               
    loc.ops->unmount_h( mt_entry );                                   
ffc04a88:	81 21 00 14 	lwz     r9,20(r1)                              
ffc04a8c:	7f c3 f3 78 	mr      r3,r30                                 
ffc04a90:	80 09 00 28 	lwz     r0,40(r9)                              
ffc04a94:	7c 09 03 a6 	mtctr   r0                                     
ffc04a98:	4e 80 04 21 	bctrl                                          
    goto cleanup_and_bail;                                            
ffc04a9c:	48 00 00 50 	b       ffc04aec <mount+0x298>                 
  }                                                                   
                                                                      
  /*                                                                  
   *  Add the mount table entry to the mount table chain              
   */                                                                 
  rtems_libio_lock();                                                 
ffc04aa0:	4b ff fc f1 	bl      ffc04790 <rtems_libio_lock>            
ffc04aa4:	3c 60 00 00 	lis     r3,0                                   
ffc04aa8:	38 63 21 98 	addi    r3,r3,8600                             
ffc04aac:	7f c4 f3 78 	mr      r4,r30                                 
ffc04ab0:	48 00 38 ed 	bl      ffc0839c <_Chain_Append>               
  rtems_libio_unlock();                                               
                                                                      
  if ( !has_target )                                                  
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
                                                                      
  return 0;                                                           
ffc04ab4:	3b e0 00 00 	li      r31,0                                  
  /*                                                                  
   *  Add the mount table entry to the mount table chain              
   */                                                                 
  rtems_libio_lock();                                                 
  rtems_chain_append( &mount_chain, &mt_entry->Node );                
  rtems_libio_unlock();                                               
ffc04ab8:	4b ff fd 09 	bl      ffc047c0 <rtems_libio_unlock>          
                                                                      
  if ( !has_target )                                                  
ffc04abc:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc04ac0:	40 9e 00 48 	bne-    cr7,ffc04b08 <mount+0x2b4>             
    rtems_filesystem_root = mt_entry->mt_fs_root;                     
ffc04ac4:	3d 20 00 00 	lis     r9,0                                   
ffc04ac8:	81 69 27 1c 	lwz     r11,10012(r9)                          
ffc04acc:	38 7e 00 1c 	addi    r3,r30,28                              
ffc04ad0:	39 6b 00 18 	addi    r11,r11,24                             
ffc04ad4:	7c a3 a4 aa 	lswi    r5,r3,20                               
ffc04ad8:	7c ab a5 aa 	stswi   r5,r11,20                              
ffc04adc:	48 00 00 2c 	b       ffc04b08 <mount+0x2b4>                 
)                                                                     
{                                                                     
  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;           
ffc04ae0:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
ffc04ae4:	48 00 00 08 	b       ffc04aec <mount+0x298>                 <== NOT EXECUTED
  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;                                               
ffc04ae8:	7f fc fb 78 	mr      r28,r31                                
                                                                      
  return 0;                                                           
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
ffc04aec:	7f c3 f3 78 	mr      r3,r30                                 
ffc04af0:	4b ff f6 dd 	bl      ffc041cc <free>                        
                                                                      
  if ( loc_to_free )                                                  
ffc04af4:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    rtems_filesystem_freenode( loc_to_free );                         
                                                                      
  return -1;                                                          
ffc04af8:	3b e0 ff ff 	li      r31,-1                                 
                                                                      
cleanup_and_bail:                                                     
                                                                      
  free( mt_entry );                                                   
                                                                      
  if ( loc_to_free )                                                  
ffc04afc:	41 be 00 0c 	beq+    cr7,ffc04b08 <mount+0x2b4>             <== NEVER TAKEN
    rtems_filesystem_freenode( loc_to_free );                         
ffc04b00:	7f 83 e3 78 	mr      r3,r28                                 
ffc04b04:	4b ff f6 9d 	bl      ffc041a0 <rtems_filesystem_freenode>   
                                                                      
  return -1;                                                          
}                                                                     
ffc04b08:	39 61 00 60 	addi    r11,r1,96                              
ffc04b0c:	7f e3 fb 78 	mr      r3,r31                                 
ffc04b10:	48 00 f6 18 	b       ffc14128 <_restgpr_18_x>               
                                                                      

ffc04d4c <mount_and_make_target_path>: const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data ) {
ffc04d4c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc04d50:	7c 08 02 a6 	mflr    r0                                     
ffc04d54:	bf c1 00 18 	stmw    r30,24(r1)                             
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
ffc04d58:	7c 9e 23 79 	mr.     r30,r4                                 
  const char *target,                                                 
  const char *filesystemtype,                                         
  rtems_filesystem_options_t options,                                 
  const void *data                                                    
)                                                                     
{                                                                     
ffc04d5c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc04d60:	90 01 00 24 	stw     r0,36(r1)                              
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
ffc04d64:	41 82 00 40 	beq-    ffc04da4 <mount_and_make_target_path+0x58>
    rv = rtems_mkdir(target, S_IRWXU | S_IRWXG | S_IRWXO);            
ffc04d68:	7f c3 f3 78 	mr      r3,r30                                 
ffc04d6c:	90 a1 00 08 	stw     r5,8(r1)                               
ffc04d70:	38 80 01 ff 	li      r4,511                                 
ffc04d74:	90 c1 00 0c 	stw     r6,12(r1)                              
ffc04d78:	90 e1 00 10 	stw     r7,16(r1)                              
ffc04d7c:	48 00 09 d5 	bl      ffc05750 <rtems_mkdir>                 
    if (rv == 0) {                                                    
ffc04d80:	2c 03 00 00 	cmpwi   r3,0                                   
ffc04d84:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc04d88:	80 c1 00 0c 	lwz     r6,12(r1)                              
ffc04d8c:	80 e1 00 10 	lwz     r7,16(r1)                              
ffc04d90:	40 a2 00 24 	bne+    ffc04db4 <mount_and_make_target_path+0x68><== NEVER TAKEN
      rv = mount(                                                     
ffc04d94:	7f e3 fb 78 	mr      r3,r31                                 
ffc04d98:	7f c4 f3 78 	mr      r4,r30                                 
ffc04d9c:	48 00 00 f9 	bl      ffc04e94 <mount>                       
ffc04da0:	48 00 00 14 	b       ffc04db4 <mount_and_make_target_path+0x68>
        options,                                                      
        data                                                          
      );                                                              
    }                                                                 
  } else {                                                            
    errno = EINVAL;                                                   
ffc04da4:	48 00 a8 0d 	bl      ffc0f5b0 <__errno>                     
ffc04da8:	38 00 00 16 	li      r0,22                                  
ffc04dac:	90 03 00 00 	stw     r0,0(r3)                               
  const char *filesystemtype,                                         
  rtems_filesystem_options_t options,                                 
  const void *data                                                    
)                                                                     
{                                                                     
  int rv = -1;                                                        
ffc04db0:	38 60 ff ff 	li      r3,-1                                  
  } else {                                                            
    errno = EINVAL;                                                   
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc04db4:	39 61 00 20 	addi    r11,r1,32                              
ffc04db8:	48 00 f6 ec 	b       ffc144a4 <_restgpr_30_x>               
                                                                      

ffc04d30 <newlib_delete_hook>: /* * The reentrancy structure was allocated by newlib using malloc() */ if (current_task == deleted_task) {
ffc04d30:	7f 83 20 00 	cmpw    cr7,r3,r4                              
                                                                      
void newlib_delete_hook(                                              
  rtems_tcb *current_task,                                            
  rtems_tcb *deleted_task                                             
)                                                                     
{                                                                     
ffc04d34:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc04d38:	7c 08 02 a6 	mflr    r0                                     
ffc04d3c:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc04d40:	7c 7d 1b 78 	mr      r29,r3                                 
ffc04d44:	7c 9e 23 78 	mr      r30,r4                                 
ffc04d48:	90 01 00 1c 	stw     r0,28(r1)                              
                                                                      
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
ffc04d4c:	40 be 00 10 	bne+    cr7,ffc04d5c <newlib_delete_hook+0x2c> 
    ptr = _REENT;                                                     
ffc04d50:	3d 20 00 00 	lis     r9,0                                   
ffc04d54:	83 e9 27 28 	lwz     r31,10024(r9)                          
ffc04d58:	48 00 00 08 	b       ffc04d60 <newlib_delete_hook+0x30>     
  } else {                                                            
    ptr = deleted_task->libc_reent;                                   
ffc04d5c:	83 e4 01 28 	lwz     r31,296(r4)                            
  }                                                                   
                                                                      
  if (ptr && ptr != _global_impure_ptr) {                             
ffc04d60:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc04d64:	41 9e 00 2c 	beq-    cr7,ffc04d90 <newlib_delete_hook+0x60> <== NEVER TAKEN
ffc04d68:	3d 20 00 00 	lis     r9,0                                   
ffc04d6c:	80 09 27 2c 	lwz     r0,10028(r9)                           
ffc04d70:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
ffc04d74:	41 9e 00 1c 	beq-    cr7,ffc04d90 <newlib_delete_hook+0x60> 
    _reclaim_reent(ptr);                                              
*/                                                                    
    /*                                                                
     *  Just in case there are some buffers lying around.             
     */                                                               
    _fwalk(ptr, newlib_free_buffers);                                 
ffc04d78:	3c 80 ff c0 	lis     r4,-64                                 
ffc04d7c:	7f e3 fb 78 	mr      r3,r31                                 
ffc04d80:	38 84 4b 18 	addi    r4,r4,19224                            
ffc04d84:	48 00 ae 55 	bl      ffc0fbd8 <_fwalk>                      
#if REENT_MALLOCED                                                    
    free(ptr);                                                        
#else                                                                 
    _Workspace_Free(ptr);                                             
ffc04d88:	7f e3 fb 78 	mr      r3,r31                                 
ffc04d8c:	48 00 66 11 	bl      ffc0b39c <_Workspace_Free>             
                                                                      
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
ffc04d90:	7f 9d f0 00 	cmpw    cr7,r29,r30                            
#else                                                                 
    _Workspace_Free(ptr);                                             
#endif                                                                
  }                                                                   
                                                                      
  deleted_task->libc_reent = NULL;                                    
ffc04d94:	38 00 00 00 	li      r0,0                                   
ffc04d98:	90 1e 01 28 	stw     r0,296(r30)                            
                                                                      
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
ffc04d9c:	40 be 00 0c 	bne+    cr7,ffc04da8 <newlib_delete_hook+0x78> 
    _REENT = 0;                                                       
ffc04da0:	3d 20 00 00 	lis     r9,0                                   
ffc04da4:	90 09 27 28 	stw     r0,10024(r9)                           
  }                                                                   
}                                                                     
ffc04da8:	39 61 00 18 	addi    r11,r1,24                              
ffc04dac:	48 00 f3 a8 	b       ffc14154 <_restgpr_29_x>               
                                                                      

ffc04b18 <newlib_free_buffers>: */ int newlib_free_buffers( FILE *fp ) {
ffc04b18:	7c 2b 0b 78 	mr      r11,r1                                 
ffc04b1c:	7c 08 02 a6 	mflr    r0                                     
ffc04b20:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc04b24:	48 00 f5 ed 	bl      ffc14110 <_savegpr_31>                 
ffc04b28:	90 01 00 14 	stw     r0,20(r1)                              
ffc04b2c:	7c 7f 1b 78 	mr      r31,r3                                 
  switch ( fileno(fp) ) {                                             
ffc04b30:	48 00 ab 31 	bl      ffc0f660 <fileno>                      
ffc04b34:	2b 83 00 02 	cmplwi  cr7,r3,2                               
ffc04b38:	41 9d 00 34 	bgt-    cr7,ffc04b6c <newlib_free_buffers+0x54><== NEVER TAKEN
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
ffc04b3c:	a0 1f 00 0c 	lhz     r0,12(r31)                             
ffc04b40:	70 09 00 80 	andi.   r9,r0,128                              
ffc04b44:	41 a2 00 30 	beq+    ffc04b74 <newlib_free_buffers+0x5c>    <== ALWAYS TAKEN
        free( fp->_bf._base );                                        
ffc04b48:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc04b4c:	4b ff f6 81 	bl      ffc041cc <free>                        <== NOT EXECUTED
        fp->_flags &= ~__SMBF;                                        
ffc04b50:	a0 1f 00 0c 	lhz     r0,12(r31)                             <== NOT EXECUTED
ffc04b54:	54 00 06 6e 	rlwinm  r0,r0,0,25,23                          <== NOT EXECUTED
ffc04b58:	b0 1f 00 0c 	sth     r0,12(r31)                             <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
ffc04b5c:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc04b60:	90 1f 00 00 	stw     r0,0(r31)                              <== NOT EXECUTED
ffc04b64:	90 1f 00 10 	stw     r0,16(r31)                             <== NOT EXECUTED
ffc04b68:	48 00 00 0c 	b       ffc04b74 <newlib_free_buffers+0x5c>    <== NOT EXECUTED
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
ffc04b6c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc04b70:	48 00 a7 ad 	bl      ffc0f31c <fclose>                      <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
ffc04b74:	39 61 00 10 	addi    r11,r1,16                              
ffc04b78:	38 60 00 00 	li      r3,0                                   
ffc04b7c:	48 00 f5 e0 	b       ffc1415c <_restgpr_31_x>               
                                                                      

ffc04e40 <open>: int open( const char *pathname, int flags, ... ) {
ffc04e40:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc04e44:	7c 08 02 a6 	mflr    r0                                     
ffc04e48:	90 01 00 54 	stw     r0,84(r1)                              
                                                                      
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
  eval_flags = 0;                                                     
  status = flags + 1;                                                 
ffc04e4c:	38 04 00 01 	addi    r0,r4,1                                
  if ( ( status & _FREAD ) == _FREAD )                                
ffc04e50:	70 09 00 01 	andi.   r9,r0,1                                
int open(                                                             
  const char   *pathname,                                             
  int           flags,                                                
  ...                                                                 
)                                                                     
{                                                                     
ffc04e54:	bf 21 00 34 	stmw    r25,52(r1)                             
ffc04e58:	7c 7d 1b 78 	mr      r29,r3                                 
ffc04e5c:	7c 9e 23 78 	mr      r30,r4                                 
ffc04e60:	90 a1 00 28 	stw     r5,40(r1)                              
  int                                 eval_flags;                     
                                                                      
  /*                                                                  
   * Set the Evaluation flags                                         
   */                                                                 
  eval_flags = 0;                                                     
ffc04e64:	3b 80 00 00 	li      r28,0                                  
  status = flags + 1;                                                 
  if ( ( status & _FREAD ) == _FREAD )                                
ffc04e68:	41 82 00 08 	beq-    ffc04e70 <open+0x30>                   
    eval_flags |= RTEMS_LIBIO_PERMS_READ;                             
ffc04e6c:	3b 80 00 04 	li      r28,4                                  
  if ( ( status & _FWRITE ) == _FWRITE )                              
ffc04e70:	70 09 00 02 	andi.   r9,r0,2                                
ffc04e74:	41 82 00 08 	beq-    ffc04e7c <open+0x3c>                   
    eval_flags |= RTEMS_LIBIO_PERMS_WRITE;                            
ffc04e78:	63 9c 00 02 	ori     r28,r28,2                              
                                                                      
  va_start(ap, flags);                                                
ffc04e7c:	38 01 00 58 	addi    r0,r1,88                               
ffc04e80:	90 01 00 0c 	stw     r0,12(r1)                              
ffc04e84:	39 21 00 20 	addi    r9,r1,32                               
                                                                      
  mode = va_arg( ap, int );                                           
ffc04e88:	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);                                                
ffc04e8c:	91 21 00 10 	stw     r9,16(r1)                              
                                                                      
  mode = va_arg( ap, int );                                           
ffc04e90:	98 01 00 08 	stb     r0,8(r1)                               
ffc04e94:	83 69 00 08 	lwz     r27,8(r9)                              
   *             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();                                       
ffc04e98:	48 00 76 c9 	bl      ffc0c560 <rtems_libio_allocate>        
  if ( iop == 0 ) {                                                   
ffc04e9c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc04ea0:	41 82 01 74 	beq-    ffc05014 <open+0x1d4>                  
  }                                                                   
                                                                      
  /*                                                                  
   *  See if the file exists.                                         
   */                                                                 
  status = rtems_filesystem_evaluate_path(                            
ffc04ea4:	7f a3 eb 78 	mr      r3,r29                                 
ffc04ea8:	48 00 b5 5d 	bl      ffc10404 <strlen>                      
ffc04eac:	3b 41 00 14 	addi    r26,r1,20                              
ffc04eb0:	7c 64 1b 78 	mr      r4,r3                                  
ffc04eb4:	7f 85 e3 78 	mr      r5,r28                                 
ffc04eb8:	7f a3 eb 78 	mr      r3,r29                                 
ffc04ebc:	7f 46 d3 78 	mr      r6,r26                                 
ffc04ec0:	38 e0 00 01 	li      r7,1                                   
ffc04ec4:	4b ff f1 e9 	bl      ffc040ac <rtems_filesystem_evaluate_path>
    pathname, strlen( pathname ), eval_flags, &loc, true );           
                                                                      
  if ( status == -1 ) {                                               
ffc04ec8:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc04ecc:	40 be 00 80 	bne+    cr7,ffc04f4c <open+0x10c>              
    if ( errno != ENOENT ) {                                          
ffc04ed0:	48 00 a2 ad 	bl      ffc0f17c <__errno>                     
ffc04ed4:	80 03 00 00 	lwz     r0,0(r3)                               
ffc04ed8:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc04edc:	41 9e 00 14 	beq-    cr7,ffc04ef0 <open+0xb0>               
      rc = errno;                                                     
ffc04ee0:	48 00 a2 9d 	bl      ffc0f17c <__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;             
ffc04ee4:	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;                                                     
ffc04ee8:	83 23 00 00 	lwz     r25,0(r3)                              
      goto done;                                                      
ffc04eec:	48 00 01 3c 	b       ffc05028 <open+0x1e8>                  
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
ffc04ef0:	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;             
ffc04ef4:	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;                                                    
ffc04ef8:	3b 20 00 02 	li      r25,2                                  
      rc = errno;                                                     
      goto done;                                                      
    }                                                                 
                                                                      
    /* If the file does not exist and we are not trying to create it--> error */
    if ( !(flags & O_CREAT) ) {                                       
ffc04efc:	41 a2 01 34 	beq+    ffc05030 <open+0x1f0>                  
      rc = ENOENT;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
    /* Create the node for the new regular file */                    
    rc = mknod( pathname, S_IFREG | mode, 0LL );                      
ffc04f00:	7f a3 eb 78 	mr      r3,r29                                 
ffc04f04:	63 64 80 00 	ori     r4,r27,32768                           
ffc04f08:	38 a0 00 00 	li      r5,0                                   
ffc04f0c:	38 c0 00 00 	li      r6,0                                   
ffc04f10:	4b ff f7 81 	bl      ffc04690 <mknod>                       
    if ( rc ) {                                                       
ffc04f14:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04f18:	40 9e 00 8c 	bne-    cr7,ffc04fa4 <open+0x164>              <== 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(                          
ffc04f1c:	7f a3 eb 78 	mr      r3,r29                                 
ffc04f20:	48 00 b4 e5 	bl      ffc10404 <strlen>                      
ffc04f24:	38 a0 00 00 	li      r5,0                                   
ffc04f28:	7c 64 1b 78 	mr      r4,r3                                  
ffc04f2c:	7f 46 d3 78 	mr      r6,r26                                 
ffc04f30:	7f a3 eb 78 	mr      r3,r29                                 
ffc04f34:	38 e0 00 01 	li      r7,1                                   
ffc04f38:	4b ff f1 75 	bl      ffc040ac <rtems_filesystem_evaluate_path>
      pathname, strlen( pathname ), 0x0, &loc, true );                
    if ( status != 0 ) {   /* The file did not exist */               
      rc = EACCES;                                                    
ffc04f3c:	3b 20 00 0d 	li      r25,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 */               
ffc04f40:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04f44:	40 9e 00 ec 	bne-    cr7,ffc05030 <open+0x1f0>              <== NEVER TAKEN
ffc04f48:	48 00 00 10 	b       ffc04f58 <open+0x118>                  
      rc = EACCES;                                                    
      goto done;                                                      
    }                                                                 
                                                                      
  } else if ((flags & (O_EXCL|O_CREAT)) == (O_EXCL|O_CREAT)) {        
ffc04f4c:	73 c0 0a 00 	andi.   r0,r30,2560                            
ffc04f50:	2f 80 0a 00 	cmpwi   cr7,r0,2560                            
ffc04f54:	41 9e 00 c8 	beq-    cr7,ffc0501c <open+0x1dc>              
                                                                      
  /*                                                                  
   *  Fill in the file control block based on the loc structure       
   *  returned by successful path evaluation.                         
   */                                                                 
  iop->flags     |= rtems_libio_fcntl_flags( flags );                 
ffc04f58:	83 9f 00 18 	lwz     r28,24(r31)                            
ffc04f5c:	7f c3 f3 78 	mr      r3,r30                                 
ffc04f60:	48 00 75 71 	bl      ffc0c4d0 <rtems_libio_fcntl_flags>     
  iop->pathinfo   = loc;                                              
ffc04f64:	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 );                 
ffc04f68:	7c 63 e3 78 	or      r3,r3,r28                              
  iop->pathinfo   = loc;                                              
ffc04f6c:	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 );                 
ffc04f70:	90 7f 00 18 	stw     r3,24(r31)                             
  iop->pathinfo   = loc;                                              
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
ffc04f74:	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;                                              
ffc04f78:	7c bc a4 aa 	lswi    r5,r28,20                              
ffc04f7c:	7c ab a5 aa 	stswi   r5,r11,20                              
                                                                      
  rc = (*iop->pathinfo.handlers->open_h)( iop, pathname, flags, mode );
ffc04f80:	7f e3 fb 78 	mr      r3,r31                                 
ffc04f84:	7f c5 f3 78 	mr      r5,r30                                 
ffc04f88:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc04f8c:	7f 66 db 78 	mr      r6,r27                                 
ffc04f90:	80 09 00 00 	lwz     r0,0(r9)                               
ffc04f94:	7c 09 03 a6 	mtctr   r0                                     
ffc04f98:	4e 80 04 21 	bctrl                                          
  if ( rc ) {                                                         
ffc04f9c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04fa0:	41 be 00 10 	beq+    cr7,ffc04fb0 <open+0x170>              
    rc = errno;                                                       
ffc04fa4:	48 00 a1 d9 	bl      ffc0f17c <__errno>                     
ffc04fa8:	83 23 00 00 	lwz     r25,0(r3)                              
    goto done;                                                        
ffc04fac:	48 00 00 7c 	b       ffc05028 <open+0x1e8>                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Optionally truncate the file.                                   
   */                                                                 
  if ( (flags & O_TRUNC) == O_TRUNC ) {                               
ffc04fb0:	73 c0 04 00 	andi.   r0,r30,1024                            
ffc04fb4:	41 a2 00 ac 	beq+    ffc05060 <open+0x220>                  
    rc = ftruncate( iop - rtems_libio_iops, 0 );                      
ffc04fb8:	3d 20 00 00 	lis     r9,0                                   
ffc04fbc:	80 69 27 88 	lwz     r3,10120(r9)                           
ffc04fc0:	38 a0 00 00 	li      r5,0                                   
ffc04fc4:	38 c0 00 00 	li      r6,0                                   
ffc04fc8:	7c 63 f8 50 	subf    r3,r3,r31                              
ffc04fcc:	7c 63 36 70 	srawi   r3,r3,6                                
ffc04fd0:	48 00 73 e1 	bl      ffc0c3b0 <ftruncate>                   
    if ( rc ) {                                                       
ffc04fd4:	7c 79 1b 79 	mr.     r25,r3                                 
ffc04fd8:	41 a2 00 88 	beq+    ffc05060 <open+0x220>                  
      if(errno) rc = errno;                                           
ffc04fdc:	48 00 a1 a1 	bl      ffc0f17c <__errno>                     
ffc04fe0:	80 03 00 00 	lwz     r0,0(r3)                               
ffc04fe4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04fe8:	41 be 00 0c 	beq+    cr7,ffc04ff4 <open+0x1b4>              <== NEVER TAKEN
ffc04fec:	48 00 a1 91 	bl      ffc0f17c <__errno>                     
ffc04ff0:	83 23 00 00 	lwz     r25,0(r3)                              
      close( iop - rtems_libio_iops );                                
ffc04ff4:	3d 20 00 00 	lis     r9,0                                   
ffc04ff8:	80 09 27 88 	lwz     r0,10120(r9)                           
      /* those are released by close(): */                            
      iop = 0;                                                        
      loc_to_free = NULL;                                             
ffc04ffc:	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 );                                
ffc05000:	7f e0 f8 50 	subf    r31,r0,r31                             
ffc05004:	7f e3 36 70 	srawi   r3,r31,6                               
ffc05008:	48 00 73 1d 	bl      ffc0c324 <close>                       
      /* those are released by close(): */                            
      iop = 0;                                                        
ffc0500c:	3b e0 00 00 	li      r31,0                                  
ffc05010:	48 00 00 18 	b       ffc05028 <open+0x1e8>                  
   */                                                                 
                                                                      
  /* allocate a file control block */                                 
  iop = rtems_libio_allocate();                                       
  if ( iop == 0 ) {                                                   
    rc = ENFILE;                                                      
ffc05014:	3b 20 00 17 	li      r25,23                                 
ffc05018:	48 00 00 38 	b       ffc05050 <open+0x210>                  
    }                                                                 
                                                                      
  } 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;                                               
ffc0501c:	7f 5c d3 78 	mr      r28,r26                                
      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;                                                      
ffc05020:	3b 20 00 11 	li      r25,17                                 
ffc05024:	48 00 00 0c 	b       ffc05030 <open+0x1f0>                  
   *  Single exit and clean up path.                                  
   */                                                                 
done:                                                                 
  va_end(ap);                                                         
                                                                      
  if ( rc ) {                                                         
ffc05028:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc0502c:	41 be 00 34 	beq+    cr7,ffc05060 <open+0x220>              <== NEVER TAKEN
    if ( iop )                                                        
ffc05030:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc05034:	41 9e 00 0c 	beq-    cr7,ffc05040 <open+0x200>              
      rtems_libio_free( iop );                                        
ffc05038:	7f e3 fb 78 	mr      r3,r31                                 
ffc0503c:	48 00 75 bd 	bl      ffc0c5f8 <rtems_libio_free>            
    if ( loc_to_free )                                                
ffc05040:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc05044:	41 9e 00 0c 	beq-    cr7,ffc05050 <open+0x210>              
      rtems_filesystem_freenode( loc_to_free );                       
ffc05048:	7f 83 e3 78 	mr      r3,r28                                 
ffc0504c:	4b ff f1 55 	bl      ffc041a0 <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( rc );                       
ffc05050:	48 00 a1 2d 	bl      ffc0f17c <__errno>                     
ffc05054:	93 23 00 00 	stw     r25,0(r3)                              
ffc05058:	38 60 ff ff 	li      r3,-1                                  
ffc0505c:	48 00 00 14 	b       ffc05070 <open+0x230>                  
  }                                                                   
                                                                      
  return iop - rtems_libio_iops;                                      
ffc05060:	3d 20 00 00 	lis     r9,0                                   
ffc05064:	80 69 27 88 	lwz     r3,10120(r9)                           
ffc05068:	7f e3 f8 50 	subf    r31,r3,r31                             
ffc0506c:	7f e3 36 70 	srawi   r3,r31,6                               
}                                                                     
ffc05070:	39 61 00 50 	addi    r11,r1,80                              
ffc05074:	48 00 f0 d0 	b       ffc14144 <_restgpr_25_x>               
                                                                      

ffc05d70 <oproc>: /* * Handle output processing */ static void oproc (unsigned char c, struct rtems_termios_tty *tty) {
ffc05d70:	7c 08 02 a6 	mflr    r0                                     
ffc05d74:	7c 2b 0b 78 	mr      r11,r1                                 
ffc05d78:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc05d7c:	90 01 00 1c 	stw     r0,28(r1)                              
ffc05d80:	48 00 e3 91 	bl      ffc14110 <_savegpr_31>                 
ffc05d84:	7c 9f 23 78 	mr      r31,r4                                 
ffc05d88:	98 61 00 08 	stb     r3,8(r1)                               
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
ffc05d8c:	80 04 00 34 	lwz     r0,52(r4)                              
ffc05d90:	70 09 00 01 	andi.   r9,r0,1                                
ffc05d94:	41 82 01 30 	beq-    ffc05ec4 <oproc+0x154>                 <== NEVER TAKEN
    switch (c) {                                                      
ffc05d98:	2f 83 00 09 	cmpwi   cr7,r3,9                               
ffc05d9c:	41 9e 00 90 	beq-    cr7,ffc05e2c <oproc+0xbc>              
ffc05da0:	2b 83 00 09 	cmplwi  cr7,r3,9                               
ffc05da4:	41 9d 00 10 	bgt-    cr7,ffc05db4 <oproc+0x44>              <== ALWAYS TAKEN
ffc05da8:	2f 83 00 08 	cmpwi   cr7,r3,8                               <== NOT EXECUTED
ffc05dac:	40 be 00 c4 	bne+    cr7,ffc05e70 <oproc+0x100>             <== NOT EXECUTED
ffc05db0:	48 00 00 a8 	b       ffc05e58 <oproc+0xe8>                  <== NOT EXECUTED
ffc05db4:	2f 83 00 0a 	cmpwi   cr7,r3,10                              
ffc05db8:	41 9e 00 10 	beq-    cr7,ffc05dc8 <oproc+0x58>              
ffc05dbc:	2f 83 00 0d 	cmpwi   cr7,r3,13                              
ffc05dc0:	40 be 00 b0 	bne+    cr7,ffc05e70 <oproc+0x100>             <== ALWAYS TAKEN
ffc05dc4:	48 00 00 34 	b       ffc05df8 <oproc+0x88>                  <== NOT EXECUTED
    case '\n':                                                        
      if (tty->termios.c_oflag & ONLRET)                              
ffc05dc8:	70 09 00 20 	andi.   r9,r0,32                               
ffc05dcc:	41 82 00 0c 	beq-    ffc05dd8 <oproc+0x68>                  <== ALWAYS TAKEN
        tty->column = 0;                                              
ffc05dd0:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc05dd4:	91 24 00 28 	stw     r9,40(r4)                              <== NOT EXECUTED
      if (tty->termios.c_oflag & ONLCR) {                             
ffc05dd8:	70 09 00 04 	andi.   r9,r0,4                                
ffc05ddc:	41 a2 00 e8 	beq+    ffc05ec4 <oproc+0x154>                 <== NEVER TAKEN
        rtems_termios_puts ("\r", 1, tty);                            
ffc05de0:	3c 60 ff c1 	lis     r3,-63                                 
ffc05de4:	38 63 5d f2 	addi    r3,r3,24050                            
ffc05de8:	38 80 00 01 	li      r4,1                                   
ffc05dec:	7f e5 fb 78 	mr      r5,r31                                 
ffc05df0:	4b ff fe 59 	bl      ffc05c48 <rtems_termios_puts>          
ffc05df4:	48 00 00 30 	b       ffc05e24 <oproc+0xb4>                  
        tty->column = 0;                                              
      }                                                               
      break;                                                          
                                                                      
    case '\r':                                                        
      if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))       
ffc05df8:	70 09 00 10 	andi.   r9,r0,16                               <== NOT EXECUTED
ffc05dfc:	41 82 00 10 	beq-    ffc05e0c <oproc+0x9c>                  <== NOT EXECUTED
ffc05e00:	81 24 00 28 	lwz     r9,40(r4)                              <== NOT EXECUTED
ffc05e04:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc05e08:	41 9e 00 cc 	beq-    cr7,ffc05ed4 <oproc+0x164>             <== NOT EXECUTED
        return;                                                       
      if (tty->termios.c_oflag & OCRNL) {                             
ffc05e0c:	70 09 00 08 	andi.   r9,r0,8                                <== NOT EXECUTED
ffc05e10:	41 82 00 58 	beq-    ffc05e68 <oproc+0xf8>                  <== NOT EXECUTED
        c = '\n';                                                     
ffc05e14:	39 20 00 0a 	li      r9,10                                  <== NOT EXECUTED
ffc05e18:	99 21 00 08 	stb     r9,8(r1)                               <== NOT EXECUTED
        if (tty->termios.c_oflag & ONLRET)                            
ffc05e1c:	70 09 00 20 	andi.   r9,r0,32                               <== NOT EXECUTED
ffc05e20:	41 82 00 a4 	beq-    ffc05ec4 <oproc+0x154>                 <== NOT EXECUTED
          tty->column = 0;                                            
ffc05e24:	38 00 00 00 	li      r0,0                                   
ffc05e28:	48 00 00 98 	b       ffc05ec0 <oproc+0x150>                 
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
ffc05e2c:	54 00 04 e8 	rlwinm  r0,r0,0,19,20                          
      }                                                               
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
ffc05e30:	81 24 00 28 	lwz     r9,40(r4)                              
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
ffc05e34:	2f 80 18 00 	cmpwi   cr7,r0,6144                            
      }                                                               
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
ffc05e38:	55 24 07 7e 	clrlwi  r4,r9,29                               
ffc05e3c:	20 84 00 08 	subfic  r4,r4,8                                
ffc05e40:	7c 04 4a 14 	add     r0,r4,r9                               
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
ffc05e44:	40 be 00 7c 	bne+    cr7,ffc05ec0 <oproc+0x150>             <== NEVER TAKEN
        tty->column += i;                                             
        rtems_termios_puts ( "        ",  i, tty);                    
ffc05e48:	3c 60 ff c1 	lis     r3,-63                                 
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
        tty->column += i;                                             
ffc05e4c:	90 1f 00 28 	stw     r0,40(r31)                             
        rtems_termios_puts ( "        ",  i, tty);                    
ffc05e50:	38 63 5a 96 	addi    r3,r3,23190                            
ffc05e54:	48 00 00 78 	b       ffc05ecc <oproc+0x15c>                 
      }                                                               
      tty->column += i;                                               
      break;                                                          
                                                                      
    case '\b':                                                        
      if (tty->column > 0)                                            
ffc05e58:	81 24 00 28 	lwz     r9,40(r4)                              <== NOT EXECUTED
ffc05e5c:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc05e60:	40 9d 00 64 	ble-    cr7,ffc05ec4 <oproc+0x154>             <== NOT EXECUTED
        tty->column--;                                                
ffc05e64:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc05e68:	91 3f 00 28 	stw     r9,40(r31)                             <== NOT EXECUTED
ffc05e6c:	48 00 00 58 	b       ffc05ec4 <oproc+0x154>                 <== NOT EXECUTED
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
ffc05e70:	70 09 00 02 	andi.   r9,r0,2                                
ffc05e74:	41 82 00 28 	beq-    ffc05e9c <oproc+0x12c>                 <== ALWAYS TAKEN
        c = toupper(c);                                               
ffc05e78:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc05e7c:	81 29 27 24 	lwz     r9,10020(r9)                           <== NOT EXECUTED
ffc05e80:	7d 29 1a 14 	add     r9,r9,r3                               <== NOT EXECUTED
ffc05e84:	88 09 00 01 	lbz     r0,1(r9)                               <== NOT EXECUTED
ffc05e88:	54 00 07 be 	clrlwi  r0,r0,30                               <== NOT EXECUTED
ffc05e8c:	2f 80 00 02 	cmpwi   cr7,r0,2                               <== NOT EXECUTED
ffc05e90:	40 be 00 08 	bne+    cr7,ffc05e98 <oproc+0x128>             <== NOT EXECUTED
ffc05e94:	38 63 ff e0 	addi    r3,r3,-32                              <== NOT EXECUTED
ffc05e98:	98 61 00 08 	stb     r3,8(r1)                               <== NOT EXECUTED
      if (!iscntrl(c))                                                
ffc05e9c:	3d 20 00 00 	lis     r9,0                                   
ffc05ea0:	88 01 00 08 	lbz     r0,8(r1)                               
ffc05ea4:	81 29 27 24 	lwz     r9,10020(r9)                           
ffc05ea8:	7d 29 02 14 	add     r9,r9,r0                               
ffc05eac:	88 09 00 01 	lbz     r0,1(r9)                               
ffc05eb0:	70 09 00 20 	andi.   r9,r0,32                               
ffc05eb4:	40 82 00 10 	bne-    ffc05ec4 <oproc+0x154>                 <== NEVER TAKEN
        tty->column++;                                                
ffc05eb8:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc05ebc:	38 09 00 01 	addi    r0,r9,1                                
ffc05ec0:	90 1f 00 28 	stw     r0,40(r31)                             
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
ffc05ec4:	38 61 00 08 	addi    r3,r1,8                                
ffc05ec8:	38 80 00 01 	li      r4,1                                   
ffc05ecc:	7f e5 fb 78 	mr      r5,r31                                 
ffc05ed0:	4b ff fd 79 	bl      ffc05c48 <rtems_termios_puts>          
}                                                                     
ffc05ed4:	39 61 00 18 	addi    r11,r1,24                              
ffc05ed8:	48 00 e2 84 	b       ffc1415c <_restgpr_31_x>               
                                                                      

ffc0d7a0 <pipe_create>: * Called by pipe() to create an anonymous pipe. */ int pipe_create( int filsdes[2] ) {
ffc0d7a0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0d7a4:	7c 08 02 a6 	mflr    r0                                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
ffc0d7a8:	38 80 01 ff 	li      r4,511                                 
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
ffc0d7ac:	bf 81 00 18 	stmw    r28,24(r1)                             
ffc0d7b0:	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)          
ffc0d7b4:	3c 60 ff c2 	lis     r3,-62                                 
ffc0d7b8:	38 63 e5 ac 	addi    r3,r3,-6740                            
 * Called by pipe() to create an anonymous pipe.                      
 */                                                                   
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
ffc0d7bc:	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)          
ffc0d7c0:	48 00 17 f5 	bl      ffc0efb4 <rtems_mkdir>                 
    return -1;                                                        
ffc0d7c4:	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)          
ffc0d7c8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0d7cc:	40 be 01 04 	bne+    cr7,ffc0d8d0 <pipe_create+0x130>       <== NEVER TAKEN
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
ffc0d7d0:	3d 20 ff c2 	lis     r9,-62                                 
ffc0d7d4:	3b e1 00 08 	addi    r31,r1,8                               
ffc0d7d8:	39 29 e5 b1 	addi    r9,r9,-6735                            
ffc0d7dc:	7c a9 54 aa 	lswi    r5,r9,10                               
ffc0d7e0:	7c bf 55 aa 	stswi   r5,r31,10                              
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc0d7e4:	3d 20 00 00 	lis     r9,0                                   
ffc0d7e8:	3c 80 ff c2 	lis     r4,-62                                 
ffc0d7ec:	a0 a9 29 60 	lhz     r5,10592(r9)                           
ffc0d7f0:	38 84 e5 bc 	addi    r4,r4,-6724                            
ffc0d7f4:	38 61 00 12 	addi    r3,r1,18                               
ffc0d7f8:	38 05 00 01 	addi    r0,r5,1                                
ffc0d7fc:	b0 09 29 60 	sth     r0,10592(r9)                           
ffc0d800:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0d804:	48 00 41 41 	bl      ffc11944 <sprintf>                     
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
ffc0d808:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d80c:	38 80 01 80 	li      r4,384                                 
ffc0d810:	48 00 14 a1 	bl      ffc0ecb0 <mkfifo>                      
ffc0d814:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0d818:	41 be 00 0c 	beq+    cr7,ffc0d824 <pipe_create+0x84>        
    if (errno != EEXIST){                                             
ffc0d81c:	48 00 32 21 	bl      ffc10a3c <__errno>                     
ffc0d820:	48 00 00 b0 	b       ffc0d8d0 <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);                 
ffc0d824:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d828:	38 80 40 00 	li      r4,16384                               
ffc0d82c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0d830:	4b ff 8b a5 	bl      ffc063d4 <open>                        
  if (filsdes[0] < 0) {                                               
ffc0d834:	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);                 
ffc0d838:	90 7d 00 00 	stw     r3,0(r29)                              
  if (filsdes[0] < 0) {                                               
ffc0d83c:	40 bc 00 14 	bge+    cr7,ffc0d850 <pipe_create+0xb0>        
    err = errno;                                                      
ffc0d840:	48 00 31 fd 	bl      ffc10a3c <__errno>                     
ffc0d844:	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);                                                 
ffc0d848:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d84c:	48 00 00 68 	b       ffc0d8b4 <pipe_create+0x114>           
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
ffc0d850:	3d 20 00 00 	lis     r9,0                                   
ffc0d854:	80 09 26 cc 	lwz     r0,9932(r9)                            
ffc0d858:	39 20 00 00 	li      r9,0                                   
ffc0d85c:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc0d860:	40 9c 00 14 	bge-    cr7,ffc0d874 <pipe_create+0xd4>        <== NEVER TAKEN
ffc0d864:	3d 20 00 00 	lis     r9,0                                   
ffc0d868:	81 29 27 88 	lwz     r9,10120(r9)                           
ffc0d86c:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc0d870:	7d 29 1a 14 	add     r9,r9,r3                               
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
ffc0d874:	80 09 00 18 	lwz     r0,24(r9)                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
ffc0d878:	38 61 00 08 	addi    r3,r1,8                                
ffc0d87c:	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;                              
ffc0d880:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
ffc0d884:	90 09 00 18 	stw     r0,24(r9)                              
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
ffc0d888:	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);                            
ffc0d88c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0d890:	4b ff 8b 45 	bl      ffc063d4 <open>                        
                                                                      
    if (filsdes[1] < 0) {                                             
ffc0d894:	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);                            
ffc0d898:	90 7d 00 04 	stw     r3,4(r29)                              
                                                                      
    if (filsdes[1] < 0) {                                             
ffc0d89c:	40 bc 00 14 	bge+    cr7,ffc0d8b0 <pipe_create+0x110>       
    err = errno;                                                      
ffc0d8a0:	48 00 31 9d 	bl      ffc10a3c <__errno>                     
ffc0d8a4:	83 83 00 00 	lwz     r28,0(r3)                              
    close(filsdes[0]);                                                
ffc0d8a8:	80 7d 00 00 	lwz     r3,0(r29)                              
ffc0d8ac:	4b ff 79 79 	bl      ffc05224 <close>                       
    }                                                                 
  unlink(fifopath);                                                   
ffc0d8b0:	38 61 00 08 	addi    r3,r1,8                                
ffc0d8b4:	4b ff ab c1 	bl      ffc08474 <unlink>                      
  }                                                                   
  if(err != 0)                                                        
ffc0d8b8:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    rtems_set_errno_and_return_minus_one(err);                        
  return 0;                                                           
ffc0d8bc:	3b c0 00 00 	li      r30,0                                  
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
  }                                                                   
  if(err != 0)                                                        
ffc0d8c0:	41 be 00 10 	beq+    cr7,ffc0d8d0 <pipe_create+0x130>       
    rtems_set_errno_and_return_minus_one(err);                        
ffc0d8c4:	48 00 31 79 	bl      ffc10a3c <__errno>                     
ffc0d8c8:	3b c0 ff ff 	li      r30,-1                                 
ffc0d8cc:	93 83 00 00 	stw     r28,0(r3)                              
  return 0;                                                           
}                                                                     
ffc0d8d0:	39 61 00 28 	addi    r11,r1,40                              
ffc0d8d4:	7f c3 f3 78 	mr      r3,r30                                 
ffc0d8d8:	48 00 ec 94 	b       ffc1c56c <_restgpr_28_x>               
                                                                      

ffc0ee8c <pipe_ioctl>: uint32_t cmd, void *buffer, rtems_libio_t *iop ) { if (cmd == FIONREAD) {
ffc0ee8c:	6c 89 40 04 	xoris   r9,r4,16388                            
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc0ee90:	94 21 ff f0 	stwu    r1,-16(r1)                             
  if (cmd == FIONREAD) {                                              
ffc0ee94:	2f 89 66 7f 	cmpwi   cr7,r9,26239                           
  pipe_control_t *pipe,                                               
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc0ee98:	7c 08 02 a6 	mflr    r0                                     
ffc0ee9c:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc0eea0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0eea4:	7c be 2b 78 	mr      r30,r5                                 
ffc0eea8:	90 01 00 14 	stw     r0,20(r1)                              
    *(unsigned int *)buffer = pipe->Length;                           
    PIPE_UNLOCK(pipe);                                                
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
ffc0eeac:	38 00 ff ea 	li      r0,-22                                 
  uint32_t        cmd,                                                
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
ffc0eeb0:	40 9e 00 40 	bne-    cr7,ffc0eef0 <pipe_ioctl+0x64>         
    if (buffer == NULL)                                               
ffc0eeb4:	2f 85 00 00 	cmpwi   cr7,r5,0                               
      return -EFAULT;                                                 
ffc0eeb8:	38 00 ff f2 	li      r0,-14                                 
  void           *buffer,                                             
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
ffc0eebc:	41 be 00 34 	beq+    cr7,ffc0eef0 <pipe_ioctl+0x64>         
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
ffc0eec0:	80 63 00 28 	lwz     r3,40(r3)                              
ffc0eec4:	38 80 00 00 	li      r4,0                                   
ffc0eec8:	38 a0 00 00 	li      r5,0                                   
ffc0eecc:	4b ff ab fd 	bl      ffc09ac8 <rtems_semaphore_obtain>      
      return -EINTR;                                                  
ffc0eed0:	38 00 ff fc 	li      r0,-4                                  
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
ffc0eed4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0eed8:	40 be 00 18 	bne+    cr7,ffc0eef0 <pipe_ioctl+0x64>         <== NEVER TAKEN
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
ffc0eedc:	80 1f 00 0c 	lwz     r0,12(r31)                             
    PIPE_UNLOCK(pipe);                                                
ffc0eee0:	80 7f 00 28 	lwz     r3,40(r31)                             
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
ffc0eee4:	90 1e 00 00 	stw     r0,0(r30)                              
    PIPE_UNLOCK(pipe);                                                
ffc0eee8:	4b ff ad 09 	bl      ffc09bf0 <rtems_semaphore_release>     
    return 0;                                                         
ffc0eeec:	38 00 00 00 	li      r0,0                                   
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
ffc0eef0:	39 61 00 10 	addi    r11,r1,16                              
ffc0eef4:	7c 03 03 78 	mr      r3,r0                                  
ffc0eef8:	48 01 0f 68 	b       ffc1fe60 <_restgpr_30_x>               
                                                                      

ffc0eb08 <pipe_read>: pipe_control_t *pipe, void *buffer, size_t count, rtems_libio_t *iop ) {
ffc0eb08:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0eb0c:	7c 08 02 a6 	mflr    r0                                     
ffc0eb10:	90 01 00 3c 	stw     r0,60(r1)                              
ffc0eb14:	bf 01 00 18 	stmw    r24,24(r1)                             
ffc0eb18:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0eb1c:	7c 9e 23 78 	mr      r30,r4                                 
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc0eb20:	80 63 00 28 	lwz     r3,40(r3)                              
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc0eb24:	7c bd 2b 78 	mr      r29,r5                                 
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc0eb28:	38 80 00 00 	li      r4,0                                   
ffc0eb2c:	38 a0 00 00 	li      r5,0                                   
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc0eb30:	7c d8 33 78 	mr      r24,r6                                 
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc0eb34:	4b ff af 95 	bl      ffc09ac8 <rtems_semaphore_obtain>      
ffc0eb38:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    return -EINTR;                                                    
ffc0eb3c:	3b 60 ff fc 	li      r27,-4                                 
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc0eb40:	3b 80 00 00 	li      r28,0                                  
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
ffc0eb44:	3b 21 00 08 	addi    r25,r1,8                               
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc0eb48:	41 be 01 30 	beq+    cr7,ffc0ec78 <pipe_read+0x170>         <== ALWAYS TAKEN
ffc0eb4c:	48 00 01 5c 	b       ffc0eca8 <pipe_read+0x1a0>             <== NOT EXECUTED
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
ffc0eb50:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc0eb54:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0eb58:	41 9e 01 28 	beq-    cr7,ffc0ec80 <pipe_read+0x178>         
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
ffc0eb5c:	80 18 00 18 	lwz     r0,24(r24)                             
ffc0eb60:	70 09 00 01 	andi.   r9,r0,1                                
ffc0eb64:	40 82 01 24 	bne-    ffc0ec88 <pipe_read+0x180>             
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
ffc0eb68:	81 3f 00 18 	lwz     r9,24(r31)                             
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
ffc0eb6c:	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);                                              
ffc0eb70:	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 ++;                                        
ffc0eb74:	38 09 00 01 	addi    r0,r9,1                                
ffc0eb78:	90 1f 00 18 	stw     r0,24(r31)                             
      PIPE_UNLOCK(pipe);                                              
ffc0eb7c:	4b ff b0 75 	bl      ffc09bf0 <rtems_semaphore_release>     
      if (! PIPE_READWAIT(pipe))                                      
ffc0eb80:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc0eb84:	38 80 00 00 	li      r4,0                                   
ffc0eb88:	48 00 0f dd 	bl      ffc0fb64 <rtems_barrier_wait>          
ffc0eb8c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0eb90:	40 9e 00 08 	bne-    cr7,ffc0eb98 <pipe_read+0x90>          <== NEVER TAKEN
ffc0eb94:	3b 60 00 00 	li      r27,0                                  
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
ffc0eb98:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0eb9c:	38 80 00 00 	li      r4,0                                   
ffc0eba0:	38 a0 00 00 	li      r5,0                                   
ffc0eba4:	4b ff af 25 	bl      ffc09ac8 <rtems_semaphore_obtain>      
ffc0eba8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ebac:	40 9e 00 ec 	bne-    cr7,ffc0ec98 <pipe_read+0x190>         <== NEVER TAKEN
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
      if (ret != 0)                                                   
ffc0ebb0:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
ffc0ebb4:	81 3f 00 18 	lwz     r9,24(r31)                             
ffc0ebb8:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0ebbc:	90 1f 00 18 	stw     r0,24(r31)                             
      if (ret != 0)                                                   
ffc0ebc0:	40 9e 00 cc 	bne-    cr7,ffc0ec8c <pipe_read+0x184>         <== NEVER TAKEN
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
    while (PIPE_EMPTY(pipe)) {                                        
ffc0ebc4:	83 7f 00 0c 	lwz     r27,12(r31)                            
ffc0ebc8:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0ebcc:	41 9e ff 84 	beq+    cr7,ffc0eb50 <pipe_read+0x48>          
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
ffc0ebd0:	7c 1c e8 50 	subf    r0,r28,r29                             
ffc0ebd4:	7f 9b 00 40 	cmplw   cr7,r27,r0                             
ffc0ebd8:	40 9d 00 08 	ble-    cr7,ffc0ebe0 <pipe_read+0xd8>          
ffc0ebdc:	7c 1b 03 78 	mr      r27,r0                                 
    chunk1 = pipe->Size - pipe->Start;                                
ffc0ebe0:	80 1f 00 08 	lwz     r0,8(r31)                              
ffc0ebe4:	7c 7e e2 14 	add     r3,r30,r28                             
ffc0ebe8:	83 5f 00 04 	lwz     r26,4(r31)                             
ffc0ebec:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc0ebf0:	7f 40 d0 50 	subf    r26,r0,r26                             
    if (chunk > chunk1) {                                             
ffc0ebf4:	7f 9b d0 00 	cmpw    cr7,r27,r26                            
ffc0ebf8:	40 9d 00 24 	ble-    cr7,ffc0ec1c <pipe_read+0x114>         
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
ffc0ebfc:	7c 84 02 14 	add     r4,r4,r0                               
ffc0ec00:	7f 45 d3 78 	mr      r5,r26                                 
ffc0ec04:	48 00 3a f9 	bl      ffc126fc <memcpy>                      
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
ffc0ec08:	7c 7c d2 14 	add     r3,r28,r26                             
ffc0ec0c:	7c 7e 1a 14 	add     r3,r30,r3                              
ffc0ec10:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc0ec14:	7c ba d8 50 	subf    r5,r26,r27                             
ffc0ec18:	48 00 00 0c 	b       ffc0ec24 <pipe_read+0x11c>             
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
ffc0ec1c:	7c 84 02 14 	add     r4,r4,r0                               
ffc0ec20:	7f 65 db 78 	mr      r5,r27                                 
ffc0ec24:	48 00 3a d9 	bl      ffc126fc <memcpy>                      
                                                                      
    pipe->Start += chunk;                                             
ffc0ec28:	80 1f 00 08 	lwz     r0,8(r31)                              
    pipe->Start %= pipe->Size;                                        
ffc0ec2c:	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;                                             
ffc0ec30:	7c 1b 02 14 	add     r0,r27,r0                              
    pipe->Start %= pipe->Size;                                        
ffc0ec34:	7d 60 4b 96 	divwu   r11,r0,r9                              
ffc0ec38:	7d 2b 49 d6 	mullw   r9,r11,r9                              
ffc0ec3c:	7c 09 00 50 	subf    r0,r9,r0                               
ffc0ec40:	90 1f 00 08 	stw     r0,8(r31)                              
    pipe->Length -= chunk;                                            
ffc0ec44:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc0ec48:	7c 1b 00 50 	subf    r0,r27,r0                              
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
ffc0ec4c:	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;                                            
ffc0ec50:	90 1f 00 0c 	stw     r0,12(r31)                             
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
ffc0ec54:	40 9e 00 08 	bne-    cr7,ffc0ec5c <pipe_read+0x154>         
      pipe->Start = 0;                                                
ffc0ec58:	90 1f 00 08 	stw     r0,8(r31)                              
                                                                      
    if (pipe->waitingWriters > 0)                                     
ffc0ec5c:	80 1f 00 1c 	lwz     r0,28(r31)                             
ffc0ec60:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ec64:	41 be 00 10 	beq+    cr7,ffc0ec74 <pipe_read+0x16c>         
      PIPE_WAKEUPWRITERS(pipe);                                       
ffc0ec68:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc0ec6c:	7f 24 cb 78 	mr      r4,r25                                 
ffc0ec70:	48 00 0e 89 	bl      ffc0faf8 <rtems_barrier_release>       
    read += chunk;                                                    
ffc0ec74:	7f 9c da 14 	add     r28,r28,r27                            
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
ffc0ec78:	7f 9c e8 40 	cmplw   cr7,r28,r29                            
ffc0ec7c:	41 9c ff 48 	blt+    cr7,ffc0ebc4 <pipe_read+0xbc>          
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
ffc0ec80:	3b 60 00 00 	li      r27,0                                  
ffc0ec84:	48 00 00 08 	b       ffc0ec8c <pipe_read+0x184>             
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
ffc0ec88:	3b 60 ff f5 	li      r27,-11                                
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
ffc0ec8c:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0ec90:	4b ff af 61 	bl      ffc09bf0 <rtems_semaphore_release>     
ffc0ec94:	48 00 00 08 	b       ffc0ec9c <pipe_read+0x194>             
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
ffc0ec98:	3b 60 ff fc 	li      r27,-4                                 <== NOT EXECUTED
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
ffc0ec9c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0eca0:	40 9d 00 08 	ble-    cr7,ffc0eca8 <pipe_read+0x1a0>         
ffc0eca4:	7f 9b e3 78 	mr      r27,r28                                
    return read;                                                      
  return ret;                                                         
}                                                                     
ffc0eca8:	39 61 00 38 	addi    r11,r1,56                              
ffc0ecac:	7f 63 db 78 	mr      r3,r27                                 
ffc0ecb0:	48 01 11 98 	b       ffc1fe48 <_restgpr_24_x>               
                                                                      

ffc0e684 <pipe_release>: */ void pipe_release( pipe_control_t **pipep, rtems_libio_t *iop ) {
ffc0e684:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0e688:	7c 08 02 a6 	mflr    r0                                     
ffc0e68c:	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);                                          
ffc0e690:	80 04 00 18 	lwz     r0,24(r4)                              
 */                                                                   
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc0e694:	bf 81 00 18 	stmw    r28,24(r1)                             
ffc0e698:	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)                                        
ffc0e69c:	70 09 00 02 	andi.   r9,r0,2                                
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
  pipe_control_t *pipe = *pipep;                                      
ffc0e6a0:	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);                                          
ffc0e6a4:	54 1d 07 7c 	rlwinm  r29,r0,0,29,30                         
  if (mode & LIBIO_FLAGS_READ)                                        
ffc0e6a8:	41 82 00 10 	beq-    ffc0e6b8 <pipe_release+0x34>           
     pipe->Readers --;                                                
ffc0e6ac:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc0e6b0:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0e6b4:	90 1f 00 10 	stw     r0,16(r31)                             
  if (mode & LIBIO_FLAGS_WRITE)                                       
ffc0e6b8:	73 a0 00 04 	andi.   r0,r29,4                               
ffc0e6bc:	41 82 00 10 	beq-    ffc0e6cc <pipe_release+0x48>           
     pipe->Writers --;                                                
ffc0e6c0:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc0e6c4:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0e6c8:	90 1f 00 14 	stw     r0,20(r31)                             
                                                                      
  PIPE_UNLOCK(pipe);                                                  
ffc0e6cc:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0e6d0:	4b ff b5 21 	bl      ffc09bf0 <rtems_semaphore_release>     
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
ffc0e6d4:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc0e6d8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e6dc:	40 9e 00 30 	bne-    cr7,ffc0e70c <pipe_release+0x88>       
ffc0e6e0:	83 9f 00 14 	lwz     r28,20(r31)                            
ffc0e6e4:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0e6e8:	40 be 00 14 	bne+    cr7,ffc0e6fc <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);                                                  
ffc0e6ec:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e6f0:	4b ff ff 4d 	bl      ffc0e63c <pipe_free>                   
    *pipep = NULL;                                                    
ffc0e6f4:	93 9e 00 00 	stw     r28,0(r30)                             
ffc0e6f8:	48 00 00 34 	b       ffc0e72c <pipe_release+0xa8>           
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
ffc0e6fc:	2f 9d 00 04 	cmpwi   cr7,r29,4                              
ffc0e700:	41 be 00 0c 	beq+    cr7,ffc0e70c <pipe_release+0x88>       <== NEVER TAKEN
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
ffc0e704:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc0e708:	48 00 00 1c 	b       ffc0e724 <pipe_release+0xa0>           
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
ffc0e70c:	80 1f 00 14 	lwz     r0,20(r31)                             
ffc0e710:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0e714:	40 9e 00 18 	bne-    cr7,ffc0e72c <pipe_release+0xa8>       <== NEVER TAKEN
ffc0e718:	2f 9d 00 02 	cmpwi   cr7,r29,2                              
ffc0e71c:	41 9e 00 10 	beq-    cr7,ffc0e72c <pipe_release+0xa8>       <== NEVER TAKEN
    PIPE_WAKEUPREADERS(pipe);                                         
ffc0e720:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc0e724:	38 81 00 08 	addi    r4,r1,8                                
ffc0e728:	48 00 13 d1 	bl      ffc0faf8 <rtems_barrier_release>       
                                                                      
  pipe_unlock();                                                      
ffc0e72c:	4b ff fe e9 	bl      ffc0e614 <pipe_unlock>                 
  iop->flags &= ~LIBIO_FLAGS_OPEN;                                    
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return;                                                           
#endif                                                                
                                                                      
}                                                                     
ffc0e730:	39 61 00 28 	addi    r11,r1,40                              
ffc0e734:	48 01 17 24 	b       ffc1fe58 <_restgpr_28_x>               
                                                                      

ffc0ecb4 <pipe_write>: pipe_control_t *pipe, const void *buffer, size_t count, rtems_libio_t *iop ) {
ffc0ecb4:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc0ecb8:	7c 08 02 a6 	mflr    r0                                     
ffc0ecbc:	be e1 00 1c 	stmw    r23,28(r1)                             
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
ffc0ecc0:	7c bb 2b 79 	mr.     r27,r5                                 
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc0ecc4:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0ecc8:	90 01 00 44 	stw     r0,68(r1)                              
ffc0eccc:	7c 9e 23 78 	mr      r30,r4                                 
ffc0ecd0:	7c d7 33 78 	mr      r23,r6                                 
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
ffc0ecd4:	3b 80 00 00 	li      r28,0                                  
)                                                                     
{                                                                     
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
ffc0ecd8:	41 a2 01 a8 	beq+    ffc0ee80 <pipe_write+0x1cc>            <== NEVER TAKEN
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc0ecdc:	80 63 00 28 	lwz     r3,40(r3)                              
ffc0ece0:	38 80 00 00 	li      r4,0                                   
ffc0ece4:	38 a0 00 00 	li      r5,0                                   
ffc0ece8:	4b ff ad e1 	bl      ffc09ac8 <rtems_semaphore_obtain>      
    return -EINTR;                                                    
ffc0ecec:	3b 80 ff fc 	li      r28,-4                                 
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc0ecf0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ecf4:	40 9e 01 8c 	bne-    cr7,ffc0ee80 <pipe_write+0x1cc>        <== NEVER TAKEN
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
ffc0ecf8:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc0ecfc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ed00:	41 9e 01 4c 	beq-    cr7,ffc0ee4c <pipe_write+0x198>        
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
ffc0ed04:	80 1f 00 04 	lwz     r0,4(r31)                              
ffc0ed08:	3b 20 00 01 	li      r25,1                                  
ffc0ed0c:	7f 9b 00 40 	cmplw   cr7,r27,r0                             
ffc0ed10:	41 9d 00 08 	bgt-    cr7,ffc0ed18 <pipe_write+0x64>         <== NEVER TAKEN
ffc0ed14:	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;                                                 
ffc0ed18:	3b a0 00 00 	li      r29,0                                  
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
ffc0ed1c:	3b 01 00 08 	addi    r24,r1,8                               
ffc0ed20:	48 00 01 1c 	b       ffc0ee3c <pipe_write+0x188>            
  /* 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)) {                                       
ffc0ed24:	80 17 00 18 	lwz     r0,24(r23)                             
ffc0ed28:	70 09 00 01 	andi.   r9,r0,1                                
ffc0ed2c:	40 82 01 2c 	bne-    ffc0ee58 <pipe_write+0x1a4>            
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
ffc0ed30:	81 3f 00 1c 	lwz     r9,28(r31)                             
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
ffc0ed34:	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);                                              
ffc0ed38:	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 ++;                                        
ffc0ed3c:	38 09 00 01 	addi    r0,r9,1                                
ffc0ed40:	90 1f 00 1c 	stw     r0,28(r31)                             
      PIPE_UNLOCK(pipe);                                              
ffc0ed44:	4b ff ae ad 	bl      ffc09bf0 <rtems_semaphore_release>     
      if (! PIPE_WRITEWAIT(pipe))                                     
ffc0ed48:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc0ed4c:	38 80 00 00 	li      r4,0                                   
ffc0ed50:	48 00 0e 15 	bl      ffc0fb64 <rtems_barrier_wait>          
ffc0ed54:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ed58:	40 9e 00 08 	bne-    cr7,ffc0ed60 <pipe_write+0xac>         <== NEVER TAKEN
ffc0ed5c:	3b 80 00 00 	li      r28,0                                  
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
ffc0ed60:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0ed64:	38 80 00 00 	li      r4,0                                   
ffc0ed68:	38 a0 00 00 	li      r5,0                                   
ffc0ed6c:	4b ff ad 5d 	bl      ffc09ac8 <rtems_semaphore_obtain>      
ffc0ed70:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ed74:	40 9e 00 fc 	bne-    cr7,ffc0ee70 <pipe_write+0x1bc>        <== NEVER TAKEN
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
ffc0ed78:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
ffc0ed7c:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc0ed80:	38 09 ff ff 	addi    r0,r9,-1                               
ffc0ed84:	90 1f 00 1c 	stw     r0,28(r31)                             
      if (ret != 0)                                                   
ffc0ed88:	40 9e 00 dc 	bne-    cr7,ffc0ee64 <pipe_write+0x1b0>        <== NEVER TAKEN
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
ffc0ed8c:	80 1f 00 10 	lwz     r0,16(r31)                             
ffc0ed90:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ed94:	41 9e 00 cc 	beq-    cr7,ffc0ee60 <pipe_write+0x1ac>        <== 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) {                                
ffc0ed98:	83 5f 00 04 	lwz     r26,4(r31)                             
ffc0ed9c:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc0eda0:	7f 80 d0 50 	subf    r28,r0,r26                             
ffc0eda4:	7f 9c c8 40 	cmplw   cr7,r28,r25                            
ffc0eda8:	41 9c ff 7c 	blt+    cr7,ffc0ed24 <pipe_write+0x70>         
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
ffc0edac:	7d 3d d8 50 	subf    r9,r29,r27                             
ffc0edb0:	7f 9c 48 40 	cmplw   cr7,r28,r9                             
ffc0edb4:	40 9d 00 08 	ble-    cr7,ffc0edbc <pipe_write+0x108>        
ffc0edb8:	7d 3c 4b 78 	mr      r28,r9                                 
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
ffc0edbc:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc0edc0:	7c 9e ea 14 	add     r4,r30,r29                             
ffc0edc4:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc0edc8:	7d 20 4a 14 	add     r9,r0,r9                               
ffc0edcc:	7c 09 d3 96 	divwu   r0,r9,r26                              
ffc0edd0:	7c 00 d1 d6 	mullw   r0,r0,r26                              
ffc0edd4:	7c 00 48 50 	subf    r0,r0,r9                               
ffc0edd8:	7f 40 d0 50 	subf    r26,r0,r26                             
    if (chunk > chunk1) {                                             
ffc0eddc:	7f 9c d0 00 	cmpw    cr7,r28,r26                            
ffc0ede0:	40 9d 00 24 	ble-    cr7,ffc0ee04 <pipe_write+0x150>        
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
ffc0ede4:	7f 45 d3 78 	mr      r5,r26                                 
ffc0ede8:	7c 63 02 14 	add     r3,r3,r0                               
ffc0edec:	48 00 39 11 	bl      ffc126fc <memcpy>                      
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
ffc0edf0:	7c 9a ea 14 	add     r4,r26,r29                             
ffc0edf4:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc0edf8:	7c 9e 22 14 	add     r4,r30,r4                              
ffc0edfc:	7c ba e0 50 	subf    r5,r26,r28                             
ffc0ee00:	48 00 00 0c 	b       ffc0ee0c <pipe_write+0x158>            
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
ffc0ee04:	7c 63 02 14 	add     r3,r3,r0                               
ffc0ee08:	7f 85 e3 78 	mr      r5,r28                                 
ffc0ee0c:	48 00 38 f1 	bl      ffc126fc <memcpy>                      
                                                                      
    pipe->Length += chunk;                                            
ffc0ee10:	80 1f 00 0c 	lwz     r0,12(r31)                             
ffc0ee14:	7c 00 e2 14 	add     r0,r0,r28                              
ffc0ee18:	90 1f 00 0c 	stw     r0,12(r31)                             
    if (pipe->waitingReaders > 0)                                     
ffc0ee1c:	80 1f 00 18 	lwz     r0,24(r31)                             
ffc0ee20:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ee24:	41 be 00 10 	beq+    cr7,ffc0ee34 <pipe_write+0x180>        
      PIPE_WAKEUPREADERS(pipe);                                       
ffc0ee28:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc0ee2c:	7f 04 c3 78 	mr      r4,r24                                 
ffc0ee30:	48 00 0c c9 	bl      ffc0faf8 <rtems_barrier_release>       
    written += chunk;                                                 
ffc0ee34:	7f bd e2 14 	add     r29,r29,r28                            
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
ffc0ee38:	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) {                                           
ffc0ee3c:	7f 9d d8 40 	cmplw   cr7,r29,r27                            
ffc0ee40:	41 9c ff 58 	blt+    cr7,ffc0ed98 <pipe_write+0xe4>         
ffc0ee44:	3b 80 00 00 	li      r28,0                                  
ffc0ee48:	48 00 00 1c 	b       ffc0ee64 <pipe_write+0x1b0>            
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
    ret = -EPIPE;                                                     
ffc0ee4c:	3b 80 ff e0 	li      r28,-32                                
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  int chunk, chunk1, written = 0, ret = 0;                            
ffc0ee50:	3b a0 00 00 	li      r29,0                                  
ffc0ee54:	48 00 00 10 	b       ffc0ee64 <pipe_write+0x1b0>            
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
ffc0ee58:	3b 80 ff f5 	li      r28,-11                                
ffc0ee5c:	48 00 00 08 	b       ffc0ee64 <pipe_write+0x1b0>            
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
        ret = -EPIPE;                                                 
ffc0ee60:	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);                                                  
ffc0ee64:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc0ee68:	4b ff ad 89 	bl      ffc09bf0 <rtems_semaphore_release>     
ffc0ee6c:	48 00 00 08 	b       ffc0ee74 <pipe_write+0x1c0>            
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
ffc0ee70:	3b 80 ff fc 	li      r28,-4                                 <== NOT EXECUTED
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
ffc0ee74:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0ee78:	40 9d 00 08 	ble-    cr7,ffc0ee80 <pipe_write+0x1cc>        
ffc0ee7c:	7f bc eb 78 	mr      r28,r29                                
    return written;                                                   
  return ret;                                                         
}                                                                     
ffc0ee80:	39 61 00 40 	addi    r11,r1,64                              
ffc0ee84:	7f 83 e3 78 	mr      r3,r28                                 
ffc0ee88:	48 01 0f bc 	b       ffc1fe44 <_restgpr_23_x>               
                                                                      

ffc087c4 <posix_memalign>: int posix_memalign( void **pointer, size_t alignment, size_t size ) {
ffc087c4:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc087c8:	7c 08 02 a6 	mflr    r0                                     
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
ffc087cc:	3d 60 00 00 	lis     r11,0                                  
int posix_memalign(                                                   
  void   **pointer,                                                   
  size_t   alignment,                                                 
  size_t   size                                                       
)                                                                     
{                                                                     
ffc087d0:	90 01 00 0c 	stw     r0,12(r1)                              
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
ffc087d4:	39 6b 33 d0 	addi    r11,r11,13264                          
ffc087d8:	81 4b 00 08 	lwz     r10,8(r11)                             
ffc087dc:	38 0a 00 01 	addi    r0,r10,1                               
ffc087e0:	90 0b 00 08 	stw     r0,8(r11)                              
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
ffc087e4:	39 64 ff ff 	addi    r11,r4,-1                              
ffc087e8:	7d 6a 20 39 	and.    r10,r11,r4                             
    return EINVAL;                                                    
ffc087ec:	38 00 00 16 	li      r0,22                                  
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
ffc087f0:	40 82 00 14 	bne-    ffc08804 <posix_memalign+0x40>         <== NEVER TAKEN
ffc087f4:	2b 84 00 03 	cmplwi  cr7,r4,3                               
ffc087f8:	40 bd 00 0c 	ble+    cr7,ffc08804 <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 );                  
ffc087fc:	48 00 02 e9 	bl      ffc08ae4 <rtems_memalign>              
ffc08800:	7c 60 1b 78 	mr      r0,r3                                  
}                                                                     
ffc08804:	7c 03 03 78 	mr      r3,r0                                  
ffc08808:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0880c:	38 21 00 08 	addi    r1,r1,8                                
ffc08810:	7c 08 03 a6 	mtlr    r0                                     
ffc08814:	4e 80 00 20 	blr                                            
                                                                      

ffc0508c <printk>: * printk * * Kernel printf function requiring minimal infrastructure. */ void printk(const char *fmt, ...) {
ffc0508c:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc05090:	7c 08 02 a6 	mflr    r0                                     
ffc05094:	90 81 00 1c 	stw     r4,28(r1)                              
ffc05098:	90 01 00 7c 	stw     r0,124(r1)                             
ffc0509c:	90 a1 00 20 	stw     r5,32(r1)                              
ffc050a0:	90 c1 00 24 	stw     r6,36(r1)                              
ffc050a4:	90 e1 00 28 	stw     r7,40(r1)                              
ffc050a8:	91 01 00 2c 	stw     r8,44(r1)                              
ffc050ac:	91 21 00 30 	stw     r9,48(r1)                              
ffc050b0:	91 41 00 34 	stw     r10,52(r1)                             
ffc050b4:	40 86 00 24 	bne-    cr1,ffc050d8 <printk+0x4c>             <== ALWAYS TAKEN
ffc050b8:	d8 21 00 38 	stfd    f1,56(r1)                              <== NOT EXECUTED
ffc050bc:	d8 41 00 40 	stfd    f2,64(r1)                              <== NOT EXECUTED
ffc050c0:	d8 61 00 48 	stfd    f3,72(r1)                              <== NOT EXECUTED
ffc050c4:	d8 81 00 50 	stfd    f4,80(r1)                              <== NOT EXECUTED
ffc050c8:	d8 a1 00 58 	stfd    f5,88(r1)                              <== NOT EXECUTED
ffc050cc:	d8 c1 00 60 	stfd    f6,96(r1)                              <== NOT EXECUTED
ffc050d0:	d8 e1 00 68 	stfd    f7,104(r1)                             <== NOT EXECUTED
ffc050d4:	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 */           
ffc050d8:	38 00 00 01 	li      r0,1                                   
ffc050dc:	98 01 00 08 	stb     r0,8(r1)                               
ffc050e0:	38 00 00 00 	li      r0,0                                   
  vprintk(fmt, ap);                                                   
ffc050e4:	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 */           
ffc050e8:	98 01 00 09 	stb     r0,9(r1)                               
ffc050ec:	38 01 00 80 	addi    r0,r1,128                              
ffc050f0:	90 01 00 0c 	stw     r0,12(r1)                              
ffc050f4:	38 01 00 18 	addi    r0,r1,24                               
ffc050f8:	90 01 00 10 	stw     r0,16(r1)                              
  vprintk(fmt, ap);                                                   
ffc050fc:	48 00 1d 55 	bl      ffc06e50 <vprintk>                     
  va_end(ap);        /* clean up when done */                         
}                                                                     
ffc05100:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc05104:	38 21 00 78 	addi    r1,r1,120                              
ffc05108:	7c 08 03 a6 	mtlr    r0                                     
ffc0510c:	4e 80 00 20 	blr                                            
                                                                      

ffc0683c <printk_plugin>: int printk_plugin( void *ignored __attribute__((unused)), const char *format, ... ) {
ffc0683c:	94 21 ff 90 	stwu    r1,-112(r1)                            
ffc06840:	7c 08 02 a6 	mflr    r0                                     
ffc06844:	90 a1 00 18 	stw     r5,24(r1)                              
ffc06848:	90 01 00 74 	stw     r0,116(r1)                             
ffc0684c:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc06850:	90 e1 00 20 	stw     r7,32(r1)                              
ffc06854:	91 01 00 24 	stw     r8,36(r1)                              
ffc06858:	91 21 00 28 	stw     r9,40(r1)                              
ffc0685c:	91 41 00 2c 	stw     r10,44(r1)                             
ffc06860:	40 86 00 24 	bne-    cr1,ffc06884 <printk_plugin+0x48>      <== ALWAYS TAKEN
ffc06864:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc06868:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc0686c:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc06870:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc06874:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc06878:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc0687c:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc06880:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  va_list arg_pointer;                                                
                                                                      
  va_start (arg_pointer, format);                                     
ffc06884:	38 00 00 02 	li      r0,2                                   
ffc06888:	98 01 00 08 	stb     r0,8(r1)                               
ffc0688c:	38 00 00 00 	li      r0,0                                   
                                                                      
  vprintk( format, arg_pointer );                                     
ffc06890:	7c 83 23 78 	mr      r3,r4                                  
  ...                                                                 
)                                                                     
{                                                                     
  va_list arg_pointer;                                                
                                                                      
  va_start (arg_pointer, format);                                     
ffc06894:	98 01 00 09 	stb     r0,9(r1)                               
ffc06898:	38 01 00 78 	addi    r0,r1,120                              
                                                                      
  vprintk( format, arg_pointer );                                     
ffc0689c:	38 81 00 08 	addi    r4,r1,8                                
  ...                                                                 
)                                                                     
{                                                                     
  va_list arg_pointer;                                                
                                                                      
  va_start (arg_pointer, format);                                     
ffc068a0:	90 01 00 0c 	stw     r0,12(r1)                              
ffc068a4:	38 01 00 10 	addi    r0,r1,16                               
ffc068a8:	90 01 00 10 	stw     r0,16(r1)                              
                                                                      
  vprintk( format, arg_pointer );                                     
ffc068ac:	48 00 1d 59 	bl      ffc08604 <vprintk>                     
                                                                      
  va_end(arg_pointer); /* clean up when done */                       
                                                                      
  return 0;                                                           
}                                                                     
ffc068b0:	38 60 00 00 	li      r3,0                                   
ffc068b4:	80 01 00 74 	lwz     r0,116(r1)                             
ffc068b8:	38 21 00 70 	addi    r1,r1,112                              
ffc068bc:	7c 08 03 a6 	mtlr    r0                                     
ffc068c0:	4e 80 00 20 	blr                                            
                                                                      

ffc147b4 <read>: ssize_t read( int fd, void *buffer, size_t count ) {
ffc147b4:	7c 08 02 a6 	mflr    r0                                     
ffc147b8:	7c 2b 0b 78 	mr      r11,r1                                 
ffc147bc:	94 21 ff f0 	stwu    r1,-16(r1)                             
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc147c0:	3d 40 00 00 	lis     r10,0                                  
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
ffc147c4:	90 01 00 14 	stw     r0,20(r1)                              
ffc147c8:	4b ff f9 49 	bl      ffc14110 <_savegpr_31>                 
  ssize_t      rc;                                                    
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc147cc:	80 0a 26 cc 	lwz     r0,9932(r10)                           
ffc147d0:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc147d4:	40 9c 00 20 	bge-    cr7,ffc147f4 <read+0x40>               <== NEVER TAKEN
  iop = rtems_libio_iop( fd );                                        
ffc147d8:	3d 40 00 00 	lis     r10,0                                  
ffc147dc:	83 ea 27 88 	lwz     r31,10120(r10)                         
ffc147e0:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc147e4:	7f ff 1a 14 	add     r31,r31,r3                             
  rtems_libio_check_is_open( iop );                                   
ffc147e8:	80 1f 00 18 	lwz     r0,24(r31)                             
ffc147ec:	70 0a 01 00 	andi.   r10,r0,256                             
ffc147f0:	40 a2 00 10 	bne+    ffc14800 <read+0x4c>                   
ffc147f4:	4b ff a9 89 	bl      ffc0f17c <__errno>                     
ffc147f8:	38 00 00 09 	li      r0,9                                   
ffc147fc:	48 00 00 28 	b       ffc14824 <read+0x70>                   
  rtems_libio_check_buffer( buffer );                                 
ffc14800:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc14804:	41 9e 00 18 	beq-    cr7,ffc1481c <read+0x68>               <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
ffc14808:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc1480c:	38 60 00 00 	li      r3,0                                   
ffc14810:	41 9e 00 5c 	beq-    cr7,ffc1486c <read+0xb8>               
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
ffc14814:	70 09 00 02 	andi.   r9,r0,2                                
ffc14818:	40 a2 00 18 	bne+    ffc14830 <read+0x7c>                   
ffc1481c:	4b ff a9 61 	bl      ffc0f17c <__errno>                     
ffc14820:	38 00 00 16 	li      r0,22                                  
ffc14824:	90 03 00 00 	stw     r0,0(r3)                               
ffc14828:	38 60 ff ff 	li      r3,-1                                  
ffc1482c:	48 00 00 40 	b       ffc1486c <read+0xb8>                   
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
  rc = (*iop->pathinfo.handlers->read_h)( iop, buffer, count );       
ffc14830:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc14834:	7f e3 fb 78 	mr      r3,r31                                 
ffc14838:	80 09 00 08 	lwz     r0,8(r9)                               
ffc1483c:	7c 09 03 a6 	mtctr   r0                                     
ffc14840:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( rc > 0 )                                                       
ffc14844:	2c 03 00 00 	cmpwi   r3,0                                   
ffc14848:	40 81 00 24 	ble-    ffc1486c <read+0xb8>                   
    iop->offset += rc;                                                
ffc1484c:	81 7f 00 10 	lwz     r11,16(r31)                            
ffc14850:	7c 6a 1b 78 	mr      r10,r3                                 
ffc14854:	81 9f 00 14 	lwz     r12,20(r31)                            
ffc14858:	7c 69 fe 70 	srawi   r9,r3,31                               
ffc1485c:	7d 4a 60 14 	addc    r10,r10,r12                            
ffc14860:	7d 29 59 14 	adde    r9,r9,r11                              
ffc14864:	91 3f 00 10 	stw     r9,16(r31)                             
ffc14868:	91 5f 00 14 	stw     r10,20(r31)                            
                                                                      
  return rc;                                                          
}                                                                     
ffc1486c:	39 61 00 10 	addi    r11,r1,16                              
ffc14870:	4b ff f8 ec 	b       ffc1415c <_restgpr_31_x>               
                                                                      

ffc079e4 <readlink>: ssize_t readlink( const char *pathname, char *buf, size_t bufsize ) {
ffc079e4:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc079e8:	7c 08 02 a6 	mflr    r0                                     
ffc079ec:	bf 81 00 28 	stmw    r28,40(r1)                             
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
ffc079f0:	7c 9d 23 79 	mr.     r29,r4                                 
ssize_t readlink(                                                     
  const char *pathname,                                               
  char       *buf,                                                    
  size_t      bufsize                                                 
)                                                                     
{                                                                     
ffc079f4:	7c 7f 1b 78 	mr      r31,r3                                 
ffc079f8:	90 01 00 3c 	stw     r0,60(r1)                              
ffc079fc:	7c be 2b 78 	mr      r30,r5                                 
  rtems_filesystem_location_info_t  loc;                              
  int                               result;                           
                                                                      
  if (!buf)                                                           
ffc07a00:	40 a2 00 18 	bne+    ffc07a18 <readlink+0x34>               
    rtems_set_errno_and_return_minus_one( EFAULT );                   
ffc07a04:	48 00 aa ed 	bl      ffc124f0 <__errno>                     
ffc07a08:	38 00 00 0e 	li      r0,14                                  
ffc07a0c:	90 03 00 00 	stw     r0,0(r3)                               
ffc07a10:	3b 80 ff ff 	li      r28,-1                                 
ffc07a14:	48 00 00 8c 	b       ffc07aa0 <readlink+0xbc>               
                                                                      
  result = rtems_filesystem_evaluate_path( pathname, strlen( pathname ),
ffc07a18:	48 00 ca fd 	bl      ffc14514 <strlen>                      
ffc07a1c:	38 a0 00 00 	li      r5,0                                   
ffc07a20:	7c 64 1b 78 	mr      r4,r3                                  
ffc07a24:	7f e3 fb 78 	mr      r3,r31                                 
ffc07a28:	3b e1 00 08 	addi    r31,r1,8                               
ffc07a2c:	7f e6 fb 78 	mr      r6,r31                                 
ffc07a30:	38 e0 00 00 	li      r7,0                                   
ffc07a34:	4b ff ec c1 	bl      ffc066f4 <rtems_filesystem_evaluate_path>
                                           0, &loc, false );          
  if ( result != 0 )                                                  
     return -1;                                                       
ffc07a38:	3b 80 ff ff 	li      r28,-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 )                                                  
ffc07a3c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07a40:	40 be 00 60 	bne+    cr7,ffc07aa0 <readlink+0xbc>           <== NEVER TAKEN
     return -1;                                                       
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_SYM_LINK ){
ffc07a44:	81 21 00 14 	lwz     r9,20(r1)                              
ffc07a48:	7f e3 fb 78 	mr      r3,r31                                 
ffc07a4c:	80 09 00 10 	lwz     r0,16(r9)                              
ffc07a50:	7c 09 03 a6 	mtctr   r0                                     
ffc07a54:	4e 80 04 21 	bctrl                                          
ffc07a58:	2f 83 00 04 	cmpwi   cr7,r3,4                               
ffc07a5c:	41 be 00 1c 	beq+    cr7,ffc07a78 <readlink+0x94>           
    rtems_filesystem_freenode( &loc );                                
ffc07a60:	7f e3 fb 78 	mr      r3,r31                                 
ffc07a64:	4b ff ed 85 	bl      ffc067e8 <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc07a68:	48 00 aa 89 	bl      ffc124f0 <__errno>                     
ffc07a6c:	38 00 00 16 	li      r0,22                                  
ffc07a70:	90 03 00 00 	stw     r0,0(r3)                               
ffc07a74:	48 00 00 2c 	b       ffc07aa0 <readlink+0xbc>               
  }                                                                   
                                                                      
  result =  (*loc.ops->readlink_h)( &loc, buf, bufsize );             
ffc07a78:	81 21 00 14 	lwz     r9,20(r1)                              
ffc07a7c:	7f e3 fb 78 	mr      r3,r31                                 
ffc07a80:	7f a4 eb 78 	mr      r4,r29                                 
ffc07a84:	80 09 00 3c 	lwz     r0,60(r9)                              
ffc07a88:	7f c5 f3 78 	mr      r5,r30                                 
ffc07a8c:	7c 09 03 a6 	mtctr   r0                                     
ffc07a90:	4e 80 04 21 	bctrl                                          
ffc07a94:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc07a98:	7f e3 fb 78 	mr      r3,r31                                 
ffc07a9c:	4b ff ed 4d 	bl      ffc067e8 <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc07aa0:	39 61 00 38 	addi    r11,r1,56                              
ffc07aa4:	7f 83 e3 78 	mr      r3,r28                                 
ffc07aa8:	4b ff ab b4 	b       ffc0265c <_restgpr_28_x>               
                                                                      

ffc06454 <readv>: ssize_t readv( int fd, const struct iovec *iov, int iovcnt ) {
ffc06454:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc06458:	7c 08 02 a6 	mflr    r0                                     
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc0645c:	3d 20 00 00 	lis     r9,0                                   
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc06460:	90 01 00 2c 	stw     r0,44(r1)                              
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc06464:	80 09 26 cc 	lwz     r0,9932(r9)                            
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc06468:	bf 21 00 0c 	stmw    r25,12(r1)                             
ffc0646c:	7c ba 2b 78 	mr      r26,r5                                 
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc06470:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc06474:	40 9c 00 20 	bge-    cr7,ffc06494 <readv+0x40>              
  iop = rtems_libio_iop( fd );                                        
ffc06478:	3d 20 00 00 	lis     r9,0                                   
ffc0647c:	83 69 27 88 	lwz     r27,10120(r9)                          
ffc06480:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc06484:	7f 7b 1a 14 	add     r27,r27,r3                             
  rtems_libio_check_is_open( iop );                                   
ffc06488:	80 1b 00 18 	lwz     r0,24(r27)                             
ffc0648c:	70 09 01 00 	andi.   r9,r0,256                              
ffc06490:	40 a2 00 10 	bne+    ffc064a0 <readv+0x4c>                  
ffc06494:	48 00 9f 75 	bl      ffc10408 <__errno>                     
ffc06498:	38 00 00 09 	li      r0,9                                   
ffc0649c:	48 00 00 64 	b       ffc06500 <readv+0xac>                  
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_READ );             
ffc064a0:	70 09 00 02 	andi.   r9,r0,2                                
ffc064a4:	41 82 00 54 	beq-    ffc064f8 <readv+0xa4>                  <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
ffc064a8:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc064ac:	41 9e 00 4c 	beq-    cr7,ffc064f8 <readv+0xa4>              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
ffc064b0:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc064b4:	40 9d 00 44 	ble-    cr7,ffc064f8 <readv+0xa4>              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
ffc064b8:	2f 85 04 00 	cmpwi   cr7,r5,1024                            
ffc064bc:	41 9d 00 3c 	bgt-    cr7,ffc064f8 <readv+0xa4>              <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc064c0:	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 )                                             
ffc064c4:	7c a9 03 a6 	mtctr   r5                                     
ffc064c8:	7c 89 23 78 	mr      r9,r4                                  
ffc064cc:	38 00 00 01 	li      r0,1                                   
ffc064d0:	39 60 00 00 	li      r11,0                                  
ffc064d4:	48 00 00 08 	b       ffc064dc <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;                                          
ffc064d8:	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 )                                       
ffc064dc:	81 49 00 00 	lwz     r10,0(r9)                              
ffc064e0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc064e4:	41 9e 00 14 	beq-    cr7,ffc064f8 <readv+0xa4>              
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
ffc064e8:	81 49 00 04 	lwz     r10,4(r9)                              
ffc064ec:	7d 0b 52 14 	add     r8,r11,r10                             
    if ( total < old )                                                
ffc064f0:	7f 88 58 00 	cmpw    cr7,r8,r11                             
ffc064f4:	40 bc 00 14 	bge+    cr7,ffc06508 <readv+0xb4>              
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc064f8:	48 00 9f 11 	bl      ffc10408 <__errno>                     
ffc064fc:	38 00 00 16 	li      r0,22                                  
ffc06500:	90 03 00 00 	stw     r0,0(r3)                               
ffc06504:	48 00 00 94 	b       ffc06598 <readv+0x144>                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
ffc06508:	31 4a ff ff 	addic   r10,r10,-1                             
ffc0650c:	7d 4a 51 10 	subfe   r10,r10,r10                            
ffc06510:	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++ ) {                           
ffc06514:	39 29 00 08 	addi    r9,r9,8                                
ffc06518:	42 00 ff c0 	bdnz+   ffc064d8 <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 ) {                                          
ffc0651c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return 0;                                                         
ffc06520:	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 ) {                                          
ffc06524:	40 9e 00 78 	bne-    cr7,ffc0659c <readv+0x148>             
ffc06528:	3b 20 00 00 	li      r25,0                                  
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    bytes = (*iop->pathinfo.handlers->read_h)(                        
ffc0652c:	81 3b 00 24 	lwz     r9,36(r27)                             
ffc06530:	7f 63 db 78 	mr      r3,r27                                 
ffc06534:	80 9c 00 00 	lwz     r4,0(r28)                              
ffc06538:	80 09 00 08 	lwz     r0,8(r9)                               
ffc0653c:	80 bc 00 04 	lwz     r5,4(r28)                              
ffc06540:	7c 09 03 a6 	mtctr   r0                                     
ffc06544:	4e 80 04 21 	bctrl                                          
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
ffc06548:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0654c:	41 80 00 4c 	blt-    ffc06598 <readv+0x144>                 <== NEVER TAKEN
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
ffc06550:	41 82 00 28 	beq-    ffc06578 <readv+0x124>                 <== NEVER TAKEN
      iop->offset += bytes;                                           
ffc06554:	81 3b 00 10 	lwz     r9,16(r27)                             
ffc06558:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0655c:	81 5b 00 14 	lwz     r10,20(r27)                            
ffc06560:	7c 7e fe 70 	srawi   r30,r3,31                              
      total       += bytes;                                           
ffc06564:	7f bd 1a 14 	add     r29,r29,r3                             
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
ffc06568:	7d 4a f8 14 	addc    r10,r10,r31                            
ffc0656c:	7d 29 f1 14 	adde    r9,r9,r30                              
ffc06570:	91 3b 00 10 	stw     r9,16(r27)                             
ffc06574:	91 5b 00 14 	stw     r10,20(r27)                            
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
ffc06578:	80 1c 00 04 	lwz     r0,4(r28)                              
ffc0657c:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc06580:	40 9e 00 1c 	bne-    cr7,ffc0659c <readv+0x148>             <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
ffc06584:	3b 39 00 01 	addi    r25,r25,1                              
ffc06588:	7f 99 d0 00 	cmpw    cr7,r25,r26                            
ffc0658c:	3b 9c 00 08 	addi    r28,r28,8                              
ffc06590:	41 9c ff 9c 	blt+    cr7,ffc0652c <readv+0xd8>              
ffc06594:	48 00 00 08 	b       ffc0659c <readv+0x148>                 
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
ffc06598:	3b a0 ff ff 	li      r29,-1                                 
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
ffc0659c:	39 61 00 28 	addi    r11,r1,40                              
ffc065a0:	7f a3 eb 78 	mr      r3,r29                                 
ffc065a4:	4b ff a6 3c 	b       ffc00be0 <_restgpr_25_x>               
                                                                      

ffc14918 <realloc>: void *realloc( void *ptr, size_t size ) {
ffc14918:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc1491c:	7c 08 02 a6 	mflr    r0                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc14920:	3d 20 00 00 	lis     r9,0                                   
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc14924:	90 01 00 2c 	stw     r0,44(r1)                              
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc14928:	39 29 2a c8 	addi    r9,r9,10952                            
ffc1492c:	81 69 00 10 	lwz     r11,16(r9)                             
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc14930:	bf a1 00 1c 	stmw    r29,28(r1)                             
ffc14934:	7c 7f 1b 78 	mr      r31,r3                                 
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc14938:	38 0b 00 01 	addi    r0,r11,1                               
ffc1493c:	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())) {                     
ffc14940:	3d 20 00 00 	lis     r9,0                                   
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc14944:	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())) {                     
ffc14948:	80 09 27 e8 	lwz     r0,10216(r9)                           
ffc1494c:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc14950:	40 be 00 24 	bne+    cr7,ffc14974 <realloc+0x5c>            <== NEVER TAKEN
    if (_Thread_Dispatch_disable_level > 0)                           
ffc14954:	3d 20 00 00 	lis     r9,0                                   
ffc14958:	80 09 27 a4 	lwz     r0,10148(r9)                           
ffc1495c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc14960:	40 be 00 d8 	bne+    cr7,ffc14a38 <realloc+0x120>           <== NEVER TAKEN
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
ffc14964:	3d 20 00 00 	lis     r9,0                                   
ffc14968:	80 09 2d a0 	lwz     r0,11680(r9)                           
ffc1496c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc14970:	40 9e 00 c8 	bne-    cr7,ffc14a38 <realloc+0x120>           <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
ffc14974:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc14978:	40 be 00 14 	bne+    cr7,ffc1498c <realloc+0x74>            
    return malloc( size );                                            
ffc1497c:	7f c3 f3 78 	mr      r3,r30                                 
ffc14980:	4b fe fb e9 	bl      ffc04568 <malloc>                      
ffc14984:	7c 7f 1b 78 	mr      r31,r3                                 
ffc14988:	48 00 00 b4 	b       ffc14a3c <realloc+0x124>               
                                                                      
  if ( !size ) {                                                      
ffc1498c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc14990:	40 be 00 10 	bne+    cr7,ffc149a0 <realloc+0x88>            <== ALWAYS TAKEN
    free( ptr );                                                      
ffc14994:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc14998:	4b fe f8 35 	bl      ffc041cc <free>                        <== NOT EXECUTED
ffc1499c:	48 00 00 9c 	b       ffc14a38 <realloc+0x120>               <== NOT EXECUTED
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
ffc149a0:	3f a0 00 00 	lis     r29,0                                  
ffc149a4:	80 7d 26 dc 	lwz     r3,9948(r29)                           
ffc149a8:	7f e4 fb 78 	mr      r4,r31                                 
ffc149ac:	38 a1 00 08 	addi    r5,r1,8                                
ffc149b0:	48 00 01 59 	bl      ffc14b08 <_Protected_heap_Get_block_size>
ffc149b4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc149b8:	40 be 00 14 	bne+    cr7,ffc149cc <realloc+0xb4>            
    errno = EINVAL;                                                   
ffc149bc:	4b ff a7 c1 	bl      ffc0f17c <__errno>                     
ffc149c0:	38 00 00 16 	li      r0,22                                  
ffc149c4:	90 03 00 00 	stw     r0,0(r3)                               
ffc149c8:	48 00 00 70 	b       ffc14a38 <realloc+0x120>               
  }                                                                   
                                                                      
  /*                                                                  
   *  Now resize it.                                                  
   */                                                                 
  if ( _Protected_heap_Resize_block( RTEMS_Malloc_Heap, ptr, size ) ) {
ffc149cc:	80 7d 26 dc 	lwz     r3,9948(r29)                           
ffc149d0:	7f e4 fb 78 	mr      r4,r31                                 
ffc149d4:	7f c5 f3 78 	mr      r5,r30                                 
ffc149d8:	48 00 01 81 	bl      ffc14b58 <_Protected_heap_Resize_block>
ffc149dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc149e0:	40 be 00 5c 	bne+    cr7,ffc14a3c <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 );                                          
ffc149e4:	7f c3 f3 78 	mr      r3,r30                                 
ffc149e8:	4b fe fb 81 	bl      ffc04568 <malloc>                      
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
ffc149ec:	3d 20 00 00 	lis     r9,0                                   
                                                                      
  if ( !new_area ) {                                                  
ffc149f0:	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 */
ffc149f4:	39 29 2a c8 	addi    r9,r9,10952                            
ffc149f8:	81 69 00 04 	lwz     r11,4(r9)                              
ffc149fc:	38 0b ff ff 	addi    r0,r11,-1                              
ffc14a00:	90 09 00 04 	stw     r0,4(r9)                               
                                                                      
  if ( !new_area ) {                                                  
ffc14a04:	41 82 00 34 	beq-    ffc14a38 <realloc+0x120>               
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
ffc14a08:	80 01 00 08 	lwz     r0,8(r1)                               
ffc14a0c:	7f c5 f3 78 	mr      r5,r30                                 
ffc14a10:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc14a14:	40 9d 00 08 	ble-    cr7,ffc14a1c <realloc+0x104>           <== NEVER TAKEN
ffc14a18:	7c 05 03 78 	mr      r5,r0                                  
ffc14a1c:	7f e4 fb 78 	mr      r4,r31                                 
ffc14a20:	7f a3 eb 78 	mr      r3,r29                                 
ffc14a24:	4b ff b3 b9 	bl      ffc0fddc <memcpy>                      
  free( ptr );                                                        
ffc14a28:	7f e3 fb 78 	mr      r3,r31                                 
ffc14a2c:	4b fe f7 a1 	bl      ffc041cc <free>                        
                                                                      
  return new_area;                                                    
ffc14a30:	7f bf eb 78 	mr      r31,r29                                
ffc14a34:	48 00 00 08 	b       ffc14a3c <realloc+0x124>               
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
                                                                      
  if ( !new_area ) {                                                  
    return (void *) 0;                                                
ffc14a38:	3b e0 00 00 	li      r31,0                                  
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
ffc14a3c:	39 61 00 28 	addi    r11,r1,40                              
ffc14a40:	7f e3 fb 78 	mr      r3,r31                                 
ffc14a44:	4b ff f7 10 	b       ffc14154 <_restgpr_29_x>               
                                                                      

ffc055fc <rmdir>: #include <rtems/seterr.h> int rmdir( const char *pathname ) {
ffc055fc:	94 21 ff a8 	stwu    r1,-88(r1)                             
ffc05600:	7d 80 00 26 	mfcr    r12                                    
ffc05604:	7c 08 02 a6 	mflr    r0                                     
ffc05608:	bf 41 00 40 	stmw    r26,64(r1)                             
ffc0560c:	7c 7c 1b 78 	mr      r28,r3                                 
ffc05610:	90 01 00 5c 	stw     r0,92(r1)                              
ffc05614:	91 81 00 3c 	stw     r12,60(r1)                             
                                                                      
  /*                                                                  
   *  Get the parent node of the node we wish to remove. Find the parent path.
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( pathname );              
ffc05618:	4b ff ef dd 	bl      ffc045f4 <rtems_filesystem_dirname>    
                                                                      
  if ( parentpathlen == 0 )                                           
ffc0561c:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc05620:	38 c1 00 0c 	addi    r6,r1,12                               
ffc05624:	40 82 00 1c 	bne-    ffc05640 <rmdir+0x44>                  
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
ffc05628:	7f 83 e3 78 	mr      r3,r28                                 
ffc0562c:	38 81 00 08 	addi    r4,r1,8                                
ffc05630:	7c c5 33 78 	mr      r5,r6                                  
ffc05634:	48 00 01 21 	bl      ffc05754 <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;           
ffc05638:	3b a0 00 00 	li      r29,0                                  
ffc0563c:	48 00 00 28 	b       ffc05664 <rmdir+0x68>                  
  parentpathlen = rtems_filesystem_dirname ( pathname );              
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( pathname, &i, &parentloc );       
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
ffc05640:	7f 83 e3 78 	mr      r3,r28                                 
ffc05644:	7f 64 db 78 	mr      r4,r27                                 
ffc05648:	38 a0 00 02 	li      r5,2                                   
ffc0564c:	38 e0 00 00 	li      r7,0                                   
ffc05650:	4b ff ef 49 	bl      ffc04598 <rtems_filesystem_evaluate_path>
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
      return -1;                                                      
ffc05654:	3b 40 ff ff 	li      r26,-1                                 
  else {                                                              
    result = rtems_filesystem_evaluate_path(pathname, parentpathlen,  
                                            RTEMS_LIBIO_PERMS_WRITE,  
                                            &parentloc,               
                                            false );                  
    if ( result != 0 )                                                
ffc05658:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0565c:	40 9e 00 e4 	bne-    cr7,ffc05740 <rmdir+0x144>             <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
ffc05660:	3b a0 00 01 	li      r29,1                                  
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
ffc05664:	3b e1 00 20 	addi    r31,r1,32                              
ffc05668:	3b c1 00 0c 	addi    r30,r1,12                              
ffc0566c:	7c be a4 aa 	lswi    r5,r30,20                              
ffc05670:	7c bf a5 aa 	stswi   r5,r31,20                              
  name = pathname + parentpathlen;                                    
ffc05674:	7f 9c da 14 	add     r28,r28,r27                            
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc05678:	7f 83 e3 78 	mr      r3,r28                                 
ffc0567c:	48 00 b7 2d 	bl      ffc10da8 <strlen>                      
ffc05680:	7c 64 1b 78 	mr      r4,r3                                  
ffc05684:	7f 83 e3 78 	mr      r3,r28                                 
ffc05688:	4b ff ef b5 	bl      ffc0463c <rtems_filesystem_prefix_separators>
ffc0568c:	7f 9c 1a 14 	add     r28,r28,r3                             
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
ffc05690:	7f 83 e3 78 	mr      r3,r28                                 
ffc05694:	48 00 b7 15 	bl      ffc10da8 <strlen>                      
ffc05698:	38 a0 00 00 	li      r5,0                                   
ffc0569c:	7c 64 1b 78 	mr      r4,r3                                  
ffc056a0:	7f e6 fb 78 	mr      r6,r31                                 
ffc056a4:	7f 83 e3 78 	mr      r3,r28                                 
ffc056a8:	38 e0 00 00 	li      r7,0                                   
ffc056ac:	4b ff ee 69 	bl      ffc04514 <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
ffc056b0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc056b4:	41 be 00 14 	beq+    cr7,ffc056c8 <rmdir+0xcc>              
    if ( free_parentloc )                                             
ffc056b8:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
ffc056bc:	3b 40 ff ff 	li      r26,-1                                 
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
ffc056c0:	41 be 00 80 	beq+    cr7,ffc05740 <rmdir+0x144>             
ffc056c4:	48 00 00 74 	b       ffc05738 <rmdir+0x13c>                 
  }                                                                   
                                                                      
  /*                                                                  
   * Verify you can remove this node as a directory.                  
   */                                                                 
  if ( (*loc.ops->node_type_h)( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
ffc056c8:	81 21 00 2c 	lwz     r9,44(r1)                              
ffc056cc:	7f e3 fb 78 	mr      r3,r31                                 
ffc056d0:	2e 1d 00 00 	cmpwi   cr4,r29,0                              
ffc056d4:	80 09 00 10 	lwz     r0,16(r9)                              
ffc056d8:	7c 09 03 a6 	mtctr   r0                                     
ffc056dc:	4e 80 04 21 	bctrl                                          
ffc056e0:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc056e4:	41 be 00 2c 	beq+    cr7,ffc05710 <rmdir+0x114>             
    rtems_filesystem_freenode( &loc );                                
ffc056e8:	7f e3 fb 78 	mr      r3,r31                                 
ffc056ec:	4b ff ef a1 	bl      ffc0468c <rtems_filesystem_freenode>   
    if ( free_parentloc )                                             
ffc056f0:	41 b2 00 0c 	beq+    cr4,ffc056fc <rmdir+0x100>             <== NEVER TAKEN
      rtems_filesystem_freenode( &parentloc );                        
ffc056f4:	7f c3 f3 78 	mr      r3,r30                                 
ffc056f8:	4b ff ef 95 	bl      ffc0468c <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
ffc056fc:	48 00 a5 0d 	bl      ffc0fc08 <__errno>                     
ffc05700:	38 00 00 14 	li      r0,20                                  
ffc05704:	90 03 00 00 	stw     r0,0(r3)                               
ffc05708:	3b 40 ff ff 	li      r26,-1                                 
ffc0570c:	48 00 00 34 	b       ffc05740 <rmdir+0x144>                 
                                                                      
  /*                                                                  
   * Use the filesystems rmnod to remove the node.                    
   */                                                                 
                                                                      
  result =  (*loc.handlers->rmnod_h)( &parentloc, &loc );             
ffc05710:	81 21 00 28 	lwz     r9,40(r1)                              
ffc05714:	7f c3 f3 78 	mr      r3,r30                                 
ffc05718:	7f e4 fb 78 	mr      r4,r31                                 
ffc0571c:	80 09 00 34 	lwz     r0,52(r9)                              
ffc05720:	7c 09 03 a6 	mtctr   r0                                     
ffc05724:	4e 80 04 21 	bctrl                                          
ffc05728:	7c 7a 1b 78 	mr      r26,r3                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc0572c:	7f e3 fb 78 	mr      r3,r31                                 
ffc05730:	4b ff ef 5d 	bl      ffc0468c <rtems_filesystem_freenode>   
  if ( free_parentloc )                                               
ffc05734:	41 b2 00 0c 	beq+    cr4,ffc05740 <rmdir+0x144>             
    rtems_filesystem_freenode( &parentloc );                          
ffc05738:	7f c3 f3 78 	mr      r3,r30                                 
ffc0573c:	4b ff ef 51 	bl      ffc0468c <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc05740:	81 81 00 3c 	lwz     r12,60(r1)                             
ffc05744:	39 61 00 58 	addi    r11,r1,88                              
ffc05748:	7f 43 d3 78 	mr      r3,r26                                 
ffc0574c:	7d 80 81 20 	mtcrf   8,r12                                  
ffc05750:	48 00 f4 f4 	b       ffc14c44 <_restgpr_26_x>               
                                                                      

ffc08880 <rtems_chain_get_with_wait>: rtems_chain_control *chain, rtems_event_set events, rtems_interval timeout, rtems_chain_node **node_ptr ) {
ffc08880:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc08884:	7c 08 02 a6 	mflr    r0                                     
ffc08888:	bf 41 00 18 	stmw    r26,24(r1)                             
ffc0888c:	7c 7a 1b 78 	mr      r26,r3                                 
ffc08890:	7c 9b 23 78 	mr      r27,r4                                 
ffc08894:	90 01 00 34 	stw     r0,52(r1)                              
ffc08898:	7c bc 2b 78 	mr      r28,r5                                 
ffc0889c:	7c df 33 78 	mr      r31,r6                                 
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
ffc088a0:	3b a1 00 08 	addi    r29,r1,8                               
ffc088a4:	48 00 00 20 	b       ffc088c4 <rtems_chain_get_with_wait+0x44>
ffc088a8:	7f 63 db 78 	mr      r3,r27                                 
ffc088ac:	38 80 00 00 	li      r4,0                                   
ffc088b0:	7f 85 e3 78 	mr      r5,r28                                 
ffc088b4:	7f a6 eb 78 	mr      r6,r29                                 
ffc088b8:	4b ff f2 b1 	bl      ffc07b68 <rtems_event_receive>         
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
ffc088bc:	2c 03 00 00 	cmpwi   r3,0                                   
ffc088c0:	40 82 00 18 	bne-    ffc088d8 <rtems_chain_get_with_wait+0x58><== ALWAYS TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc088c4:	7f 43 d3 78 	mr      r3,r26                                 
ffc088c8:	48 00 06 21 	bl      ffc08ee8 <_Chain_Get>                  
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
ffc088cc:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc088d0:	41 82 ff d8 	beq+    ffc088a8 <rtems_chain_get_with_wait+0x28>
ffc088d4:	38 60 00 00 	li      r3,0                                   
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc088d8:	39 61 00 30 	addi    r11,r1,48                              
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
ffc088dc:	93 df 00 00 	stw     r30,0(r31)                             
                                                                      
  return sc;                                                          
}                                                                     
ffc088e0:	48 00 c2 dc 	b       ffc14bbc <_restgpr_26_x>               
                                                                      

ffc048a8 <rtems_cpu_usage_report_with_plugin>: void rtems_cpu_usage_report_with_plugin( void *context, rtems_printk_plugin_t print ) {
ffc048a8:	94 21 ff 58 	stwu    r1,-168(r1)                            
ffc048ac:	7c 08 02 a6 	mflr    r0                                     
ffc048b0:	90 01 00 ac 	stw     r0,172(r1)                             
    Timestamp_Control  uptime, total, ran, uptime_at_last_reset;      
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
ffc048b4:	7c 80 23 79 	mr.     r0,r4                                  
                                                                      
void rtems_cpu_usage_report_with_plugin(                              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
ffc048b8:	bd c1 00 60 	stmw    r14,96(r1)                             
ffc048bc:	7c 7c 1b 78 	mr      r28,r3                                 
    Timestamp_Control  uptime, total, ran, uptime_at_last_reset;      
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
ffc048c0:	90 01 00 58 	stw     r0,88(r1)                              
ffc048c4:	41 82 01 f8 	beq-    ffc04abc <rtems_cpu_usage_report_with_plugin+0x214><== 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;            
ffc048c8:	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 );                                 
ffc048cc:	38 00 00 00 	li      r0,0                                   
    uptime_at_last_reset = CPU_usage_Uptime_at_last_reset;            
ffc048d0:	39 29 28 9c 	addi    r9,r9,10396                            
   *  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 );                                 
ffc048d4:	90 01 00 18 	stw     r0,24(r1)                              
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc048d8:	3c 80 ff c2 	lis     r4,-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;            
ffc048dc:	81 49 00 04 	lwz     r10,4(r9)                              
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc048e0:	38 84 df cb 	addi    r4,r4,-8245                            
   *  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 );                                 
ffc048e4:	90 01 00 1c 	stw     r0,28(r1)                              
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc048e8:	3f c0 00 00 	lis     r30,0                                  
ffc048ec:	3b de 30 00 	addi    r30,r30,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;            
ffc048f0:	81 29 00 00 	lwz     r9,0(r9)                               
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
                                                                      
        (*print)(                                                     
ffc048f4:	3e 00 ff c2 	lis     r16,-62                                
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc048f8:	80 01 00 58 	lwz     r0,88(r1)                              
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
ffc048fc:	3e a0 ff c2 	lis     r21,-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;            
ffc04900:	91 21 00 28 	stw     r9,40(r1)                              
/*PAGE                                                                
 *                                                                    
 *  rtems_cpu_usage_report                                            
 */                                                                   
                                                                      
void rtems_cpu_usage_report_with_plugin(                              
ffc04904:	39 fe 00 0c 	addi    r15,r30,12                             
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc04908:	7c 09 03 a6 	mtctr   r0                                     
        the_thread = (Thread_Control *)information->local_table[ i ]; 
                                                                      
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
ffc0490c:	3a e1 00 40 	addi    r23,r1,64                              
   *  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;            
ffc04910:	91 41 00 2c 	stw     r10,44(r1)                             
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
                                                                      
        (*print)(                                                     
ffc04914:	3a 10 e1 3d 	addi    r16,r16,-7875                          
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
ffc04918:	3e 20 00 00 	lis     r17,0                                  
ffc0491c:	3b e1 00 10 	addi    r31,r1,16                              
            _Timestamp_Subtract( &last, &uptime, &used );             
            _Timestamp_Add_to( &ran, &used );                         
          } else {                                                    
            _TOD_Get_uptime( &uptime );                               
          }                                                           
          _Timestamp_Subtract( &uptime_at_last_reset, &uptime, &total );
ffc04920:	3a 41 00 28 	addi    r18,r1,40                              
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc04924:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04928:	4e 80 04 21 	bctrl                                          
            _Timestamp_Subtract( &last, &uptime, &used );             
            _Timestamp_Add_to( &ran, &used );                         
          } else {                                                    
            _TOD_Get_uptime( &uptime );                               
          }                                                           
          _Timestamp_Subtract( &uptime_at_last_reset, &uptime, &total );
ffc0492c:	3b 01 00 18 	addi    r24,r1,24                              
          _Timestamp_Divide( &ran, &total, &ival, &fval );            
ffc04930:	3b 21 00 20 	addi    r25,r1,32                              
ffc04934:	3a 61 00 0c 	addi    r19,r1,12                              
ffc04938:	3a 81 00 08 	addi    r20,r1,8                               
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
ffc0493c:	3a b5 e1 50 	addi    r21,r21,-7856                          
ffc04940:	3a c0 03 e8 	li      r22,1000                               
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
            Timestamp_Control used;                                   
            Timestamp_Control last = _Thread_Time_of_last_context_switch;
ffc04944:	3d c0 00 00 	lis     r14,0                                  
            _TOD_Get_uptime( &uptime );                               
            _Timestamp_Subtract( &last, &uptime, &used );             
ffc04948:	3b 41 00 30 	addi    r26,r1,48                              
     "------------+----------------------------------------+---------------+---------\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 ] )                 
ffc0494c:	85 3e 00 04 	lwzu    r9,4(r30)                              
ffc04950:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc04954:	41 9e 01 34 	beq-    cr7,ffc04a88 <rtems_cpu_usage_report_with_plugin+0x1e0>
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
ffc04958:	83 69 00 04 	lwz     r27,4(r9)                              
    if ( information ) {                                              
ffc0495c:	3b a0 00 01 	li      r29,1                                  
ffc04960:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc04964:	40 be 01 18 	bne+    cr7,ffc04a7c <rtems_cpu_usage_report_with_plugin+0x1d4><== ALWAYS TAKEN
ffc04968:	48 00 01 20 	b       ffc04a88 <rtems_cpu_usage_report_with_plugin+0x1e0><== NOT EXECUTED
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
        the_thread = (Thread_Control *)information->local_table[ i ]; 
ffc0496c:	81 3b 00 1c 	lwz     r9,28(r27)                             
ffc04970:	57 a0 10 3a 	rlwinm  r0,r29,2,0,29                          
ffc04974:	7d 29 00 2e 	lwzx    r9,r9,r0                               
                                                                      
        if ( !the_thread )                                            
ffc04978:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0497c:	41 9e 00 fc 	beq-    cr7,ffc04a78 <rtems_cpu_usage_report_with_plugin+0x1d0><== NEVER TAKEN
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
ffc04980:	80 69 00 08 	lwz     r3,8(r9)                               
ffc04984:	38 80 00 0d 	li      r4,13                                  
ffc04988:	7e e5 bb 78 	mr      r5,r23                                 
ffc0498c:	91 21 00 5c 	stw     r9,92(r1)                              
ffc04990:	48 00 47 09 	bl      ffc09098 <rtems_object_get_name>       
                                                                      
        (*print)(                                                     
ffc04994:	7f 83 e3 78 	mr      r3,r28                                 
ffc04998:	81 21 00 5c 	lwz     r9,92(r1)                              
ffc0499c:	7e 04 83 78 	mr      r4,r16                                 
ffc049a0:	80 01 00 58 	lwz     r0,88(r1)                              
ffc049a4:	7e e6 bb 78 	mr      r6,r23                                 
ffc049a8:	80 a9 00 08 	lwz     r5,8(r9)                               
ffc049ac:	7c 09 03 a6 	mtctr   r0                                     
ffc049b0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc049b4:	4e 80 04 21 	bctrl                                          
        #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                    
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
ffc049b8:	81 21 00 5c 	lwz     r9,92(r1)                              
ffc049bc:	81 69 00 84 	lwz     r11,132(r9)                            
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
ffc049c0:	80 09 00 08 	lwz     r0,8(r9)                               
        #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                    
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
ffc049c4:	91 61 00 20 	stw     r11,32(r1)                             
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
ffc049c8:	39 71 32 18 	addi    r11,r17,12824                          
ffc049cc:	81 6b 00 0c 	lwz     r11,12(r11)                            
        #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                    
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
ffc049d0:	81 89 00 88 	lwz     r12,136(r9)                            
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
ffc049d4:	81 6b 00 08 	lwz     r11,8(r11)                             
        #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                    
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
ffc049d8:	91 81 00 24 	stw     r12,36(r1)                             
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
ffc049dc:	7f 8b 00 00 	cmpw    cr7,r11,r0                             
ffc049e0:	40 be 00 40 	bne+    cr7,ffc04a20 <rtems_cpu_usage_report_with_plugin+0x178>
            Timestamp_Control used;                                   
            Timestamp_Control last = _Thread_Time_of_last_context_switch;
ffc049e4:	39 2e 28 80 	addi    r9,r14,10368                           
ffc049e8:	81 49 00 04 	lwz     r10,4(r9)                              
            _TOD_Get_uptime( &uptime );                               
ffc049ec:	7f e3 fb 78 	mr      r3,r31                                 
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
          if ( _Thread_Executing->Object.id == the_thread->Object.id ) {
            Timestamp_Control used;                                   
            Timestamp_Control last = _Thread_Time_of_last_context_switch;
ffc049f0:	81 29 00 00 	lwz     r9,0(r9)                               
ffc049f4:	91 41 00 3c 	stw     r10,60(r1)                             
ffc049f8:	91 21 00 38 	stw     r9,56(r1)                              
            _TOD_Get_uptime( &uptime );                               
ffc049fc:	48 00 5c 75 	bl      ffc0a670 <_TOD_Get_uptime>             
            _Timestamp_Subtract( &last, &uptime, &used );             
ffc04a00:	38 61 00 38 	addi    r3,r1,56                               
ffc04a04:	7f e4 fb 78 	mr      r4,r31                                 
ffc04a08:	7f 45 d3 78 	mr      r5,r26                                 
ffc04a0c:	48 00 83 79 	bl      ffc0cd84 <_Timespec_Subtract>          
            _Timestamp_Add_to( &ran, &used );                         
ffc04a10:	7f 23 cb 78 	mr      r3,r25                                 
ffc04a14:	7f 44 d3 78 	mr      r4,r26                                 
ffc04a18:	48 00 82 4d 	bl      ffc0cc64 <_Timespec_Add_to>            
ffc04a1c:	48 00 00 0c 	b       ffc04a28 <rtems_cpu_usage_report_with_plugin+0x180>
          } else {                                                    
            _TOD_Get_uptime( &uptime );                               
ffc04a20:	7f e3 fb 78 	mr      r3,r31                                 
ffc04a24:	48 00 5c 4d 	bl      ffc0a670 <_TOD_Get_uptime>             
          }                                                           
          _Timestamp_Subtract( &uptime_at_last_reset, &uptime, &total );
ffc04a28:	7e 43 93 78 	mr      r3,r18                                 
ffc04a2c:	7f e4 fb 78 	mr      r4,r31                                 
ffc04a30:	7f 05 c3 78 	mr      r5,r24                                 
ffc04a34:	48 00 83 51 	bl      ffc0cd84 <_Timespec_Subtract>          
          _Timestamp_Divide( &ran, &total, &ival, &fval );            
ffc04a38:	7f 23 cb 78 	mr      r3,r25                                 
ffc04a3c:	7f 04 c3 78 	mr      r4,r24                                 
ffc04a40:	7e 85 a3 78 	mr      r5,r20                                 
ffc04a44:	7e 66 9b 78 	mr      r6,r19                                 
ffc04a48:	48 00 82 79 	bl      ffc0ccc0 <_Timespec_Divide>            
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          (*print)( context,                                          
ffc04a4c:	80 c1 00 24 	lwz     r6,36(r1)                              
ffc04a50:	80 01 00 58 	lwz     r0,88(r1)                              
ffc04a54:	7f 83 e3 78 	mr      r3,r28                                 
ffc04a58:	7e a4 ab 78 	mr      r4,r21                                 
ffc04a5c:	80 a1 00 20 	lwz     r5,32(r1)                              
ffc04a60:	7c c6 b3 96 	divwu   r6,r6,r22                              
ffc04a64:	80 e1 00 08 	lwz     r7,8(r1)                               
ffc04a68:	81 01 00 0c 	lwz     r8,12(r1)                              
ffc04a6c:	7c 09 03 a6 	mtctr   r0                                     
ffc04a70:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04a74:	4e 80 04 21 	bctrl                                          
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
ffc04a78:	3b bd 00 01 	addi    r29,r29,1                              
ffc04a7c:	a0 1b 00 10 	lhz     r0,16(r27)                             
ffc04a80:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc04a84:	40 9d fe e8 	ble+    cr7,ffc0496c <rtems_cpu_usage_report_with_plugin+0xc4>
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
ffc04a88:	7f 9e 78 00 	cmpw    cr7,r30,r15                            
ffc04a8c:	40 9e fe c0 	bne+    cr7,ffc0494c <rtems_cpu_usage_report_with_plugin+0xa4>
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)(                                                         
ffc04a90:	80 c1 00 1c 	lwz     r6,28(r1)                              
ffc04a94:	38 00 03 e8 	li      r0,1000                                
ffc04a98:	3c 80 ff c2 	lis     r4,-62                                 
ffc04a9c:	80 a1 00 18 	lwz     r5,24(r1)                              
ffc04aa0:	7c c6 03 96 	divwu   r6,r6,r0                               
ffc04aa4:	80 01 00 58 	lwz     r0,88(r1)                              
ffc04aa8:	7c 09 03 a6 	mtctr   r0                                     
ffc04aac:	7f 83 e3 78 	mr      r3,r28                                 
ffc04ab0:	38 84 e1 68 	addi    r4,r4,-7832                            
ffc04ab4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04ab8:	4e 80 04 21 	bctrl                                          
       "-------------------------------------------------------------------------------\n",
       _Watchdog_Ticks_since_boot - CPU_usage_Ticks_at_last_reset,    
       total_units                                                    
    );                                                                
  #endif                                                              
}                                                                     
ffc04abc:	39 61 00 a8 	addi    r11,r1,168                             
ffc04ac0:	4b ff c8 4c 	b       ffc0130c <_restgpr_14_x>               
                                                                      

ffc0f128 <rtems_deviceio_errno>: [RTEMS_PROXY_BLOCKING] = EIO }; int rtems_deviceio_errno(rtems_status_code sc) { if (sc == RTEMS_SUCCESSFUL) {
ffc0f128:	2c 03 00 00 	cmpwi   r3,0                                   
  [RTEMS_IO_ERROR]                 = EIO,                             
  [RTEMS_PROXY_BLOCKING]           = EIO                              
};                                                                    
                                                                      
int rtems_deviceio_errno(rtems_status_code sc)                        
{                                                                     
ffc0f12c:	7c 08 02 a6 	mflr    r0                                     
ffc0f130:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0f134:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0f138:	90 01 00 14 	stw     r0,20(r1)                              
ffc0f13c:	48 00 4f d5 	bl      ffc14110 <_savegpr_31>                 
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
ffc0f140:	38 00 00 00 	li      r0,0                                   
  [RTEMS_PROXY_BLOCKING]           = EIO                              
};                                                                    
                                                                      
int rtems_deviceio_errno(rtems_status_code sc)                        
{                                                                     
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc0f144:	41 a2 00 2c 	beq+    ffc0f170 <rtems_deviceio_errno+0x48>   
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
ffc0f148:	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;                                                 
ffc0f14c:	3b e0 00 16 	li      r31,22                                 
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
ffc0f150:	41 9d 00 14 	bgt-    cr7,ffc0f164 <rtems_deviceio_errno+0x3c><== NEVER TAKEN
      eno = status_code_to_errno [sc];                                
ffc0f154:	3d 20 ff c1 	lis     r9,-63                                 
ffc0f158:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
ffc0f15c:	39 29 60 c0 	addi    r9,r9,24768                            
ffc0f160:	7f e9 18 2e 	lwzx    r31,r9,r3                              
    }                                                                 
                                                                      
    errno = eno;                                                      
ffc0f164:	48 00 00 19 	bl      ffc0f17c <__errno>                     
                                                                      
    return -1;                                                        
ffc0f168:	38 00 ff ff 	li      r0,-1                                  
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
      eno = status_code_to_errno [sc];                                
    }                                                                 
                                                                      
    errno = eno;                                                      
ffc0f16c:	93 e3 00 00 	stw     r31,0(r3)                              
                                                                      
    return -1;                                                        
  }                                                                   
}                                                                     
ffc0f170:	39 61 00 10 	addi    r11,r1,16                              
ffc0f174:	7c 03 03 78 	mr      r3,r0                                  
ffc0f178:	48 00 4f e4 	b       ffc1415c <_restgpr_31_x>               
                                                                      

ffc092ac <rtems_error>: int rtems_error( rtems_error_code_t error_flag, const char *printf_format, ... ) {
ffc092ac:	7c 2b 0b 78 	mr      r11,r1                                 
ffc092b0:	7c 08 02 a6 	mflr    r0                                     
ffc092b4:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc092b8:	4b ff 8c 95 	bl      ffc01f4c <_savegpr_31>                 
ffc092bc:	90 01 00 7c 	stw     r0,124(r1)                             
ffc092c0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc092c4:	90 a1 00 18 	stw     r5,24(r1)                              
ffc092c8:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc092cc:	90 e1 00 20 	stw     r7,32(r1)                              
ffc092d0:	91 01 00 24 	stw     r8,36(r1)                              
ffc092d4:	91 21 00 28 	stw     r9,40(r1)                              
ffc092d8:	91 41 00 2c 	stw     r10,44(r1)                             
ffc092dc:	40 86 00 24 	bne-    cr1,ffc09300 <rtems_error+0x54>        <== ALWAYS TAKEN
ffc092e0:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc092e4:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc092e8:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc092ec:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc092f0:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc092f4:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc092f8:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc092fc:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  va_list arglist;                                                    
  int chars_written;                                                  
                                                                      
  va_start(arglist, printf_format);                                   
ffc09300:	38 00 00 02 	li      r0,2                                   
ffc09304:	98 01 00 08 	stb     r0,8(r1)                               
ffc09308:	38 00 00 00 	li      r0,0                                   
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
ffc0930c:	7f e3 fb 78 	mr      r3,r31                                 
)                                                                     
{                                                                     
  va_list arglist;                                                    
  int chars_written;                                                  
                                                                      
  va_start(arglist, printf_format);                                   
ffc09310:	98 01 00 09 	stb     r0,9(r1)                               
ffc09314:	38 01 00 80 	addi    r0,r1,128                              
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
ffc09318:	38 a1 00 08 	addi    r5,r1,8                                
)                                                                     
{                                                                     
  va_list arglist;                                                    
  int chars_written;                                                  
                                                                      
  va_start(arglist, printf_format);                                   
ffc0931c:	90 01 00 0c 	stw     r0,12(r1)                              
ffc09320:	38 01 00 10 	addi    r0,r1,16                               
ffc09324:	90 01 00 10 	stw     r0,16(r1)                              
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
ffc09328:	4b ff fe 09 	bl      ffc09130 <rtems_verror>                
  va_end(arglist);                                                    
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
ffc0932c:	77 e0 20 00 	andis.  r0,r31,8192                            
ffc09330:	41 a2 00 24 	beq+    ffc09354 <rtems_error+0xa8>            
    rtems_error(0, "fatal error, exiting");                           
ffc09334:	3c 80 ff c2 	lis     r4,-62                                 
ffc09338:	38 84 5f 7f 	addi    r4,r4,24447                            
ffc0933c:	38 60 00 00 	li      r3,0                                   
ffc09340:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09344:	4b ff ff 69 	bl      ffc092ac <rtems_error>                 
    _exit(errno);                                                     
ffc09348:	48 00 bc 51 	bl      ffc14f98 <__errno>                     
ffc0934c:	80 63 00 00 	lwz     r3,0(r3)                               
ffc09350:	48 00 0c 29 	bl      ffc09f78 <_exit>                       
  }                                                                   
  if (error_flag & RTEMS_ERROR_ABORT) {                               
ffc09354:	77 e0 10 00 	andis.  r0,r31,4096                            
ffc09358:	41 a2 00 1c 	beq+    ffc09374 <rtems_error+0xc8>            
    rtems_error(0, "fatal error, aborting");                          
ffc0935c:	3c 80 ff c2 	lis     r4,-62                                 
ffc09360:	38 84 5f 94 	addi    r4,r4,24468                            
ffc09364:	38 60 00 00 	li      r3,0                                   
ffc09368:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0936c:	4b ff ff 41 	bl      ffc092ac <rtems_error>                 
    abort();                                                          
ffc09370:	48 00 bc 0d 	bl      ffc14f7c <abort>                       
  }                                                                   
                                                                      
  return chars_written;                                               
}                                                                     
ffc09374:	39 61 00 78 	addi    r11,r1,120                             
ffc09378:	4b ff 8c 20 	b       ffc01f98 <_restgpr_31_x>               
                                                                      

ffc0c8a8 <rtems_filesystem_get_mount_handler>: find_arg fa = { .type = type, .mount_h = NULL }; if ( type != NULL ) {
ffc0c8a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
rtems_filesystem_fsmount_me_t                                         
rtems_filesystem_get_mount_handler(                                   
  const char *type                                                    
)                                                                     
{                                                                     
ffc0c8ac:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0c8b0:	7c 08 02 a6 	mflr    r0                                     
  find_arg fa = {                                                     
ffc0c8b4:	90 61 00 08 	stw     r3,8(r1)                               
                                                                      
rtems_filesystem_fsmount_me_t                                         
rtems_filesystem_get_mount_handler(                                   
  const char *type                                                    
)                                                                     
{                                                                     
ffc0c8b8:	90 01 00 1c 	stw     r0,28(r1)                              
  find_arg fa = {                                                     
ffc0c8bc:	38 00 00 00 	li      r0,0                                   
ffc0c8c0:	90 01 00 0c 	stw     r0,12(r1)                              
    .type = type,                                                     
    .mount_h = NULL                                                   
  };                                                                  
                                                                      
  if ( type != NULL ) {                                               
ffc0c8c4:	41 9e 00 14 	beq-    cr7,ffc0c8d8 <rtems_filesystem_get_mount_handler+0x30><== NEVER TAKEN
    rtems_filesystem_iterate( find_handler, &fa );                    
ffc0c8c8:	3c 60 ff c1 	lis     r3,-63                                 
ffc0c8cc:	38 63 c7 54 	addi    r3,r3,-14508                           
ffc0c8d0:	38 81 00 08 	addi    r4,r1,8                                
ffc0c8d4:	4b ff ff 21 	bl      ffc0c7f4 <rtems_filesystem_iterate>    
  }                                                                   
                                                                      
  return fa.mount_h;                                                  
}                                                                     
ffc0c8d8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0c8dc:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc0c8e0:	38 21 00 18 	addi    r1,r1,24                               
ffc0c8e4:	7c 08 03 a6 	mtlr    r0                                     
ffc0c8e8:	4e 80 00 20 	blr                                            
                                                                      

ffc03ec4 <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 ) {
ffc03ec4:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc03ec8:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
ffc03ecc:	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 )                              
{                                                                     
ffc03ed0:	bf a1 00 2c 	stmw    r29,44(r1)                             
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
ffc03ed4:	3f c0 00 00 	lis     r30,0                                  
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
    rtems_fatal_error_occurred( 0xABCD0001 );                         
ffc03ed8:	60 63 00 01 	ori     r3,r3,1                                
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
ffc03edc:	81 3e 27 1c 	lwz     r9,10012(r30)                          
 *  configuration is a single instantiation of the IMFS or miniIMFS with
 *  a single "/dev" directory in it.                                  
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
ffc03ee0:	90 01 00 3c 	stw     r0,60(r1)                              
                                                                      
  /*                                                                  
   *  Set the default umask to "022".                                 
   */                                                                 
                                                                      
  rtems_filesystem_umask = 022;                                       
ffc03ee4:	38 00 00 12 	li      r0,18                                  
ffc03ee8:	90 09 00 2c 	stw     r0,44(r9)                              
                                                                      
  /*                                                                  
   *  mount the first filesystem.                                     
   */                                                                 
  if ( rtems_filesystem_mount_table_size == 0 )                       
ffc03eec:	3d 20 00 00 	lis     r9,0                                   
ffc03ef0:	80 09 26 d8 	lwz     r0,9944(r9)                            
ffc03ef4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc03ef8:	41 9e 00 34 	beq-    cr7,ffc03f2c <rtems_filesystem_initialize+0x68><== NEVER TAKEN
    rtems_fatal_error_occurred( 0xABCD0001 );                         
                                                                      
  mt = &rtems_filesystem_mount_table[0];                              
ffc03efc:	3d 20 00 00 	lis     r9,0                                   
ffc03f00:	81 29 26 d4 	lwz     r9,9940(r9)                            
                                                                      
  status = mount( mt->device, mt->mount_point, mt->type, mt->fsoptions, NULL );
ffc03f04:	38 e0 00 00 	li      r7,0                                   
ffc03f08:	80 69 00 08 	lwz     r3,8(r9)                               
ffc03f0c:	80 89 00 0c 	lwz     r4,12(r9)                              
ffc03f10:	80 a9 00 00 	lwz     r5,0(r9)                               
ffc03f14:	80 c9 00 04 	lwz     r6,4(r9)                               
ffc03f18:	48 00 09 3d 	bl      ffc04854 <mount>                       
  if ( status == -1 )                                                 
ffc03f1c:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc03f20:	40 be 00 10 	bne+    cr7,ffc03f30 <rtems_filesystem_initialize+0x6c><== ALWAYS TAKEN
    rtems_fatal_error_occurred( 0xABCD0002 );                         
ffc03f24:	3c 60 ab cd 	lis     r3,-21555                              <== NOT EXECUTED
ffc03f28:	60 63 00 02 	ori     r3,r3,2                                <== NOT EXECUTED
ffc03f2c:	48 00 40 f9 	bl      ffc08024 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      
  rtems_filesystem_link_counts = 0;                                   
ffc03f30:	81 3e 27 1c 	lwz     r9,10012(r30)                          
ffc03f34:	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);                 
ffc03f38:	3f a0 ff c1 	lis     r29,-63                                
                                                                      
  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;                                   
ffc03f3c:	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);                 
ffc03f40:	3b e1 00 08 	addi    r31,r1,8                               
ffc03f44:	3b bd 5d 80 	addi    r29,r29,23936                          
ffc03f48:	38 a0 00 00 	li      r5,0                                   
ffc03f4c:	7f e6 fb 78 	mr      r6,r31                                 
ffc03f50:	38 e0 00 00 	li      r7,0                                   
ffc03f54:	38 80 00 01 	li      r4,1                                   
ffc03f58:	7f a3 eb 78 	mr      r3,r29                                 
ffc03f5c:	48 00 01 51 	bl      ffc040ac <rtems_filesystem_evaluate_path>
  rtems_filesystem_root        = loc;                                 
ffc03f60:	81 7e 27 1c 	lwz     r11,10012(r30)                         
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
ffc03f64:	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;                                 
ffc03f68:	39 6b 00 18 	addi    r11,r11,24                             
ffc03f6c:	7c bf a4 aa 	lswi    r5,r31,20                              
ffc03f70:	7c ab a5 aa 	stswi   r5,r11,20                              
  /* One more clone for the current node */                           
  rtems_filesystem_evaluate_path("/", 1, 0, &loc, 0);                 
ffc03f74:	7f a3 eb 78 	mr      r3,r29                                 
ffc03f78:	38 a0 00 00 	li      r5,0                                   
ffc03f7c:	7f e6 fb 78 	mr      r6,r31                                 
ffc03f80:	38 e0 00 00 	li      r7,0                                   
ffc03f84:	48 00 01 29 	bl      ffc040ac <rtems_filesystem_evaluate_path>
  rtems_filesystem_current     = loc;                                 
ffc03f88:	81 7e 27 1c 	lwz     r11,10012(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);                                      
ffc03f8c:	3c 60 ff c1 	lis     r3,-63                                 
  /* 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;                                 
ffc03f90:	39 6b 00 04 	addi    r11,r11,4                              
ffc03f94:	7c bf a4 aa 	lswi    r5,r31,20                              
ffc03f98:	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);                                      
ffc03f9c:	38 63 5d 82 	addi    r3,r3,23938                            
ffc03fa0:	38 80 01 ff 	li      r4,511                                 
ffc03fa4:	48 00 06 c1 	bl      ffc04664 <mkdir>                       
  if ( status != 0 )                                                  
ffc03fa8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc03fac:	41 be 00 10 	beq+    cr7,ffc03fbc <rtems_filesystem_initialize+0xf8><== ALWAYS TAKEN
    rtems_fatal_error_occurred( 0xABCD0003 );                         
ffc03fb0:	3c 60 ab cd 	lis     r3,-21555                              <== NOT EXECUTED
ffc03fb4:	60 63 00 03 	ori     r3,r3,3                                <== NOT EXECUTED
ffc03fb8:	4b ff ff 74 	b       ffc03f2c <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.        
   */                                                                 
}                                                                     
ffc03fbc:	39 61 00 38 	addi    r11,r1,56                              
ffc03fc0:	48 01 01 94 	b       ffc14154 <_restgpr_29_x>               
                                                                      

ffc0c7f4 <rtems_filesystem_iterate>: bool rtems_filesystem_iterate( rtems_per_filesystem_routine routine, void *routine_arg ) {
ffc0c7f4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0c7f8:	7c 08 02 a6 	mflr    r0                                     
ffc0c7fc:	bf 81 00 10 	stmw    r28,16(r1)                             
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
ffc0c800:	3f e0 ff c1 	lis     r31,-63                                
                                                                      
bool rtems_filesystem_iterate(                                        
  rtems_per_filesystem_routine routine,                               
  void *routine_arg                                                   
)                                                                     
{                                                                     
ffc0c804:	7c 9e 23 78 	mr      r30,r4                                 
ffc0c808:	90 61 00 08 	stw     r3,8(r1)                               
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
ffc0c80c:	3b ff 52 94 	addi    r31,r31,21140                          
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
ffc0c810:	38 60 00 00 	li      r3,0                                   
                                                                      
bool rtems_filesystem_iterate(                                        
  rtems_per_filesystem_routine routine,                               
  void *routine_arg                                                   
)                                                                     
{                                                                     
ffc0c814:	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;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
ffc0c818:	48 00 00 1c 	b       ffc0c834 <rtems_filesystem_iterate+0x40>
    stop = (*routine)( table_entry, routine_arg );                    
ffc0c81c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0c820:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c824:	7f c4 f3 78 	mr      r4,r30                                 
ffc0c828:	7c 09 03 a6 	mtctr   r0                                     
    ++table_entry;                                                    
ffc0c82c:	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 );                    
ffc0c830:	4e 80 04 21 	bctrl                                          
{                                                                     
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
ffc0c834:	80 1f 00 00 	lwz     r0,0(r31)                              
ffc0c838:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c83c:	2f 00 00 00 	cmpwi   cr6,r0,0                               
ffc0c840:	41 9a 00 0c 	beq-    cr6,ffc0c84c <rtems_filesystem_iterate+0x58>
ffc0c844:	41 9e ff d8 	beq+    cr7,ffc0c81c <rtems_filesystem_iterate+0x28>
ffc0c848:	48 00 00 58 	b       ffc0c8a0 <rtems_filesystem_iterate+0xac>
ffc0c84c:	7c 7c 1b 78 	mr      r28,r3                                 
    stop = (*routine)( table_entry, routine_arg );                    
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
ffc0c850:	40 9e 00 50 	bne-    cr7,ffc0c8a0 <rtems_filesystem_iterate+0xac>
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0c854:	3f a0 00 00 	lis     r29,0                                  
    stop = (*routine)( table_entry, routine_arg );                    
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
ffc0c858:	4b ff ff 45 	bl      ffc0c79c <rtems_libio_lock>            
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0c85c:	83 fd 21 b4 	lwz     r31,8628(r29)                          
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return &the_chain->Tail.Node;                                       
ffc0c860:	3b bd 21 b4 	addi    r29,r29,8628                           
ffc0c864:	3b bd 00 04 	addi    r29,r29,4                              
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
ffc0c868:	48 00 00 20 	b       ffc0c888 <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 );                  
ffc0c86c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0c870:	38 7f 00 08 	addi    r3,r31,8                               
ffc0c874:	7f c4 f3 78 	mr      r4,r30                                 
ffc0c878:	7c 09 03 a6 	mtctr   r0                                     
ffc0c87c:	4e 80 04 21 	bctrl                                          
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0c880:	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 );                  
ffc0c884:	7c 7c 1b 78 	mr      r28,r3                                 
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
ffc0c888:	7f 9f e8 00 	cmpw    cr7,r31,r29                            
ffc0c88c:	41 9e 00 0c 	beq-    cr7,ffc0c898 <rtems_filesystem_iterate+0xa4>
      node = rtems_chain_first( &filesystem_chain );                  
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
ffc0c890:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0c894:	41 9e ff d8 	beq+    cr7,ffc0c86c <rtems_filesystem_iterate+0x78><== ALWAYS TAKEN
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
    }                                                                 
    rtems_libio_unlock();                                             
ffc0c898:	4b ff ff 35 	bl      ffc0c7cc <rtems_libio_unlock>          
ffc0c89c:	7f 83 e3 78 	mr      r3,r28                                 
  }                                                                   
                                                                      
  return stop;                                                        
}                                                                     
ffc0c8a0:	39 61 00 20 	addi    r11,r1,32                              
ffc0c8a4:	48 00 78 ac 	b       ffc14150 <_restgpr_28_x>               
                                                                      

ffc047e8 <rtems_filesystem_mount_iterate>: bool rtems_filesystem_mount_iterate( rtems_per_filesystem_mount_routine routine, void *routine_arg ) {
ffc047e8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc047ec:	7c 08 02 a6 	mflr    r0                                     
ffc047f0:	bf 81 00 10 	stmw    r28,16(r1)                             
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
ffc047f4:	3f c0 00 00 	lis     r30,0                                  
                                                                      
bool rtems_filesystem_mount_iterate(                                  
  rtems_per_filesystem_mount_routine routine,                         
  void *routine_arg                                                   
)                                                                     
{                                                                     
ffc047f8:	7c 7c 1b 78 	mr      r28,r3                                 
ffc047fc:	90 01 00 24 	stw     r0,36(r1)                              
ffc04800:	7c 9d 23 78 	mr      r29,r4                                 
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
ffc04804:	4b ff ff 8d 	bl      ffc04790 <rtems_libio_lock>            
  rtems_per_filesystem_mount_routine routine,                         
  void *routine_arg                                                   
)                                                                     
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
ffc04808:	38 60 00 00 	li      r3,0                                   
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
ffc0480c:	83 fe 21 98 	lwz     r31,8600(r30)                          
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Tail(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return &the_chain->Tail.Node;                                       
ffc04810:	3b de 21 98 	addi    r30,r30,8600                           
ffc04814:	3b de 00 04 	addi    r30,r30,4                              
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
ffc04818:	48 00 00 18 	b       ffc04830 <rtems_filesystem_mount_iterate+0x48>
    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 );                       
ffc0481c:	7f e3 fb 78 	mr      r3,r31                                 
ffc04820:	7f 89 03 a6 	mtctr   r28                                    
ffc04824:	7f a4 eb 78 	mr      r4,r29                                 
ffc04828:	4e 80 04 21 	bctrl                                          
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  return stop;                                                        
}                                                                     
ffc0482c:	83 ff 00 00 	lwz     r31,0(r31)                             
{                                                                     
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
ffc04830:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc04834:	41 9e 00 0c 	beq-    cr7,ffc04840 <rtems_filesystem_mount_iterate+0x58>
    node = rtems_chain_first( &mount_chain );                         
    !rtems_chain_is_tail( &mount_chain, node ) && !stop;              
ffc04838:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0483c:	41 9e ff e0 	beq+    cr7,ffc0481c <rtems_filesystem_mount_iterate+0x34><== ALWAYS TAKEN
    const rtems_filesystem_mount_table_entry_t *mt_entry =            
      (rtems_filesystem_mount_table_entry_t *) node;                  
                                                                      
    stop = (*routine)( mt_entry, routine_arg );                       
  }                                                                   
  rtems_libio_unlock();                                               
ffc04840:	90 61 00 08 	stw     r3,8(r1)                               
ffc04844:	4b ff ff 7d 	bl      ffc047c0 <rtems_libio_unlock>          
                                                                      
  return stop;                                                        
}                                                                     
ffc04848:	39 61 00 20 	addi    r11,r1,32                              
ffc0484c:	80 61 00 08 	lwz     r3,8(r1)                               
ffc04850:	48 00 f9 00 	b       ffc14150 <_restgpr_28_x>               
                                                                      

ffc04150 <rtems_filesystem_prefix_separators>: int rtems_filesystem_prefix_separators( const char *pathname, int pathnamelen ) {
ffc04150:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc04154:	7c 08 02 a6 	mflr    r0                                     
ffc04158:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc0415c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc04160:	7c 9d 23 78 	mr      r29,r4                                 
ffc04164:	90 01 00 1c 	stw     r0,28(r1)                              
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
ffc04168:	3b c0 00 00 	li      r30,0                                  
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
ffc0416c:	48 00 00 08 	b       ffc04174 <rtems_filesystem_prefix_separators+0x24>
  {                                                                   
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
ffc04170:	3b de 00 01 	addi    r30,r30,1                              
{                                                                     
  /*                                                                  
   * Eat any separators at start of the path.                         
   */                                                                 
  int stripped = 0;                                                   
  while ( *pathname && pathnamelen && rtems_filesystem_is_separator( *pathname ) )
ffc04174:	7c 7f f0 ae 	lbzx    r3,r31,r30                             
ffc04178:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0417c:	41 9e 00 18 	beq-    cr7,ffc04194 <rtems_filesystem_prefix_separators+0x44><== NEVER TAKEN
ffc04180:	7f 9d f0 00 	cmpw    cr7,r29,r30                            
ffc04184:	41 9e 00 10 	beq-    cr7,ffc04194 <rtems_filesystem_prefix_separators+0x44><== NEVER TAKEN
ffc04188:	48 00 0f ed 	bl      ffc05174 <rtems_filesystem_is_separator>
ffc0418c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04190:	40 9e ff e0 	bne+    cr7,ffc04170 <rtems_filesystem_prefix_separators+0x20>
    pathname++;                                                       
    pathnamelen--;                                                    
    stripped++;                                                       
  }                                                                   
  return stripped;                                                    
}                                                                     
ffc04194:	39 61 00 18 	addi    r11,r1,24                              
ffc04198:	7f c3 f3 78 	mr      r3,r30                                 
ffc0419c:	48 00 ff b8 	b       ffc14154 <_restgpr_29_x>               
                                                                      

ffc04e0c <rtems_gxx_key_create>: int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *)) {
ffc04e0c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc04e10:	7c 08 02 a6 	mflr    r0                                     
ffc04e14:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc04e18:	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 ) );
ffc04e1c:	38 60 00 08 	li      r3,8                                   
  }                                                                   
  return 0;                                                           
}                                                                     
                                                                      
int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *))
{                                                                     
ffc04e20:	7c 9e 23 78 	mr      r30,r4                                 
ffc04e24:	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 ) );
ffc04e28:	48 00 05 25 	bl      ffc0534c <malloc>                      
  *key = new_key;                                                     
  new_key->val  = NULL;                                               
ffc04e2c:	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;                                                     
ffc04e30:	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 ) );
ffc04e34:	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 );
ffc04e38:	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;                                               
ffc04e3c:	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 );
ffc04e40:	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;                                               
ffc04e44:	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 );
ffc04e48:	38 60 00 00 	li      r3,0                                   
ffc04e4c:	48 00 3f 7d 	bl      ffc08dc8 <rtems_task_variable_add>     
  if ( status == RTEMS_SUCCESSFUL )                                   
    return 0;                                                         
ffc04e50:	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 )                                   
ffc04e54:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04e58:	41 be 00 10 	beq+    cr7,ffc04e68 <rtems_gxx_key_create+0x5c><== ALWAYS TAKEN
    return 0;                                                         
                                                                      
  free( new_key );                                                    
ffc04e5c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc04e60:	4b ff fe 09 	bl      ffc04c68 <free>                        <== NOT EXECUTED
  return -1;                                                          
ffc04e64:	38 00 ff ff 	li      r0,-1                                  <== NOT EXECUTED
}                                                                     
ffc04e68:	39 61 00 18 	addi    r11,r1,24                              
ffc04e6c:	7c 03 03 78 	mr      r3,r0                                  
ffc04e70:	4b ff be 7c 	b       ffc00cec <_restgpr_29_x>               
                                                                      

ffc04e84 <rtems_gxx_key_delete>: int rtems_gxx_key_delete (__gthread_key_t key) {
ffc04e84:	7c 2b 0b 78 	mr      r11,r1                                 
ffc04e88:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc04e8c:	7c 08 02 a6 	mflr    r0                                     
ffc04e90:	48 01 01 5d 	bl      ffc14fec <_savegpr_31>                 
ffc04e94:	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 );    
ffc04e98:	7f e4 fb 78 	mr      r4,r31                                 
  key->val  = 0;                                                      
  return 0;                                                           
}                                                                     
                                                                      
int rtems_gxx_key_delete (__gthread_key_t key)                        
{                                                                     
ffc04e9c:	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 );    
ffc04ea0:	38 60 00 00 	li      r3,0                                   
ffc04ea4:	48 00 3f d9 	bl      ffc08e7c <rtems_task_variable_delete>  
  if ( status == RTEMS_SUCCESSFUL ) {                                 
ffc04ea8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04eac:	40 9e 00 14 	bne-    cr7,ffc04ec0 <rtems_gxx_key_delete+0x3c><== NEVER TAKEN
    /* Hmm - hopefully all tasks using this key have gone away... */  
    if ( key ) free( *(void **)key );                                 
ffc04eb0:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc04eb4:	41 9e 00 0c 	beq-    cr7,ffc04ec0 <rtems_gxx_key_delete+0x3c><== NEVER TAKEN
ffc04eb8:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc04ebc:	4b ff fd ad 	bl      ffc04c68 <free>                        
    return 0;                                                         
  }                                                                   
  key = NULL;                                                         
  return 0;                                                           
}                                                                     
ffc04ec0:	39 61 00 10 	addi    r11,r1,16                              
ffc04ec4:	38 60 00 00 	li      r3,0                                   
ffc04ec8:	4b ff be 2c 	b       ffc00cf4 <_restgpr_31_x>               
                                                                      

ffc04fe0 <rtems_gxx_mutex_lock>: int rtems_gxx_mutex_lock (__gthread_mutex_t *mutex) {
ffc04fe0:	7c 08 02 a6 	mflr    r0                                     
ffc04fe4:	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(                                    
ffc04fe8:	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)                   
{                                                                     
ffc04fec:	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(                                    
ffc04ff0:	38 a0 00 00 	li      r5,0                                   
ffc04ff4:	80 63 00 00 	lwz     r3,0(r3)                               
ffc04ff8:	48 00 36 95 	bl      ffc0868c <rtems_semaphore_obtain>      
    RTEMS_WAIT,                                                       
    RTEMS_NO_TIMEOUT                                                  
  );                                                                  
  if ( status == RTEMS_SUCCESSFUL )                                   
    return 0;                                                         
  return -1;                                                          
ffc04ffc:	38 00 ff ff 	li      r0,-1                                  
  status = rtems_semaphore_obtain(                                    
    *(rtems_id *)mutex,                                               
    RTEMS_WAIT,                                                       
    RTEMS_NO_TIMEOUT                                                  
  );                                                                  
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc05000:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05004:	40 9e 00 08 	bne-    cr7,ffc0500c <rtems_gxx_mutex_lock+0x2c><== NEVER TAKEN
    return 0;                                                         
ffc05008:	38 00 00 00 	li      r0,0                                   
  return -1;                                                          
}                                                                     
ffc0500c:	7c 03 03 78 	mr      r3,r0                                  
ffc05010:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc05014:	38 21 00 08 	addi    r1,r1,8                                
ffc05018:	7c 08 03 a6 	mtlr    r0                                     
ffc0501c:	4e 80 00 20 	blr                                            
                                                                      

ffc05058 <rtems_gxx_mutex_trylock>: int rtems_gxx_mutex_trylock (__gthread_mutex_t *mutex) {
ffc05058:	7c 08 02 a6 	mflr    r0                                     
ffc0505c:	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);
ffc05060:	38 80 00 01 	li      r4,1                                   
    return 0;                                                         
  return -1;                                                          
}                                                                     
                                                                      
int rtems_gxx_mutex_trylock (__gthread_mutex_t *mutex)                
{                                                                     
ffc05064:	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);
ffc05068:	38 a0 00 00 	li      r5,0                                   
ffc0506c:	80 63 00 00 	lwz     r3,0(r3)                               
ffc05070:	48 00 36 1d 	bl      ffc0868c <rtems_semaphore_obtain>      
  if ( status == RTEMS_SUCCESSFUL )                                   
    return 0;                                                         
  return -1;                                                          
ffc05074:	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 )                                   
ffc05078:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0507c:	40 9e 00 08 	bne-    cr7,ffc05084 <rtems_gxx_mutex_trylock+0x2c><== NEVER TAKEN
    return 0;                                                         
ffc05080:	38 00 00 00 	li      r0,0                                   
  return -1;                                                          
}                                                                     
ffc05084:	7c 03 03 78 	mr      r3,r0                                  
ffc05088:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0508c:	38 21 00 08 	addi    r1,r1,8                                
ffc05090:	7c 08 03 a6 	mtlr    r0                                     
ffc05094:	4e 80 00 20 	blr                                            
                                                                      

ffc05098 <rtems_gxx_mutex_unlock>: int rtems_gxx_mutex_unlock (__gthread_mutex_t *mutex) {
ffc05098:	7c 08 02 a6 	mflr    r0                                     
ffc0509c:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc050a0:	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 );             
ffc050a4:	80 63 00 00 	lwz     r3,0(r3)                               
ffc050a8:	48 00 37 0d 	bl      ffc087b4 <rtems_semaphore_release>     
  if ( status == RTEMS_SUCCESSFUL )                                   
    return 0;                                                         
  return -1;                                                          
ffc050ac:	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 )                                   
ffc050b0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc050b4:	40 9e 00 08 	bne-    cr7,ffc050bc <rtems_gxx_mutex_unlock+0x24><== NEVER TAKEN
    return 0;                                                         
ffc050b8:	38 00 00 00 	li      r0,0                                   
  return -1;                                                          
}                                                                     
ffc050bc:	7c 03 03 78 	mr      r3,r0                                  
ffc050c0:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc050c4:	38 21 00 08 	addi    r1,r1,8                                
ffc050c8:	7c 08 03 a6 	mtlr    r0                                     
ffc050cc:	4e 80 00 20 	blr                                            
                                                                      

ffc04d98 <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)) {
ffc04d98:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc04d9c:	7c 08 02 a6 	mflr    r0                                     
ffc04da0:	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 ) {                    
ffc04da4:	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))       
{                                                                     
ffc04da8:	bf a1 00 1c 	stmw    r29,28(r1)                             
ffc04dac:	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 ) {                    
ffc04db0:	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))       
{                                                                     
ffc04db4:	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 ) {                    
ffc04db8:	40 be 00 48 	bne+    cr7,ffc04e00 <rtems_gxx_once+0x68>     
    rtems_mode saveMode;                                              
    __gthread_once_t o;                                               
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
ffc04dbc:	38 60 01 00 	li      r3,256                                 
ffc04dc0:	38 80 01 00 	li      r4,256                                 
ffc04dc4:	38 a1 00 08 	addi    r5,r1,8                                
ffc04dc8:	48 00 3d 75 	bl      ffc08b3c <rtems_task_mode>             
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
ffc04dcc:	83 df 00 00 	lwz     r30,0(r31)                             
ffc04dd0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc04dd4:	40 9e 00 0c 	bne-    cr7,ffc04de0 <rtems_gxx_once+0x48>     <== NEVER TAKEN
      *(volatile __gthread_once_t *)once = 1;                         
ffc04dd8:	38 00 00 01 	li      r0,1                                   
ffc04ddc:	90 1f 00 00 	stw     r0,0(r31)                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
ffc04de0:	7c 25 0b 78 	mr      r5,r1                                  
ffc04de4:	84 65 00 08 	lwzu    r3,8(r5)                               
ffc04de8:	38 80 01 00 	li      r4,256                                 
ffc04dec:	48 00 3d 51 	bl      ffc08b3c <rtems_task_mode>             
    if ( o == 0 )                                                     
ffc04df0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc04df4:	40 be 00 0c 	bne+    cr7,ffc04e00 <rtems_gxx_once+0x68>     <== NEVER TAKEN
      (*func)();                                                      
ffc04df8:	7f a9 03 a6 	mtctr   r29                                    
ffc04dfc:	4e 80 04 21 	bctrl                                          
  }                                                                   
  return 0;                                                           
}                                                                     
ffc04e00:	39 61 00 28 	addi    r11,r1,40                              
ffc04e04:	38 60 00 00 	li      r3,0                                   
ffc04e08:	4b ff be e4 	b       ffc00cec <_restgpr_29_x>               
                                                                      

ffc04f48 <rtems_gxx_setspecific>: int rtems_gxx_setspecific(__gthread_key_t key, const void *ptr) {
ffc04f48:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc04f4c:	7c 08 02 a6 	mflr    r0                                     
ffc04f50:	90 01 00 14 	stw     r0,20(r1)                              
ffc04f54:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc04f58:	7c 7f 1b 78 	mr      r31,r3                                 
ffc04f5c:	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 );
ffc04f60:	80 bf 00 04 	lwz     r5,4(r31)                              
ffc04f64:	38 60 00 00 	li      r3,0                                   
ffc04f68:	7f e4 fb 78 	mr      r4,r31                                 
ffc04f6c:	48 00 3e 5d 	bl      ffc08dc8 <rtems_task_variable_add>     
  if ( status == RTEMS_SUCCESSFUL ) {                                 
    /* now let's set the proper value */                              
    key->val =  (void *)ptr;                                          
    return 0;                                                         
  }                                                                   
  return -1;                                                          
ffc04f70:	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 ) {                                 
ffc04f74:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04f78:	40 9e 00 0c 	bne-    cr7,ffc04f84 <rtems_gxx_setspecific+0x3c><== NEVER TAKEN
    /* now let's set the proper value */                              
    key->val =  (void *)ptr;                                          
ffc04f7c:	93 df 00 00 	stw     r30,0(r31)                             
    return 0;                                                         
ffc04f80:	38 00 00 00 	li      r0,0                                   
  }                                                                   
  return -1;                                                          
}                                                                     
ffc04f84:	39 61 00 10 	addi    r11,r1,16                              
ffc04f88:	7c 03 03 78 	mr      r3,r0                                  
ffc04f8c:	4b ff bd 64 	b       ffc00cf0 <_restgpr_30_x>               
                                                                      

ffc08a7c <rtems_heap_allocate_aligned_with_boundary>: void *rtems_heap_allocate_aligned_with_boundary( size_t size, uintptr_t alignment, uintptr_t boundary ) {
ffc08a7c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc08a80:	7c 08 02 a6 	mflr    r0                                     
  if (                                                                
ffc08a84:	3d 20 00 00 	lis     r9,0                                   
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc08a88:	90 01 00 1c 	stw     r0,28(r1)                              
  if (                                                                
ffc08a8c:	80 09 28 68 	lwz     r0,10344(r9)                           
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc08a90:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc08a94:	7c 7d 1b 78 	mr      r29,r3                                 
  if (                                                                
ffc08a98:	2f 80 00 03 	cmpwi   cr7,r0,3                               
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc08a9c:	7c 9e 23 78 	mr      r30,r4                                 
ffc08aa0:	7c bf 2b 78 	mr      r31,r5                                 
  if (                                                                
ffc08aa4:	40 be 00 14 	bne+    cr7,ffc08ab8 <rtems_heap_allocate_aligned_with_boundary+0x3c><== NEVER TAKEN
    _System_state_Is_up( _System_state_Get() )                        
      && !malloc_is_system_state_OK()                                 
ffc08aa8:	4b ff ec d1 	bl      ffc07778 <malloc_is_system_state_OK>   
  ) {                                                                 
    return NULL;                                                      
ffc08aac:	38 00 00 00 	li      r0,0                                   
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  if (                                                                
    _System_state_Is_up( _System_state_Get() )                        
      && !malloc_is_system_state_OK()                                 
ffc08ab0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08ab4:	41 9e 00 24 	beq-    cr7,ffc08ad8 <rtems_heap_allocate_aligned_with_boundary+0x5c>
  ) {                                                                 
    return NULL;                                                      
  }                                                                   
                                                                      
  malloc_deferred_frees_process();                                    
ffc08ab8:	4b ff ed 09 	bl      ffc077c0 <malloc_deferred_frees_process>
                                                                      
  /* FIXME: Statistics, boundary checks */                            
                                                                      
  return _Protected_heap_Allocate_aligned_with_boundary(              
ffc08abc:	3d 20 00 00 	lis     r9,0                                   
ffc08ac0:	80 69 27 3c 	lwz     r3,10044(r9)                           
ffc08ac4:	7f a4 eb 78 	mr      r4,r29                                 
ffc08ac8:	7f c5 f3 78 	mr      r5,r30                                 
ffc08acc:	7f e6 fb 78 	mr      r6,r31                                 
ffc08ad0:	48 00 53 7d 	bl      ffc0de4c <_Protected_heap_Allocate_aligned_with_boundary>
ffc08ad4:	7c 60 1b 78 	mr      r0,r3                                  
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment,                                                        
    boundary                                                          
  );                                                                  
}                                                                     
ffc08ad8:	39 61 00 18 	addi    r11,r1,24                              
ffc08adc:	7c 03 03 78 	mr      r3,r0                                  
ffc08ae0:	4b ff a8 10 	b       ffc032f0 <_restgpr_29_x>               
                                                                      

ffc03dc4 <rtems_io_lookup_name>: rtems_status_code rtems_io_lookup_name( const char *name, rtems_driver_name_t *device_info ) {
ffc03dc4:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc03dc8:	7c 08 02 a6 	mflr    r0                                     
ffc03dcc:	bf 61 00 2c 	stmw    r27,44(r1)                             
ffc03dd0:	7c 7d 1b 78 	mr      r29,r3                                 
ffc03dd4:	7c 9f 23 78 	mr      r31,r4                                 
ffc03dd8:	90 01 00 44 	stw     r0,68(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(                            
ffc03ddc:	3b c1 00 08 	addi    r30,r1,8                               
ffc03de0:	48 00 c6 25 	bl      ffc10404 <strlen>                      
ffc03de4:	38 a0 00 00 	li      r5,0                                   
ffc03de8:	7c 64 1b 78 	mr      r4,r3                                  
ffc03dec:	7f c6 f3 78 	mr      r6,r30                                 
ffc03df0:	38 e0 00 01 	li      r7,1                                   
ffc03df4:	7f a3 eb 78 	mr      r3,r29                                 
ffc03df8:	48 00 02 b5 	bl      ffc040ac <rtems_filesystem_evaluate_path>
      name, strlen( name ), 0x00, &loc, true );                       
  the_jnode = loc.node_access;                                        
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
ffc03dfc:	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(                            
ffc03e00:	7c 7b 1b 78 	mr      r27,r3                                 
      name, strlen( name ), 0x00, &loc, true );                       
  the_jnode = loc.node_access;                                        
ffc03e04:	83 81 00 08 	lwz     r28,8(r1)                              
                                                                      
  node_type = (*loc.ops->node_type_h)( &loc );                        
ffc03e08:	80 09 00 10 	lwz     r0,16(r9)                              
ffc03e0c:	7f c3 f3 78 	mr      r3,r30                                 
ffc03e10:	7c 09 03 a6 	mtctr   r0                                     
ffc03e14:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( (result != 0) || node_type != RTEMS_FILESYSTEM_DEVICE ) {      
ffc03e18:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc03e1c:	40 9e 00 0c 	bne-    cr7,ffc03e28 <rtems_io_lookup_name+0x64><== NEVER TAKEN
ffc03e20:	2f 83 00 02 	cmpwi   cr7,r3,2                               
ffc03e24:	41 9e 00 14 	beq-    cr7,ffc03e38 <rtems_io_lookup_name+0x74>
    rtems_filesystem_freenode( &loc );                                
ffc03e28:	38 61 00 08 	addi    r3,r1,8                                
ffc03e2c:	48 00 03 75 	bl      ffc041a0 <rtems_filesystem_freenode>   
    return RTEMS_UNSATISFIED;                                         
ffc03e30:	38 60 00 0d 	li      r3,13                                  
ffc03e34:	48 00 00 30 	b       ffc03e64 <rtems_io_lookup_name+0xa0>   
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
ffc03e38:	93 bf 00 00 	stw     r29,0(r31)                             
  device_info->device_name_length = strlen( name );                   
ffc03e3c:	7f a3 eb 78 	mr      r3,r29                                 
ffc03e40:	48 00 c5 c5 	bl      ffc10404 <strlen>                      
ffc03e44:	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 );                                  
ffc03e48:	7f c3 f3 78 	mr      r3,r30                                 
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  device_info->device_name        = (char *) name;                    
  device_info->device_name_length = strlen( name );                   
  device_info->major              = the_jnode->info.device.major;     
ffc03e4c:	80 1c 00 50 	lwz     r0,80(r28)                             
ffc03e50:	90 1f 00 08 	stw     r0,8(r31)                              
  device_info->minor              = the_jnode->info.device.minor;     
ffc03e54:	80 1c 00 54 	lwz     r0,84(r28)                             
ffc03e58:	90 1f 00 0c 	stw     r0,12(r31)                             
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc03e5c:	48 00 03 45 	bl      ffc041a0 <rtems_filesystem_freenode>   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc03e60:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc03e64:	39 61 00 40 	addi    r11,r1,64                              
ffc03e68:	48 01 02 e4 	b       ffc1414c <_restgpr_27_x>               
                                                                      

ffc092a4 <rtems_io_register_driver>: rtems_status_code rtems_io_register_driver( rtems_device_major_number major, const rtems_driver_address_table *driver_table, rtems_device_major_number *registered_major ) {
ffc092a4:	7c 08 02 a6 	mflr    r0                                     
ffc092a8:	7c 2b 0b 78 	mr      r11,r1                                 
ffc092ac:	94 21 ff f0 	stwu    r1,-16(r1)                             
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
ffc092b0:	3d 20 00 00 	lis     r9,0                                   
rtems_status_code rtems_io_register_driver(                           
  rtems_device_major_number         major,                            
  const rtems_driver_address_table *driver_table,                     
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
ffc092b4:	90 01 00 14 	stw     r0,20(r1)                              
ffc092b8:	48 00 ef 35 	bl      ffc181ec <_savegpr_31>                 
ffc092bc:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
ffc092c0:	80 09 27 f0 	lwz     r0,10224(r9)                           
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
ffc092c4:	3d 20 00 00 	lis     r9,0                                   
ffc092c8:	81 29 2e 40 	lwz     r9,11840(r9)                           
    return RTEMS_CALLED_FROM_ISR;                                     
ffc092cc:	38 60 00 12 	li      r3,18                                  
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
ffc092d0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc092d4:	40 9e 01 14 	bne-    cr7,ffc093e8 <rtems_io_register_driver+0x144>
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
ffc092d8:	2f 85 00 00 	cmpwi   cr7,r5,0                               
    return RTEMS_INVALID_ADDRESS;                                     
ffc092dc:	38 60 00 09 	li      r3,9                                   
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
ffc092e0:	41 9e 01 08 	beq-    cr7,ffc093e8 <rtems_io_register_driver+0x144>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
                                                                      
  if ( driver_table == NULL )                                         
ffc092e4:	2f 84 00 00 	cmpwi   cr7,r4,0                               
                                                                      
  if ( registered_major == NULL )                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
ffc092e8:	90 05 00 00 	stw     r0,0(r5)                               
                                                                      
  if ( driver_table == NULL )                                         
ffc092ec:	41 9e 00 fc 	beq-    cr7,ffc093e8 <rtems_io_register_driver+0x144>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc092f0:	81 24 00 00 	lwz     r9,0(r4)                               
ffc092f4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc092f8:	40 be 00 f8 	bne+    cr7,ffc093f0 <rtems_io_register_driver+0x14c>
ffc092fc:	81 24 00 04 	lwz     r9,4(r4)                               
ffc09300:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc09304:	40 be 00 ec 	bne+    cr7,ffc093f0 <rtems_io_register_driver+0x14c>
ffc09308:	48 00 00 e0 	b       ffc093e8 <rtems_io_register_driver+0x144>
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
ffc0930c:	3d 20 00 00 	lis     r9,0                                   
ffc09310:	81 69 27 a0 	lwz     r11,10144(r9)                          
ffc09314:	38 0b 00 01 	addi    r0,r11,1                               
ffc09318:	90 09 27 a0 	stw     r0,10144(r9)                           
  if ( major >= major_limit )                                         
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
ffc0931c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc09320:	3d 20 00 00 	lis     r9,0                                   
ffc09324:	40 9e 00 58 	bne-    cr7,ffc0937c <rtems_io_register_driver+0xd8>
                                                                      
static rtems_status_code rtems_io_obtain_major_number(                
  rtems_device_major_number *major                                    
)                                                                     
{                                                                     
  rtems_device_major_number n = _IO_Number_of_drivers;                
ffc09328:	3d 60 00 00 	lis     r11,0                                  
ffc0932c:	81 29 27 f4 	lwz     r9,10228(r9)                           
ffc09330:	81 6b 27 f0 	lwz     r11,10224(r11)                         
ffc09334:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc09338:	38 0b 00 01 	addi    r0,r11,1                               
ffc0933c:	40 be 00 28 	bne+    cr7,ffc09364 <rtems_io_register_driver+0xc0><== ALWAYS TAKEN
ffc09340:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc09344:	48 00 00 20 	b       ffc09364 <rtems_io_register_driver+0xc0><== NOT EXECUTED
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc09348:	81 49 00 00 	lwz     r10,0(r9)                              
ffc0934c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc09350:	40 be 00 b0 	bne+    cr7,ffc09400 <rtems_io_register_driver+0x15c>
ffc09354:	81 49 00 04 	lwz     r10,4(r9)                              
ffc09358:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0935c:	40 be 00 a4 	bne+    cr7,ffc09400 <rtems_io_register_driver+0x15c>
ffc09360:	48 00 00 0c 	b       ffc0936c <rtems_io_register_driver+0xc8>
  rtems_device_major_number n = _IO_Number_of_drivers;                
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
ffc09364:	34 00 ff ff 	addic.  r0,r0,-1                               
ffc09368:	40 82 ff e0 	bne+    ffc09348 <rtems_io_register_driver+0xa4>
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
ffc0936c:	7f 9f 58 00 	cmpw    cr7,r31,r11                            
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
ffc09370:	93 e5 00 00 	stw     r31,0(r5)                              
                                                                      
  if ( m != n )                                                       
ffc09374:	40 be 00 48 	bne+    cr7,ffc093bc <rtems_io_register_driver+0x118>
ffc09378:	48 00 00 94 	b       ffc0940c <rtems_io_register_driver+0x168>
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
ffc0937c:	1c 1f 00 18 	mulli   r0,r31,24                              
ffc09380:	81 29 27 f4 	lwz     r9,10228(r9)                           
ffc09384:	7d 69 02 14 	add     r11,r9,r0                              
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc09388:	7d 29 00 2e 	lwzx    r9,r9,r0                               
ffc0938c:	38 00 00 00 	li      r0,0                                   
ffc09390:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc09394:	40 be 00 10 	bne+    cr7,ffc093a4 <rtems_io_register_driver+0x100>
    return RTEMS_SUCCESSFUL;                                          
                                                                      
  return RTEMS_TOO_MANY;                                              
}                                                                     
                                                                      
rtems_status_code rtems_io_register_driver(                           
ffc09398:	80 0b 00 04 	lwz     r0,4(r11)                              
ffc0939c:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc093a0:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
                                                                      
    if ( !rtems_io_is_empty_table( table ) ) {                        
ffc093a4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc093a8:	40 9e 00 10 	bne-    cr7,ffc093b8 <rtems_io_register_driver+0x114>
      _Thread_Enable_dispatch();                                      
ffc093ac:	48 00 20 81 	bl      ffc0b42c <_Thread_Enable_dispatch>     
      return RTEMS_RESOURCE_IN_USE;                                   
ffc093b0:	38 60 00 0c 	li      r3,12                                  
ffc093b4:	48 00 00 34 	b       ffc093e8 <rtems_io_register_driver+0x144>
    }                                                                 
                                                                      
    *registered_major = major;                                        
ffc093b8:	93 e5 00 00 	stw     r31,0(r5)                              
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
ffc093bc:	3d 20 00 00 	lis     r9,0                                   
ffc093c0:	81 69 27 f4 	lwz     r11,10228(r9)                          
ffc093c4:	1c 1f 00 18 	mulli   r0,r31,24                              
ffc093c8:	7d 6b 02 14 	add     r11,r11,r0                             
ffc093cc:	7c a4 c4 aa 	lswi    r5,r4,24                               
ffc093d0:	7c ab c5 aa 	stswi   r5,r11,24                              
                                                                      
  _Thread_Enable_dispatch();                                          
ffc093d4:	48 00 20 59 	bl      ffc0b42c <_Thread_Enable_dispatch>     
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
ffc093d8:	7f e3 fb 78 	mr      r3,r31                                 
ffc093dc:	38 80 00 00 	li      r4,0                                   
ffc093e0:	38 a0 00 00 	li      r5,0                                   
ffc093e4:	48 00 7d 99 	bl      ffc1117c <rtems_io_initialize>         
}                                                                     
ffc093e8:	39 61 00 10 	addi    r11,r1,16                              
ffc093ec:	48 00 ee 4c 	b       ffc18238 <_restgpr_31_x>               
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
ffc093f0:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
    return RTEMS_INVALID_NUMBER;                                      
ffc093f4:	38 60 00 0a 	li      r3,10                                  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
ffc093f8:	41 9c ff 14 	blt+    cr7,ffc0930c <rtems_io_register_driver+0x68>
ffc093fc:	4b ff ff ec 	b       ffc093e8 <rtems_io_register_driver+0x144>
  rtems_device_major_number n = _IO_Number_of_drivers;                
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
ffc09400:	3b ff 00 01 	addi    r31,r31,1                              
ffc09404:	39 29 00 18 	addi    r9,r9,24                               
ffc09408:	4b ff ff 5c 	b       ffc09364 <rtems_io_register_driver+0xc0>
                                                                      
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
ffc0940c:	48 00 20 21 	bl      ffc0b42c <_Thread_Enable_dispatch>     
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
    return RTEMS_SUCCESSFUL;                                          
                                                                      
  return RTEMS_TOO_MANY;                                              
ffc09410:	38 60 00 05 	li      r3,5                                   
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
ffc09414:	4b ff ff d4 	b       ffc093e8 <rtems_io_register_driver+0x144>
                                                                      

ffc0ac70 <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) {
ffc0ac70:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0ac74:	7c 08 02 a6 	mflr    r0                                     
ffc0ac78:	bf 61 00 0c 	stmw    r27,12(r1)                             
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
ffc0ac7c:	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) 
{                                                                     
ffc0ac80:	90 01 00 24 	stw     r0,36(r1)                              
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
ffc0ac84:	41 82 00 64 	beq-    ffc0ace8 <rtems_iterate_over_all_threads+0x78><== NEVER TAKEN
ffc0ac88:	3f e0 00 00 	lis     r31,0                                  
ffc0ac8c:	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) 
ffc0ac90:	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 ] )                 
ffc0ac94:	85 3f 00 04 	lwzu    r9,4(r31)                              
ffc0ac98:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ac9c:	41 9e 00 44 	beq-    cr7,ffc0ace0 <rtems_iterate_over_all_threads+0x70>
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
ffc0aca0:	83 a9 00 04 	lwz     r29,4(r9)                              
    if ( !information )                                               
ffc0aca4:	3b c0 00 01 	li      r30,1                                  
ffc0aca8:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0acac:	40 be 00 28 	bne+    cr7,ffc0acd4 <rtems_iterate_over_all_threads+0x64>
ffc0acb0:	48 00 00 30 	b       ffc0ace0 <rtems_iterate_over_all_threads+0x70>
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
      the_thread = (Thread_Control *)information->local_table[ i ];   
ffc0acb4:	81 3d 00 1c 	lwz     r9,28(r29)                             
ffc0acb8:	57 c0 10 3a 	rlwinm  r0,r30,2,0,29                          
ffc0acbc:	7c 69 00 2e 	lwzx    r3,r9,r0                               
                                                                      
      if ( !the_thread )                                              
ffc0acc0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0acc4:	41 9e 00 0c 	beq-    cr7,ffc0acd0 <rtems_iterate_over_all_threads+0x60>
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
ffc0acc8:	7f 69 03 a6 	mtctr   r27                                    
ffc0accc:	4e 80 04 21 	bctrl                                          
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
ffc0acd0:	3b de 00 01 	addi    r30,r30,1                              
ffc0acd4:	a0 1d 00 10 	lhz     r0,16(r29)                             
ffc0acd8:	7f 9e 00 40 	cmplw   cr7,r30,r0                             
ffc0acdc:	40 9d ff d8 	ble+    cr7,ffc0acb4 <rtems_iterate_over_all_threads+0x44>
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
ffc0ace0:	7f 9f e0 00 	cmpw    cr7,r31,r28                            
ffc0ace4:	40 9e ff b0 	bne+    cr7,ffc0ac94 <rtems_iterate_over_all_threads+0x24>
                                                                      
      (*routine)(the_thread);                                         
    }                                                                 
  }                                                                   
                                                                      
}                                                                     
ffc0ace8:	39 61 00 20 	addi    r11,r1,32                              
ffc0acec:	4b ff 66 54 	b       ffc01340 <_restgpr_27_x>               
                                                                      

ffc0c5f8 <rtems_libio_free>: */ void rtems_libio_free( rtems_libio_t *iop ) {
ffc0c5f8:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0c5fc:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0c600:	7c 08 02 a6 	mflr    r0                                     
ffc0c604:	48 00 7b 0d 	bl      ffc14110 <_savegpr_31>                 
ffc0c608:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0c60c:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_libio_lock();                                                 
ffc0c610:	4b ff fe 69 	bl      ffc0c478 <rtems_libio_lock>            
                                                                      
    if (iop->sem)                                                     
ffc0c614:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc0c618:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0c61c:	41 be 00 08 	beq+    cr7,ffc0c624 <rtems_libio_free+0x2c>   <== NEVER TAKEN
      rtems_semaphore_delete(iop->sem);                               
ffc0c620:	4b ff b1 d1 	bl      ffc077f0 <rtems_semaphore_delete>      
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
ffc0c624:	80 1f 00 18 	lwz     r0,24(r31)                             
    iop->data1 = rtems_libio_iop_freelist;                            
ffc0c628:	3d 20 00 00 	lis     r9,0                                   
  rtems_libio_lock();                                                 
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
ffc0c62c:	54 00 06 2c 	rlwinm  r0,r0,0,24,22                          
ffc0c630:	90 1f 00 18 	stw     r0,24(r31)                             
    iop->data1 = rtems_libio_iop_freelist;                            
ffc0c634:	80 09 27 8c 	lwz     r0,10124(r9)                           
    rtems_libio_iop_freelist = iop;                                   
ffc0c638:	93 e9 27 8c 	stw     r31,10124(r9)                          
                                                                      
    if (iop->sem)                                                     
      rtems_semaphore_delete(iop->sem);                               
                                                                      
    iop->flags &= ~LIBIO_FLAGS_OPEN;                                  
    iop->data1 = rtems_libio_iop_freelist;                            
ffc0c63c:	90 1f 00 38 	stw     r0,56(r31)                             
    rtems_libio_iop_freelist = iop;                                   
                                                                      
  rtems_libio_unlock();                                               
}                                                                     
ffc0c640:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0c644:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0c648:	38 21 00 10 	addi    r1,r1,16                               
ffc0c64c:	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();                                               
ffc0c650:	4b ff fe 58 	b       ffc0c4a8 <rtems_libio_unlock>          
                                                                      

ffc042fc <rtems_libio_init>: * * Called by BSP startup code to initialize the libio subsystem. */ void rtems_libio_init( void ) {
ffc042fc:	7c 2b 0b 78 	mr      r11,r1                                 
ffc04300:	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)                                  
ffc04304:	3d 20 00 00 	lis     r9,0                                   
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
ffc04308:	7c 08 02 a6 	mflr    r0                                     
ffc0430c:	48 00 fe 05 	bl      ffc14110 <_savegpr_31>                 
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
ffc04310:	83 e9 26 cc 	lwz     r31,9932(r9)                           
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
ffc04314:	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)                                  
ffc04318:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0431c:	41 9e 00 5c 	beq-    cr7,ffc04378 <rtems_libio_init+0x7c>   <== NEVER TAKEN
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
ffc04320:	7f e3 fb 78 	mr      r3,r31                                 
ffc04324:	38 80 00 40 	li      r4,64                                  
ffc04328:	4b ff fc 9d 	bl      ffc03fc4 <calloc>                      
ffc0432c:	3d 20 00 00 	lis     r9,0                                   
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
ffc04330:	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,
ffc04334:	90 69 27 88 	stw     r3,10120(r9)                           
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
ffc04338:	40 be 00 0c 	bne+    cr7,ffc04344 <rtems_libio_init+0x48>   
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
ffc0433c:	38 60 00 1a 	li      r3,26                                  
ffc04340:	48 00 00 60 	b       ffc043a0 <rtems_libio_init+0xa4>       
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
ffc04344:	3d 20 00 00 	lis     r9,0                                   
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
ffc04348:	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;            
ffc0434c:	90 69 27 8c 	stw     r3,10124(r9)                           
ffc04350:	7c 69 1b 78 	mr      r9,r3                                  
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
ffc04354:	48 00 00 08 	b       ffc0435c <rtems_libio_init+0x60>       
          iop->data1 = iop + 1;                                       
ffc04358:	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++)  
ffc0435c:	39 29 00 40 	addi    r9,r9,64                               
ffc04360:	42 00 ff f8 	bdnz+   ffc04358 <rtems_libio_init+0x5c>       
 *  rtems_libio_init                                                  
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
ffc04364:	57 ff 30 32 	rlwinm  r31,r31,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;                                            
ffc04368:	3b ff ff c0 	addi    r31,r31,-64                            
ffc0436c:	7c 63 fa 14 	add     r3,r3,r31                              
ffc04370:	38 00 00 00 	li      r0,0                                   
ffc04374:	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(                                        
ffc04378:	3c 60 4c 42 	lis     r3,19522                               
ffc0437c:	3c e0 00 00 	lis     r7,0                                   
ffc04380:	60 63 49 4f 	ori     r3,r3,18767                            
ffc04384:	38 80 00 01 	li      r4,1                                   
ffc04388:	38 a0 00 54 	li      r5,84                                  
ffc0438c:	38 c0 00 00 	li      r6,0                                   
ffc04390:	38 e7 27 90 	addi    r7,r7,10128                            
ffc04394:	48 00 32 95 	bl      ffc07628 <rtems_semaphore_create>      
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
ffc04398:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0439c:	41 be 00 08 	beq+    cr7,ffc043a4 <rtems_libio_init+0xa8>   <== ALWAYS TAKEN
    rtems_fatal_error_occurred( rc );                                 
ffc043a0:	48 00 3c 85 	bl      ffc08024 <rtems_fatal_error_occurred>  
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
ffc043a4:	3d 20 00 00 	lis     r9,0                                   
ffc043a8:	80 09 26 c8 	lwz     r0,9928(r9)                            
ffc043ac:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc043b0:	41 9e 00 0c 	beq-    cr7,ffc043bc <rtems_libio_init+0xc0>   <== NEVER TAKEN
     (* rtems_fs_init_helper)();                                      
ffc043b4:	7c 09 03 a6 	mtctr   r0                                     
ffc043b8:	4e 80 04 21 	bctrl                                          
}                                                                     
ffc043bc:	39 61 00 10 	addi    r11,r1,16                              
ffc043c0:	48 00 fd 9c 	b       ffc1415c <_restgpr_31_x>               
                                                                      

ffc0c6d4 <rtems_libio_is_file_open>: */ int rtems_libio_is_file_open( void *node_access ) {
ffc0c6d4:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0c6d8:	7c 08 02 a6 	mflr    r0                                     
ffc0c6dc:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0c6e0:	48 00 7a 31 	bl      ffc14110 <_savegpr_31>                 
ffc0c6e4:	90 01 00 14 	stw     r0,20(r1)                              
ffc0c6e8:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_libio_t     *iop;                                             
  int                result=0;                                        
  uint32_t           i;                                               
                                                                      
  rtems_libio_lock();                                                 
ffc0c6ec:	4b ff fd 8d 	bl      ffc0c478 <rtems_libio_lock>            
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
 for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
ffc0c6f0:	3d 60 00 00 	lis     r11,0                                  
ffc0c6f4:	81 6b 26 cc 	lwz     r11,9932(r11)                          
ffc0c6f8:	3d 20 00 00 	lis     r9,0                                   
ffc0c6fc:	81 29 27 88 	lwz     r9,10120(r9)                           
ffc0c700:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0c704:	38 0b 00 01 	addi    r0,r11,1                               
ffc0c708:	40 be 00 28 	bne+    cr7,ffc0c730 <rtems_libio_is_file_open+0x5c><== ALWAYS TAKEN
ffc0c70c:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0c710:	48 00 00 20 	b       ffc0c730 <rtems_libio_is_file_open+0x5c><== NOT EXECUTED
    if ((iop->flags & LIBIO_FLAGS_OPEN) != 0) {                       
ffc0c714:	81 69 00 18 	lwz     r11,24(r9)                             
ffc0c718:	71 6a 01 00 	andi.   r10,r11,256                            
ffc0c71c:	41 82 00 10 	beq-    ffc0c72c <rtems_libio_is_file_open+0x58>
       /*                                                             
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.node_access == node_access ) {              
ffc0c720:	81 69 00 1c 	lwz     r11,28(r9)                             
ffc0c724:	7f 8b f8 00 	cmpw    cr7,r11,r31                            
ffc0c728:	41 9e 00 18 	beq-    cr7,ffc0c740 <rtems_libio_is_file_open+0x6c>
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
 for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
ffc0c72c:	39 29 00 40 	addi    r9,r9,64                               
ffc0c730:	34 00 ff ff 	addic.  r0,r0,-1                               
ffc0c734:	40 82 ff e0 	bne+    ffc0c714 <rtems_libio_is_file_open+0x40>
int rtems_libio_is_file_open(                                         
  void         *node_access                                           
)                                                                     
{                                                                     
  rtems_libio_t     *iop;                                             
  int                result=0;                                        
ffc0c738:	3b e0 00 00 	li      r31,0                                  
ffc0c73c:	48 00 00 08 	b       ffc0c744 <rtems_libio_is_file_open+0x70>
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.node_access == node_access ) {              
          result = 1;                                                 
ffc0c740:	3b e0 00 01 	li      r31,1                                  
          break;                                                      
       }                                                              
    }                                                                 
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
ffc0c744:	4b ff fd 65 	bl      ffc0c4a8 <rtems_libio_unlock>          
                                                                      
  return result;                                                      
}                                                                     
ffc0c748:	39 61 00 10 	addi    r11,r1,16                              
ffc0c74c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c750:	48 00 7a 0c 	b       ffc1415c <_restgpr_31_x>               
                                                                      

ffc0c654 <rtems_libio_is_open_files_in_fs>: */ int rtems_libio_is_open_files_in_fs( rtems_filesystem_mount_table_entry_t * fs_mt_entry ) {
ffc0c654:	7c 2b 0b 78 	mr      r11,r1                                 
ffc0c658:	7c 08 02 a6 	mflr    r0                                     
ffc0c65c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0c660:	48 00 7a b1 	bl      ffc14110 <_savegpr_31>                 
ffc0c664:	90 01 00 14 	stw     r0,20(r1)                              
ffc0c668:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_libio_t     *iop;                                             
  int                result = 0;                                      
  uint32_t           i;                                               
                                                                      
  rtems_libio_lock();                                                 
ffc0c66c:	4b ff fe 0d 	bl      ffc0c478 <rtems_libio_lock>            
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
ffc0c670:	3d 60 00 00 	lis     r11,0                                  
ffc0c674:	81 6b 26 cc 	lwz     r11,9932(r11)                          
ffc0c678:	3d 20 00 00 	lis     r9,0                                   
ffc0c67c:	81 29 27 88 	lwz     r9,10120(r9)                           
ffc0c680:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0c684:	38 0b 00 01 	addi    r0,r11,1                               
ffc0c688:	40 be 00 28 	bne+    cr7,ffc0c6b0 <rtems_libio_is_open_files_in_fs+0x5c><== ALWAYS TAKEN
ffc0c68c:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc0c690:	48 00 00 20 	b       ffc0c6b0 <rtems_libio_is_open_files_in_fs+0x5c><== NOT EXECUTED
                                                                      
    if ((iop->flags & LIBIO_FLAGS_OPEN) != 0) {                       
ffc0c694:	81 69 00 18 	lwz     r11,24(r9)                             
ffc0c698:	71 6a 01 00 	andi.   r10,r11,256                            
ffc0c69c:	41 82 00 10 	beq-    ffc0c6ac <rtems_libio_is_open_files_in_fs+0x58>
       /*                                                             
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.mt_entry == fs_mt_entry ) {                 
ffc0c6a0:	81 69 00 2c 	lwz     r11,44(r9)                             
ffc0c6a4:	7f 8b f8 00 	cmpw    cr7,r11,r31                            
ffc0c6a8:	41 9e 00 18 	beq-    cr7,ffc0c6c0 <rtems_libio_is_open_files_in_fs+0x6c>
                                                                      
  /*                                                                  
   *  Look for any active file descriptor entry.                      
   */                                                                 
                                                                      
  for (iop=rtems_libio_iops,i=0; i < rtems_libio_number_iops; iop++, i++){
ffc0c6ac:	39 29 00 40 	addi    r9,r9,64                               
ffc0c6b0:	34 00 ff ff 	addic.  r0,r0,-1                               
ffc0c6b4:	40 82 ff e0 	bne+    ffc0c694 <rtems_libio_is_open_files_in_fs+0x40>
int rtems_libio_is_open_files_in_fs(                                  
  rtems_filesystem_mount_table_entry_t * fs_mt_entry                  
)                                                                     
{                                                                     
  rtems_libio_t     *iop;                                             
  int                result = 0;                                      
ffc0c6b8:	3b e0 00 00 	li      r31,0                                  
ffc0c6bc:	48 00 00 08 	b       ffc0c6c4 <rtems_libio_is_open_files_in_fs+0x70>
        *  Check if this node is under the file system that we        
        *  are trying to dismount.                                    
        */                                                            
                                                                      
       if ( iop->pathinfo.mt_entry == fs_mt_entry ) {                 
          result = 1;                                                 
ffc0c6c0:	3b e0 00 01 	li      r31,1                                  
          break;                                                      
       }                                                              
    }                                                                 
  }                                                                   
                                                                      
  rtems_libio_unlock();                                               
ffc0c6c4:	4b ff fd e5 	bl      ffc0c4a8 <rtems_libio_unlock>          
                                                                      
  return result;                                                      
}                                                                     
ffc0c6c8:	39 61 00 10 	addi    r11,r1,16                              
ffc0c6cc:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c6d0:	48 00 7a 8c 	b       ffc1415c <_restgpr_31_x>               
                                                                      

ffc05728 <rtems_libio_set_private_env>: rtems_status_code rtems_libio_set_private_env(void) {
ffc05728:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc0572c:	7c 08 02 a6 	mflr    r0                                     
ffc05730:	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);       
ffc05734:	3f e0 ff c1 	lis     r31,-63                                
ffc05738:	3b ff 62 c4 	addi    r31,r31,25284                          
    free(env);                                                        
  }                                                                   
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void)                   
{                                                                     
ffc0573c:	90 01 00 4c 	stw     r0,76(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_id task_id = rtems_task_self();                               
ffc05740:	48 00 2d fd 	bl      ffc0853c <rtems_task_self>             
ffc05744:	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);       
ffc05748:	38 80 00 01 	li      r4,1                                   
ffc0574c:	7f e3 fb 78 	mr      r3,r31                                 
ffc05750:	38 a0 00 00 	li      r5,0                                   
ffc05754:	38 c1 00 08 	addi    r6,r1,8                                
ffc05758:	38 e0 00 00 	li      r7,0                                   
ffc0575c:	4b ff ec 15 	bl      ffc04370 <rtems_filesystem_evaluate_path>
                                                                      
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
ffc05760:	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)                                                        
ffc05764:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05768:	40 be 00 e0 	bne+    cr7,ffc05848 <rtems_libio_set_private_env+0x120><== NEVER TAKEN
    goto error_0;                                                     
                                                                      
  rv = rtems_filesystem_evaluate_path("/", 1, 0, ¤t_loc, 0);    
ffc0576c:	7f e3 fb 78 	mr      r3,r31                                 
ffc05770:	38 80 00 01 	li      r4,1                                   
ffc05774:	38 a0 00 00 	li      r5,0                                   
ffc05778:	38 c1 00 1c 	addi    r6,r1,28                               
ffc0577c:	38 e0 00 00 	li      r7,0                                   
ffc05780:	4b ff eb f1 	bl      ffc04370 <rtems_filesystem_evaluate_path>
  if (rv != 0)                                                        
ffc05784:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05788:	40 9e 00 b4 	bne-    cr7,ffc0583c <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                  
ffc0578c:	3d 20 00 00 	lis     r9,0                                   
ffc05790:	81 29 26 f4 	lwz     r9,9972(r9)                            
  /*                                                                  
   * Bharath: I'm not sure if the check can be reduced to             
   * if( rtems_current_user_env->task_id != task_id ) {               
   */                                                                 
                                                                      
  if (                                                                
ffc05794:	3d 60 00 00 	lis     r11,0                                  
ffc05798:	38 0b 2a d8 	addi    r0,r11,10968                           
ffc0579c:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc057a0:	41 9e 00 10 	beq-    cr7,ffc057b0 <rtems_libio_set_private_env+0x88>
    rtems_current_user_env == &rtems_global_user_env                  
      || rtems_current_user_env->task_id != task_id                   
ffc057a4:	80 09 00 00 	lwz     r0,0(r9)                               
ffc057a8:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc057ac:	41 9e 00 38 	beq-    cr7,ffc057e4 <rtems_libio_set_private_env+0xbc>
  ) {                                                                 
    new_env = malloc(sizeof(rtems_user_env_t));                       
ffc057b0:	38 60 00 48 	li      r3,72                                  
ffc057b4:	4b ff f3 85 	bl      ffc04b38 <malloc>                      
    if (new_env == NULL)                                              
ffc057b8:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc057bc:	41 82 00 78 	beq-    ffc05834 <rtems_libio_set_private_env+0x10c>
                                                                      
    #ifdef HAVE_USERENV_REFCNT                                        
      new_env->refcnt = 1;                                            
    #endif                                                            
                                                                      
    sc = rtems_task_variable_add(                                     
ffc057c0:	3f a0 00 00 	lis     r29,0                                  
ffc057c4:	3c a0 ff c0 	lis     r5,-64                                 
ffc057c8:	38 60 00 00 	li      r3,0                                   
ffc057cc:	38 9d 26 f4 	addi    r4,r29,9972                            
ffc057d0:	38 a5 56 e0 	addi    r5,r5,22240                            
ffc057d4:	48 00 2e 51 	bl      ffc08624 <rtems_task_variable_add>     
      RTEMS_SELF,                                                     
      (void*)&rtems_current_user_env,                                 
      (void(*)(void *))free_user_env                                  
    );                                                                
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc057d8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc057dc:	40 9e 00 50 	bne-    cr7,ffc0582c <rtems_libio_set_private_env+0x104>
      goto error_3;                                                   
                                                                      
    rtems_current_user_env = new_env;                                 
ffc057e0:	93 fd 26 f4 	stw     r31,9972(r29)                          
  }                                                                   
                                                                      
  /* Inherit the global values */                                     
  *rtems_current_user_env = rtems_global_user_env;                    
ffc057e4:	3d 20 00 00 	lis     r9,0                                   
ffc057e8:	83 e9 26 f4 	lwz     r31,9972(r9)                           
ffc057ec:	3c 80 00 00 	lis     r4,0                                   
ffc057f0:	38 a0 00 48 	li      r5,72                                  
ffc057f4:	7f e3 fb 78 	mr      r3,r31                                 
ffc057f8:	38 84 2a d8 	addi    r4,r4,10968                            
ffc057fc:	48 00 ab 4d 	bl      ffc10348 <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;                                   
ffc05800:	39 7f 00 18 	addi    r11,r31,24                             
ffc05804:	38 81 00 08 	addi    r4,r1,8                                
  }                                                                   
                                                                      
  /* Inherit the global values */                                     
  *rtems_current_user_env = rtems_global_user_env;                    
                                                                      
  rtems_current_user_env->task_id = task_id;                          
ffc05808:	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;                             
ffc0580c:	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;                                   
ffc05810:	7c a4 a4 aa 	lswi    r5,r4,20                               
ffc05814:	7c ab a5 aa 	stswi   r5,r11,20                              
  rtems_filesystem_current = current_loc;                             
ffc05818:	39 61 00 1c 	addi    r11,r1,28                              
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0581c:	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;                             
ffc05820:	7c ab a4 aa 	lswi    r5,r11,20                              
ffc05824:	7c bf a5 aa 	stswi   r5,r31,20                              
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc05828:	48 00 00 20 	b       ffc05848 <rtems_libio_set_private_env+0x120>
                                                                      
error_3:                                                              
  free(new_env);                                                      
ffc0582c:	7f e3 fb 78 	mr      r3,r31                                 
ffc05830:	4b ff ec 61 	bl      ffc04490 <free>                        
                                                                      
error_2:                                                              
  rtems_filesystem_freenode(¤t_loc);                            
ffc05834:	38 61 00 1c 	addi    r3,r1,28                               
ffc05838:	4b ff ec 2d 	bl      ffc04464 <rtems_filesystem_freenode>   
                                                                      
error_1:                                                              
  rtems_filesystem_freenode(&root_loc);                               
ffc0583c:	38 61 00 08 	addi    r3,r1,8                                
ffc05840:	4b ff ec 25 	bl      ffc04464 <rtems_filesystem_freenode>   
                                                                      
error_0:                                                              
  return RTEMS_NO_MEMORY;                                             
ffc05844:	38 00 00 1a 	li      r0,26                                  
}                                                                     
ffc05848:	39 61 00 48 	addi    r11,r1,72                              
ffc0584c:	7c 03 03 78 	mr      r3,r0                                  
ffc05850:	48 00 ed 88 	b       ffc145d8 <_restgpr_29_x>               
                                                                      

ffc05854 <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) {
ffc05854:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc05858:	7c 08 02 a6 	mflr    r0                                     
ffc0585c:	bf 81 00 18 	stmw    r28,24(r1)                             
ffc05860:	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;                                          
ffc05864:	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)     
{                                                                     
ffc05868:	90 01 00 2c 	stw     r0,44(r1)                              
  rtems_id           current_task_id;                                 
                                                                      
  /*                                                                  
   * get current task id                                              
   */                                                                 
  current_task_id = rtems_task_self();                                
ffc0586c:	48 00 2c d1 	bl      ffc0853c <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 )                                    
ffc05870:	7f 9c 18 00 	cmpw    cr7,r28,r3                             
  rtems_id           current_task_id;                                 
                                                                      
  /*                                                                  
   * get current task id                                              
   */                                                                 
  current_task_id = rtems_task_self();                                
ffc05874:	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 )                                    
ffc05878:	41 9e 00 40 	beq-    cr7,ffc058b8 <rtems_libio_share_private_env+0x64><== NEVER TAKEN
    return RTEMS_SUCCESSFUL;                                          
  /*                                                                  
   * Try to get the requested user environment                        
   */                                                                 
  sc = rtems_task_variable_get(                                       
ffc0587c:	3f c0 00 00 	lis     r30,0                                  
ffc05880:	7f 83 e3 78 	mr      r3,r28                                 
ffc05884:	38 9e 26 f4 	addi    r4,r30,9972                            
ffc05888:	38 a1 00 08 	addi    r5,r1,8                                
ffc0588c:	48 00 2e 4d 	bl      ffc086d8 <rtems_task_variable_get>     
	 (void*)&shared_user_env );                                          
                                                                      
  /*                                                                  
   * If it was not successful, return the error code                  
   */                                                                 
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc05890:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc05894:	40 82 00 24 	bne-    ffc058b8 <rtems_libio_share_private_env+0x64>
     * 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) {             
ffc05898:	80 7e 26 f4 	lwz     r3,9972(r30)                           
ffc0589c:	80 03 00 00 	lwz     r0,0(r3)                               
ffc058a0:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc058a4:	40 be 00 08 	bne+    cr7,ffc058ac <rtems_libio_share_private_env+0x58>
    rtems_user_env_t  *tmp = rtems_current_user_env;                  
    free_user_env( tmp );                                             
ffc058a8:	4b ff fe 39 	bl      ffc056e0 <free_user_env>               
  }                                                                   
                                                                      
  /* the current_user_env is the same pointer that remote env */      
  rtems_current_user_env = shared_user_env;                           
ffc058ac:	80 01 00 08 	lwz     r0,8(r1)                               
ffc058b0:	3d 20 00 00 	lis     r9,0                                   
ffc058b4:	90 09 26 f4 	stw     r0,9972(r9)                            
#ifdef HAVE_USERENV_REFCNT                                            
  rtems_current_user_env->refcnt++;                                   
#endif                                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc058b8:	39 61 00 28 	addi    r11,r1,40                              
ffc058bc:	7f a3 eb 78 	mr      r3,r29                                 
ffc058c0:	48 00 ed 14 	b       ffc145d4 <_restgpr_28_x>               
                                                                      

ffc0c514 <rtems_libio_to_fcntl_flags>: uint32_t flags ) { uint32_t fcntl_flags = 0; if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) {
ffc0c514:	54 69 07 7c 	rlwinm  r9,r3,0,29,30                          
ffc0c518:	2f 89 00 06 	cmpwi   cr7,r9,6                               
    fcntl_flags |= O_RDWR;                                            
ffc0c51c:	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 ) { 
ffc0c520:	41 9e 00 14 	beq-    cr7,ffc0c534 <rtems_libio_to_fcntl_flags+0x20><== NEVER TAKEN
    fcntl_flags |= O_RDWR;                                            
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
ffc0c524:	70 69 00 02 	andi.   r9,r3,2                                
    fcntl_flags |= O_RDONLY;                                          
ffc0c528:	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) {       
ffc0c52c:	40 82 00 08 	bne-    ffc0c534 <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;                                            
ffc0c530:	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 ) {     
ffc0c534:	70 69 00 01 	andi.   r9,r3,1                                
ffc0c538:	41 82 00 08 	beq-    ffc0c540 <rtems_libio_to_fcntl_flags+0x2c>
    fcntl_flags |= O_NONBLOCK;                                        
ffc0c53c:	60 00 40 00 	ori     r0,r0,16384                            
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_APPEND) == LIBIO_FLAGS_APPEND ) {         
ffc0c540:	70 69 02 00 	andi.   r9,r3,512                              
ffc0c544:	41 82 00 08 	beq-    ffc0c54c <rtems_libio_to_fcntl_flags+0x38>
    fcntl_flags |= O_APPEND;                                          
ffc0c548:	60 00 00 08 	ori     r0,r0,8                                
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_CREATE) == LIBIO_FLAGS_CREATE ) {         
ffc0c54c:	70 69 04 00 	andi.   r9,r3,1024                             
ffc0c550:	41 82 00 08 	beq-    ffc0c558 <rtems_libio_to_fcntl_flags+0x44>
    fcntl_flags |= O_CREAT;                                           
ffc0c554:	60 00 02 00 	ori     r0,r0,512                              
  }                                                                   
                                                                      
  return fcntl_flags;                                                 
}                                                                     
ffc0c558:	7c 03 03 78 	mr      r3,r0                                  
ffc0c55c:	4e 80 00 20 	blr                                            
                                                                      

ffc07bc0 <rtems_malloc_statistics_at_free>: * size and thus we skip updating the statistics. */ static void rtems_malloc_statistics_at_free( void *pointer ) {
ffc07bc0:	94 21 ff e8 	stwu    r1,-24(r1)                             
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
ffc07bc4:	3d 20 00 00 	lis     r9,0                                   
 *  size and thus we skip updating the statistics.                    
 */                                                                   
static void rtems_malloc_statistics_at_free(                          
  void *pointer                                                       
)                                                                     
{                                                                     
ffc07bc8:	7c 08 02 a6 	mflr    r0                                     
ffc07bcc:	7c 64 1b 78 	mr      r4,r3                                  
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
ffc07bd0:	80 69 27 3c 	lwz     r3,10044(r9)                           
ffc07bd4:	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                                                       
)                                                                     
{                                                                     
ffc07bd8:	90 01 00 1c 	stw     r0,28(r1)                              
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
ffc07bdc:	48 00 63 65 	bl      ffc0df40 <_Protected_heap_Get_block_size>
ffc07be0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07be4:	41 9e 00 2c 	beq-    cr7,ffc07c10 <rtems_malloc_statistics_at_free+0x50><== NEVER TAKEN
    MSBUMP(lifetime_freed, size);                                     
ffc07be8:	3d 00 00 00 	lis     r8,0                                   
ffc07bec:	81 41 00 08 	lwz     r10,8(r1)                              
ffc07bf0:	39 08 33 d0 	addi    r8,r8,13264                            
ffc07bf4:	81 68 00 28 	lwz     r11,40(r8)                             
ffc07bf8:	39 20 00 00 	li      r9,0                                   
ffc07bfc:	81 88 00 2c 	lwz     r12,44(r8)                             
ffc07c00:	7d 4a 60 14 	addc    r10,r10,r12                            
ffc07c04:	7d 29 59 14 	adde    r9,r9,r11                              
ffc07c08:	91 28 00 28 	stw     r9,40(r8)                              
ffc07c0c:	91 48 00 2c 	stw     r10,44(r8)                             
  }                                                                   
}                                                                     
ffc07c10:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc07c14:	38 21 00 18 	addi    r1,r1,24                               
ffc07c18:	7c 08 03 a6 	mtlr    r0                                     
ffc07c1c:	4e 80 00 20 	blr                                            
                                                                      

ffc07c20 <rtems_malloc_statistics_at_malloc>: { uintptr_t actual_size = 0; uint32_t current_depth; rtems_malloc_statistics_t *s = &rtems_malloc_statistics; if ( !pointer )
ffc07c20:	7c 64 1b 79 	mr.     r4,r3                                  
}                                                                     
                                                                      
static void rtems_malloc_statistics_at_malloc(                        
  void *pointer                                                       
)                                                                     
{                                                                     
ffc07c24:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc07c28:	7c 08 02 a6 	mflr    r0                                     
ffc07c2c:	90 01 00 1c 	stw     r0,28(r1)                              
  uintptr_t actual_size = 0;                                          
ffc07c30:	38 00 00 00 	li      r0,0                                   
ffc07c34:	90 01 00 08 	stw     r0,8(r1)                               
  uint32_t current_depth;                                             
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
ffc07c38:	41 82 00 54 	beq-    ffc07c8c <rtems_malloc_statistics_at_malloc+0x6c><== NEVER TAKEN
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
ffc07c3c:	3d 20 00 00 	lis     r9,0                                   
ffc07c40:	80 69 27 3c 	lwz     r3,10044(r9)                           
ffc07c44:	38 a1 00 08 	addi    r5,r1,8                                
ffc07c48:	48 00 62 f9 	bl      ffc0df40 <_Protected_heap_Get_block_size>
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
ffc07c4c:	3d 00 00 00 	lis     r8,0                                   
ffc07c50:	39 08 33 d0 	addi    r8,r8,13264                            
ffc07c54:	81 41 00 08 	lwz     r10,8(r1)                              
ffc07c58:	81 68 00 20 	lwz     r11,32(r8)                             
ffc07c5c:	39 20 00 00 	li      r9,0                                   
ffc07c60:	81 88 00 24 	lwz     r12,36(r8)                             
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
ffc07c64:	80 08 00 2c 	lwz     r0,44(r8)                              
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
ffc07c68:	7d 4a 60 14 	addc    r10,r10,r12                            
ffc07c6c:	7d 29 59 14 	adde    r9,r9,r11                              
ffc07c70:	91 28 00 20 	stw     r9,32(r8)                              
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
ffc07c74:	7c 00 50 50 	subf    r0,r0,r10                              
  if (current_depth > s->max_depth)                                   
ffc07c78:	81 28 00 18 	lwz     r9,24(r8)                              
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
ffc07c7c:	91 48 00 24 	stw     r10,36(r8)                             
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  if (current_depth > s->max_depth)                                   
ffc07c80:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc07c84:	40 9d 00 08 	ble-    cr7,ffc07c8c <rtems_malloc_statistics_at_malloc+0x6c>
      s->max_depth = current_depth;                                   
ffc07c88:	90 08 00 18 	stw     r0,24(r8)                              
}                                                                     
ffc07c8c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc07c90:	38 21 00 18 	addi    r1,r1,24                               
ffc07c94:	7c 08 03 a6 	mtlr    r0                                     
ffc07c98:	4e 80 00 20 	blr                                            
                                                                      

ffc108d0 <rtems_memalign>: int rtems_memalign( void **pointer, size_t alignment, size_t size ) {
ffc108d0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc108d4:	7c 08 02 a6 	mflr    r0                                     
ffc108d8:	bf 81 00 08 	stmw    r28,8(r1)                              
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
ffc108dc:	7c 7f 1b 79 	mr.     r31,r3                                 
int rtems_memalign(                                                   
  void   **pointer,                                                   
  size_t   alignment,                                                 
  size_t   size                                                       
)                                                                     
{                                                                     
ffc108e0:	7c 9e 23 78 	mr      r30,r4                                 
ffc108e4:	90 01 00 1c 	stw     r0,28(r1)                              
ffc108e8:	7c bc 2b 78 	mr      r28,r5                                 
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
    return EINVAL;                                                    
ffc108ec:	3b a0 00 16 	li      r29,22                                 
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
ffc108f0:	41 82 00 78 	beq-    ffc10968 <rtems_memalign+0x98>         
    return EINVAL;                                                    
                                                                      
  *pointer = NULL;                                                    
ffc108f4:	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()) &&                    
ffc108f8:	3d 20 00 00 	lis     r9,0                                   
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
    return EINVAL;                                                    
                                                                      
  *pointer = NULL;                                                    
ffc108fc:	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()) &&                    
ffc10900:	80 09 27 e4 	lwz     r0,10212(r9)                           
ffc10904:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc10908:	40 be 00 10 	bne+    cr7,ffc10918 <rtems_memalign+0x48>     <== NEVER TAKEN
       !malloc_is_system_state_OK() )                                 
ffc1090c:	4b ff 4a 1d 	bl      ffc05328 <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()) &&                    
ffc10910:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10914:	41 9e 00 54 	beq-    cr7,ffc10968 <rtems_memalign+0x98>     <== NEVER TAKEN
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
ffc10918:	4b ff 4a 59 	bl      ffc05370 <malloc_deferred_frees_process>
  Heap_Control *heap,                                                 
  uintptr_t size,                                                     
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return                                                              
ffc1091c:	3d 20 00 00 	lis     r9,0                                   
ffc10920:	80 69 26 dc 	lwz     r3,9948(r9)                            
ffc10924:	7f c5 f3 78 	mr      r5,r30                                 
ffc10928:	7f 84 e3 78 	mr      r4,r28                                 
ffc1092c:	38 c0 00 00 	li      r6,0                                   
ffc10930:	4b ff 9f 6d 	bl      ffc0a89c <_Protected_heap_Allocate_aligned_with_boundary>
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
    return ENOMEM;                                                    
ffc10934:	3b a0 00 0c 	li      r29,12                                 
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
ffc10938:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1093c:	41 82 00 2c 	beq-    ffc10968 <rtems_memalign+0x98>         
    return ENOMEM;                                                    
                                                                      
  /*                                                                  
   *  If configured, update the more involved statistics              
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
ffc10940:	3d 20 00 00 	lis     r9,0                                   
ffc10944:	81 29 27 48 	lwz     r9,10056(r9)                           
ffc10948:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1094c:	41 9e 00 14 	beq-    cr7,ffc10960 <rtems_memalign+0x90>     
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
ffc10950:	80 09 00 04 	lwz     r0,4(r9)                               
ffc10954:	7f e3 fb 78 	mr      r3,r31                                 
ffc10958:	7c 09 03 a6 	mtctr   r0                                     
ffc1095c:	4e 80 04 21 	bctrl                                          
                                                                      
  *pointer = return_this;                                             
ffc10960:	93 df 00 00 	stw     r30,0(r31)                             
  return 0;                                                           
ffc10964:	3b a0 00 00 	li      r29,0                                  
}                                                                     
ffc10968:	39 61 00 18 	addi    r11,r1,24                              
ffc1096c:	7f a3 eb 78 	mr      r3,r29                                 
ffc10970:	48 00 78 bc 	b       ffc1822c <_restgpr_28_x>               
                                                                      

ffc0efb4 <rtems_mkdir>: return (retval); } int rtems_mkdir(const char *path, mode_t mode) {
ffc0efb4:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc0efb8:	7c 08 02 a6 	mflr    r0                                     
ffc0efbc:	bf 01 00 58 	stmw    r24,88(r1)                             
ffc0efc0:	7c 98 23 78 	mr      r24,r4                                 
ffc0efc4:	90 01 00 7c 	stw     r0,124(r1)                             
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
ffc0efc8:	48 00 2d 05 	bl      ffc11ccc <strdup>                      
                                                                      
  if (dup_path != NULL) {                                             
ffc0efcc:	7c 7e 1b 79 	mr.     r30,r3                                 
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
ffc0efd0:	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) {                                             
ffc0efd4:	41 82 01 64 	beq-    ffc0f138 <rtems_mkdir+0x184>           <== NEVER TAKEN
  char *p;                                                            
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
ffc0efd8:	88 1e 00 00 	lbz     r0,0(r30)                              
    (void)umask(oumask);                                              
  return (retval);                                                    
}                                                                     
                                                                      
int                                                                   
rtems_mkdir(const char *path, mode_t mode)                            
ffc0efdc:	3b 80 00 00 	li      r28,0                                  
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
      last = 1;                                                       
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
ffc0efe0:	3b 20 00 00 	li      r25,0                                  
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
ffc0efe4:	68 1d 00 2f 	xori    r29,r0,47                              
ffc0efe8:	23 bd 00 00 	subfic  r29,r29,0                              
ffc0efec:	7f be 01 94 	addze   r29,r30                                
    (void)umask(oumask);                                              
  return (retval);                                                    
}                                                                     
                                                                      
int                                                                   
rtems_mkdir(const char *path, mode_t mode)                            
ffc0eff0:	3b bd ff ff 	addi    r29,r29,-1                             
ffc0eff4:	38 00 00 01 	li      r0,1                                   
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
ffc0eff8:	3b 40 00 2f 	li      r26,47                                 
    }                                                                 
    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) {                                    
ffc0effc:	3b 61 00 08 	addi    r27,r1,8                               
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
ffc0f000:	8d 7d 00 01 	lbzu    r11,1(r29)                             
      last = 1;                                                       
ffc0f004:	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')                                                 
ffc0f008:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc0f00c:	41 9e 00 10 	beq-    cr7,ffc0f01c <rtems_mkdir+0x68>        
      last = 1;                                                       
    else if (p[0] != '/')                                             
ffc0f010:	2f 8b 00 2f 	cmpwi   cr7,r11,47                             
ffc0f014:	40 9e ff ec 	bne+    cr7,ffc0f000 <rtems_mkdir+0x4c>        
ffc0f018:	39 20 00 00 	li      r9,0                                   
      continue;                                                       
    *p = '\0';                                                        
    if (!last && p[1] == '\0')                                        
ffc0f01c:	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';                                                        
ffc0f020:	9b 3d 00 00 	stb     r25,0(r29)                             
    if (!last && p[1] == '\0')                                        
ffc0f024:	3b e0 00 01 	li      r31,1                                  
ffc0f028:	40 9e 00 10 	bne-    cr7,ffc0f038 <rtems_mkdir+0x84>        
ffc0f02c:	8b fd 00 01 	lbz     r31,1(r29)                             
ffc0f030:	7f ff 00 34 	cntlzw  r31,r31                                
ffc0f034:	57 ff d9 7e 	rlwinm  r31,r31,27,5,31                        
      last = 1;                                                       
    if (first) {                                                      
ffc0f038:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0f03c:	41 be 00 18 	beq+    cr7,ffc0f054 <rtems_mkdir+0xa0>        
       *    mkdir [-m mode] dir                                       
       *                                                              
       * We change the user's umask and then restore it,              
       * instead of doing chmod's.                                    
       */                                                             
      oumask = umask(0);                                              
ffc0f040:	38 60 00 00 	li      r3,0                                   
ffc0f044:	48 00 01 b9 	bl      ffc0f1fc <umask>                       
ffc0f048:	7c 7c 1b 78 	mr      r28,r3                                 
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
ffc0f04c:	54 63 06 ae 	rlwinm  r3,r3,0,26,23                          
ffc0f050:	48 00 01 ad 	bl      ffc0f1fc <umask>                       
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
ffc0f054:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
ffc0f058:	38 80 01 ff 	li      r4,511                                 
      oumask = umask(0);                                              
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
ffc0f05c:	41 be 00 10 	beq+    cr7,ffc0f06c <rtems_mkdir+0xb8>        
      (void)umask(oumask);                                            
ffc0f060:	7f 83 e3 78 	mr      r3,r28                                 
ffc0f064:	48 00 01 99 	bl      ffc0f1fc <umask>                       
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
ffc0f068:	7f 04 c3 78 	mr      r4,r24                                 
ffc0f06c:	7f c3 f3 78 	mr      r3,r30                                 
ffc0f070:	4b ff 6b 89 	bl      ffc05bf8 <mkdir>                       
ffc0f074:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f078:	40 bc 00 80 	bge+    cr7,ffc0f0f8 <rtems_mkdir+0x144>       
      if (errno == EEXIST || errno == EISDIR) {                       
ffc0f07c:	48 00 19 c1 	bl      ffc10a3c <__errno>                     
ffc0f080:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0f084:	2f 80 00 11 	cmpwi   cr7,r0,17                              
ffc0f088:	41 9e 00 14 	beq-    cr7,ffc0f09c <rtems_mkdir+0xe8>        
ffc0f08c:	48 00 19 b1 	bl      ffc10a3c <__errno>                     
ffc0f090:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0f094:	2f 80 00 15 	cmpwi   cr7,r0,21                              
ffc0f098:	40 9e 00 74 	bne-    cr7,ffc0f10c <rtems_mkdir+0x158>       <== ALWAYS TAKEN
        if (stat(path, &sb) < 0) {                                    
ffc0f09c:	7f c3 f3 78 	mr      r3,r30                                 
ffc0f0a0:	7f 64 db 78 	mr      r4,r27                                 
ffc0f0a4:	48 00 00 b1 	bl      ffc0f154 <stat>                        
ffc0f0a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f0ac:	41 9c 00 60 	blt-    cr7,ffc0f10c <rtems_mkdir+0x158>       <== NEVER TAKEN
          retval = 0;                                                 
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
ffc0f0b0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0f0b4:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0f0b8:	54 00 04 26 	rlwinm  r0,r0,0,16,19                          
ffc0f0bc:	2f 00 40 00 	cmpwi   cr6,r0,16384                           
ffc0f0c0:	41 ba 00 30 	beq+    cr6,ffc0f0f0 <rtems_mkdir+0x13c>       
          if (last)                                                   
ffc0f0c4:	41 9e 00 18 	beq-    cr7,ffc0f0dc <rtems_mkdir+0x128>       
            errno = EEXIST;                                           
ffc0f0c8:	48 00 19 75 	bl      ffc10a3c <__errno>                     
ffc0f0cc:	38 00 00 11 	li      r0,17                                  
ffc0f0d0:	90 03 00 00 	stw     r0,0(r3)                               
          else                                                        
            errno = ENOTDIR;                                          
          retval = 0;                                                 
ffc0f0d4:	3b a0 00 00 	li      r29,0                                  
ffc0f0d8:	48 00 00 48 	b       ffc0f120 <rtems_mkdir+0x16c>           
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
          if (last)                                                   
            errno = EEXIST;                                           
          else                                                        
            errno = ENOTDIR;                                          
ffc0f0dc:	48 00 19 61 	bl      ffc10a3c <__errno>                     
ffc0f0e0:	38 00 00 14 	li      r0,20                                  
ffc0f0e4:	90 03 00 00 	stw     r0,0(r3)                               
          retval = 0;                                                 
ffc0f0e8:	3b a0 00 00 	li      r29,0                                  
ffc0f0ec:	48 00 00 2c 	b       ffc0f118 <rtems_mkdir+0x164>           
          break;                                                      
        }                                                             
        if (last)                                                     
ffc0f0f0:	40 9e 00 54 	bne-    cr7,ffc0f144 <rtems_mkdir+0x190>       
ffc0f0f4:	48 00 00 0c 	b       ffc0f100 <rtems_mkdir+0x14c>           
      } else {                                                        
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
ffc0f0f8:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0f0fc:	40 9e 00 50 	bne-    cr7,ffc0f14c <rtems_mkdir+0x198>       
        *p = '/';                                                     
ffc0f100:	9b 5d 00 00 	stb     r26,0(r29)                             
ffc0f104:	38 00 00 00 	li      r0,0                                   
ffc0f108:	4b ff fe f8 	b       ffc0f000 <rtems_mkdir+0x4c>            
  }                                                                   
  if (!first && !last)                                                
ffc0f10c:	2f 9f 00 00 	cmpwi   cr7,r31,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) {                                    
          retval = 0;                                                 
ffc0f110:	3b a0 00 00 	li      r29,0                                  
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
  }                                                                   
  if (!first && !last)                                                
ffc0f114:	40 be 00 0c 	bne+    cr7,ffc0f120 <rtems_mkdir+0x16c>       <== ALWAYS TAKEN
    (void)umask(oumask);                                              
ffc0f118:	7f 83 e3 78 	mr      r3,r28                                 
ffc0f11c:	48 00 00 e1 	bl      ffc0f1fc <umask>                       
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
ffc0f120:	7f c3 f3 78 	mr      r3,r30                                 
ffc0f124:	4b ff 63 31 	bl      ffc05454 <free>                        
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
ffc0f128:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0f12c:	38 00 00 00 	li      r0,0                                   
ffc0f130:	40 be 00 08 	bne+    cr7,ffc0f138 <rtems_mkdir+0x184>       
ffc0f134:	38 00 ff ff 	li      r0,-1                                  
}                                                                     
ffc0f138:	39 61 00 78 	addi    r11,r1,120                             
ffc0f13c:	7c 03 03 78 	mr      r3,r0                                  
ffc0f140:	48 00 d4 1c 	b       ffc1c55c <_restgpr_24_x>               
            errno = ENOTDIR;                                          
          retval = 0;                                                 
          break;                                                      
        }                                                             
        if (last)                                                     
          retval = 2;                                                 
ffc0f144:	3b a0 00 02 	li      r29,2                                  
ffc0f148:	4b ff ff d8 	b       ffc0f120 <rtems_mkdir+0x16c>           
      } else {                                                        
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
ffc0f14c:	3b a0 00 01 	li      r29,1                                  
ffc0f150:	4b ff ff d0 	b       ffc0f120 <rtems_mkdir+0x16c>           
                                                                      

ffc0937c <rtems_panic>: void rtems_panic( const char *printf_format, ... ) {
ffc0937c:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc09380:	7c 08 02 a6 	mflr    r0                                     
ffc09384:	90 81 00 1c 	stw     r4,28(r1)                              
ffc09388:	90 01 00 7c 	stw     r0,124(r1)                             
ffc0938c:	90 a1 00 20 	stw     r5,32(r1)                              
ffc09390:	90 c1 00 24 	stw     r6,36(r1)                              
ffc09394:	90 e1 00 28 	stw     r7,40(r1)                              
ffc09398:	91 01 00 2c 	stw     r8,44(r1)                              
ffc0939c:	91 21 00 30 	stw     r9,48(r1)                              
ffc093a0:	91 41 00 34 	stw     r10,52(r1)                             
ffc093a4:	40 86 00 24 	bne-    cr1,ffc093c8 <rtems_panic+0x4c>        <== ALWAYS TAKEN
ffc093a8:	d8 21 00 38 	stfd    f1,56(r1)                              <== NOT EXECUTED
ffc093ac:	d8 41 00 40 	stfd    f2,64(r1)                              <== NOT EXECUTED
ffc093b0:	d8 61 00 48 	stfd    f3,72(r1)                              <== NOT EXECUTED
ffc093b4:	d8 81 00 50 	stfd    f4,80(r1)                              <== NOT EXECUTED
ffc093b8:	d8 a1 00 58 	stfd    f5,88(r1)                              <== NOT EXECUTED
ffc093bc:	d8 c1 00 60 	stfd    f6,96(r1)                              <== NOT EXECUTED
ffc093c0:	d8 e1 00 68 	stfd    f7,104(r1)                             <== NOT EXECUTED
ffc093c4:	d9 01 00 70 	stfd    f8,112(r1)                             <== NOT EXECUTED
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc093c8:	38 00 00 01 	li      r0,1                                   
ffc093cc:	98 01 00 08 	stb     r0,8(r1)                               
ffc093d0:	38 00 00 00 	li      r0,0                                   
                                                                      
void rtems_panic(                                                     
  const char *printf_format,                                          
  ...                                                                 
)                                                                     
{                                                                     
ffc093d4:	7c 64 1b 78 	mr      r4,r3                                  
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc093d8:	98 01 00 09 	stb     r0,9(r1)                               
ffc093dc:	38 01 00 80 	addi    r0,r1,128                              
  (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);     
ffc093e0:	38 a1 00 08 	addi    r5,r1,8                                
  ...                                                                 
)                                                                     
{                                                                     
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc093e4:	90 01 00 0c 	stw     r0,12(r1)                              
  (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);     
ffc093e8:	3c 60 20 00 	lis     r3,8192                                
  ...                                                                 
)                                                                     
{                                                                     
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc093ec:	38 01 00 18 	addi    r0,r1,24                               
ffc093f0:	90 01 00 10 	stw     r0,16(r1)                              
  (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);     
ffc093f4:	4b ff fd 3d 	bl      ffc09130 <rtems_verror>                
  va_end(arglist);                                                    
                                                                      
  rtems_error(0, "fatal error, exiting");                             
ffc093f8:	3c 80 ff c2 	lis     r4,-62                                 
ffc093fc:	38 84 5f 7f 	addi    r4,r4,24447                            
ffc09400:	38 60 00 00 	li      r3,0                                   
ffc09404:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09408:	4b ff fe a5 	bl      ffc092ac <rtems_error>                 
  _exit(errno);                                                       
ffc0940c:	48 00 bb 8d 	bl      ffc14f98 <__errno>                     
ffc09410:	80 63 00 00 	lwz     r3,0(r3)                               
ffc09414:	48 00 0b 65 	bl      ffc09f78 <_exit>                       
                                                                      

ffc16650 <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
ffc16650:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc16654:	7c 08 02 a6 	mflr    r0                                     
ffc16658:	bf 21 00 14 	stmw    r25,20(r1)                             
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
ffc1665c:	7c 7b 1b 79 	mr.     r27,r3                                 
  uint32_t         length,                                            
  uint32_t         buffer_size,                                       
  rtems_attribute  attribute_set,                                     
  rtems_id        *id                                                 
)                                                                     
{                                                                     
ffc16660:	7c bf 2b 78 	mr      r31,r5                                 
ffc16664:	90 01 00 34 	stw     r0,52(r1)                              
ffc16668:	7c fa 3b 78 	mr      r26,r7                                 
ffc1666c:	7d 1d 43 78 	mr      r29,r8                                 
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
ffc16670:	38 00 00 03 	li      r0,3                                   
  rtems_id        *id                                                 
)                                                                     
{                                                                     
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
ffc16674:	41 82 00 cc 	beq-    ffc16740 <rtems_partition_create+0xf0> 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
ffc16678:	2f 84 00 00 	cmpwi   cr7,r4,0                               
    return RTEMS_INVALID_ADDRESS;                                     
ffc1667c:	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 )                                            
ffc16680:	41 9e 00 c0 	beq-    cr7,ffc16740 <rtems_partition_create+0xf0>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
ffc16684:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc16688:	41 9e 00 b8 	beq-    cr7,ffc16740 <rtems_partition_create+0xf0><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
ffc1668c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
ffc16690:	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 ||     
ffc16694:	41 9e 00 ac 	beq-    cr7,ffc16740 <rtems_partition_create+0xf0>
ffc16698:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc1669c:	41 9e 00 a4 	beq-    cr7,ffc16740 <rtems_partition_create+0xf0>
ffc166a0:	7f 85 30 40 	cmplw   cr7,r5,r6                              
ffc166a4:	41 9c 00 9c 	blt-    cr7,ffc16740 <rtems_partition_create+0xf0>
ffc166a8:	70 c9 00 07 	andi.   r9,r6,7                                
ffc166ac:	40 82 00 94 	bne-    ffc16740 <rtems_partition_create+0xf0> 
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
ffc166b0:	70 99 00 07 	andi.   r25,r4,7                               
     return RTEMS_INVALID_ADDRESS;                                    
ffc166b4:	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 ) )                   
ffc166b8:	40 a2 00 88 	bne+    ffc16740 <rtems_partition_create+0xf0> 
ffc166bc:	3d 20 00 00 	lis     r9,0                                   
ffc166c0:	81 69 28 9c 	lwz     r11,10396(r9)                          
ffc166c4:	38 0b 00 01 	addi    r0,r11,1                               
ffc166c8:	90 09 28 9c 	stw     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 );
ffc166cc:	3f 80 00 00 	lis     r28,0                                  
ffc166d0:	90 81 00 08 	stw     r4,8(r1)                               
ffc166d4:	3b 9c 6e c0 	addi    r28,r28,28352                          
ffc166d8:	7f 83 e3 78 	mr      r3,r28                                 
ffc166dc:	90 c1 00 0c 	stw     r6,12(r1)                              
ffc166e0:	48 00 4d 99 	bl      ffc1b478 <_Objects_Allocate>           
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
ffc166e4:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc166e8:	80 81 00 08 	lwz     r4,8(r1)                               
ffc166ec:	80 c1 00 0c 	lwz     r6,12(r1)                              
ffc166f0:	40 a2 00 10 	bne+    ffc16700 <rtems_partition_create+0xb0> 
    _Thread_Enable_dispatch();                                        
ffc166f4:	48 00 60 89 	bl      ffc1c77c <_Thread_Enable_dispatch>     
    return RTEMS_TOO_MANY;                                            
ffc166f8:	38 00 00 05 	li      r0,5                                   
ffc166fc:	48 00 00 44 	b       ffc16740 <rtems_partition_create+0xf0> 
  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,        
ffc16700:	7c bf 33 96 	divwu   r5,r31,r6                              
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
ffc16704:	90 9e 00 10 	stw     r4,16(r30)                             
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
ffc16708:	90 de 00 18 	stw     r6,24(r30)                             
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  the_partition->length                = length;                      
ffc1670c:	93 fe 00 14 	stw     r31,20(r30)                            
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
ffc16710:	93 5e 00 1c 	stw     r26,28(r30)                            
  the_partition->number_of_used_blocks = 0;                           
ffc16714:	93 3e 00 20 	stw     r25,32(r30)                            
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
ffc16718:	38 7e 00 24 	addi    r3,r30,36                              
ffc1671c:	48 00 35 21 	bl      ffc19c3c <_Chain_Initialize>           
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
ffc16720:	80 1e 00 08 	lwz     r0,8(r30)                              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc16724:	81 7c 00 1c 	lwz     r11,28(r28)                            
ffc16728:	54 09 13 ba 	rlwinm  r9,r0,2,14,29                          
ffc1672c:	7f cb 49 2e 	stwx    r30,r11,r9                             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
ffc16730:	93 7e 00 0c 	stw     r27,12(r30)                            
    &_Partition_Information,                                          
    &the_partition->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_partition->Object.id;                                     
ffc16734:	90 1d 00 00 	stw     r0,0(r29)                              
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
ffc16738:	48 00 60 45 	bl      ffc1c77c <_Thread_Enable_dispatch>     
  return RTEMS_SUCCESSFUL;                                            
ffc1673c:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc16740:	39 61 00 30 	addi    r11,r1,48                              
ffc16744:	7c 03 03 78 	mr      r3,r0                                  
ffc16748:	4b ff 7c 44 	b       ffc0e38c <_restgpr_25_x>               
                                                                      

ffc16898 <rtems_partition_return_buffer>: rtems_status_code rtems_partition_return_buffer( rtems_id id, void *buffer ) {
ffc16898:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1689c:	7c 08 02 a6 	mflr    r0                                     
ffc168a0:	90 01 00 24 	stw     r0,36(r1)                              
ffc168a4:	7c 60 1b 78 	mr      r0,r3                                  
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Partition_Control *)                                        
    _Objects_Get( &_Partition_Information, id, location );            
ffc168a8:	3c 60 00 00 	lis     r3,0                                   
ffc168ac:	bf c1 00 18 	stmw    r30,24(r1)                             
ffc168b0:	38 63 6e c0 	addi    r3,r3,28352                            
ffc168b4:	7c 9f 23 78 	mr      r31,r4                                 
ffc168b8:	38 a1 00 08 	addi    r5,r1,8                                
ffc168bc:	7c 04 03 78 	mr      r4,r0                                  
ffc168c0:	48 00 51 0d 	bl      ffc1b9cc <_Objects_Get>                
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
ffc168c4:	80 01 00 08 	lwz     r0,8(r1)                               
ffc168c8:	7c 7e 1b 78 	mr      r30,r3                                 
ffc168cc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc168d0:	38 60 00 04 	li      r3,4                                   
{                                                                     
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
ffc168d4:	40 9e 00 58 	bne-    cr7,ffc1692c <rtems_partition_return_buffer+0x94>
)                                                                     
{                                                                     
  void *starting;                                                     
  void *ending;                                                       
                                                                      
  starting = the_partition->starting_address;                         
ffc168d8:	80 1e 00 10 	lwz     r0,16(r30)                             
  ending   = _Addresses_Add_offset( starting, the_partition->length );
ffc168dc:	81 3e 00 14 	lwz     r9,20(r30)                             
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
ffc168e0:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc168e4:	41 9c 00 50 	blt-    cr7,ffc16934 <rtems_partition_return_buffer+0x9c>
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
ffc168e8:	7d 20 4a 14 	add     r9,r0,r9                               
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
ffc168ec:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc168f0:	41 9d 00 44 	bgt-    cr7,ffc16934 <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);                
ffc168f4:	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);      
ffc168f8:	7c 00 f8 50 	subf    r0,r0,r31                              
ffc168fc:	7d 60 4b 96 	divwu   r11,r0,r9                              
ffc16900:	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 ) &&         
ffc16904:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc16908:	40 9e 00 2c 	bne-    cr7,ffc16934 <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 );                
ffc1690c:	38 7e 00 24 	addi    r3,r30,36                              
ffc16910:	7f e4 fb 78 	mr      r4,r31                                 
ffc16914:	48 00 32 91 	bl      ffc19ba4 <_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;                    
ffc16918:	81 3e 00 20 	lwz     r9,32(r30)                             
ffc1691c:	38 09 ff ff 	addi    r0,r9,-1                               
ffc16920:	90 1e 00 20 	stw     r0,32(r30)                             
        _Thread_Enable_dispatch();                                    
ffc16924:	48 00 5e 59 	bl      ffc1c77c <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc16928:	38 60 00 00 	li      r3,0                                   
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1692c:	39 61 00 20 	addi    r11,r1,32                              
ffc16930:	4b ff 7a 70 	b       ffc0e3a0 <_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();                                      
ffc16934:	48 00 5e 49 	bl      ffc1c77c <_Thread_Enable_dispatch>     
      return RTEMS_INVALID_ADDRESS;                                   
ffc16938:	38 60 00 09 	li      r3,9                                   
ffc1693c:	4b ff ff f0 	b       ffc1692c <rtems_partition_return_buffer+0x94>
                                                                      

ffc08cb4 <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
ffc08cb4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc08cb8:	7c 08 02 a6 	mflr    r0                                     
ffc08cbc:	bf 81 00 18 	stmw    r28,24(r1)                             
ffc08cc0:	7c 7e 1b 78 	mr      r30,r3                                 
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Rate_monotonic_Control *)                                   
    _Objects_Get( &_Rate_monotonic_Information, id, location );       
ffc08cc4:	3c 60 00 00 	lis     r3,0                                   
ffc08cc8:	7c 9f 23 78 	mr      r31,r4                                 
ffc08ccc:	90 01 00 2c 	stw     r0,44(r1)                              
ffc08cd0:	38 63 2c 00 	addi    r3,r3,11264                            
ffc08cd4:	7f c4 f3 78 	mr      r4,r30                                 
ffc08cd8:	38 a1 00 08 	addi    r5,r1,8                                
ffc08cdc:	48 00 25 99 	bl      ffc0b274 <_Objects_Get>                
  rtems_rate_monotonic_period_states   local_state;                   
  ISR_Level                            level;                         
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
ffc08ce0:	80 01 00 08 	lwz     r0,8(r1)                               
ffc08ce4:	7c 7d 1b 78 	mr      r29,r3                                 
ffc08ce8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08cec:	40 9e 01 70 	bne-    cr7,ffc08e5c <rtems_rate_monotonic_period+0x1a8>
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
ffc08cf0:	3d 60 00 00 	lis     r11,0                                  
ffc08cf4:	81 23 00 40 	lwz     r9,64(r3)                              
ffc08cf8:	80 0b 2e a4 	lwz     r0,11940(r11)                          
ffc08cfc:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc08d00:	41 9e 00 10 	beq-    cr7,ffc08d10 <rtems_rate_monotonic_period+0x5c>
        _Thread_Enable_dispatch();                                    
ffc08d04:	48 00 33 21 	bl      ffc0c024 <_Thread_Enable_dispatch>     
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
ffc08d08:	3b c0 00 17 	li      r30,23                                 
ffc08d0c:	48 00 01 54 	b       ffc08e60 <rtems_rate_monotonic_period+0x1ac>
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
ffc08d10:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc08d14:	40 9e 00 2c 	bne-    cr7,ffc08d40 <rtems_rate_monotonic_period+0x8c>
        switch ( the_period->state ) {                                
ffc08d18:	80 03 00 38 	lwz     r0,56(r3)                              
ffc08d1c:	3b c0 00 00 	li      r30,0                                  
ffc08d20:	2b 80 00 04 	cmplwi  cr7,r0,4                               
ffc08d24:	41 9d 00 14 	bgt-    cr7,ffc08d38 <rtems_rate_monotonic_period+0x84><== NEVER TAKEN
ffc08d28:	3d 20 ff c2 	lis     r9,-62                                 
ffc08d2c:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc08d30:	39 29 dd e4 	addi    r9,r9,-8732                            
ffc08d34:	7f c9 00 2e 	lwzx    r30,r9,r0                              
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
ffc08d38:	48 00 32 ed 	bl      ffc0c024 <_Thread_Enable_dispatch>     
        return( return_value );                                       
ffc08d3c:	48 00 01 24 	b       ffc08e60 <rtems_rate_monotonic_period+0x1ac>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc08d40:	7f 80 00 a6 	mfmsr   r28                                    
ffc08d44:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc08d48:	7f 80 00 78 	andc    r0,r28,r0                              
ffc08d4c:	7c 00 01 24 	mtmsr   r0                                     
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
      if ( the_period->state == RATE_MONOTONIC_INACTIVE ) {           
ffc08d50:	80 03 00 38 	lwz     r0,56(r3)                              
ffc08d54:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc08d58:	40 be 00 4c 	bne+    cr7,ffc08da4 <rtems_rate_monotonic_period+0xf0>
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc08d5c:	7f 80 01 24 	mtmsr   r28                                    
        _ISR_Enable( level );                                         
                                                                      
        /*                                                            
         *  Baseline statistics information for the beginning of a period.
         */                                                           
        _Rate_monotonic_Initiate_statistics( the_period );            
ffc08d60:	4b ff fd cd 	bl      ffc08b2c <_Rate_monotonic_Initiate_statistics>
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
ffc08d64:	38 00 00 02 	li      r0,2                                   
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
ffc08d68:	3d 20 ff c1 	lis     r9,-63                                 
ffc08d6c:	90 1d 00 38 	stw     r0,56(r29)                             
ffc08d70:	39 29 91 68 	addi    r9,r9,-28312                           
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc08d74:	38 00 00 00 	li      r0,0                                   
  the_watchdog->routine   = routine;                                  
ffc08d78:	91 3d 00 2c 	stw     r9,44(r29)                             
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc08d7c:	3c 60 00 00 	lis     r3,0                                   
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc08d80:	90 1d 00 18 	stw     r0,24(r29)                             
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc08d84:	38 63 2d c8 	addi    r3,r3,11720                            
ffc08d88:	38 9d 00 10 	addi    r4,r29,16                              
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
ffc08d8c:	93 dd 00 30 	stw     r30,48(r29)                            
  the_watchdog->user_data = user_data;                                
ffc08d90:	90 1d 00 34 	stw     r0,52(r29)                             
          _Rate_monotonic_Timeout,                                    
          id,                                                         
          NULL                                                        
        );                                                            
                                                                      
        the_period->next_length = length;                             
ffc08d94:	93 fd 00 3c 	stw     r31,60(r29)                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc08d98:	93 fd 00 1c 	stw     r31,28(r29)                            
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc08d9c:	48 00 43 31 	bl      ffc0d0cc <_Watchdog_Insert>            
ffc08da0:	48 00 00 70 	b       ffc08e10 <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 ) {             
ffc08da4:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc08da8:	40 be 00 74 	bne+    cr7,ffc08e1c <rtems_rate_monotonic_period+0x168>
        /*                                                            
         *  Update statistics from the concluding period.             
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
ffc08dac:	4b ff fe 01 	bl      ffc08bac <_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;         
ffc08db0:	38 00 00 01 	li      r0,1                                   
ffc08db4:	90 1d 00 38 	stw     r0,56(r29)                             
        the_period->next_length = length;                             
ffc08db8:	93 fd 00 3c 	stw     r31,60(r29)                            
ffc08dbc:	7f 80 01 24 	mtmsr   r28                                    
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        _Thread_Executing->Wait.id = the_period->Object.id;           
ffc08dc0:	3d 20 00 00 	lis     r9,0                                   
ffc08dc4:	80 1d 00 08 	lwz     r0,8(r29)                              
ffc08dc8:	80 69 2e a4 	lwz     r3,11940(r9)                           
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
ffc08dcc:	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;           
ffc08dd0:	90 03 00 20 	stw     r0,32(r3)                              
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
ffc08dd4:	48 00 3b 71 	bl      ffc0c944 <_Thread_Set_state>           
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc08dd8:	7d 20 00 a6 	mfmsr   r9                                     
ffc08ddc:	7c 10 42 a6 	mfsprg  r0,0                                   
ffc08de0:	7d 20 00 78 	andc    r0,r9,r0                               
ffc08de4:	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;                  
ffc08de8:	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;                            
ffc08dec:	80 1d 00 38 	lwz     r0,56(r29)                             
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
ffc08df0:	91 7d 00 38 	stw     r11,56(r29)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc08df4:	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 )   
ffc08df8:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc08dfc:	40 be 00 14 	bne+    cr7,ffc08e10 <rtems_rate_monotonic_period+0x15c><== ALWAYS TAKEN
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
ffc08e00:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc08e04:	80 69 2e a4 	lwz     r3,11940(r9)                           <== NOT EXECUTED
ffc08e08:	38 80 40 00 	li      r4,16384                               <== NOT EXECUTED
ffc08e0c:	48 00 2e 69 	bl      ffc0bc74 <_Thread_Clear_state>         <== NOT EXECUTED
                                                                      
        _Thread_Enable_dispatch();                                    
ffc08e10:	48 00 32 15 	bl      ffc0c024 <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc08e14:	3b c0 00 00 	li      r30,0                                  
ffc08e18:	48 00 00 48 	b       ffc08e60 <rtems_rate_monotonic_period+0x1ac>
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
ffc08e1c:	2f 80 00 04 	cmpwi   cr7,r0,4                               
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc08e20:	3b c0 00 04 	li      r30,4                                  
                                                                      
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
ffc08e24:	40 be 00 3c 	bne+    cr7,ffc08e60 <rtems_rate_monotonic_period+0x1ac><== NEVER TAKEN
        /*                                                            
         *  Update statistics from the concluding period              
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
ffc08e28:	4b ff fd 85 	bl      ffc08bac <_Rate_monotonic_Update_statistics>
ffc08e2c:	7f 80 01 24 	mtmsr   r28                                    
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
ffc08e30:	38 00 00 02 	li      r0,2                                   
        the_period->next_length = length;                             
ffc08e34:	93 fd 00 3c 	stw     r31,60(r29)                            
ffc08e38:	3c 60 00 00 	lis     r3,0                                   
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
ffc08e3c:	90 1d 00 38 	stw     r0,56(r29)                             
ffc08e40:	38 63 2d c8 	addi    r3,r3,11720                            
ffc08e44:	38 9d 00 10 	addi    r4,r29,16                              
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc08e48:	93 fd 00 1c 	stw     r31,28(r29)                            
        the_period->next_length = length;                             
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_TIMEOUT;                                         
ffc08e4c:	3b c0 00 06 	li      r30,6                                  
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc08e50:	48 00 42 7d 	bl      ffc0d0cc <_Watchdog_Insert>            
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
        the_period->next_length = length;                             
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
ffc08e54:	48 00 31 d1 	bl      ffc0c024 <_Thread_Enable_dispatch>     
        return RTEMS_TIMEOUT;                                         
ffc08e58:	48 00 00 08 	b       ffc08e60 <rtems_rate_monotonic_period+0x1ac>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc08e5c:	3b c0 00 04 	li      r30,4                                  
}                                                                     
ffc08e60:	39 61 00 28 	addi    r11,r1,40                              
ffc08e64:	7f c3 f3 78 	mr      r3,r30                                 
ffc08e68:	4b ff 83 58 	b       ffc011c0 <_restgpr_28_x>               
                                                                      

ffc08e6c <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
ffc08e6c:	94 21 ff 58 	stwu    r1,-168(r1)                            
ffc08e70:	7c 08 02 a6 	mflr    r0                                     
ffc08e74:	90 01 00 ac 	stw     r0,172(r1)                             
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
ffc08e78:	7c 80 23 79 	mr.     r0,r4                                  
 */                                                                   
void rtems_rate_monotonic_report_statistics_with_plugin(              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
ffc08e7c:	be 41 00 70 	stmw    r18,112(r1)                            
ffc08e80:	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 )                                                       
ffc08e84:	90 01 00 68 	stw     r0,104(r1)                             
ffc08e88:	41 82 01 fc 	beq-    ffc09084 <rtems_rate_monotonic_report_statistics_with_plugin+0x218><== NEVER TAKEN
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
ffc08e8c:	3c 80 ff c2 	lis     r4,-62                                 
ffc08e90:	7c 09 03 a6 	mtctr   r0                                     
ffc08e94:	38 84 dd f8 	addi    r4,r4,-8712                            
                                                                      
  /*                                                                  
   * 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 ;                   
ffc08e98:	3e 60 00 00 	lis     r19,0                                  
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
ffc08e9c:	3e c0 ff c2 	lis     r22,-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,                                              
ffc08ea0:	3f 00 ff c2 	lis     r24,-62                                
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
ffc08ea4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08ea8:	4e 80 04 21 	bctrl                                          
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
ffc08eac:	80 01 00 68 	lwz     r0,104(r1)                             
ffc08eb0:	3c 80 ff c2 	lis     r4,-62                                 
ffc08eb4:	7c 09 03 a6 	mtctr   r0                                     
ffc08eb8:	38 84 de 16 	addi    r4,r4,-8682                            
ffc08ebc:	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,                                              
ffc08ec0:	3f 40 ff c2 	lis     r26,-62                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
ffc08ec4:	3e 40 ff c2 	lis     r18,-62                                
   * 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++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
ffc08ec8:	3a 81 00 30 	addi    r20,r1,48                              
  if ( !print )                                                       
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
ffc08ecc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08ed0:	4e 80 04 21 	bctrl                                          
    (*print)( context, "--- Wall times are in seconds ---\n" );       
ffc08ed4:	80 01 00 68 	lwz     r0,104(r1)                             
ffc08ed8:	3c 80 ff c2 	lis     r4,-62                                 
ffc08edc:	7c 09 03 a6 	mtctr   r0                                     
ffc08ee0:	38 84 de 38 	addi    r4,r4,-8648                            
ffc08ee4:	7f e3 fb 78 	mr      r3,r31                                 
    #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 );      
ffc08ee8:	3a a1 00 18 	addi    r21,r1,24                              
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
ffc08eec:	3b 61 00 08 	addi    r27,r1,8                               
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
ffc08ef0:	3a d6 de f2 	addi    r22,r22,-8462                          
    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" );       
ffc08ef4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08ef8:	4e 80 04 21 	bctrl                                          
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
ffc08efc:	80 01 00 68 	lwz     r0,104(r1)                             
ffc08f00:	3c 80 ff c2 	lis     r4,-62                                 
ffc08f04:	7c 09 03 a6 	mtctr   r0                                     
ffc08f08:	38 84 de 5b 	addi    r4,r4,-8613                            
ffc08f0c:	7f e3 fb 78 	mr      r3,r31                                 
    {                                                                 
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      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;         
ffc08f10:	3a e1 00 48 	addi    r23,r1,72                              
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
ffc08f14:	3b 81 00 10 	addi    r28,r1,16                              
      (*print)( context,                                              
ffc08f18:	3b 18 df 09 	addi    r24,r24,-8439                          
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
ffc08f1c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08f20:	4e 80 04 21 	bctrl                                          
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
ffc08f24:	80 01 00 68 	lwz     r0,104(r1)                             
ffc08f28:	3c 80 ff c2 	lis     r4,-62                                 
ffc08f2c:	7f e3 fb 78 	mr      r3,r31                                 
ffc08f30:	7c 09 03 a6 	mtctr   r0                                     
ffc08f34:	38 84 de a6 	addi    r4,r4,-8538                            
      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,                                              
ffc08f38:	3b c0 03 e8 	li      r30,1000                               
    {                                                                 
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      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;       
ffc08f3c:	3b 21 00 60 	addi    r25,r1,96                              
                                                                      
      _Timespec_Divide_by_integer(total_wall, the_stats.count, &wall_average);
      (*print)( context,                                              
ffc08f40:	3b 5a df 28 	addi    r26,r26,-8408                          
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
ffc08f44:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08f48:	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 ;                   
ffc08f4c:	39 33 2c 00 	addi    r9,r19,11264                           
ffc08f50:	83 a9 00 08 	lwz     r29,8(r9)                              
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
ffc08f54:	3a 52 dd 96 	addi    r18,r18,-8810                          
                                                                      
  /*                                                                  
   * 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 ;                   
ffc08f58:	48 00 01 1c 	b       ffc09074 <rtems_rate_monotonic_report_statistics_with_plugin+0x208>
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
ffc08f5c:	7f a3 eb 78 	mr      r3,r29                                 
ffc08f60:	7e 84 a3 78 	mr      r4,r20                                 
ffc08f64:	48 00 5e 01 	bl      ffc0ed64 <rtems_rate_monotonic_get_statistics>
    if ( status != RTEMS_SUCCESSFUL )                                 
ffc08f68:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08f6c:	40 be 01 04 	bne+    cr7,ffc09070 <rtems_rate_monotonic_report_statistics_with_plugin+0x204>
    #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 );      
ffc08f70:	7e a4 ab 78 	mr      r4,r21                                 
ffc08f74:	7f a3 eb 78 	mr      r3,r29                                 
ffc08f78:	48 00 5e b9 	bl      ffc0ee30 <rtems_rate_monotonic_get_status>
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
ffc08f7c:	80 61 00 18 	lwz     r3,24(r1)                              
ffc08f80:	38 80 00 05 	li      r4,5                                   
ffc08f84:	7f 65 db 78 	mr      r5,r27                                 
ffc08f88:	48 00 02 a1 	bl      ffc09228 <rtems_object_get_name>       
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
ffc08f8c:	80 01 00 68 	lwz     r0,104(r1)                             
ffc08f90:	7e c4 b3 78 	mr      r4,r22                                 
ffc08f94:	80 e1 00 30 	lwz     r7,48(r1)                              
ffc08f98:	7f e3 fb 78 	mr      r3,r31                                 
ffc08f9c:	81 01 00 34 	lwz     r8,52(r1)                              
ffc08fa0:	7f a5 eb 78 	mr      r5,r29                                 
ffc08fa4:	7c 09 03 a6 	mtctr   r0                                     
ffc08fa8:	7f 66 db 78 	mr      r6,r27                                 
ffc08fac:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08fb0:	4e 80 04 21 	bctrl                                          
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
ffc08fb4:	80 81 00 30 	lwz     r4,48(r1)                              
ffc08fb8:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc08fbc:	40 9e 00 20 	bne-    cr7,ffc08fdc <rtems_rate_monotonic_report_statistics_with_plugin+0x170>
      (*print)( context, "\n" );                                      
ffc08fc0:	80 01 00 68 	lwz     r0,104(r1)                             
ffc08fc4:	7f e3 fb 78 	mr      r3,r31                                 
ffc08fc8:	7e 44 93 78 	mr      r4,r18                                 
ffc08fcc:	7c 09 03 a6 	mtctr   r0                                     
ffc08fd0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08fd4:	4e 80 04 21 	bctrl                                          
      continue;                                                       
ffc08fd8:	48 00 00 98 	b       ffc09070 <rtems_rate_monotonic_report_statistics_with_plugin+0x204>
      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 );
ffc08fdc:	7e e3 bb 78 	mr      r3,r23                                 
ffc08fe0:	7f 85 e3 78 	mr      r5,r28                                 
ffc08fe4:	48 00 3c 61 	bl      ffc0cc44 <_Timespec_Divide_by_integer> 
      (*print)( context,                                              
ffc08fe8:	80 01 00 68 	lwz     r0,104(r1)                             
ffc08fec:	80 c1 00 3c 	lwz     r6,60(r1)                              
ffc08ff0:	7f 04 c3 78 	mr      r4,r24                                 
ffc08ff4:	81 01 00 44 	lwz     r8,68(r1)                              
ffc08ff8:	7c 09 03 a6 	mtctr   r0                                     
ffc08ffc:	81 41 00 14 	lwz     r10,20(r1)                             
ffc09000:	7c c6 f3 d6 	divw    r6,r6,r30                              
ffc09004:	80 e1 00 40 	lwz     r7,64(r1)                              
ffc09008:	81 21 00 10 	lwz     r9,16(r1)                              
ffc0900c:	80 a1 00 38 	lwz     r5,56(r1)                              
ffc09010:	7d 08 f3 d6 	divw    r8,r8,r30                              
ffc09014:	7d 4a f3 d6 	divw    r10,r10,r30                            
ffc09018:	7f e3 fb 78 	mr      r3,r31                                 
ffc0901c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09020:	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);
ffc09024:	80 81 00 30 	lwz     r4,48(r1)                              
ffc09028:	7f 23 cb 78 	mr      r3,r25                                 
ffc0902c:	7f 85 e3 78 	mr      r5,r28                                 
ffc09030:	48 00 3c 15 	bl      ffc0cc44 <_Timespec_Divide_by_integer> 
      (*print)( context,                                              
ffc09034:	80 c1 00 54 	lwz     r6,84(r1)                              
ffc09038:	81 01 00 5c 	lwz     r8,92(r1)                              
ffc0903c:	7f e3 fb 78 	mr      r3,r31                                 
ffc09040:	81 41 00 14 	lwz     r10,20(r1)                             
ffc09044:	7f 44 d3 78 	mr      r4,r26                                 
ffc09048:	80 01 00 68 	lwz     r0,104(r1)                             
ffc0904c:	7c c6 f3 d6 	divw    r6,r6,r30                              
ffc09050:	80 a1 00 50 	lwz     r5,80(r1)                              
ffc09054:	80 e1 00 58 	lwz     r7,88(r1)                              
ffc09058:	7c 09 03 a6 	mtctr   r0                                     
ffc0905c:	81 21 00 10 	lwz     r9,16(r1)                              
ffc09060:	7d 08 f3 d6 	divw    r8,r8,r30                              
ffc09064:	7d 4a f3 d6 	divw    r10,r10,r30                            
ffc09068:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0906c:	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++ ) {                                                      
ffc09070:	3b bd 00 01 	addi    r29,r29,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 ;                
ffc09074:	39 33 2c 00 	addi    r9,r19,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 ;                   
ffc09078:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc0907c:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc09080:	40 9d fe dc 	ble+    cr7,ffc08f5c <rtems_rate_monotonic_report_statistics_with_plugin+0xf0>
        the_stats.min_wall_time, the_stats.max_wall_time, ival_wall, fval_wall
      );                                                              
    #endif                                                            
    }                                                                 
  }                                                                   
}                                                                     
ffc09084:	39 61 00 a8 	addi    r11,r1,168                             
ffc09088:	4b ff 81 10 	b       ffc01198 <_restgpr_18_x>               
                                                                      

ffc17d80 <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
ffc17d80:	7c 2b 0b 78 	mr      r11,r1                                 
ffc17d84:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc17d88:	7c 08 02 a6 	mflr    r0                                     
ffc17d8c:	48 01 90 6d 	bl      ffc30df8 <_savegpr_31>                 
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
ffc17d90:	7c 9f 23 79 	mr.     r31,r4                                 
                                                                      
rtems_status_code rtems_signal_send(                                  
  rtems_id          id,                                               
  rtems_signal_set  signal_set                                        
)                                                                     
{                                                                     
ffc17d94:	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;                                      
ffc17d98:	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 )                                                  
ffc17d9c:	41 82 00 bc 	beq-    ffc17e58 <rtems_signal_send+0xd8>      
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc17da0:	38 81 00 08 	addi    r4,r1,8                                
ffc17da4:	48 00 49 f9 	bl      ffc1c79c <_Thread_Get>                 
  switch ( location ) {                                               
ffc17da8:	80 01 00 08 	lwz     r0,8(r1)                               
ffc17dac:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc17db0:	40 9e 00 a4 	bne-    cr7,ffc17e54 <rtems_signal_send+0xd4>  
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
ffc17db4:	81 23 01 2c 	lwz     r9,300(r3)                             
      asr = &api->Signal;                                             
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
ffc17db8:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc17dbc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc17dc0:	41 9e 00 88 	beq-    cr7,ffc17e48 <rtems_signal_send+0xc8>  
        if ( asr->is_enabled ) {                                      
ffc17dc4:	88 09 00 08 	lbz     r0,8(r9)                               
ffc17dc8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc17dcc:	41 9e 00 50 	beq-    cr7,ffc17e1c <rtems_signal_send+0x9c>  
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc17dd0:	7c 00 00 a6 	mfmsr   r0                                     
ffc17dd4:	7d 70 42 a6 	mfsprg  r11,0                                  
ffc17dd8:	7c 0b 58 78 	andc    r11,r0,r11                             
ffc17ddc:	7d 60 01 24 	mtmsr   r11                                    
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
    *signal_set |= signals;                                           
ffc17de0:	81 69 00 14 	lwz     r11,20(r9)                             
ffc17de4:	7d 7f fb 78 	or      r31,r11,r31                            
ffc17de8:	93 e9 00 14 	stw     r31,20(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc17dec:	7c 00 01 24 	mtmsr   r0                                     
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
ffc17df0:	3d 20 00 00 	lis     r9,0                                   
ffc17df4:	39 29 71 d8 	addi    r9,r9,29144                            
ffc17df8:	80 09 00 08 	lwz     r0,8(r9)                               
ffc17dfc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc17e00:	41 9e 00 3c 	beq-    cr7,ffc17e3c <rtems_signal_send+0xbc>  
ffc17e04:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc17e08:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc17e0c:	40 be 00 30 	bne+    cr7,ffc17e3c <rtems_signal_send+0xbc>  <== NEVER TAKEN
            _Thread_Dispatch_necessary = true;                        
ffc17e10:	38 00 00 01 	li      r0,1                                   
ffc17e14:	98 09 00 18 	stb     r0,24(r9)                              
ffc17e18:	48 00 00 24 	b       ffc17e3c <rtems_signal_send+0xbc>      
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc17e1c:	7c 00 00 a6 	mfmsr   r0                                     
ffc17e20:	7d 70 42 a6 	mfsprg  r11,0                                  
ffc17e24:	7c 0b 58 78 	andc    r11,r0,r11                             
ffc17e28:	7d 60 01 24 	mtmsr   r11                                    
ffc17e2c:	81 69 00 18 	lwz     r11,24(r9)                             
ffc17e30:	7d 7f fb 78 	or      r31,r11,r31                            
ffc17e34:	93 e9 00 18 	stw     r31,24(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc17e38:	7c 00 01 24 	mtmsr   r0                                     
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
ffc17e3c:	48 00 49 41 	bl      ffc1c77c <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc17e40:	38 00 00 00 	li      r0,0                                   
ffc17e44:	48 00 00 14 	b       ffc17e58 <rtems_signal_send+0xd8>      
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc17e48:	48 00 49 35 	bl      ffc1c77c <_Thread_Enable_dispatch>     
      return RTEMS_NOT_DEFINED;                                       
ffc17e4c:	38 00 00 0b 	li      r0,11                                  
ffc17e50:	48 00 00 08 	b       ffc17e58 <rtems_signal_send+0xd8>      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc17e54:	38 00 00 04 	li      r0,4                                   
}                                                                     
ffc17e58:	39 61 00 20 	addi    r11,r1,32                              
ffc17e5c:	7c 03 03 78 	mr      r3,r0                                  
ffc17e60:	4b ff 65 44 	b       ffc0e3a4 <_restgpr_31_x>               
                                                                      

ffc03664 <rtems_stack_checker_begin_extension>: * rtems_stack_checker_Begin_extension */ void rtems_stack_checker_begin_extension( Thread_Control *the_thread ) {
ffc03664:	7c 08 02 a6 	mflr    r0                                     
ffc03668:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0366c:	90 01 00 0c 	stw     r0,12(r1)                              
  Stack_check_Control  *the_pattern;                                  
                                                                      
  if ( the_thread->Object.id == 0 )        /* skip system tasks */    
ffc03670:	80 03 00 08 	lwz     r0,8(r3)                               
ffc03674:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc03678:	41 9e 00 1c 	beq-    cr7,ffc03694 <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;                                 
ffc0367c:	80 63 00 b8 	lwz     r3,184(r3)                             
ffc03680:	3c 80 00 00 	lis     r4,0                                   
ffc03684:	38 84 2a c4 	addi    r4,r4,10948                            
ffc03688:	38 63 00 08 	addi    r3,r3,8                                
ffc0368c:	38 a0 00 80 	li      r5,128                                 
ffc03690:	48 00 c8 99 	bl      ffc0ff28 <memcpy>                      
}                                                                     
ffc03694:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc03698:	38 21 00 08 	addi    r1,r1,8                                
ffc0369c:	7c 08 03 a6 	mtlr    r0                                     
ffc036a0:	4e 80 00 20 	blr                                            
                                                                      

ffc03624 <rtems_stack_checker_create_extension>: */ bool rtems_stack_checker_create_extension( Thread_Control *running __attribute__((unused)), Thread_Control *the_thread ) {
ffc03624:	7c 2b 0b 78 	mr      r11,r1                                 
ffc03628:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0362c:	7c 08 02 a6 	mflr    r0                                     
ffc03630:	48 01 0b 45 	bl      ffc14174 <_savegpr_31>                 
ffc03634:	7c 9f 23 78 	mr      r31,r4                                 
ffc03638:	90 01 00 14 	stw     r0,20(r1)                              
  Stack_check_Initialize();                                           
ffc0363c:	4b ff ff 99 	bl      ffc035d4 <Stack_check_Initialize>      
                                                                      
  if (the_thread)                                                     
ffc03640:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc03644:	41 9e 00 14 	beq-    cr7,ffc03658 <rtems_stack_checker_create_extension+0x34><== NEVER TAKEN
    Stack_check_Dope_stack(&the_thread->Start.Initial_stack);         
ffc03648:	80 7f 00 b8 	lwz     r3,184(r31)                            
ffc0364c:	38 80 00 a5 	li      r4,165                                 
ffc03650:	80 bf 00 b4 	lwz     r5,180(r31)                            
ffc03654:	48 00 c9 b5 	bl      ffc10008 <memset>                      
                                                                      
  return true;                                                        
}                                                                     
ffc03658:	39 61 00 10 	addi    r11,r1,16                              
ffc0365c:	38 60 00 01 	li      r3,1                                   
ffc03660:	48 01 0b 60 	b       ffc141c0 <_restgpr_31_x>               
                                                                      

ffc037f0 <rtems_stack_checker_is_blown>: /* * Check if blown */ bool rtems_stack_checker_is_blown( void ) {
ffc037f0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc037f4:	7c 08 02 a6 	mflr    r0                                     
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
ffc037f8:	3d 20 00 00 	lis     r9,0                                   
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
ffc037fc:	90 01 00 14 	stw     r0,20(r1)                              
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
ffc03800:	81 29 2e 44 	lwz     r9,11844(r9)                           
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
ffc03804:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc03808:	7c 3f 0b 78 	mr      r31,r1                                 
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
      return false;                                                   
ffc0380c:	3b c0 00 00 	li      r30,0                                  
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
ffc03810:	80 69 00 b8 	lwz     r3,184(r9)                             
ffc03814:	7f 9f 18 40 	cmplw   cr7,r31,r3                             
ffc03818:	41 9c 00 18 	blt-    cr7,ffc03830 <rtems_stack_checker_is_blown+0x40><== NEVER TAKEN
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
ffc0381c:	83 c9 00 b4 	lwz     r30,180(r9)                            
ffc03820:	7f c3 f2 14 	add     r30,r3,r30                             
}                                                                     
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
ffc03824:	7f df f0 10 	subfc   r30,r31,r30                            
ffc03828:	3b c0 00 00 	li      r30,0                                  
ffc0382c:	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 ) {                                    
ffc03830:	3d 20 00 00 	lis     r9,0                                   
ffc03834:	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;                                   
ffc03838:	38 80 00 01 	li      r4,1                                   
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
ffc0383c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc03840:	41 9e 00 20 	beq-    cr7,ffc03860 <rtems_stack_checker_is_blown+0x70><== NEVER TAKEN
    pattern_ok = (!memcmp(                                            
ffc03844:	3c 80 00 00 	lis     r4,0                                   
ffc03848:	38 84 2a c4 	addi    r4,r4,10948                            
ffc0384c:	38 63 00 08 	addi    r3,r3,8                                
ffc03850:	38 a0 00 80 	li      r5,128                                 
ffc03854:	48 00 c6 3d 	bl      ffc0fe90 <memcmp>                      
ffc03858:	7c 64 00 34 	cntlzw  r4,r3                                  
ffc0385c:	54 84 d9 7e 	rlwinm  r4,r4,27,5,31                          
                                                                      
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
ffc03860:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc03864:	41 9e 00 0c 	beq-    cr7,ffc03870 <rtems_stack_checker_is_blown+0x80><== NEVER TAKEN
ffc03868:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0386c:	40 be 00 10 	bne+    cr7,ffc0387c <rtems_stack_checker_is_blown+0x8c><== ALWAYS TAKEN
    Stack_check_report_blown_task( _Thread_Executing, pattern_ok );   
ffc03870:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc03874:	80 69 2e 44 	lwz     r3,11844(r9)                           <== NOT EXECUTED
ffc03878:	4b ff fe 2d 	bl      ffc036a4 <Stack_check_report_blown_task><== NOT EXECUTED
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  return false;                                                       
}                                                                     
ffc0387c:	39 7f 00 10 	addi    r11,r31,16                             
ffc03880:	38 60 00 00 	li      r3,0                                   
ffc03884:	48 01 09 38 	b       ffc141bc <_restgpr_30_x>               
                                                                      

ffc03888 <rtems_stack_checker_report_usage_with_plugin>: void rtems_stack_checker_report_usage_with_plugin( void *context, rtems_printk_plugin_t print ) {
ffc03888:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0388c:	7c 08 02 a6 	mflr    r0                                     
ffc03890:	bf 81 00 08 	stmw    r28,8(r1)                              
  if ( !print )                                                       
ffc03894:	7c 9e 23 79 	mr.     r30,r4                                 
                                                                      
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
ffc03898:	7c 7c 1b 78 	mr      r28,r3                                 
ffc0389c:	90 01 00 1c 	stw     r0,28(r1)                              
  if ( !print )                                                       
ffc038a0:	41 82 00 58 	beq-    ffc038f8 <rtems_stack_checker_report_usage_with_plugin+0x70><== NEVER TAKEN
    return;                                                           
                                                                      
  print_context = context;                                            
ffc038a4:	3f e0 00 00 	lis     r31,0                                  
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
ffc038a8:	7f c9 03 a6 	mtctr   r30                                    
)                                                                     
{                                                                     
  if ( !print )                                                       
    return;                                                           
                                                                      
  print_context = context;                                            
ffc038ac:	3b bf 28 50 	addi    r29,r31,10320                          
  print_handler = print;                                              
ffc038b0:	93 df 28 50 	stw     r30,10320(r31)                         
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
ffc038b4:	3c 80 ff c1 	lis     r4,-63                                 
ffc038b8:	38 84 5e 0a 	addi    r4,r4,24074                            
)                                                                     
{                                                                     
  if ( !print )                                                       
    return;                                                           
                                                                      
  print_context = context;                                            
ffc038bc:	90 7d 00 04 	stw     r3,4(r29)                              
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
ffc038c0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc038c4:	4e 80 04 21 	bctrl                                          
  (*print)( context,                                                  
ffc038c8:	3c 80 ff c1 	lis     r4,-63                                 
ffc038cc:	38 84 5e 21 	addi    r4,r4,24097                            
ffc038d0:	7f c9 03 a6 	mtctr   r30                                    
ffc038d4:	7f 83 e3 78 	mr      r3,r28                                 
ffc038d8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc038dc:	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 );   
ffc038e0:	3c 60 ff c0 	lis     r3,-64                                 
ffc038e4:	38 63 34 94 	addi    r3,r3,13460                            
ffc038e8:	48 00 56 01 	bl      ffc08ee8 <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;                                               
ffc038ec:	38 00 00 00 	li      r0,0                                   
ffc038f0:	90 1d 00 04 	stw     r0,4(r29)                              
  print_handler = NULL;                                               
ffc038f4:	90 1f 28 50 	stw     r0,10320(r31)                          
}                                                                     
ffc038f8:	39 61 00 18 	addi    r11,r1,24                              
ffc038fc:	48 01 08 b8 	b       ffc141b4 <_restgpr_28_x>               
                                                                      

ffc03778 <rtems_stack_checker_switch_extension>: */ void rtems_stack_checker_switch_extension( Thread_Control *running __attribute__((unused)), Thread_Control *heir __attribute__((unused)) ) {
ffc03778:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0377c:	7c 08 02 a6 	mflr    r0                                     
ffc03780:	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);                  
ffc03784:	81 23 00 b8 	lwz     r9,184(r3)                             
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
ffc03788:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc0378c:	7c 3f 0b 78 	mr      r31,r1                                 
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
ffc03790:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
ffc03794:	7c 7e 1b 78 	mr      r30,r3                                 
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
      return false;                                                   
ffc03798:	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);                  
ffc0379c:	38 69 00 08 	addi    r3,r9,8                                
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
ffc037a0:	41 9c 00 18 	blt-    cr7,ffc037b8 <rtems_stack_checker_switch_extension+0x40><== NEVER TAKEN
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
ffc037a4:	83 be 00 b4 	lwz     r29,180(r30)                           
ffc037a8:	7f a9 ea 14 	add     r29,r9,r29                             
}                                                                     
                                                                      
/*                                                                    
 *  rtems_stack_checker_switch_extension                              
 */                                                                   
void rtems_stack_checker_switch_extension(                            
ffc037ac:	7f bf e8 10 	subfc   r29,r31,r29                            
ffc037b0:	3b a0 00 00 	li      r29,0                                  
ffc037b4:	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,                                     
ffc037b8:	3c 80 00 00 	lis     r4,0                                   
ffc037bc:	38 84 2a c4 	addi    r4,r4,10948                            
ffc037c0:	38 a0 00 80 	li      r5,128                                 
ffc037c4:	48 00 c6 cd 	bl      ffc0fe90 <memcmp>                      
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
ffc037c8:	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,                                     
ffc037cc:	7c 64 00 34 	cntlzw  r4,r3                                  
ffc037d0:	54 84 d9 7e 	rlwinm  r4,r4,27,5,31                          
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
ffc037d4:	41 9e 00 0c 	beq-    cr7,ffc037e0 <rtems_stack_checker_switch_extension+0x68><== NEVER TAKEN
ffc037d8:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc037dc:	40 be 00 0c 	bne+    cr7,ffc037e8 <rtems_stack_checker_switch_extension+0x70>
    Stack_check_report_blown_task( running, pattern_ok );             
ffc037e0:	7f c3 f3 78 	mr      r3,r30                                 
ffc037e4:	4b ff fe c1 	bl      ffc036a4 <Stack_check_report_blown_task>
  }                                                                   
}                                                                     
ffc037e8:	39 7f 00 18 	addi    r11,r31,24                             
ffc037ec:	48 01 09 cc 	b       ffc141b8 <_restgpr_29_x>               
                                                                      

ffc0dcc0 <rtems_string_to_double>: rtems_status_code rtems_string_to_double ( const char *s, double *n, char **endptr ) {
ffc0dcc0:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0dcc4:	7c 08 02 a6 	mflr    r0                                     
ffc0dcc8:	bf a1 00 1c 	stmw    r29,28(r1)                             
  double result;                                                      
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0dccc:	7c 9e 23 79 	mr.     r30,r4                                 
rtems_status_code rtems_string_to_double (                            
  const char *s,                                                      
  double *n,                                                          
  char **endptr                                                       
)                                                                     
{                                                                     
ffc0dcd0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0dcd4:	90 01 00 34 	stw     r0,52(r1)                              
ffc0dcd8:	7c bd 2b 78 	mr      r29,r5                                 
  double result;                                                      
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc0dcdc:	38 60 00 09 	li      r3,9                                   
rtems_status_code rtems_string_to_double (                            
  const char *s,                                                      
  double *n,                                                          
  char **endptr                                                       
)                                                                     
{                                                                     
ffc0dce0:	db e1 00 28 	stfd    f31,40(r1)                             
  double result;                                                      
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0dce4:	41 82 00 98 	beq-    ffc0dd7c <rtems_string_to_double+0xbc> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0dce8:	48 00 26 d9 	bl      ffc103c0 <__errno>                     
  *n = 0;                                                             
ffc0dcec:	3d 20 ff c2 	lis     r9,-62                                 
ffc0dcf0:	c8 09 de a8 	lfd     f0,-8536(r9)                           
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0dcf4:	38 00 00 00 	li      r0,0                                   
ffc0dcf8:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtod( s, &end );                                         
ffc0dcfc:	38 81 00 08 	addi    r4,r1,8                                
ffc0dd00:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc0dd04:	d8 1e 00 00 	stfd    f0,0(r30)                              
                                                                      
  result = strtod( s, &end );                                         
ffc0dd08:	48 00 54 09 	bl      ffc13110 <strtod>                      
                                                                      
  if ( endptr )                                                       
ffc0dd0c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtod( s, &end );                                         
ffc0dd10:	ff e0 08 90 	fmr     f31,f1                                 
                                                                      
  if ( endptr )                                                       
ffc0dd14:	41 9e 00 0c 	beq-    cr7,ffc0dd20 <rtems_string_to_double+0x60>
    *endptr = end;                                                    
ffc0dd18:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0dd1c:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  if ( end == s )                                                     
ffc0dd20:	80 01 00 08 	lwz     r0,8(r1)                               
    return RTEMS_NOT_DEFINED;                                         
ffc0dd24:	38 60 00 0b 	li      r3,11                                  
  result = strtod( s, &end );                                         
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc0dd28:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0dd2c:	41 9e 00 50 	beq-    cr7,ffc0dd7c <rtems_string_to_double+0xbc>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0dd30:	48 00 26 91 	bl      ffc103c0 <__errno>                     
ffc0dd34:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0dd38:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc0dd3c:	40 be 00 38 	bne+    cr7,ffc0dd74 <rtems_string_to_double+0xb4>
ffc0dd40:	3d 20 ff c2 	lis     r9,-62                                 
ffc0dd44:	c8 09 de a8 	lfd     f0,-8536(r9)                           
    (( result == 0 ) || ( result == HUGE_VAL ) || ( result == -HUGE_VAL )))
      return RTEMS_INVALID_NUMBER;                                    
ffc0dd48:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0dd4c:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc0dd50:	41 9e 00 2c 	beq-    cr7,ffc0dd7c <rtems_string_to_double+0xbc><== NEVER TAKEN
    (( result == 0 ) || ( result == HUGE_VAL ) || ( result == -HUGE_VAL )))
ffc0dd54:	3d 20 ff c2 	lis     r9,-62                                 
ffc0dd58:	c8 09 03 28 	lfd     f0,808(r9)                             
ffc0dd5c:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc0dd60:	41 9d 00 1c 	bgt-    cr7,ffc0dd7c <rtems_string_to_double+0xbc><== ALWAYS TAKEN
ffc0dd64:	3d 20 ff c2 	lis     r9,-62                                 <== NOT EXECUTED
ffc0dd68:	c8 09 03 30 	lfd     f0,816(r9)                             <== NOT EXECUTED
ffc0dd6c:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             <== NOT EXECUTED
ffc0dd70:	41 9c 00 0c 	blt-    cr7,ffc0dd7c <rtems_string_to_double+0xbc><== NOT EXECUTED
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc0dd74:	db fe 00 00 	stfd    f31,0(r30)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0dd78:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0dd7c:	80 01 00 34 	lwz     r0,52(r1)                              
ffc0dd80:	bb a1 00 1c 	lmw     r29,28(r1)                             
ffc0dd84:	7c 08 03 a6 	mtlr    r0                                     
ffc0dd88:	cb e1 00 28 	lfd     f31,40(r1)                             
ffc0dd8c:	38 21 00 30 	addi    r1,r1,48                               
ffc0dd90:	4e 80 00 20 	blr                                            
                                                                      

ffc0dd94 <rtems_string_to_float>: rtems_status_code rtems_string_to_float ( const char *s, float *n, char **endptr ) {
ffc0dd94:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0dd98:	7c 08 02 a6 	mflr    r0                                     
ffc0dd9c:	bf a1 00 1c 	stmw    r29,28(r1)                             
  float result;                                                       
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0dda0:	7c 9e 23 79 	mr.     r30,r4                                 
rtems_status_code rtems_string_to_float (                             
  const char *s,                                                      
  float *n,                                                           
  char **endptr                                                       
)                                                                     
{                                                                     
ffc0dda4:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0dda8:	90 01 00 34 	stw     r0,52(r1)                              
ffc0ddac:	7c bd 2b 78 	mr      r29,r5                                 
  float result;                                                       
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc0ddb0:	38 60 00 09 	li      r3,9                                   
rtems_status_code rtems_string_to_float (                             
  const char *s,                                                      
  float *n,                                                           
  char **endptr                                                       
)                                                                     
{                                                                     
ffc0ddb4:	db e1 00 28 	stfd    f31,40(r1)                             
  float result;                                                       
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0ddb8:	41 82 00 94 	beq-    ffc0de4c <rtems_string_to_float+0xb8>  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0ddbc:	48 00 26 05 	bl      ffc103c0 <__errno>                     
ffc0ddc0:	38 00 00 00 	li      r0,0                                   
ffc0ddc4:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
ffc0ddc8:	38 00 00 00 	li      r0,0                                   
                                                                      
  result = strtof( s, &end );                                         
ffc0ddcc:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc0ddd0:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  result = strtof( s, &end );                                         
ffc0ddd4:	38 81 00 08 	addi    r4,r1,8                                
ffc0ddd8:	48 00 53 51 	bl      ffc13128 <strtof>                      
                                                                      
  if ( endptr )                                                       
ffc0dddc:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtof( s, &end );                                         
ffc0dde0:	ff e0 08 90 	fmr     f31,f1                                 
                                                                      
  if ( endptr )                                                       
ffc0dde4:	41 9e 00 0c 	beq-    cr7,ffc0ddf0 <rtems_string_to_float+0x5c>
    *endptr = end;                                                    
ffc0dde8:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0ddec:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  if ( end == s )                                                     
ffc0ddf0:	80 01 00 08 	lwz     r0,8(r1)                               
    return RTEMS_NOT_DEFINED;                                         
ffc0ddf4:	38 60 00 0b 	li      r3,11                                  
  result = strtof( s, &end );                                         
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc0ddf8:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0ddfc:	41 9e 00 50 	beq-    cr7,ffc0de4c <rtems_string_to_float+0xb8>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0de00:	48 00 25 c1 	bl      ffc103c0 <__errno>                     
ffc0de04:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0de08:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc0de0c:	40 be 00 38 	bne+    cr7,ffc0de44 <rtems_string_to_float+0xb0>
ffc0de10:	3d 20 ff c2 	lis     r9,-62                                 
ffc0de14:	c0 09 de 9c 	lfs     f0,-8548(r9)                           
    (( result == 0 ) || ( result == HUGE_VALF ) || ( result == -HUGE_VALF )))
      return RTEMS_INVALID_NUMBER;                                    
ffc0de18:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0de1c:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc0de20:	41 9e 00 2c 	beq-    cr7,ffc0de4c <rtems_string_to_float+0xb8><== NEVER TAKEN
    (( result == 0 ) || ( result == HUGE_VALF ) || ( result == -HUGE_VALF )))
ffc0de24:	3d 20 ff c2 	lis     r9,-62                                 
ffc0de28:	c0 09 03 38 	lfs     f0,824(r9)                             
ffc0de2c:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc0de30:	41 9d 00 1c 	bgt-    cr7,ffc0de4c <rtems_string_to_float+0xb8><== ALWAYS TAKEN
ffc0de34:	3d 20 ff c2 	lis     r9,-62                                 <== NOT EXECUTED
ffc0de38:	c0 09 03 3c 	lfs     f0,828(r9)                             <== NOT EXECUTED
ffc0de3c:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             <== NOT EXECUTED
ffc0de40:	41 9c 00 0c 	blt-    cr7,ffc0de4c <rtems_string_to_float+0xb8><== NOT EXECUTED
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc0de44:	d3 fe 00 00 	stfs    f31,0(r30)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0de48:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0de4c:	80 01 00 34 	lwz     r0,52(r1)                              
ffc0de50:	bb a1 00 1c 	lmw     r29,28(r1)                             
ffc0de54:	7c 08 03 a6 	mtlr    r0                                     
ffc0de58:	cb e1 00 28 	lfd     f31,40(r1)                             
ffc0de5c:	38 21 00 30 	addi    r1,r1,48                               
ffc0de60:	4e 80 00 20 	blr                                            
                                                                      

ffc0de64 <rtems_string_to_int>: const char *s, int *n, char **endptr, int base ) {
ffc0de64:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0de68:	7c 08 02 a6 	mflr    r0                                     
ffc0de6c:	bf 81 00 18 	stmw    r28,24(r1)                             
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0de70:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  int *n,                                                             
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc0de74:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0de78:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0de7c:	7c be 2b 78 	mr      r30,r5                                 
ffc0de80:	7c dc 33 78 	mr      r28,r6                                 
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc0de84:	38 00 00 09 	li      r0,9                                   
)                                                                     
{                                                                     
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0de88:	41 82 00 84 	beq-    ffc0df0c <rtems_string_to_int+0xa8>    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0de8c:	48 00 25 35 	bl      ffc103c0 <__errno>                     
ffc0de90:	38 00 00 00 	li      r0,0                                   
ffc0de94:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
ffc0de98:	7f 85 e3 78 	mr      r5,r28                                 
ffc0de9c:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc0dea0:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  result = strtol( s, &end, base );                                   
ffc0dea4:	38 81 00 08 	addi    r4,r1,8                                
ffc0dea8:	48 00 54 f9 	bl      ffc133a0 <strtol>                      
                                                                      
  if ( endptr )                                                       
ffc0deac:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
ffc0deb0:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  if ( endptr )                                                       
ffc0deb4:	41 9e 00 0c 	beq-    cr7,ffc0dec0 <rtems_string_to_int+0x5c>
    *endptr = end;                                                    
ffc0deb8:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0debc:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc0dec0:	81 21 00 08 	lwz     r9,8(r1)                               
    return RTEMS_NOT_DEFINED;                                         
ffc0dec4:	38 00 00 0b 	li      r0,11                                  
  result = strtol( s, &end, base );                                   
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc0dec8:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc0decc:	41 9e 00 40 	beq-    cr7,ffc0df0c <rtems_string_to_int+0xa8>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0ded0:	48 00 24 f1 	bl      ffc103c0 <__errno>                     
ffc0ded4:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0ded8:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc0dedc:	40 be 00 28 	bne+    cr7,ffc0df04 <rtems_string_to_int+0xa0>
ffc0dee0:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
ffc0dee4:	38 00 00 0a 	li      r0,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0dee8:	41 9e 00 24 	beq-    cr7,ffc0df0c <rtems_string_to_int+0xa8><== NEVER TAKEN
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
ffc0deec:	6f 89 80 00 	xoris   r9,r28,32768                           
ffc0def0:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc0def4:	41 9e 00 18 	beq-    cr7,ffc0df0c <rtems_string_to_int+0xa8><== ALWAYS TAKEN
ffc0def8:	3d 20 80 00 	lis     r9,-32768                              <== NOT EXECUTED
ffc0defc:	7f 9c 48 00 	cmpw    cr7,r28,r9                             <== NOT EXECUTED
ffc0df00:	41 9e 00 0c 	beq-    cr7,ffc0df0c <rtems_string_to_int+0xa8><== NOT EXECUTED
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
ffc0df04:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0df08:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc0df0c:	39 61 00 28 	addi    r11,r1,40                              
ffc0df10:	7c 03 03 78 	mr      r3,r0                                  
ffc0df14:	4b ff 4f bc 	b       ffc02ed0 <_restgpr_28_x>               
                                                                      

ffc0dff0 <rtems_string_to_long>: const char *s, long *n, char **endptr, int base ) {
ffc0dff0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0dff4:	7c 08 02 a6 	mflr    r0                                     
ffc0dff8:	bf 81 00 18 	stmw    r28,24(r1)                             
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0dffc:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  long *n,                                                            
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc0e000:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e004:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0e008:	7c be 2b 78 	mr      r30,r5                                 
ffc0e00c:	7c dc 33 78 	mr      r28,r6                                 
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc0e010:	38 00 00 09 	li      r0,9                                   
)                                                                     
{                                                                     
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e014:	41 82 00 84 	beq-    ffc0e098 <rtems_string_to_long+0xa8>   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0e018:	48 00 23 a9 	bl      ffc103c0 <__errno>                     
ffc0e01c:	38 00 00 00 	li      r0,0                                   
ffc0e020:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
ffc0e024:	7f 85 e3 78 	mr      r5,r28                                 
ffc0e028:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc0e02c:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  result = strtol( s, &end, base );                                   
ffc0e030:	38 81 00 08 	addi    r4,r1,8                                
ffc0e034:	48 00 53 6d 	bl      ffc133a0 <strtol>                      
                                                                      
  if ( endptr )                                                       
ffc0e038:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
ffc0e03c:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  if ( endptr )                                                       
ffc0e040:	41 9e 00 0c 	beq-    cr7,ffc0e04c <rtems_string_to_long+0x5c>
    *endptr = end;                                                    
ffc0e044:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0e048:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc0e04c:	81 21 00 08 	lwz     r9,8(r1)                               
    return RTEMS_NOT_DEFINED;                                         
ffc0e050:	38 00 00 0b 	li      r0,11                                  
  result = strtol( s, &end, base );                                   
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc0e054:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc0e058:	41 9e 00 40 	beq-    cr7,ffc0e098 <rtems_string_to_long+0xa8>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e05c:	48 00 23 65 	bl      ffc103c0 <__errno>                     
ffc0e060:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0e064:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc0e068:	40 be 00 28 	bne+    cr7,ffc0e090 <rtems_string_to_long+0xa0>
ffc0e06c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
ffc0e070:	38 00 00 0a 	li      r0,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e074:	41 9e 00 24 	beq-    cr7,ffc0e098 <rtems_string_to_long+0xa8><== NEVER TAKEN
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
ffc0e078:	6f 89 80 00 	xoris   r9,r28,32768                           
ffc0e07c:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc0e080:	41 9e 00 18 	beq-    cr7,ffc0e098 <rtems_string_to_long+0xa8>
ffc0e084:	3d 20 80 00 	lis     r9,-32768                              
ffc0e088:	7f 9c 48 00 	cmpw    cr7,r28,r9                             
ffc0e08c:	41 9e 00 0c 	beq-    cr7,ffc0e098 <rtems_string_to_long+0xa8><== ALWAYS TAKEN
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc0e090:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0e094:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc0e098:	39 61 00 28 	addi    r11,r1,40                              
ffc0e09c:	7c 03 03 78 	mr      r3,r0                                  
ffc0e0a0:	4b ff 4e 30 	b       ffc02ed0 <_restgpr_28_x>               
                                                                      

ffc0df18 <rtems_string_to_long_long>: const char *s, long long *n, char **endptr, int base ) {
ffc0df18:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0df1c:	7c 08 02 a6 	mflr    r0                                     
ffc0df20:	bf 61 00 1c 	stmw    r27,28(r1)                             
  long long result;                                                   
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0df24:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  long long *n,                                                       
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc0df28:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0df2c:	90 01 00 34 	stw     r0,52(r1)                              
ffc0df30:	7c be 2b 78 	mr      r30,r5                                 
ffc0df34:	7c dc 33 78 	mr      r28,r6                                 
  long long result;                                                   
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc0df38:	38 60 00 09 	li      r3,9                                   
)                                                                     
{                                                                     
  long long result;                                                   
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0df3c:	41 82 00 ac 	beq-    ffc0dfe8 <rtems_string_to_long_long+0xd0>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0df40:	48 00 24 81 	bl      ffc103c0 <__errno>                     
ffc0df44:	38 00 00 00 	li      r0,0                                   
  *n = 0;                                                             
ffc0df48:	39 20 00 00 	li      r9,0                                   
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0df4c:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
ffc0df50:	39 40 00 00 	li      r10,0                                  
ffc0df54:	91 3d 00 00 	stw     r9,0(r29)                              
                                                                      
  result = strtoll( s, &end, base );                                  
ffc0df58:	7f 85 e3 78 	mr      r5,r28                                 
ffc0df5c:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc0df60:	91 5d 00 04 	stw     r10,4(r29)                             
                                                                      
  result = strtoll( s, &end, base );                                  
ffc0df64:	38 81 00 08 	addi    r4,r1,8                                
ffc0df68:	48 00 54 59 	bl      ffc133c0 <strtoll>                     
                                                                      
  if ( endptr )                                                       
ffc0df6c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoll( s, &end, base );                                  
ffc0df70:	7c 7c 1b 78 	mr      r28,r3                                 
ffc0df74:	7c 9b 23 78 	mr      r27,r4                                 
                                                                      
  if ( endptr )                                                       
ffc0df78:	41 9e 00 0c 	beq-    cr7,ffc0df84 <rtems_string_to_long_long+0x6c>
    *endptr = end;                                                    
ffc0df7c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0df80:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc0df84:	80 01 00 08 	lwz     r0,8(r1)                               
    return RTEMS_NOT_DEFINED;                                         
ffc0df88:	38 60 00 0b 	li      r3,11                                  
  result = strtoll( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc0df8c:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0df90:	41 9e 00 58 	beq-    cr7,ffc0dfe8 <rtems_string_to_long_long+0xd0>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0df94:	48 00 24 2d 	bl      ffc103c0 <__errno>                     
ffc0df98:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0df9c:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc0dfa0:	40 be 00 3c 	bne+    cr7,ffc0dfdc <rtems_string_to_long_long+0xc4>
ffc0dfa4:	7f 80 db 79 	or.     r0,r28,r27                             
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
ffc0dfa8:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0dfac:	41 82 00 3c 	beq-    ffc0dfe8 <rtems_string_to_long_long+0xd0><== NEVER TAKEN
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
ffc0dfb0:	6f 80 80 00 	xoris   r0,r28,32768                           
ffc0dfb4:	2f 80 ff ff 	cmpwi   cr7,r0,-1                              
ffc0dfb8:	40 9e 00 0c 	bne-    cr7,ffc0dfc4 <rtems_string_to_long_long+0xac>
ffc0dfbc:	2f 9b ff ff 	cmpwi   cr7,r27,-1                             
ffc0dfc0:	41 9e 00 28 	beq-    cr7,ffc0dfe8 <rtems_string_to_long_long+0xd0><== ALWAYS TAKEN
ffc0dfc4:	3c 00 80 00 	lis     r0,-32768                              
ffc0dfc8:	7f 9c 00 00 	cmpw    cr7,r28,r0                             
ffc0dfcc:	40 be 00 10 	bne+    cr7,ffc0dfdc <rtems_string_to_long_long+0xc4><== NEVER TAKEN
ffc0dfd0:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
      return RTEMS_INVALID_NUMBER;                                    
ffc0dfd4:	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 )))
ffc0dfd8:	41 9e 00 10 	beq-    cr7,ffc0dfe8 <rtems_string_to_long_long+0xd0><== ALWAYS TAKEN
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc0dfdc:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0dfe0:	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;                                                        
ffc0dfe4:	93 7d 00 04 	stw     r27,4(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0dfe8:	39 61 00 30 	addi    r11,r1,48                              
ffc0dfec:	4b ff 4e e0 	b       ffc02ecc <_restgpr_27_x>               
                                                                      

ffc0e0c8 <rtems_string_to_unsigned_char>: const char *s, unsigned char *n, char **endptr, int base ) {
ffc0e0c8:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0e0cc:	7c 08 02 a6 	mflr    r0                                     
ffc0e0d0:	bf 81 00 18 	stmw    r28,24(r1)                             
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e0d4:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  unsigned char *n,                                                   
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc0e0d8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e0dc:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0e0e0:	7c be 2b 78 	mr      r30,r5                                 
ffc0e0e4:	7c dc 33 78 	mr      r28,r6                                 
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc0e0e8:	38 00 00 09 	li      r0,9                                   
)                                                                     
{                                                                     
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e0ec:	41 82 00 90 	beq-    ffc0e17c <rtems_string_to_unsigned_char+0xb4>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0e0f0:	48 00 22 d1 	bl      ffc103c0 <__errno>                     
ffc0e0f4:	38 00 00 00 	li      r0,0                                   
ffc0e0f8:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e0fc:	7f 85 e3 78 	mr      r5,r28                                 
ffc0e100:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc0e104:	98 1d 00 00 	stb     r0,0(r29)                              
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e108:	38 81 00 08 	addi    r4,r1,8                                
ffc0e10c:	48 00 58 15 	bl      ffc13920 <strtoul>                     
                                                                      
  if ( endptr )                                                       
ffc0e110:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e114:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  if ( endptr )                                                       
ffc0e118:	41 9e 00 0c 	beq-    cr7,ffc0e124 <rtems_string_to_unsigned_char+0x5c>
    *endptr = end;                                                    
ffc0e11c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0e120:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc0e124:	81 21 00 08 	lwz     r9,8(r1)                               
    return RTEMS_NOT_DEFINED;                                         
ffc0e128:	38 00 00 0b 	li      r0,11                                  
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc0e12c:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc0e130:	41 9e 00 4c 	beq-    cr7,ffc0e17c <rtems_string_to_unsigned_char+0xb4>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e134:	48 00 22 8d 	bl      ffc103c0 <__errno>                     
ffc0e138:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0e13c:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc0e140:	40 be 00 18 	bne+    cr7,ffc0e158 <rtems_string_to_unsigned_char+0x90><== ALWAYS TAKEN
    (( result == 0 ) || ( result == ULONG_MAX )))                     
ffc0e144:	39 7c ff ff 	addi    r11,r28,-1                             <== NOT EXECUTED
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e148:	39 20 ff fd 	li      r9,-3                                  <== NOT EXECUTED
ffc0e14c:	7f 8b 48 40 	cmplw   cr7,r11,r9                             <== NOT EXECUTED
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
ffc0e150:	38 00 00 0a 	li      r0,10                                  <== NOT EXECUTED
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e154:	41 9d 00 28 	bgt-    cr7,ffc0e17c <rtems_string_to_unsigned_char+0xb4><== NOT EXECUTED
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
ffc0e158:	2b 9c 00 ff 	cmplwi  cr7,r28,255                            
ffc0e15c:	40 9d 00 18 	ble-    cr7,ffc0e174 <rtems_string_to_unsigned_char+0xac><== ALWAYS TAKEN
    errno = ERANGE;                                                   
ffc0e160:	48 00 22 61 	bl      ffc103c0 <__errno>                     <== NOT EXECUTED
ffc0e164:	38 00 00 22 	li      r0,34                                  <== NOT EXECUTED
ffc0e168:	90 03 00 00 	stw     r0,0(r3)                               <== NOT EXECUTED
    return RTEMS_INVALID_NUMBER;                                      
ffc0e16c:	38 00 00 0a 	li      r0,10                                  <== NOT EXECUTED
ffc0e170:	48 00 00 0c 	b       ffc0e17c <rtems_string_to_unsigned_char+0xb4><== NOT EXECUTED
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
ffc0e174:	9b 9d 00 00 	stb     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0e178:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc0e17c:	39 61 00 28 	addi    r11,r1,40                              
ffc0e180:	7c 03 03 78 	mr      r3,r0                                  
ffc0e184:	4b ff 4d 4c 	b       ffc02ed0 <_restgpr_28_x>               
                                                                      

ffc0e188 <rtems_string_to_unsigned_int>: const char *s, unsigned int *n, char **endptr, int base ) {
ffc0e188:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0e18c:	7c 08 02 a6 	mflr    r0                                     
ffc0e190:	bf 81 00 18 	stmw    r28,24(r1)                             
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e194:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  unsigned int *n,                                                    
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc0e198:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e19c:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0e1a0:	7c be 2b 78 	mr      r30,r5                                 
ffc0e1a4:	7c dc 33 78 	mr      r28,r6                                 
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc0e1a8:	38 00 00 09 	li      r0,9                                   
)                                                                     
{                                                                     
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e1ac:	41 82 00 74 	beq-    ffc0e220 <rtems_string_to_unsigned_int+0x98>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0e1b0:	48 00 22 11 	bl      ffc103c0 <__errno>                     
ffc0e1b4:	38 00 00 00 	li      r0,0                                   
ffc0e1b8:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e1bc:	7f 85 e3 78 	mr      r5,r28                                 
ffc0e1c0:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc0e1c4:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e1c8:	38 81 00 08 	addi    r4,r1,8                                
ffc0e1cc:	48 00 57 55 	bl      ffc13920 <strtoul>                     
                                                                      
  if ( endptr )                                                       
ffc0e1d0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e1d4:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  if ( endptr )                                                       
ffc0e1d8:	41 9e 00 0c 	beq-    cr7,ffc0e1e4 <rtems_string_to_unsigned_int+0x5c>
    *endptr = end;                                                    
ffc0e1dc:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0e1e0:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc0e1e4:	81 21 00 08 	lwz     r9,8(r1)                               
    return RTEMS_NOT_DEFINED;                                         
ffc0e1e8:	38 00 00 0b 	li      r0,11                                  
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc0e1ec:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc0e1f0:	41 9e 00 30 	beq-    cr7,ffc0e220 <rtems_string_to_unsigned_int+0x98>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e1f4:	48 00 21 cd 	bl      ffc103c0 <__errno>                     
ffc0e1f8:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0e1fc:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc0e200:	40 be 00 18 	bne+    cr7,ffc0e218 <rtems_string_to_unsigned_int+0x90>
    (( result == 0 ) || ( result == ULONG_MAX )))                     
ffc0e204:	39 7c ff ff 	addi    r11,r28,-1                             
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e208:	39 20 ff fd 	li      r9,-3                                  
ffc0e20c:	7f 8b 48 40 	cmplw   cr7,r11,r9                             
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
ffc0e210:	38 00 00 0a 	li      r0,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e214:	41 9d 00 0c 	bgt-    cr7,ffc0e220 <rtems_string_to_unsigned_int+0x98><== ALWAYS TAKEN
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
ffc0e218:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0e21c:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc0e220:	39 61 00 28 	addi    r11,r1,40                              
ffc0e224:	7c 03 03 78 	mr      r3,r0                                  
ffc0e228:	4b ff 4c a8 	b       ffc02ed0 <_restgpr_28_x>               
                                                                      

ffc0e2ec <rtems_string_to_unsigned_long>: const char *s, unsigned long *n, char **endptr, int base ) {
ffc0e2ec:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0e2f0:	7c 08 02 a6 	mflr    r0                                     
ffc0e2f4:	bf 81 00 18 	stmw    r28,24(r1)                             
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e2f8:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  unsigned long *n,                                                   
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc0e2fc:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e300:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0e304:	7c be 2b 78 	mr      r30,r5                                 
ffc0e308:	7c dc 33 78 	mr      r28,r6                                 
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc0e30c:	38 00 00 09 	li      r0,9                                   
)                                                                     
{                                                                     
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e310:	41 82 00 74 	beq-    ffc0e384 <rtems_string_to_unsigned_long+0x98>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0e314:	48 00 20 ad 	bl      ffc103c0 <__errno>                     
ffc0e318:	38 00 00 00 	li      r0,0                                   
ffc0e31c:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e320:	7f 85 e3 78 	mr      r5,r28                                 
ffc0e324:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc0e328:	90 1d 00 00 	stw     r0,0(r29)                              
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e32c:	38 81 00 08 	addi    r4,r1,8                                
ffc0e330:	48 00 55 f1 	bl      ffc13920 <strtoul>                     
                                                                      
  if ( endptr )                                                       
ffc0e334:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e338:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  if ( endptr )                                                       
ffc0e33c:	41 9e 00 0c 	beq-    cr7,ffc0e348 <rtems_string_to_unsigned_long+0x5c>
    *endptr = end;                                                    
ffc0e340:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0e344:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc0e348:	81 21 00 08 	lwz     r9,8(r1)                               
    return RTEMS_NOT_DEFINED;                                         
ffc0e34c:	38 00 00 0b 	li      r0,11                                  
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc0e350:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc0e354:	41 9e 00 30 	beq-    cr7,ffc0e384 <rtems_string_to_unsigned_long+0x98>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e358:	48 00 20 69 	bl      ffc103c0 <__errno>                     
ffc0e35c:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0e360:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc0e364:	40 be 00 18 	bne+    cr7,ffc0e37c <rtems_string_to_unsigned_long+0x90>
    (( result == 0 ) || ( result == ULONG_MAX )))                     
ffc0e368:	39 7c ff ff 	addi    r11,r28,-1                             
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e36c:	39 20 ff fd 	li      r9,-3                                  
ffc0e370:	7f 8b 48 40 	cmplw   cr7,r11,r9                             
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      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 9d 00 0c 	bgt-    cr7,ffc0e384 <rtems_string_to_unsigned_long+0x98><== ALWAYS TAKEN
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc0e37c:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0e380:	38 00 00 00 	li      r0,0                                   
}                                                                     
ffc0e384:	39 61 00 28 	addi    r11,r1,40                              
ffc0e388:	7c 03 03 78 	mr      r3,r0                                  
ffc0e38c:	4b ff 4b 44 	b       ffc02ed0 <_restgpr_28_x>               
                                                                      

ffc0e22c <rtems_string_to_unsigned_long_long>: const char *s, unsigned long long *n, char **endptr, int base ) {
ffc0e22c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0e230:	7c 08 02 a6 	mflr    r0                                     
ffc0e234:	bf 61 00 1c 	stmw    r27,28(r1)                             
  unsigned long long result;                                          
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e238:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  unsigned long long *n,                                              
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc0e23c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0e240:	90 01 00 34 	stw     r0,52(r1)                              
ffc0e244:	7c be 2b 78 	mr      r30,r5                                 
ffc0e248:	7c db 33 78 	mr      r27,r6                                 
  unsigned long long result;                                          
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc0e24c:	38 60 00 09 	li      r3,9                                   
)                                                                     
{                                                                     
  unsigned long long result;                                          
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e250:	41 82 00 94 	beq-    ffc0e2e4 <rtems_string_to_unsigned_long_long+0xb8>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0e254:	48 00 21 6d 	bl      ffc103c0 <__errno>                     
ffc0e258:	38 00 00 00 	li      r0,0                                   
  *n = 0;                                                             
ffc0e25c:	39 20 00 00 	li      r9,0                                   
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0e260:	90 03 00 00 	stw     r0,0(r3)                               
  *n = 0;                                                             
ffc0e264:	39 40 00 00 	li      r10,0                                  
ffc0e268:	91 3d 00 00 	stw     r9,0(r29)                              
                                                                      
  result = strtoull( s, &end, base );                                 
ffc0e26c:	7f 65 db 78 	mr      r5,r27                                 
ffc0e270:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc0e274:	91 5d 00 04 	stw     r10,4(r29)                             
                                                                      
  result = strtoull( s, &end, base );                                 
ffc0e278:	38 81 00 08 	addi    r4,r1,8                                
ffc0e27c:	48 00 56 c5 	bl      ffc13940 <strtoull>                    
                                                                      
  if ( endptr )                                                       
ffc0e280:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoull( s, &end, base );                                 
ffc0e284:	7c 9c 23 78 	mr      r28,r4                                 
ffc0e288:	7c 7b 1b 78 	mr      r27,r3                                 
                                                                      
  if ( endptr )                                                       
ffc0e28c:	41 9e 00 0c 	beq-    cr7,ffc0e298 <rtems_string_to_unsigned_long_long+0x6c>
    *endptr = end;                                                    
ffc0e290:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0e294:	90 1e 00 00 	stw     r0,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc0e298:	80 01 00 08 	lwz     r0,8(r1)                               
    return RTEMS_NOT_DEFINED;                                         
ffc0e29c:	38 60 00 0b 	li      r3,11                                  
  result = strtoull( s, &end, base );                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc0e2a0:	7f 80 f8 00 	cmpw    cr7,r0,r31                             
ffc0e2a4:	41 9e 00 40 	beq-    cr7,ffc0e2e4 <rtems_string_to_unsigned_long_long+0xb8>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e2a8:	48 00 21 19 	bl      ffc103c0 <__errno>                     
ffc0e2ac:	80 03 00 00 	lwz     r0,0(r3)                               
ffc0e2b0:	2f 80 00 22 	cmpwi   cr7,r0,34                              
ffc0e2b4:	40 be 00 24 	bne+    cr7,ffc0e2d8 <rtems_string_to_unsigned_long_long+0xac>
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
ffc0e2b8:	31 5c ff ff 	addic   r10,r28,-1                             
ffc0e2bc:	7d 3b 01 d4 	addme   r9,r27                                 
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e2c0:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc0e2c4:	40 be 00 14 	bne+    cr7,ffc0e2d8 <rtems_string_to_unsigned_long_long+0xac><== NEVER TAKEN
ffc0e2c8:	38 00 ff fd 	li      r0,-3                                  
ffc0e2cc:	7f 8a 00 40 	cmplw   cr7,r10,r0                             
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
      return RTEMS_INVALID_NUMBER;                                    
ffc0e2d0:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e2d4:	41 9d 00 10 	bgt-    cr7,ffc0e2e4 <rtems_string_to_unsigned_long_long+0xb8><== ALWAYS TAKEN
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc0e2d8:	93 7d 00 00 	stw     r27,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0e2dc:	38 60 00 00 	li      r3,0                                   
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc0e2e0:	93 9d 00 04 	stw     r28,4(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0e2e4:	39 61 00 30 	addi    r11,r1,48                              
ffc0e2e8:	4b ff 4b e4 	b       ffc02ecc <_restgpr_27_x>               
                                                                      

ffc03c54 <rtems_tarfs_load>: int rtems_tarfs_load( char *mountpoint, uint8_t *tar_image, size_t tar_size ) {
ffc03c54:	94 21 fe 28 	stwu    r1,-472(r1)                            
ffc03c58:	7c 08 02 a6 	mflr    r0                                     
ffc03c5c:	be 01 01 98 	stmw    r16,408(r1)                            
ffc03c60:	7c 79 1b 78 	mr      r25,r3                                 
ffc03c64:	7c 98 23 78 	mr      r24,r4                                 
ffc03c68:	90 01 01 dc 	stw     r0,476(r1)                             
ffc03c6c:	7c b4 2b 78 	mr      r20,r5                                 
   int                              offset;                           
   unsigned long                    nblocks;                          
   IMFS_jnode_t                    *node;                             
   int                              status;                           
                                                                      
   status = rtems_filesystem_evaluate_path(                           
ffc03c70:	48 01 04 99 	bl      ffc14108 <strlen>                      
ffc03c74:	38 a0 00 00 	li      r5,0                                   
ffc03c78:	7c 64 1b 78 	mr      r4,r3                                  
ffc03c7c:	38 c1 00 0c 	addi    r6,r1,12                               
ffc03c80:	7f 23 cb 78 	mr      r3,r25                                 
ffc03c84:	38 e0 00 00 	li      r7,0                                   
ffc03c88:	48 00 0c 5d 	bl      ffc048e4 <rtems_filesystem_evaluate_path>
      strlen(mountpoint),                                             
      0,                                                              
      &root_loc,                                                      
      0                                                               
   );                                                                 
   if (status != 0)                                                   
ffc03c8c:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc03c90:	40 82 01 98 	bne-    ffc03e28 <rtems_tarfs_load+0x1d4>      
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
ffc03c94:	80 01 00 18 	lwz     r0,24(r1)                              
ffc03c98:	3d 20 ff c2 	lis     r9,-62                                 
ffc03c9c:	39 29 09 30 	addi    r9,r9,2352                             
ffc03ca0:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc03ca4:	3a 40 00 00 	li      r18,0                                  
ffc03ca8:	41 be 00 24 	beq+    cr7,ffc03ccc <rtems_tarfs_load+0x78>   
ffc03cac:	3d 20 ff c2 	lis     r9,-62                                 
ffc03cb0:	39 29 10 44 	addi    r9,r9,4164                             
ffc03cb4:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc03cb8:	7f b2 eb 78 	mr      r18,r29                                
ffc03cbc:	40 be 01 6c 	bne+    cr7,ffc03e28 <rtems_tarfs_load+0x1d4>  <== ALWAYS TAKEN
ffc03cc0:	48 00 00 0c 	b       ffc03ccc <rtems_tarfs_load+0x78>       <== NOT EXECUTED
ffc03cc4:	7f d2 f3 78 	mr      r18,r30                                
ffc03cc8:	48 00 00 24 	b       ffc03cec <rtems_tarfs_load+0x98>       
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
ffc03ccc:	3e a0 ff c2 	lis     r21,-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, "/");                                   
ffc03cd0:	3e c0 ff c2 	lis     r22,-62                                
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
ffc03cd4:	3a b5 09 78 	addi    r21,r21,2424                           
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
ffc03cd8:	3b 61 00 34 	addi    r27,r1,52                              
     *        should not have this path.                              
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
ffc03cdc:	3b 81 00 20 	addi    r28,r1,32                              
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
ffc03ce0:	3b 41 00 08 	addi    r26,r1,8                               
     * - For directories, just create directories as usual.  IMFS     
     *   will take care of the rest.                                  
     * - For files, create a file node with special tarfs properties. 
     */                                                               
    if (linkflag == DIRTYPE) {                                        
      strcpy(full_filename, mountpoint);                              
ffc03ce4:	3b e1 00 98 	addi    r31,r1,152                             
      if (full_filename[strlen(full_filename)-1] != '/')              
        strcat(full_filename, "/");                                   
ffc03ce8:	3a d6 d5 91 	addi    r22,r22,-10863                         
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while (1) {                                                        
    if (offset + 512 > tar_size)                                      
ffc03cec:	3b d2 02 00 	addi    r30,r18,512                            
ffc03cf0:	7f 9e a0 40 	cmplw   cr7,r30,r20                            
ffc03cf4:	41 9d 01 38 	bgt-    cr7,ffc03e2c <rtems_tarfs_load+0x1d8>  <== NEVER TAKEN
      break;                                                          
                                                                      
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
ffc03cf8:	7e 58 92 14 	add     r18,r24,r18                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
ffc03cfc:	38 72 01 01 	addi    r3,r18,257                             
ffc03d00:	7e a4 ab 78 	mr      r4,r21                                 
ffc03d04:	38 a0 00 05 	li      r5,5                                   
ffc03d08:	48 01 04 a5 	bl      ffc141ac <strncmp>                     
ffc03d0c:	7c 77 1b 79 	mr.     r23,r3                                 
ffc03d10:	40 82 01 1c 	bne-    ffc03e2c <rtems_tarfs_load+0x1d8>      
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
ffc03d14:	38 a0 00 63 	li      r5,99                                  
ffc03d18:	7e 44 93 78 	mr      r4,r18                                 
ffc03d1c:	7f 63 db 78 	mr      r3,r27                                 
ffc03d20:	48 01 05 e5 	bl      ffc14304 <strncpy>                     
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
ffc03d24:	9a e1 00 97 	stb     r23,151(r1)                            
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
ffc03d28:	38 80 00 08 	li      r4,8                                   
ffc03d2c:	38 72 00 64 	addi    r3,r18,100                             
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
                                                                      
    linkflag   = hdr_ptr[156];                                        
ffc03d30:	8a 32 00 9c 	lbz     r17,156(r18)                           
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
ffc03d34:	48 00 82 65 	bl      ffc0bf98 <_rtems_octal2ulong>          
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
ffc03d38:	38 80 00 0c 	li      r4,12                                  
                                                                      
    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);                
ffc03d3c:	7c 73 1b 78 	mr      r19,r3                                 
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
ffc03d40:	38 72 00 7c 	addi    r3,r18,124                             
ffc03d44:	48 00 82 55 	bl      ffc0bf98 <_rtems_octal2ulong>          
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
ffc03d48:	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);               
ffc03d4c:	7c 77 1b 78 	mr      r23,r3                                 
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
ffc03d50:	38 72 00 94 	addi    r3,r18,148                             
ffc03d54:	48 00 82 45 	bl      ffc0bf98 <_rtems_octal2ulong>          
ffc03d58:	7c 70 1b 78 	mr      r16,r3                                 
                                                                      
    if (_rtems_tar_header_checksum(hdr_ptr) != hdr_chksum)            
ffc03d5c:	7e 43 93 78 	mr      r3,r18                                 
ffc03d60:	48 00 82 85 	bl      ffc0bfe4 <_rtems_tar_header_checksum>  
ffc03d64:	7f 83 80 00 	cmpw    cr7,r3,r16                             
ffc03d68:	40 9e 00 c4 	bne-    cr7,ffc03e2c <rtems_tarfs_load+0x1d8>  <== 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) {                                        
ffc03d6c:	2f 91 00 35 	cmpwi   cr7,r17,53                             
ffc03d70:	40 be 00 50 	bne+    cr7,ffc03dc0 <rtems_tarfs_load+0x16c>  
      strcpy(full_filename, mountpoint);                              
ffc03d74:	7f 24 cb 78 	mr      r4,r25                                 
ffc03d78:	7f e3 fb 78 	mr      r3,r31                                 
ffc03d7c:	48 00 fe b9 	bl      ffc13c34 <strcpy>                      
      if (full_filename[strlen(full_filename)-1] != '/')              
ffc03d80:	7f e3 fb 78 	mr      r3,r31                                 
ffc03d84:	48 01 03 85 	bl      ffc14108 <strlen>                      
ffc03d88:	7c 7a 1a 14 	add     r3,r26,r3                              
ffc03d8c:	88 03 00 8f 	lbz     r0,143(r3)                             
ffc03d90:	2f 80 00 2f 	cmpwi   cr7,r0,47                              
ffc03d94:	41 9e 00 10 	beq-    cr7,ffc03da4 <rtems_tarfs_load+0x150>  <== ALWAYS TAKEN
        strcat(full_filename, "/");                                   
ffc03d98:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc03d9c:	7e c4 b3 78 	mr      r4,r22                                 <== NOT EXECUTED
ffc03da0:	48 00 fd 59 	bl      ffc13af8 <strcat>                      <== NOT EXECUTED
      strcat(full_filename, filename);                                
ffc03da4:	7f 64 db 78 	mr      r4,r27                                 
ffc03da8:	7f e3 fb 78 	mr      r3,r31                                 
ffc03dac:	48 00 fd 4d 	bl      ffc13af8 <strcat>                      
      mkdir(full_filename, S_IRWXU | S_IRWXG | S_IRWXO);              
ffc03db0:	7f e3 fb 78 	mr      r3,r31                                 
ffc03db4:	38 80 01 ff 	li      r4,511                                 
ffc03db8:	48 00 14 c1 	bl      ffc05278 <mkdir>                       
ffc03dbc:	4b ff ff 08 	b       ffc03cc4 <rtems_tarfs_load+0x70>       
     *        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) {                                   
ffc03dc0:	2f 91 00 30 	cmpwi   cr7,r17,48                             
ffc03dc4:	40 9e ff 00 	bne+    cr7,ffc03cc4 <rtems_tarfs_load+0x70>   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
ffc03dc8:	39 61 00 0c 	addi    r11,r1,12                              
ffc03dcc:	7c ab a4 aa 	lswi    r5,r11,20                              
ffc03dd0:	7c bc a5 aa 	stswi   r5,r28,20                              
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
ffc03dd4:	7f 63 db 78 	mr      r3,r27                                 
ffc03dd8:	7f 84 e3 78 	mr      r4,r28                                 
ffc03ddc:	7f 45 d3 78 	mr      r5,r26                                 
ffc03de0:	48 00 8e 75 	bl      ffc0cc54 <IMFS_evaluate_for_make>      
ffc03de4:	7c 72 1b 79 	mr.     r18,r3                                 
ffc03de8:	40 a2 00 30 	bne+    ffc03e18 <rtems_tarfs_load+0x1c4>      <== NEVER TAKEN
        node = IMFS_create_node(                                      
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
ffc03dec:	56 66 05 fe 	clrlwi  r6,r19,23                              
    else if (linkflag == REGTYPE) {                                   
      const char  *name;                                              
                                                                      
      loc = root_loc;                                                 
      if (IMFS_evaluate_for_make(filename, &loc, &name) == 0) {       
        node = IMFS_create_node(                                      
ffc03df0:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc03df4:	7f 83 e3 78 	mr      r3,r28                                 
ffc03df8:	38 80 00 06 	li      r4,6                                   
ffc03dfc:	60 c6 80 00 	ori     r6,r6,32768                            
ffc03e00:	38 e0 00 00 	li      r7,0                                   
ffc03e04:	48 00 87 f9 	bl      ffc0c5fc <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];            
ffc03e08:	7c 18 f2 14 	add     r0,r24,r30                             
          &loc,                                                       
          IMFS_LINEAR_FILE, (char *)name,                             
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
ffc03e0c:	92 e3 00 54 	stw     r23,84(r3)                             
ffc03e10:	92 43 00 50 	stw     r18,80(r3)                             
        node->info.linearfile.direct = &tar_image[offset];            
ffc03e14:	90 03 00 58 	stw     r0,88(r3)                              
      }                                                               
                                                                      
      nblocks = (((file_size) + 511) & ~511) / 512;                   
ffc03e18:	3a f7 01 ff 	addi    r23,r23,511                            
      offset += 512 * nblocks;                                        
ffc03e1c:	56 f7 00 2c 	rlwinm  r23,r23,0,0,22                         
ffc03e20:	7f d7 f2 14 	add     r30,r23,r30                            
ffc03e24:	4b ff fe a0 	b       ffc03cc4 <rtems_tarfs_load+0x70>       
   );                                                                 
   if (status != 0)                                                   
     return -1;                                                       
                                                                      
   if (root_loc.ops != &IMFS_ops && root_loc.ops != &fifoIMFS_ops)    
     return -1;                                                       
ffc03e28:	3b a0 ff ff 	li      r29,-1                                 
      nblocks = (((file_size) + 511) & ~511) / 512;                   
      offset += 512 * nblocks;                                        
    }                                                                 
  }                                                                   
  return status;                                                      
}                                                                     
ffc03e2c:	39 61 01 d8 	addi    r11,r1,472                             
ffc03e30:	7f a3 eb 78 	mr      r3,r29                                 
ffc03e34:	4b ff c7 54 	b       ffc00588 <_restgpr_16_x>               
                                                                      

ffc0ec54 <rtems_task_mode>: ASR_Information *asr; bool is_asr_enabled = false; bool needs_asr_dispatching = false; rtems_mode old_mode; if ( !previous_mode_set )
ffc0ec54:	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                                       
)                                                                     
{                                                                     
ffc0ec58:	7c 08 02 a6 	mflr    r0                                     
ffc0ec5c:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0ec60:	90 01 00 0c 	stw     r0,12(r1)                              
ffc0ec64:	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;                                     
ffc0ec68:	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 )                                           
ffc0ec6c:	41 82 01 8c 	beq-    ffc0edf8 <rtems_task_mode+0x1a4>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
ffc0ec70:	3d 20 00 00 	lis     r9,0                                   
ffc0ec74:	81 69 2d a4 	lwz     r11,11684(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 )
ffc0ec78:	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;
ffc0ec7c:	89 4b 00 74 	lbz     r10,116(r11)                           
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
ffc0ec80:	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 ];                
ffc0ec84:	81 2b 01 2c 	lwz     r9,300(r11)                            
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
ffc0ec88:	7d 4a 00 34 	cntlzw  r10,r10                                
ffc0ec8c:	55 4a d9 7e 	rlwinm  r10,r10,27,5,31                        
ffc0ec90:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
ffc0ec94:	41 9e 00 08 	beq-    cr7,ffc0ec9c <rtems_task_mode+0x48>    
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
ffc0ec98:	61 4a 02 00 	ori     r10,r10,512                            
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
ffc0ec9c:	89 09 00 08 	lbz     r8,8(r9)                               
ffc0eca0:	7d 08 00 34 	cntlzw  r8,r8                                  
ffc0eca4:	55 08 d9 7e 	rlwinm  r8,r8,27,5,31                          
ffc0eca8:	55 08 50 2a 	rlwinm  r8,r8,10,0,21                          
ffc0ecac:	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);                                                  
ffc0ecb0:	39 40 00 00 	li      r10,0                                  
ffc0ecb4:	7d 40 00 a6 	mfmsr   r10                                    
  if (msr & MSR_EE) return 0;                                         
ffc0ecb8:	71 47 80 00 	andi.   r7,r10,32768                           
ffc0ecbc:	7c e0 00 26 	mfcr    r7                                     
ffc0ecc0:	54 e7 1f fe 	rlwinm  r7,r7,3,31,31                          
  old_mode |= _ISR_Get_level();                                       
ffc0ecc4:	7d 0a 3b 78 	or      r10,r8,r7                              
                                                                      
  *previous_mode_set = old_mode;                                      
ffc0ecc8:	91 45 00 00 	stw     r10,0(r5)                              
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
ffc0eccc:	70 8a 01 00 	andi.   r10,r4,256                             
ffc0ecd0:	41 82 00 14 	beq-    ffc0ece4 <rtems_task_mode+0x90>        
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
ffc0ecd4:	70 07 01 00 	andi.   r7,r0,256                              
ffc0ecd8:	7d 40 00 26 	mfcr    r10                                    
ffc0ecdc:	55 4a 1f fe 	rlwinm  r10,r10,3,31,31                        
ffc0ece0:	99 4b 00 74 	stb     r10,116(r11)                           
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
ffc0ece4:	70 8a 02 00 	andi.   r10,r4,512                             
ffc0ece8:	41 82 00 28 	beq-    ffc0ed10 <rtems_task_mode+0xbc>        
    if ( _Modes_Is_timeslice(mode_set) ) {                            
ffc0ecec:	70 0a 02 00 	andi.   r10,r0,512                             
ffc0ecf0:	41 82 00 1c 	beq-    ffc0ed0c <rtems_task_mode+0xb8>        
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
ffc0ecf4:	39 40 00 01 	li      r10,1                                  
ffc0ecf8:	91 4b 00 7c 	stw     r10,124(r11)                           
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
ffc0ecfc:	3d 40 00 00 	lis     r10,0                                  
ffc0ed00:	81 4a 27 a0 	lwz     r10,10144(r10)                         
ffc0ed04:	91 4b 00 78 	stw     r10,120(r11)                           
ffc0ed08:	48 00 00 08 	b       ffc0ed10 <rtems_task_mode+0xbc>        
    } else                                                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; 
ffc0ed0c:	91 4b 00 7c 	stw     r10,124(r11)                           
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
ffc0ed10:	70 8b 00 01 	andi.   r11,r4,1                               
ffc0ed14:	41 82 00 2c 	beq-    ffc0ed40 <rtems_task_mode+0xec>        
}                                                                     
                                                                      
static inline void _CPU_ISR_Set_level( uint32_t   level )             
{                                                                     
  register unsigned int msr;                                          
  _CPU_MSR_GET(msr);                                                  
ffc0ed18:	39 60 00 00 	li      r11,0                                  
ffc0ed1c:	7d 60 00 a6 	mfmsr   r11                                    
  if (!(level & CPU_MODES_INTERRUPT_MASK)) {                          
ffc0ed20:	70 07 00 01 	andi.   r7,r0,1                                
ffc0ed24:	40 82 00 10 	bne-    ffc0ed34 <rtems_task_mode+0xe0>        
                                                                      
static inline uint32_t ppc_interrupt_get_disable_mask( void )         
{                                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0ed28:	7d 50 42 a6 	mfsprg  r10,0                                  
    msr |= ppc_interrupt_get_disable_mask();                          
ffc0ed2c:	7d 4b 5b 78 	or      r11,r10,r11                            
ffc0ed30:	48 00 00 0c 	b       ffc0ed3c <rtems_task_mode+0xe8>        
ffc0ed34:	7d 50 42 a6 	mfsprg  r10,0                                  
  }                                                                   
  else {                                                              
    msr &= ~ppc_interrupt_get_disable_mask();                         
ffc0ed38:	7d 6b 50 78 	andc    r11,r11,r10                            
  }                                                                   
  _CPU_MSR_SET(msr);                                                  
ffc0ed3c:	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 ) {                                      
ffc0ed40:	70 8a 04 00 	andi.   r10,r4,1024                            
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
ffc0ed44:	39 60 00 00 	li      r11,0                                  
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
ffc0ed48:	41 82 00 58 	beq-    ffc0eda0 <rtems_task_mode+0x14c>       
 *  Output:                                                           
 *    *previous_mode_set - previous mode set                          
 *     always return RTEMS_SUCCESSFUL;                                
 */                                                                   
                                                                      
rtems_status_code rtems_task_mode(                                    
ffc0ed4c:	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 ) {                        
ffc0ed50:	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(                                    
ffc0ed54:	7c 00 00 26 	mfcr    r0                                     
ffc0ed58:	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 ) {                        
ffc0ed5c:	7f 8a 00 00 	cmpw    cr7,r10,r0                             
ffc0ed60:	41 9e 00 40 	beq-    cr7,ffc0eda0 <rtems_task_mode+0x14c>   
      asr->is_enabled = is_asr_enabled;                               
ffc0ed64:	98 09 00 08 	stb     r0,8(r9)                               
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0ed68:	7c 00 00 a6 	mfmsr   r0                                     
ffc0ed6c:	7d 70 42 a6 	mfsprg  r11,0                                  
ffc0ed70:	7c 0b 58 78 	andc    r11,r0,r11                             
ffc0ed74:	7d 60 01 24 	mtmsr   r11                                    
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
ffc0ed78:	81 69 00 18 	lwz     r11,24(r9)                             
    information->signals_pending = information->signals_posted;       
ffc0ed7c:	81 49 00 14 	lwz     r10,20(r9)                             
    information->signals_posted  = _signals;                          
ffc0ed80:	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;       
ffc0ed84:	91 49 00 18 	stw     r10,24(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0ed88:	7c 00 01 24 	mtmsr   r0                                     
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
ffc0ed8c:	80 09 00 14 	lwz     r0,20(r9)                              
        needs_asr_dispatching = true;                                 
ffc0ed90:	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 ) ) {                        
ffc0ed94:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0ed98:	40 9e 00 08 	bne-    cr7,ffc0eda0 <rtems_task_mode+0x14c>   
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
ffc0ed9c:	39 60 00 00 	li      r11,0                                  
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
ffc0eda0:	3d 20 00 00 	lis     r9,0                                   
ffc0eda4:	80 09 27 e8 	lwz     r0,10216(r9)                           
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0eda8:	38 60 00 00 	li      r3,0                                   
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
ffc0edac:	2f 80 00 03 	cmpwi   cr7,r0,3                               
ffc0edb0:	40 be 00 48 	bne+    cr7,ffc0edf8 <rtems_task_mode+0x1a4>   
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
                                                                      
  if ( are_signals_pending ||                                         
ffc0edb4:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
  bool are_signals_pending                                            
)                                                                     
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
ffc0edb8:	3d 40 00 00 	lis     r10,0                                  
ffc0edbc:	39 4a 2d 98 	addi    r10,r10,11672                          
ffc0edc0:	81 2a 00 0c 	lwz     r9,12(r10)                             
                                                                      
  if ( are_signals_pending ||                                         
ffc0edc4:	40 9e 00 1c 	bne-    cr7,ffc0ede0 <rtems_task_mode+0x18c>   
ffc0edc8:	80 0a 00 10 	lwz     r0,16(r10)                             
ffc0edcc:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc0edd0:	41 9e 00 28 	beq-    cr7,ffc0edf8 <rtems_task_mode+0x1a4>   
       (!_Thread_Is_heir( executing ) && executing->is_preemptible) ) {
ffc0edd4:	88 09 00 74 	lbz     r0,116(r9)                             
ffc0edd8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0eddc:	41 9e 00 1c 	beq-    cr7,ffc0edf8 <rtems_task_mode+0x1a4>   <== NEVER TAKEN
    _Thread_Dispatch_necessary = true;                                
ffc0ede0:	3d 20 00 00 	lis     r9,0                                   
ffc0ede4:	38 00 00 01 	li      r0,1                                   
ffc0ede8:	39 29 2d 98 	addi    r9,r9,11672                            
ffc0edec:	98 09 00 18 	stb     r0,24(r9)                              
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
ffc0edf0:	4b ff b1 55 	bl      ffc09f44 <_Thread_Dispatch>            
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0edf4:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0edf8:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0edfc:	38 21 00 08 	addi    r1,r1,8                                
ffc0ee00:	7c 08 03 a6 	mtlr    r0                                     
ffc0ee04:	4e 80 00 20 	blr                                            
                                                                      

ffc0c590 <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
ffc0c590:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0c594:	7c 08 02 a6 	mflr    r0                                     
ffc0c598:	bf c1 00 18 	stmw    r30,24(r1)                             
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
ffc0c59c:	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                                   
)                                                                     
{                                                                     
ffc0c5a0:	7c be 2b 78 	mr      r30,r5                                 
ffc0c5a4:	90 01 00 24 	stw     r0,36(r1)                              
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
ffc0c5a8:	41 82 00 18 	beq-    ffc0c5c0 <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 ) );             
ffc0c5ac:	3d 20 00 00 	lis     r9,0                                   
ffc0c5b0:	89 29 27 04 	lbz     r9,9988(r9)                            
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
ffc0c5b4:	38 00 00 13 	li      r0,19                                  
)                                                                     
{                                                                     
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
ffc0c5b8:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc0c5bc:	41 9d 00 6c 	bgt-    cr7,ffc0c628 <rtems_task_set_priority+0x98>
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
ffc0c5c0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
ffc0c5c4:	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 )                                                
ffc0c5c8:	41 9e 00 60 	beq-    cr7,ffc0c628 <rtems_task_set_priority+0x98>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0c5cc:	38 81 00 08 	addi    r4,r1,8                                
ffc0c5d0:	48 00 26 15 	bl      ffc0ebe4 <_Thread_Get>                 
  switch ( location ) {                                               
ffc0c5d4:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0c5d8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c5dc:	40 9e 00 48 	bne-    cr7,ffc0c624 <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 ) {                 
ffc0c5e0:	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;                   
ffc0c5e4:	80 03 00 14 	lwz     r0,20(r3)                              
ffc0c5e8:	90 1e 00 00 	stw     r0,0(r30)                              
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
ffc0c5ec:	41 9e 00 2c 	beq-    cr7,ffc0c618 <rtems_task_set_priority+0x88>
        the_thread->real_priority = new_priority;                     
        if ( the_thread->resource_count == 0 ||                       
ffc0c5f0:	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;                     
ffc0c5f4:	93 e3 00 18 	stw     r31,24(r3)                             
        if ( the_thread->resource_count == 0 ||                       
ffc0c5f8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0c5fc:	41 9e 00 10 	beq-    cr7,ffc0c60c <rtems_task_set_priority+0x7c>
ffc0c600:	80 03 00 14 	lwz     r0,20(r3)                              
ffc0c604:	7f 80 f8 40 	cmplw   cr7,r0,r31                             
ffc0c608:	40 9d 00 10 	ble-    cr7,ffc0c618 <rtems_task_set_priority+0x88><== ALWAYS TAKEN
             the_thread->current_priority > new_priority )            
          _Thread_Change_priority( the_thread, new_priority, false ); 
ffc0c60c:	7f e4 fb 78 	mr      r4,r31                                 
ffc0c610:	38 a0 00 00 	li      r5,0                                   
ffc0c614:	48 00 20 e9 	bl      ffc0e6fc <_Thread_Change_priority>     
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc0c618:	48 00 25 ad 	bl      ffc0ebc4 <_Thread_Enable_dispatch>     
      return RTEMS_SUCCESSFUL;                                        
ffc0c61c:	38 00 00 00 	li      r0,0                                   
ffc0c620:	48 00 00 08 	b       ffc0c628 <rtems_task_set_priority+0x98>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc0c624:	38 00 00 04 	li      r0,4                                   
}                                                                     
ffc0c628:	39 61 00 20 	addi    r11,r1,32                              
ffc0c62c:	7c 03 03 78 	mr      r3,r0                                  
ffc0c630:	4b ff 4a f0 	b       ffc01120 <_restgpr_30_x>               
                                                                      

ffc0568c <rtems_termios_close>: } } rtems_status_code rtems_termios_close (void *arg) {
ffc0568c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc05690:	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(                                        
ffc05694:	38 80 00 00 	li      r4,0                                   
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
ffc05698:	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(                                        
ffc0569c:	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;                   
ffc056a0:	81 23 00 00 	lwz     r9,0(r3)                               
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
ffc056a4:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc056a8:	7c 7e 1b 78 	mr      r30,r3                                 
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc056ac:	83 e9 00 38 	lwz     r31,56(r9)                             
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
ffc056b0:	3d 20 00 00 	lis     r9,0                                   
ffc056b4:	80 69 27 94 	lwz     r3,10132(r9)                           
ffc056b8:	48 00 21 f1 	bl      ffc078a8 <rtems_semaphore_obtain>      
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc056bc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc056c0:	40 9e 00 a4 	bne-    cr7,ffc05764 <rtems_termios_close+0xd8><== NEVER TAKEN
    rtems_fatal_error_occurred (sc);                                  
  if (--tty->refcount == 0) {                                         
ffc056c4:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc056c8:	38 09 ff ff 	addi    r0,r9,-1                               
ffc056cc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc056d0:	90 1f 00 08 	stw     r0,8(r31)                              
ffc056d4:	40 9e 01 64 	bne-    cr7,ffc05838 <rtems_termios_close+0x1ac>
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
ffc056d8:	80 1f 00 cc 	lwz     r0,204(r31)                            
ffc056dc:	3d 20 00 00 	lis     r9,0                                   
ffc056e0:	39 29 28 58 	addi    r9,r9,10328                            
ffc056e4:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc056e8:	7d 29 02 14 	add     r9,r9,r0                               
ffc056ec:	80 09 00 04 	lwz     r0,4(r9)                               
ffc056f0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc056f4:	41 9e 00 14 	beq-    cr7,ffc05708 <rtems_termios_close+0x7c>
      /*                                                              
       * call discipline-specific close                               
       */                                                             
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
ffc056f8:	7f e3 fb 78 	mr      r3,r31                                 
ffc056fc:	7c 09 03 a6 	mtctr   r0                                     
ffc05700:	4e 80 04 21 	bctrl                                          
ffc05704:	48 00 00 2c 	b       ffc05730 <rtems_termios_close+0xa4>    
    } else {                                                          
      /*                                                              
       * default: just flush output buffer                            
       */                                                             
      sc = rtems_semaphore_obtain(tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc05708:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc0570c:	38 80 00 00 	li      r4,0                                   
ffc05710:	38 a0 00 00 	li      r5,0                                   
ffc05714:	48 00 21 95 	bl      ffc078a8 <rtems_semaphore_obtain>      
      if (sc != RTEMS_SUCCESSFUL) {                                   
ffc05718:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0571c:	40 9e 00 48 	bne-    cr7,ffc05764 <rtems_termios_close+0xd8><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      }                                                               
      drainOutput (tty);                                              
ffc05720:	7f e3 fb 78 	mr      r3,r31                                 
ffc05724:	4b ff fa dd 	bl      ffc05200 <drainOutput>                 
      rtems_semaphore_release (tty->osem);                            
ffc05728:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc0572c:	48 00 22 a5 	bl      ffc079d0 <rtems_semaphore_release>     
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc05730:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc05734:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc05738:	40 be 00 30 	bne+    cr7,ffc05768 <rtems_termios_close+0xdc>
      /*                                                              
       * send "terminate" to I/O tasks                                
       */                                                             
      sc = rtems_event_send( tty->rxTaskId, TERMIOS_RX_TERMINATE_EVENT );
ffc0573c:	80 7f 00 c4 	lwz     r3,196(r31)                            
ffc05740:	38 80 00 01 	li      r4,1                                   
ffc05744:	48 00 1c a5 	bl      ffc073e8 <rtems_event_send>            
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc05748:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0574c:	40 9e 00 18 	bne-    cr7,ffc05764 <rtems_termios_close+0xd8><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_event_send( tty->txTaskId, TERMIOS_TX_TERMINATE_EVENT );
ffc05750:	80 7f 00 c8 	lwz     r3,200(r31)                            
ffc05754:	38 80 00 01 	li      r4,1                                   
ffc05758:	48 00 1c 91 	bl      ffc073e8 <rtems_event_send>            
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc0575c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05760:	41 be 00 08 	beq+    cr7,ffc05768 <rtems_termios_close+0xdc><== ALWAYS TAKEN
        rtems_fatal_error_occurred (sc);                              
ffc05764:	48 00 28 c1 	bl      ffc08024 <rtems_fatal_error_occurred>  <== NOT EXECUTED
    }                                                                 
    if (tty->device.lastClose)                                        
ffc05768:	80 1f 00 9c 	lwz     r0,156(r31)                            
ffc0576c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05770:	41 9e 00 18 	beq-    cr7,ffc05788 <rtems_termios_close+0xfc><== ALWAYS TAKEN
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
ffc05774:	80 7f 00 0c 	lwz     r3,12(r31)                             <== NOT EXECUTED
ffc05778:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc0577c:	80 9f 00 10 	lwz     r4,16(r31)                             <== NOT EXECUTED
ffc05780:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc05784:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
    if (tty->forw == NULL) {                                          
ffc05788:	81 7f 00 00 	lwz     r11,0(r31)                             
ffc0578c:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc05790:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc05794:	40 be 00 1c 	bne+    cr7,ffc057b0 <rtems_termios_close+0x124>
      rtems_termios_ttyTail = tty->back;                              
      if ( rtems_termios_ttyTail != NULL ) {                          
ffc05798:	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;                              
ffc0579c:	3d 40 00 00 	lis     r10,0                                  
ffc057a0:	91 2a 27 98 	stw     r9,10136(r10)                          
      if ( rtems_termios_ttyTail != NULL ) {                          
ffc057a4:	41 9e 00 10 	beq-    cr7,ffc057b4 <rtems_termios_close+0x128>
        rtems_termios_ttyTail->forw = NULL;                           
ffc057a8:	91 69 00 00 	stw     r11,0(r9)                              
ffc057ac:	48 00 00 08 	b       ffc057b4 <rtems_termios_close+0x128>   
      }                                                               
    } else {                                                          
      tty->forw->back = tty->back;                                    
ffc057b0:	91 2b 00 04 	stw     r9,4(r11)                              
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
ffc057b4:	81 7f 00 04 	lwz     r11,4(r31)                             
ffc057b8:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc057bc:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc057c0:	40 be 00 1c 	bne+    cr7,ffc057dc <rtems_termios_close+0x150>
      rtems_termios_ttyHead = tty->forw;                              
      if ( rtems_termios_ttyHead != NULL ) {                          
ffc057c4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    } else {                                                          
      tty->forw->back = tty->back;                                    
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
      rtems_termios_ttyHead = tty->forw;                              
ffc057c8:	3d 40 00 00 	lis     r10,0                                  
ffc057cc:	91 2a 27 9c 	stw     r9,10140(r10)                          
      if ( rtems_termios_ttyHead != NULL ) {                          
ffc057d0:	41 9e 00 10 	beq-    cr7,ffc057e0 <rtems_termios_close+0x154>
        rtems_termios_ttyHead->back = NULL;                           
ffc057d4:	91 69 00 04 	stw     r11,4(r9)                              
ffc057d8:	48 00 00 08 	b       ffc057e0 <rtems_termios_close+0x154>   
      }                                                               
    } else {                                                          
      tty->back->forw = tty->forw;                                    
ffc057dc:	91 2b 00 00 	stw     r9,0(r11)                              
    }                                                                 
                                                                      
    rtems_semaphore_delete (tty->isem);                               
ffc057e0:	80 7f 00 14 	lwz     r3,20(r31)                             
ffc057e4:	48 00 20 0d 	bl      ffc077f0 <rtems_semaphore_delete>      
    rtems_semaphore_delete (tty->osem);                               
ffc057e8:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc057ec:	48 00 20 05 	bl      ffc077f0 <rtems_semaphore_delete>      
    rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                
ffc057f0:	80 7f 00 8c 	lwz     r3,140(r31)                            
ffc057f4:	48 00 1f fd 	bl      ffc077f0 <rtems_semaphore_delete>      
    if ((tty->device.pollRead == NULL) ||                             
ffc057f8:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc057fc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05800:	41 9e 00 10 	beq-    cr7,ffc05810 <rtems_termios_close+0x184>
ffc05804:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc05808:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0580c:	40 be 00 0c 	bne+    cr7,ffc05818 <rtems_termios_close+0x18c>
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))    
      rtems_semaphore_delete (tty->rawInBuf.Semaphore);               
ffc05810:	80 7f 00 68 	lwz     r3,104(r31)                            
ffc05814:	48 00 1f dd 	bl      ffc077f0 <rtems_semaphore_delete>      
    free (tty->rawInBuf.theBuf);                                      
ffc05818:	80 7f 00 58 	lwz     r3,88(r31)                             
ffc0581c:	4b ff e9 b1 	bl      ffc041cc <free>                        
    free (tty->rawOutBuf.theBuf);                                     
ffc05820:	80 7f 00 7c 	lwz     r3,124(r31)                            
ffc05824:	4b ff e9 a9 	bl      ffc041cc <free>                        
    free (tty->cbuf);                                                 
ffc05828:	80 7f 00 1c 	lwz     r3,28(r31)                             
ffc0582c:	4b ff e9 a1 	bl      ffc041cc <free>                        
    free (tty);                                                       
ffc05830:	7f e3 fb 78 	mr      r3,r31                                 
ffc05834:	4b ff e9 99 	bl      ffc041cc <free>                        
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
ffc05838:	3d 20 00 00 	lis     r9,0                                   
ffc0583c:	80 69 27 94 	lwz     r3,10132(r9)                           
ffc05840:	48 00 21 91 	bl      ffc079d0 <rtems_semaphore_release>     
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc05844:	39 61 00 10 	addi    r11,r1,16                              
ffc05848:	38 60 00 00 	li      r3,0                                   
ffc0584c:	48 00 e9 0c 	b       ffc14158 <_restgpr_30_x>               
                                                                      

ffc06dc8 <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) {
ffc06dc8:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc06dcc:	7c 08 02 a6 	mflr    r0                                     
ffc06dd0:	90 01 00 0c 	stw     r0,12(r1)                              
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
ffc06dd4:	80 03 00 90 	lwz     r0,144(r3)                             
ffc06dd8:	7c 00 22 14 	add     r0,r0,r4                               
ffc06ddc:	90 03 00 90 	stw     r0,144(r3)                             
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
ffc06de0:	80 03 00 b4 	lwz     r0,180(r3)                             
ffc06de4:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc06de8:	40 be 00 1c 	bne+    cr7,ffc06e04 <rtems_termios_dequeue_characters+0x3c>
    /*                                                                
     * send wake up to transmitter task                               
     */                                                               
    sc = rtems_event_send(tty->txTaskId, TERMIOS_TX_START_EVENT);     
ffc06dec:	80 63 00 c8 	lwz     r3,200(r3)                             
ffc06df0:	38 80 00 02 	li      r4,2                                   
ffc06df4:	48 00 05 f5 	bl      ffc073e8 <rtems_event_send>            
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc06df8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06dfc:	41 be 00 40 	beq+    cr7,ffc06e3c <rtems_termios_dequeue_characters+0x74><== ALWAYS TAKEN
      rtems_fatal_error_occurred (sc);                                
ffc06e00:	48 00 12 25 	bl      ffc08024 <rtems_fatal_error_occurred>  <== NOT EXECUTED
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  if (tty->t_line == PPPDISC ) {                                      
ffc06e04:	80 03 00 cc 	lwz     r0,204(r3)                             
ffc06e08:	2f 80 00 05 	cmpwi   cr7,r0,5                               
ffc06e0c:	40 9e 00 20 	bne-    cr7,ffc06e2c <rtems_termios_dequeue_characters+0x64>
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
ffc06e10:	3d 20 00 00 	lis     r9,0                                   
ffc06e14:	80 09 29 0c 	lwz     r0,10508(r9)                           
ffc06e18:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06e1c:	41 9e 00 20 	beq-    cr7,ffc06e3c <rtems_termios_dequeue_characters+0x74><== NEVER TAKEN
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
ffc06e20:	7c 09 03 a6 	mtctr   r0                                     
ffc06e24:	4e 80 04 21 	bctrl                                          
ffc06e28:	48 00 00 14 	b       ffc06e3c <rtems_termios_dequeue_characters+0x74>
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
}                                                                     
ffc06e2c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc06e30:	38 21 00 08 	addi    r1,r1,8                                
ffc06e34:	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);                       
ffc06e38:	4b ff fd 28 	b       ffc06b60 <rtems_termios_refill_transmitter>
}                                                                     
ffc06e3c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc06e40:	38 60 00 00 	li      r3,0                                   
ffc06e44:	38 21 00 08 	addi    r1,r1,8                                
ffc06e48:	7c 08 03 a6 	mtlr    r0                                     
ffc06e4c:	4e 80 00 20 	blr                                            
                                                                      

ffc06800 <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, char *buf, int len) {
ffc06800:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc06804:	7c 08 02 a6 	mflr    r0                                     
ffc06808:	90 01 00 34 	stw     r0,52(r1)                              
  char c;                                                             
  int dropped = 0;                                                    
  bool flow_rcv = false; /* true, if flow control char received */    
  rtems_interrupt_level level;                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_rint != NULL) {             
ffc0680c:	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, char *buf, int len) 
{                                                                     
ffc06810:	be c1 00 08 	stmw    r22,8(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) {             
ffc06814:	3f c0 00 00 	lis     r30,0                                  
ffc06818:	3b de 28 58 	addi    r30,r30,10328                          
ffc0681c:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
ffc06820:	7d 3e 4a 14 	add     r9,r30,r9                              
ffc06824:	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, char *buf, int len) 
{                                                                     
ffc06828:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0682c:	7c bc 2b 78 	mr      r28,r5                                 
  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) {             
ffc06830:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06834:	3b 24 ff ff 	addi    r25,r4,-1                              
ffc06838:	40 be 00 3c 	bne+    cr7,ffc06874 <rtems_termios_enqueue_raw_characters+0x74>
 * 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, char *buf, int len) 
ffc0683c:	3b 40 00 00 	li      r26,0                                  
ffc06840:	3b c0 00 00 	li      r30,0                                  
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
ffc06844:	3a e3 00 30 	addi    r23,r3,48                              
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
              (tty->rawOutBufState == rob_idle)) {                    
            /* if tx is stopped due to XOFF or out of data */         
            /*    call write function here                 */         
            tty->flow_ctrl |= FL_ISNTXOF;                             
            (*tty->device.write)(tty->minor,                          
ffc06848:	3b 03 00 4a 	addi    r24,r3,74                              
ffc0684c:	48 00 02 70 	b       ffc06abc <rtems_termios_enqueue_raw_characters+0x2bc>
  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);                
ffc06850:	81 3f 00 cc 	lwz     r9,204(r31)                            
ffc06854:	7f e4 fb 78 	mr      r4,r31                                 
ffc06858:	8c 79 00 01 	lbzu    r3,1(r25)                              
ffc0685c:	3b 9c ff ff 	addi    r28,r28,-1                             
ffc06860:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
ffc06864:	7d 3e 4a 14 	add     r9,r30,r9                              
ffc06868:	80 09 00 10 	lwz     r0,16(r9)                              
ffc0686c:	7c 09 03 a6 	mtctr   r0                                     
ffc06870:	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--) {                                                   
ffc06874:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc06878:	40 9e ff d8 	bne+    cr7,ffc06850 <rtems_termios_enqueue_raw_characters+0x50>
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
ffc0687c:	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;                                                         
ffc06880:	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 )) { 
ffc06884:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06888:	40 9e 02 50 	bne-    cr7,ffc06ad8 <rtems_termios_enqueue_raw_characters+0x2d8><== NEVER TAKEN
ffc0688c:	80 1f 00 dc 	lwz     r0,220(r31)                            
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
ffc06890:	7f 9e e3 78 	mr      r30,r28                                
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
ffc06894:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06898:	41 9e 02 40 	beq-    cr7,ffc06ad8 <rtems_termios_enqueue_raw_characters+0x2d8><== NEVER TAKEN
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
ffc0689c:	7c 09 03 a6 	mtctr   r0                                     
ffc068a0:	38 7f 00 30 	addi    r3,r31,48                              
ffc068a4:	80 9f 00 e0 	lwz     r4,224(r31)                            
ffc068a8:	4e 80 04 21 	bctrl                                          
      tty->tty_rcvwakeup = 1;                                         
ffc068ac:	38 00 00 01 	li      r0,1                                   
ffc068b0:	90 1f 00 e4 	stw     r0,228(r31)                            
ffc068b4:	48 00 02 24 	b       ffc06ad8 <rtems_termios_enqueue_raw_characters+0x2d8>
                                                                      
  while (len--) {                                                     
    c = *buf++;                                                       
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
ffc068b8:	80 1f 00 b8 	lwz     r0,184(r31)                            
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
    c = *buf++;                                                       
ffc068bc:	8f 79 00 01 	lbzu    r27,1(r25)                             
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
ffc068c0:	70 09 02 00 	andi.   r9,r0,512                              
ffc068c4:	41 82 00 58 	beq-    ffc0691c <rtems_termios_enqueue_raw_characters+0x11c>
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
ffc068c8:	89 3f 00 4a 	lbz     r9,74(r31)                             
ffc068cc:	88 1f 00 49 	lbz     r0,73(r31)                             
ffc068d0:	7f 89 d8 00 	cmpw    cr7,r9,r27                             
ffc068d4:	40 be 00 30 	bne+    cr7,ffc06904 <rtems_termios_enqueue_raw_characters+0x104>
        if (c == tty->termios.c_cc[VSTART]) {                         
ffc068d8:	54 00 06 3e 	clrlwi  r0,r0,24                               
ffc068dc:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc068e0:	40 be 00 10 	bne+    cr7,ffc068f0 <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;               
ffc068e4:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc068e8:	68 00 00 10 	xori    r0,r0,16                               <== NOT EXECUTED
ffc068ec:	48 00 00 0c 	b       ffc068f8 <rtems_termios_enqueue_raw_characters+0xf8><== NOT EXECUTED
        }                                                             
        else {                                                        
          /* VSTOP received (other code than VSTART) */               
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
ffc068f0:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc068f4:	60 00 00 10 	ori     r0,r0,16                               
ffc068f8:	90 1f 00 b8 	stw     r0,184(r31)                            
 *       device receive interrupt handler.                            
 * Returns the number of characters dropped because of overflow.      
 */                                                                   
int                                                                   
rtems_termios_enqueue_raw_characters (void *ttyp, char *buf, int len) 
{                                                                     
ffc068fc:	3b 40 00 01 	li      r26,1                                  
ffc06900:	48 00 00 24 	b       ffc06924 <rtems_termios_enqueue_raw_characters+0x124>
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
        }                                                             
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
ffc06904:	54 00 06 3e 	clrlwi  r0,r0,24                               
ffc06908:	7f 80 d8 00 	cmpw    cr7,r0,r27                             
ffc0690c:	40 be 00 10 	bne+    cr7,ffc0691c <rtems_termios_enqueue_raw_characters+0x11c><== ALWAYS TAKEN
        /* VSTART received */                                         
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
ffc06910:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc06914:	54 00 07 34 	rlwinm  r0,r0,0,28,26                          <== NOT EXECUTED
ffc06918:	4b ff ff e0 	b       ffc068f8 <rtems_termios_enqueue_raw_characters+0xf8><== NOT EXECUTED
        flow_rcv = true;                                              
      }                                                               
    }                                                                 
    if (flow_rcv) {                                                   
ffc0691c:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc06920:	41 9e 00 5c 	beq-    cr7,ffc0697c <rtems_termios_enqueue_raw_characters+0x17c><== ALWAYS TAKEN
      /* restart output according to FL_ORCVXOF flag */               
      if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {   
ffc06924:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc06928:	54 00 06 b6 	rlwinm  r0,r0,0,26,27                          
ffc0692c:	2f 80 00 20 	cmpwi   cr7,r0,32                              
ffc06930:	40 be 01 88 	bne+    cr7,ffc06ab8 <rtems_termios_enqueue_raw_characters+0x2b8><== ALWAYS TAKEN
        /* disable interrupts    */                                   
        rtems_interrupt_disable(level);                               
ffc06934:	4b ff e8 b9 	bl      ffc051ec <ppc_interrupt_disable>       <== NOT EXECUTED
ffc06938:	7c 7d 1b 78 	mr      r29,r3                                 <== NOT EXECUTED
        tty->flow_ctrl &= ~FL_OSTOP;                                  
ffc0693c:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc06940:	54 00 06 f2 	rlwinm  r0,r0,0,27,25                          <== NOT EXECUTED
ffc06944:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
ffc06948:	80 1f 00 94 	lwz     r0,148(r31)                            <== NOT EXECUTED
ffc0694c:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc06950:	41 be 00 24 	beq+    cr7,ffc06974 <rtems_termios_enqueue_raw_characters+0x174><== NOT EXECUTED
          /* if chars available, call write function... */            
          (*tty->device.write)(                                       
            tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);
ffc06954:	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)(                                       
ffc06958:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc0695c:	80 9f 00 7c 	lwz     r4,124(r31)                            <== NOT EXECUTED
ffc06960:	80 1f 00 a4 	lwz     r0,164(r31)                            <== NOT EXECUTED
ffc06964:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc06968:	7c 84 4a 14 	add     r4,r4,r9                               <== NOT EXECUTED
ffc0696c:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc06970:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc06974:	7f a0 01 24 	mtmsr   r29                                    <== NOT EXECUTED
ffc06978:	48 00 01 40 	b       ffc06ab8 <rtems_termios_enqueue_raw_characters+0x2b8><== NOT EXECUTED
        }                                                             
        /* reenable interrupts */                                     
        rtems_interrupt_enable(level);                                
      }                                                               
    } else {                                                          
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
ffc0697c:	83 bf 00 60 	lwz     r29,96(r31)                            
ffc06980:	81 3f 00 64 	lwz     r9,100(r31)                            
ffc06984:	38 1d 00 01 	addi    r0,r29,1                               
ffc06988:	7f a0 4b 96 	divwu   r29,r0,r9                              
ffc0698c:	7f bd 49 d6 	mullw   r29,r29,r9                             
ffc06990:	7f bd 00 50 	subf    r29,r29,r0                             
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
ffc06994:	4b ff e8 59 	bl      ffc051ec <ppc_interrupt_disable>       
ffc06998:	7c 76 1b 78 	mr      r22,r3                                 
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
ffc0699c:	80 1f 00 5c 	lwz     r0,92(r31)                             
ffc069a0:	81 7f 00 64 	lwz     r11,100(r31)                           
            % tty->rawInBuf.Size) > tty->highwater) &&                
ffc069a4:	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)       
ffc069a8:	7c 00 58 50 	subf    r0,r0,r11                              
ffc069ac:	7c 00 ea 14 	add     r0,r0,r29                              
            % tty->rawInBuf.Size) > tty->highwater) &&                
ffc069b0:	7d 60 4b 96 	divwu   r11,r0,r9                              
ffc069b4:	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)       
ffc069b8:	81 7f 00 c0 	lwz     r11,192(r31)                           
            % tty->rawInBuf.Size) > tty->highwater) &&                
ffc069bc:	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)       
ffc069c0:	7f 80 58 40 	cmplw   cr7,r0,r11                             
ffc069c4:	40 9d 00 a0 	ble-    cr7,ffc06a64 <rtems_termios_enqueue_raw_characters+0x264><== ALWAYS TAKEN
            % tty->rawInBuf.Size) > tty->highwater) &&                
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
ffc069c8:	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) &&                
ffc069cc:	70 09 00 01 	andi.   r9,r0,1                                <== NOT EXECUTED
ffc069d0:	40 82 00 94 	bne-    ffc06a64 <rtems_termios_enqueue_raw_characters+0x264><== NOT EXECUTED
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
        /* incoming data stream should be stopped */                  
        tty->flow_ctrl |= FL_IREQXOF;                                 
ffc069d4:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc069d8:	60 00 00 01 	ori     r0,r0,1                                <== NOT EXECUTED
ffc069dc:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
ffc069e0:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc069e4:	70 00 04 02 	andi.   r0,r0,1026                             <== NOT EXECUTED
ffc069e8:	2f 80 04 00 	cmpwi   cr7,r0,1024                            <== NOT EXECUTED
ffc069ec:	40 be 00 44 	bne+    cr7,ffc06a30 <rtems_termios_enqueue_raw_characters+0x230><== NOT EXECUTED
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
ffc069f0:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc069f4:	70 09 00 20 	andi.   r9,r0,32                               <== NOT EXECUTED
ffc069f8:	40 82 00 10 	bne-    ffc06a08 <rtems_termios_enqueue_raw_characters+0x208><== NOT EXECUTED
ffc069fc:	80 1f 00 94 	lwz     r0,148(r31)                            <== NOT EXECUTED
ffc06a00:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc06a04:	40 9e 00 60 	bne-    cr7,ffc06a64 <rtems_termios_enqueue_raw_characters+0x264><== 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;                             
ffc06a08:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
ffc06a0c:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc06a10:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc06a14:	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;                             
ffc06a18:	60 00 00 02 	ori     r0,r0,2                                <== NOT EXECUTED
ffc06a1c:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
ffc06a20:	80 1f 00 a4 	lwz     r0,164(r31)                            <== NOT EXECUTED
ffc06a24:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc06a28:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc06a2c:	48 00 00 38 	b       ffc06a64 <rtems_termios_enqueue_raw_characters+0x264><== NOT EXECUTED
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        } else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
ffc06a30:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc06a34:	70 00 01 04 	andi.   r0,r0,260                              <== NOT EXECUTED
ffc06a38:	2f 80 01 00 	cmpwi   cr7,r0,256                             <== NOT EXECUTED
ffc06a3c:	40 be 00 28 	bne+    cr7,ffc06a64 <rtems_termios_enqueue_raw_characters+0x264><== NOT EXECUTED
          tty->flow_ctrl |= FL_IRTSOFF;                               
ffc06a40:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc06a44:	60 00 00 04 	ori     r0,r0,4                                <== NOT EXECUTED
ffc06a48:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
ffc06a4c:	80 1f 00 ac 	lwz     r0,172(r31)                            <== NOT EXECUTED
ffc06a50:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc06a54:	41 9e 00 10 	beq-    cr7,ffc06a64 <rtems_termios_enqueue_raw_characters+0x264><== NOT EXECUTED
            tty->device.stopRemoteTx(tty->minor);                     
ffc06a58:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc06a5c:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc06a60:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc06a64:	7e c0 01 24 	mtmsr   r22                                    
      }                                                               
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
ffc06a68:	80 1f 00 5c 	lwz     r0,92(r31)                             
ffc06a6c:	7f 9d 00 00 	cmpw    cr7,r29,r0                             
ffc06a70:	40 be 00 0c 	bne+    cr7,ffc06a7c <rtems_termios_enqueue_raw_characters+0x27c><== ALWAYS TAKEN
        dropped++;                                                    
ffc06a74:	3b de 00 01 	addi    r30,r30,1                              <== NOT EXECUTED
ffc06a78:	48 00 00 40 	b       ffc06ab8 <rtems_termios_enqueue_raw_characters+0x2b8><== NOT EXECUTED
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
ffc06a7c:	81 3f 00 58 	lwz     r9,88(r31)                             
ffc06a80:	7f 69 e9 ae 	stbx    r27,r9,r29                             
        tty->rawInBuf.Tail = newTail;                                 
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
ffc06a84:	80 1f 00 e4 	lwz     r0,228(r31)                            
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
        dropped++;                                                    
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
        tty->rawInBuf.Tail = newTail;                                 
ffc06a88:	93 bf 00 60 	stw     r29,96(r31)                            
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
ffc06a8c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06a90:	40 9e 00 28 	bne-    cr7,ffc06ab8 <rtems_termios_enqueue_raw_characters+0x2b8><== NEVER TAKEN
ffc06a94:	80 1f 00 dc 	lwz     r0,220(r31)                            
ffc06a98:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06a9c:	41 9e 00 1c 	beq-    cr7,ffc06ab8 <rtems_termios_enqueue_raw_characters+0x2b8><== ALWAYS TAKEN
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
ffc06aa0:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc06aa4:	7e e3 bb 78 	mr      r3,r23                                 <== NOT EXECUTED
ffc06aa8:	80 9f 00 e0 	lwz     r4,224(r31)                            <== NOT EXECUTED
ffc06aac:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
          tty->tty_rcvwakeup = 1;                                     
ffc06ab0:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc06ab4:	90 1f 00 e4 	stw     r0,228(r31)                            <== NOT EXECUTED
ffc06ab8:	3b 9c ff ff 	addi    r28,r28,-1                             
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
ffc06abc:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc06ac0:	40 9e fd f8 	bne+    cr7,ffc068b8 <rtems_termios_enqueue_raw_characters+0xb8>
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
ffc06ac4:	80 1f 00 78 	lwz     r0,120(r31)                            
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
ffc06ac8:	80 7f 00 68 	lwz     r3,104(r31)                            
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
ffc06acc:	7c 00 f2 14 	add     r0,r0,r30                              
ffc06ad0:	90 1f 00 78 	stw     r0,120(r31)                            
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
ffc06ad4:	48 00 0e fd 	bl      ffc079d0 <rtems_semaphore_release>     
  return dropped;                                                     
}                                                                     
ffc06ad8:	39 61 00 30 	addi    r11,r1,48                              
ffc06adc:	7f c3 f3 78 	mr      r3,r30                                 
ffc06ae0:	48 00 d6 58 	b       ffc14138 <_restgpr_22_x>               
                                                                      

ffc0586c <rtems_termios_ioctl>: } } rtems_status_code rtems_termios_ioctl (void *arg) {
ffc0586c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc05870:	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);
ffc05874:	38 80 00 00 	li      r4,0                                   
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
ffc05878:	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;                                            
ffc0587c:	38 00 00 00 	li      r0,0                                   
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc05880:	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;                   
ffc05884:	81 23 00 00 	lwz     r9,0(r3)                               
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
ffc05888:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc0588c:	7c 7e 1b 78 	mr      r30,r3                                 
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc05890:	83 e9 00 38 	lwz     r31,56(r9)                             
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
ffc05894:	83 83 00 08 	lwz     r28,8(r3)                              
  rtems_status_code sc;                                               
                                                                      
   args->ioctl_return = 0;                                            
ffc05898:	90 03 00 0c 	stw     r0,12(r3)                              
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc0589c:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc058a0:	48 00 20 09 	bl      ffc078a8 <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc058a4:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc058a8:	40 82 03 90 	bne-    ffc05c38 <rtems_termios_ioctl+0x3cc>   <== NEVER TAKEN
    args->ioctl_return = sc;                                          
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
ffc058ac:	80 1e 00 04 	lwz     r0,4(r30)                              
ffc058b0:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc058b4:	41 9e 02 bc 	beq-    cr7,ffc05b70 <rtems_termios_ioctl+0x304>
ffc058b8:	2b 80 00 04 	cmplwi  cr7,r0,4                               
ffc058bc:	41 9d 00 20 	bgt-    cr7,ffc058dc <rtems_termios_ioctl+0x70>
ffc058c0:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc058c4:	41 9e 00 a0 	beq-    cr7,ffc05964 <rtems_termios_ioctl+0xf8>
ffc058c8:	2b 80 00 02 	cmplwi  cr7,r0,2                               
ffc058cc:	41 9d 02 84 	bgt-    cr7,ffc05b50 <rtems_termios_ioctl+0x2e4>
ffc058d0:	2f 80 00 01 	cmpwi   cr7,r0,1                               
ffc058d4:	40 be 00 44 	bne+    cr7,ffc05918 <rtems_termios_ioctl+0xac><== NEVER TAKEN
ffc058d8:	48 00 00 78 	b       ffc05950 <rtems_termios_ioctl+0xe4>    
ffc058dc:	3d 20 40 04 	lis     r9,16388                               
ffc058e0:	61 29 66 7f 	ori     r9,r9,26239                            
ffc058e4:	7f 80 48 00 	cmpw    cr7,r0,r9                              
ffc058e8:	41 9e 03 18 	beq-    cr7,ffc05c00 <rtems_termios_ioctl+0x394><== NEVER TAKEN
ffc058ec:	7f 80 48 40 	cmplw   cr7,r0,r9                              
ffc058f0:	41 9d 00 10 	bgt-    cr7,ffc05900 <rtems_termios_ioctl+0x94>
ffc058f4:	2f 80 00 05 	cmpwi   cr7,r0,5                               
ffc058f8:	40 be 00 20 	bne+    cr7,ffc05918 <rtems_termios_ioctl+0xac>
ffc058fc:	48 00 02 60 	b       ffc05b5c <rtems_termios_ioctl+0x2f0>   
ffc05900:	6c 09 40 04 	xoris   r9,r0,16388                            
ffc05904:	2f 89 74 1a 	cmpwi   cr7,r9,29722                           
ffc05908:	41 9e 02 ec 	beq-    cr7,ffc05bf4 <rtems_termios_ioctl+0x388>
ffc0590c:	6c 09 80 04 	xoris   r9,r0,32772                            
ffc05910:	2f 89 74 1b 	cmpwi   cr7,r9,29723                           
ffc05914:	41 9e 02 70 	beq-    cr7,ffc05b84 <rtems_termios_ioctl+0x318><== ALWAYS TAKEN
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
ffc05918:	80 1f 00 cc 	lwz     r0,204(r31)                            
ffc0591c:	3d 20 00 00 	lis     r9,0                                   
ffc05920:	39 29 28 58 	addi    r9,r9,10328                            
ffc05924:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc05928:	7d 29 02 14 	add     r9,r9,r0                               
ffc0592c:	80 09 00 18 	lwz     r0,24(r9)                              
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
    }                                                                 
    else {                                                            
      sc = RTEMS_INVALID_NUMBER;                                      
ffc05930:	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) {          
ffc05934:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05938:	41 9e 02 f8 	beq-    cr7,ffc05c30 <rtems_termios_ioctl+0x3c4><== NEVER TAKEN
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
ffc0593c:	7f e3 fb 78 	mr      r3,r31                                 
ffc05940:	7c 09 03 a6 	mtctr   r0                                     
ffc05944:	7f c4 f3 78 	mr      r4,r30                                 
ffc05948:	4e 80 04 21 	bctrl                                          
ffc0594c:	48 00 02 a0 	b       ffc05bec <rtems_termios_ioctl+0x380>   
      sc = RTEMS_INVALID_NUMBER;                                      
    }                                                                 
    break;                                                            
                                                                      
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
ffc05950:	80 7e 00 08 	lwz     r3,8(r30)                              
ffc05954:	38 9f 00 30 	addi    r4,r31,48                              
ffc05958:	38 a0 00 24 	li      r5,36                                  
ffc0595c:	48 00 a4 81 	bl      ffc0fddc <memcpy>                      
    break;                                                            
ffc05960:	48 00 02 d0 	b       ffc05c30 <rtems_termios_ioctl+0x3c4>   
                                                                      
  case RTEMS_IO_SET_ATTRIBUTES:                                       
    tty->termios = *(struct termios *)args->buffer;                   
ffc05964:	80 9e 00 08 	lwz     r4,8(r30)                              
ffc05968:	38 7f 00 30 	addi    r3,r31,48                              
ffc0596c:	38 a0 00 24 	li      r5,36                                  
ffc05970:	48 00 a4 6d 	bl      ffc0fddc <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) &&                                 
ffc05974:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc05978:	70 09 02 00 	andi.   r9,r0,512                              
ffc0597c:	41 82 00 70 	beq-    ffc059ec <rtems_termios_ioctl+0x180>   
      !(tty->termios.c_iflag & IXON)) {                               
ffc05980:	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) &&                                 
ffc05984:	70 0b 04 00 	andi.   r11,r0,1024                            
ffc05988:	40 82 00 64 	bne-    ffc059ec <rtems_termios_ioctl+0x180>   
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
ffc0598c:	81 3f 00 b8 	lwz     r9,184(r31)                            
ffc05990:	38 00 fd ef 	li      r0,-529                                
ffc05994:	7d 20 00 38 	and     r0,r9,r0                               
ffc05998:	90 1f 00 b8 	stw     r0,184(r31)                            
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
ffc0599c:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc059a0:	70 09 00 20 	andi.   r9,r0,32                               
ffc059a4:	41 a2 00 48 	beq+    ffc059ec <rtems_termios_ioctl+0x180>   <== ALWAYS TAKEN
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
ffc059a8:	4b ff f8 45 	bl      ffc051ec <ppc_interrupt_disable>       <== NOT EXECUTED
ffc059ac:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
      tty->flow_ctrl &= ~FL_OSTOP;                                    
ffc059b0:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc059b4:	54 00 06 f2 	rlwinm  r0,r0,0,27,25                          <== NOT EXECUTED
ffc059b8:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
ffc059bc:	80 1f 00 94 	lwz     r0,148(r31)                            <== NOT EXECUTED
ffc059c0:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc059c4:	41 be 00 24 	beq+    cr7,ffc059e8 <rtems_termios_ioctl+0x17c><== NOT EXECUTED
        /* if chars available, call write function... */              
        (*tty->device.write)(                                         
          tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1); 
ffc059c8:	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)(                                         
ffc059cc:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc059d0:	80 9f 00 7c 	lwz     r4,124(r31)                            <== NOT EXECUTED
ffc059d4:	80 1f 00 a4 	lwz     r0,164(r31)                            <== NOT EXECUTED
ffc059d8:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc059dc:	7c 84 4a 14 	add     r4,r4,r9                               <== NOT EXECUTED
ffc059e0:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc059e4:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc059e8:	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)) {
ffc059ec:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc059f0:	70 09 04 00 	andi.   r9,r0,1024                             
ffc059f4:	41 82 00 28 	beq-    ffc05a1c <rtems_termios_ioctl+0x1b0>   
ffc059f8:	80 1f 00 30 	lwz     r0,48(r31)                             
ffc059fc:	70 0b 10 00 	andi.   r11,r0,4096                            
ffc05a00:	40 82 00 1c 	bne-    ffc05a1c <rtems_termios_ioctl+0x1b0>   
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
ffc05a04:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc05a08:	54 00 05 a8 	rlwinm  r0,r0,0,22,20                          
ffc05a0c:	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);                                  
ffc05a10:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc05a14:	54 00 07 fa 	rlwinm  r0,r0,0,31,29                          
ffc05a18:	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)) {
ffc05a1c:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc05a20:	70 09 01 00 	andi.   r9,r0,256                              
ffc05a24:	41 82 00 4c 	beq-    ffc05a70 <rtems_termios_ioctl+0x204>   
ffc05a28:	80 1f 00 38 	lwz     r0,56(r31)                             
ffc05a2c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05a30:	41 9c 00 40 	blt-    cr7,ffc05a70 <rtems_termios_ioctl+0x204><== ALWAYS TAKEN
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
ffc05a34:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc05a38:	54 00 06 2c 	rlwinm  r0,r0,0,24,22                          <== NOT EXECUTED
ffc05a3c:	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)) {
ffc05a40:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc05a44:	70 0b 00 04 	andi.   r11,r0,4                               <== NOT EXECUTED
ffc05a48:	41 82 00 1c 	beq-    ffc05a64 <rtems_termios_ioctl+0x1f8>   <== NOT EXECUTED
ffc05a4c:	80 1f 00 b0 	lwz     r0,176(r31)                            <== NOT EXECUTED
ffc05a50:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc05a54:	41 9e 00 10 	beq-    cr7,ffc05a64 <rtems_termios_ioctl+0x1f8><== NOT EXECUTED
      tty->device.startRemoteTx(tty->minor);                          
ffc05a58:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc05a5c:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc05a60:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
ffc05a64:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc05a68:	54 00 07 b8 	rlwinm  r0,r0,0,30,28                          <== NOT EXECUTED
ffc05a6c:	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) {                               
ffc05a70:	80 1f 00 38 	lwz     r0,56(r31)                             
ffc05a74:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05a78:	40 bc 00 10 	bge+    cr7,ffc05a88 <rtems_termios_ioctl+0x21c>
    tty->flow_ctrl |= FL_MDRTS;                                       
ffc05a7c:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc05a80:	60 00 01 00 	ori     r0,r0,256                              
ffc05a84:	90 1f 00 b8 	stw     r0,184(r31)                            
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
ffc05a88:	80 1f 00 30 	lwz     r0,48(r31)                             
ffc05a8c:	70 09 10 00 	andi.   r9,r0,4096                             
ffc05a90:	41 82 00 10 	beq-    ffc05aa0 <rtems_termios_ioctl+0x234>   
    tty->flow_ctrl |= FL_MDXOF;                                       
ffc05a94:	81 3f 00 b8 	lwz     r9,184(r31)                            
ffc05a98:	61 29 04 00 	ori     r9,r9,1024                             
ffc05a9c:	91 3f 00 b8 	stw     r9,184(r31)                            
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
ffc05aa0:	70 0b 04 00 	andi.   r11,r0,1024                            
ffc05aa4:	41 82 00 10 	beq-    ffc05ab4 <rtems_termios_ioctl+0x248>   
    tty->flow_ctrl |= FL_MDXON;                                       
ffc05aa8:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc05aac:	60 00 02 00 	ori     r0,r0,512                              
ffc05ab0:	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) {                              
ffc05ab4:	83 9f 00 3c 	lwz     r28,60(r31)                            
ffc05ab8:	73 9c 00 02 	andi.   r28,r28,2                              
ffc05abc:	41 82 00 0c 	beq-    ffc05ac8 <rtems_termios_ioctl+0x25c>   
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
ffc05ac0:	38 00 00 00 	li      r0,0                                   
ffc05ac4:	48 00 00 54 	b       ffc05b18 <rtems_termios_ioctl+0x2ac>   
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
ffc05ac8:	8b 7f 00 46 	lbz     r27,70(r31)                            
                    rtems_clock_get_ticks_per_second() / 10;          
ffc05acc:	48 00 16 e9 	bl      ffc071b4 <rtems_clock_get_ticks_per_second>
ffc05ad0:	38 00 00 0a 	li      r0,10                                  
ffc05ad4:	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] *                    
ffc05ad8:	7f 63 d9 d6 	mullw   r27,r3,r27                             
                    rtems_clock_get_ticks_per_second() / 10;          
ffc05adc:	7f 7b 03 96 	divwu   r27,r27,r0                             
      if (tty->termios.c_cc[VTIME]) {                                 
ffc05ae0:	88 1f 00 46 	lbz     r0,70(r31)                             
ffc05ae4:	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] *                    
ffc05ae8:	93 7f 00 54 	stw     r27,84(r31)                            
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
ffc05aec:	41 9e 00 24 	beq-    cr7,ffc05b10 <rtems_termios_ioctl+0x2a4>
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
        if (tty->termios.c_cc[VMIN])                                  
ffc05af0:	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;                   
ffc05af4:	93 9f 00 6c 	stw     r28,108(r31)                           
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
ffc05af8:	93 7f 00 70 	stw     r27,112(r31)                           
        if (tty->termios.c_cc[VMIN])                                  
ffc05afc:	41 82 00 0c 	beq-    ffc05b08 <rtems_termios_ioctl+0x29c>   
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
ffc05b00:	93 9f 00 74 	stw     r28,116(r31)                           
ffc05b04:	48 00 00 2c 	b       ffc05b30 <rtems_termios_ioctl+0x2c4>   
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
ffc05b08:	93 7f 00 74 	stw     r27,116(r31)                           
ffc05b0c:	48 00 00 24 	b       ffc05b30 <rtems_termios_ioctl+0x2c4>   
      } else {                                                        
        if (tty->termios.c_cc[VMIN]) {                                
ffc05b10:	71 2b 00 ff 	andi.   r11,r9,255                             
ffc05b14:	41 82 00 14 	beq-    ffc05b28 <rtems_termios_ioctl+0x2bc>   <== ALWAYS TAKEN
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
ffc05b18:	90 1f 00 6c 	stw     r0,108(r31)                            
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
ffc05b1c:	90 1f 00 70 	stw     r0,112(r31)                            
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
ffc05b20:	90 1f 00 74 	stw     r0,116(r31)                            
ffc05b24:	48 00 00 0c 	b       ffc05b30 <rtems_termios_ioctl+0x2c4>   
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
ffc05b28:	38 00 00 01 	li      r0,1                                   
ffc05b2c:	90 1f 00 6c 	stw     r0,108(r31)                            
        }                                                             
      }                                                               
    }                                                                 
    if (tty->device.setAttributes)                                    
ffc05b30:	80 1f 00 a8 	lwz     r0,168(r31)                            
ffc05b34:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05b38:	41 9e 00 f8 	beq-    cr7,ffc05c30 <rtems_termios_ioctl+0x3c4><== NEVER TAKEN
      (*tty->device.setAttributes)(tty->minor, &tty->termios);        
ffc05b3c:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc05b40:	38 9f 00 30 	addi    r4,r31,48                              
ffc05b44:	7c 09 03 a6 	mtctr   r0                                     
ffc05b48:	4e 80 04 21 	bctrl                                          
ffc05b4c:	48 00 00 e4 	b       ffc05c30 <rtems_termios_ioctl+0x3c4>   
    break;                                                            
                                                                      
  case RTEMS_IO_TCDRAIN:                                              
    drainOutput (tty);                                                
ffc05b50:	7f e3 fb 78 	mr      r3,r31                                 
ffc05b54:	4b ff f6 ad 	bl      ffc05200 <drainOutput>                 
    break;                                                            
ffc05b58:	48 00 00 d8 	b       ffc05c30 <rtems_termios_ioctl+0x3c4>   
                                                                      
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
ffc05b5c:	81 3c 00 00 	lwz     r9,0(r28)                              
ffc05b60:	81 5c 00 04 	lwz     r10,4(r28)                             
ffc05b64:	91 3f 00 d4 	stw     r9,212(r31)                            
ffc05b68:	91 5f 00 d8 	stw     r10,216(r31)                           
    break;                                                            
ffc05b6c:	48 00 00 c4 	b       ffc05c30 <rtems_termios_ioctl+0x3c4>   
                                                                      
  case RTEMS_IO_RCVWAKEUP:                                            
    tty->tty_rcv = *wakeup;                                           
ffc05b70:	81 3c 00 00 	lwz     r9,0(r28)                              
ffc05b74:	81 5c 00 04 	lwz     r10,4(r28)                             
ffc05b78:	91 3f 00 dc 	stw     r9,220(r31)                            
ffc05b7c:	91 5f 00 e0 	stw     r10,224(r31)                           
    break;                                                            
ffc05b80:	48 00 00 b0 	b       ffc05c30 <rtems_termios_ioctl+0x3c4>   
#if 1 /* FIXME */                                                     
  case TIOCSETD:                                                      
    /*                                                                
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
ffc05b84:	80 1f 00 cc 	lwz     r0,204(r31)                            
ffc05b88:	3d 20 00 00 	lis     r9,0                                   
ffc05b8c:	39 29 28 58 	addi    r9,r9,10328                            
ffc05b90:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc05b94:	7d 29 02 14 	add     r9,r9,r0                               
ffc05b98:	80 09 00 04 	lwz     r0,4(r9)                               
ffc05b9c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05ba0:	41 9e 00 14 	beq-    cr7,ffc05bb4 <rtems_termios_ioctl+0x348>
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
ffc05ba4:	7f e3 fb 78 	mr      r3,r31                                 
ffc05ba8:	7c 09 03 a6 	mtctr   r0                                     
ffc05bac:	4e 80 04 21 	bctrl                                          
ffc05bb0:	7c 7d 1b 78 	mr      r29,r3                                 
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
ffc05bb4:	81 3e 00 08 	lwz     r9,8(r30)                              
ffc05bb8:	80 09 00 00 	lwz     r0,0(r9)                               
    tty->t_sc = NULL; /* ensure that no more valid data */            
ffc05bbc:	39 20 00 00 	li      r9,0                                   
ffc05bc0:	91 3f 00 d0 	stw     r9,208(r31)                            
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
ffc05bc4:	3d 20 00 00 	lis     r9,0                                   
ffc05bc8:	39 29 28 58 	addi    r9,r9,10328                            
     * 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);                                
ffc05bcc:	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) {           
ffc05bd0:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc05bd4:	7c 09 00 2e 	lwzx    r0,r9,r0                               
ffc05bd8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05bdc:	41 9e 00 54 	beq-    cr7,ffc05c30 <rtems_termios_ioctl+0x3c4>
      sc = rtems_termios_linesw[tty->t_line].l_open(tty);             
ffc05be0:	7f e3 fb 78 	mr      r3,r31                                 
ffc05be4:	7c 09 03 a6 	mtctr   r0                                     
ffc05be8:	4e 80 04 21 	bctrl                                          
ffc05bec:	7c 7d 1b 78 	mr      r29,r3                                 
ffc05bf0:	48 00 00 40 	b       ffc05c30 <rtems_termios_ioctl+0x3c4>   
    }                                                                 
    break;                                                            
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
ffc05bf4:	81 3e 00 08 	lwz     r9,8(r30)                              
ffc05bf8:	80 1f 00 cc 	lwz     r0,204(r31)                            
ffc05bfc:	48 00 00 30 	b       ffc05c2c <rtems_termios_ioctl+0x3c0>   
    break;                                                            
#endif                                                                
   case FIONREAD: {                                                   
      int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;            
ffc05c00:	81 3f 00 60 	lwz     r9,96(r31)                             <== NOT EXECUTED
ffc05c04:	80 1f 00 5c 	lwz     r0,92(r31)                             <== NOT EXECUTED
      if ( rawnc < 0 )                                                
ffc05c08:	7c 00 48 51 	subf.   r0,r0,r9                               <== NOT EXECUTED
ffc05c0c:	40 a0 00 0c 	bge+    ffc05c18 <rtems_termios_ioctl+0x3ac>   <== NOT EXECUTED
        rawnc += tty->rawInBuf.Size;                                  
ffc05c10:	81 3f 00 64 	lwz     r9,100(r31)                            <== NOT EXECUTED
ffc05c14:	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;       
ffc05c18:	81 5f 00 20 	lwz     r10,32(r31)                            <== NOT EXECUTED
ffc05c1c:	81 7f 00 24 	lwz     r11,36(r31)                            <== NOT EXECUTED
ffc05c20:	81 3e 00 08 	lwz     r9,8(r30)                              <== NOT EXECUTED
ffc05c24:	7d 6b 50 50 	subf    r11,r11,r10                            <== NOT EXECUTED
ffc05c28:	7c 0b 02 14 	add     r0,r11,r0                              <== NOT EXECUTED
ffc05c2c:	90 09 00 00 	stw     r0,0(r9)                               
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
ffc05c30:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc05c34:	48 00 1d 9d 	bl      ffc079d0 <rtems_semaphore_release>     
  args->ioctl_return = sc;                                            
  return sc;                                                          
}                                                                     
ffc05c38:	39 61 00 20 	addi    r11,r1,32                              
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
  args->ioctl_return = sc;                                            
ffc05c3c:	93 be 00 0c 	stw     r29,12(r30)                            
  return sc;                                                          
}                                                                     
ffc05c40:	7f a3 eb 78 	mr      r3,r29                                 
ffc05c44:	48 00 e5 08 	b       ffc1414c <_restgpr_27_x>               
                                                                      

ffc05270 <rtems_termios_open>: rtems_device_major_number major, rtems_device_minor_number minor, void *arg, const rtems_termios_callbacks *callbacks ) {
ffc05270:	94 21 ff c8 	stwu    r1,-56(r1)                             
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc05274:	3d 20 00 00 	lis     r9,0                                   
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc05278:	7c 08 02 a6 	mflr    r0                                     
ffc0527c:	be a1 00 0c 	stmw    r21,12(r1)                             
ffc05280:	7c 7b 1b 78 	mr      r27,r3                                 
ffc05284:	7c 9a 23 78 	mr      r26,r4                                 
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc05288:	80 69 27 94 	lwz     r3,10132(r9)                           
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc0528c:	7c b9 2b 78 	mr      r25,r5                                 
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc05290:	38 80 00 00 	li      r4,0                                   
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc05294:	90 01 00 3c 	stw     r0,60(r1)                              
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc05298:	38 a0 00 00 	li      r5,0                                   
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc0529c:	7c d8 33 78 	mr      r24,r6                                 
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc052a0:	48 00 26 09 	bl      ffc078a8 <rtems_semaphore_obtain>      
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc052a4:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc052a8:	40 82 03 b8 	bne-    ffc05660 <rtems_termios_open+0x3f0>    <== NEVER TAKEN
    return sc;                                                        
                                                                      
  for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) { 
ffc052ac:	3d 20 00 00 	lis     r9,0                                   
ffc052b0:	83 89 27 9c 	lwz     r28,10140(r9)                          
ffc052b4:	7f 9e e3 78 	mr      r30,r28                                
ffc052b8:	48 00 00 20 	b       ffc052d8 <rtems_termios_open+0x68>     
    if ((tty->major == major) && (tty->minor == minor))               
ffc052bc:	80 1e 00 0c 	lwz     r0,12(r30)                             
ffc052c0:	7f 80 d8 00 	cmpw    cr7,r0,r27                             
ffc052c4:	40 be 00 10 	bne+    cr7,ffc052d4 <rtems_termios_open+0x64> 
ffc052c8:	80 1e 00 10 	lwz     r0,16(r30)                             
ffc052cc:	7f 80 d0 00 	cmpw    cr7,r0,r26                             
ffc052d0:	41 9e 03 00 	beq-    cr7,ffc055d0 <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) { 
ffc052d4:	83 de 00 00 	lwz     r30,0(r30)                             
ffc052d8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc052dc:	40 9e ff e0 	bne+    cr7,ffc052bc <rtems_termios_open+0x4c> 
ffc052e0:	48 00 03 8c 	b       ffc0566c <rtems_termios_open+0x3fc>    
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
ffc052e4:	3d 20 00 00 	lis     r9,0                                   
ffc052e8:	80 09 21 a4 	lwz     r0,8612(r9)                            
ffc052ec:	3a a9 21 a4 	addi    r21,r9,8612                            
ffc052f0:	90 1e 00 64 	stw     r0,100(r30)                            
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
ffc052f4:	80 7e 00 64 	lwz     r3,100(r30)                            
ffc052f8:	4b ff f2 71 	bl      ffc04568 <malloc>                      
    if (tty->rawInBuf.theBuf == NULL) {                               
ffc052fc:	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);               
ffc05300:	90 7e 00 58 	stw     r3,88(r30)                             
ffc05304:	7c 77 1b 78 	mr      r23,r3                                 
    if (tty->rawInBuf.theBuf == NULL) {                               
ffc05308:	40 be 00 20 	bne+    cr7,ffc05328 <rtems_termios_open+0xb8> 
            free(tty);                                                
ffc0530c:	7f c3 f3 78 	mr      r3,r30                                 
ffc05310:	4b ff ee bd 	bl      ffc041cc <free>                        
      rtems_semaphore_release (rtems_termios_ttyMutex);               
ffc05314:	3d 20 00 00 	lis     r9,0                                   
ffc05318:	80 69 27 94 	lwz     r3,10132(r9)                           
      return RTEMS_NO_MEMORY;                                         
ffc0531c:	3b a0 00 1a 	li      r29,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);               
ffc05320:	48 00 26 b1 	bl      ffc079d0 <rtems_semaphore_release>     
      return RTEMS_NO_MEMORY;                                         
ffc05324:	48 00 03 3c 	b       ffc05660 <rtems_termios_open+0x3f0>    
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
ffc05328:	80 15 00 04 	lwz     r0,4(r21)                              
ffc0532c:	90 1e 00 88 	stw     r0,136(r30)                            
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
ffc05330:	80 7e 00 88 	lwz     r3,136(r30)                            
ffc05334:	4b ff f2 35 	bl      ffc04568 <malloc>                      
    if (tty->rawOutBuf.theBuf == NULL) {                              
ffc05338:	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);             
ffc0533c:	90 7e 00 7c 	stw     r3,124(r30)                            
ffc05340:	7c 76 1b 78 	mr      r22,r3                                 
    if (tty->rawOutBuf.theBuf == NULL) {                              
ffc05344:	41 9e 00 20 	beq-    cr7,ffc05364 <rtems_termios_open+0xf4> 
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
ffc05348:	80 75 00 08 	lwz     r3,8(r21)                              
ffc0534c:	4b ff f2 1d 	bl      ffc04568 <malloc>                      
    if (tty->cbuf == NULL) {                                          
ffc05350:	2f 83 00 00 	cmpwi   cr7,r3,0                               
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
ffc05354:	90 7e 00 1c 	stw     r3,28(r30)                             
    if (tty->cbuf == NULL) {                                          
ffc05358:	40 be 00 18 	bne+    cr7,ffc05370 <rtems_termios_open+0x100><== ALWAYS TAKEN
            free((void *)(tty->rawOutBuf.theBuf));                    
ffc0535c:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc05360:	4b ff ee 6d 	bl      ffc041cc <free>                        <== NOT EXECUTED
            free((void *)(tty->rawInBuf.theBuf));                     
ffc05364:	7e e3 bb 78 	mr      r3,r23                                 
ffc05368:	4b ff ee 65 	bl      ffc041cc <free>                        
ffc0536c:	4b ff ff a0 	b       ffc0530c <rtems_termios_open+0x9c>     
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
    tty->back = NULL;                                                 
    if (rtems_termios_ttyHead != NULL)                                
ffc05370:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    tty->tty_rcvwakeup  = 0;                                          
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
ffc05374:	93 9e 00 00 	stw     r28,0(r30)                             
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * Initialize wakeup callbacks                                    
     */                                                               
    tty->tty_snd.sw_pfn = NULL;                                       
ffc05378:	38 00 00 00 	li      r0,0                                   
ffc0537c:	90 1e 00 d4 	stw     r0,212(r30)                            
    tty->tty_snd.sw_arg = NULL;                                       
ffc05380:	90 1e 00 d8 	stw     r0,216(r30)                            
    tty->tty_rcv.sw_pfn = NULL;                                       
ffc05384:	90 1e 00 dc 	stw     r0,220(r30)                            
    tty->tty_rcv.sw_arg = NULL;                                       
ffc05388:	90 1e 00 e0 	stw     r0,224(r30)                            
    tty->tty_rcvwakeup  = 0;                                          
ffc0538c:	90 1e 00 e4 	stw     r0,228(r30)                            
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
    tty->back = NULL;                                                 
ffc05390:	90 1e 00 04 	stw     r0,4(r30)                              
    if (rtems_termios_ttyHead != NULL)                                
ffc05394:	41 9e 00 08 	beq-    cr7,ffc0539c <rtems_termios_open+0x12c>
      rtems_termios_ttyHead->back = tty;                              
ffc05398:	93 dc 00 04 	stw     r30,4(r28)                             
    rtems_termios_ttyHead = tty;                                      
ffc0539c:	3d 20 00 00 	lis     r9,0                                   
ffc053a0:	93 e9 27 9c 	stw     r31,10140(r9)                          
    if (rtems_termios_ttyTail == NULL)                                
ffc053a4:	3d 20 00 00 	lis     r9,0                                   
ffc053a8:	80 09 27 98 	lwz     r0,10136(r9)                           
ffc053ac:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc053b0:	40 be 00 08 	bne+    cr7,ffc053b8 <rtems_termios_open+0x148>
      rtems_termios_ttyTail = tty;                                    
ffc053b4:	93 e9 27 98 	stw     r31,10136(r9)                          
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'i', c),                            
ffc053b8:	3f 80 00 00 	lis     r28,0                                  
      rtems_termios_ttyHead->back = tty;                              
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
      rtems_termios_ttyTail = tty;                                    
                                                                      
    tty->minor = minor;                                               
ffc053bc:	93 5f 00 10 	stw     r26,16(r31)                            
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'i', c),                            
ffc053c0:	3b 9c 21 a4 	addi    r28,r28,8612                           
ffc053c4:	88 7c 00 0c 	lbz     r3,12(r28)                             
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
ffc053c8:	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;                                               
ffc053cc:	93 7f 00 0c 	stw     r27,12(r31)                            
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
ffc053d0:	38 a0 00 54 	li      r5,84                                  
ffc053d4:	64 63 54 52 	oris    r3,r3,21586                            
ffc053d8:	60 63 69 00 	ori     r3,r3,26880                            
ffc053dc:	38 c0 00 00 	li      r6,0                                   
ffc053e0:	38 ff 00 14 	addi    r7,r31,20                              
ffc053e4:	48 00 22 45 	bl      ffc07628 <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)                                       
ffc053e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc053ec:	40 9e 02 64 	bne-    cr7,ffc05650 <rtems_termios_open+0x3e0>
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'o', c),                            
ffc053f0:	88 7c 00 0c 	lbz     r3,12(r28)                             
      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 (                                     
ffc053f4:	38 80 00 01 	li      r4,1                                   
ffc053f8:	38 a0 00 54 	li      r5,84                                  
ffc053fc:	64 63 54 52 	oris    r3,r3,21586                            
ffc05400:	60 63 6f 00 	ori     r3,r3,28416                            
ffc05404:	38 c0 00 00 	li      r6,0                                   
ffc05408:	38 ff 00 18 	addi    r7,r31,24                              
ffc0540c:	48 00 22 1d 	bl      ffc07628 <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)                                       
ffc05410:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05414:	40 9e 02 3c 	bne-    cr7,ffc05650 <rtems_termios_open+0x3e0>
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'x', c),                            
ffc05418:	88 7c 00 0c 	lbz     r3,12(r28)                             
      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 (                                     
ffc0541c:	38 80 00 00 	li      r4,0                                   
ffc05420:	38 a0 00 20 	li      r5,32                                  
ffc05424:	64 63 54 52 	oris    r3,r3,21586                            
ffc05428:	60 63 78 00 	ori     r3,r3,30720                            
ffc0542c:	38 c0 00 00 	li      r6,0                                   
ffc05430:	38 ff 00 8c 	addi    r7,r31,140                             
ffc05434:	48 00 21 f5 	bl      ffc07628 <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)                                       
ffc05438:	7c 60 1b 79 	mr.     r0,r3                                  
ffc0543c:	40 82 02 14 	bne-    ffc05650 <rtems_termios_open+0x3e0>    
    tty->rawOutBufState = rob_idle;                                   
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
ffc05440:	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;                                   
ffc05444:	90 1f 00 94 	stw     r0,148(r31)                            
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
ffc05448:	7c b8 04 aa 	lswi    r5,r24,32                              
ffc0544c:	7c a4 05 aa 	stswi   r5,r4,32                               
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc05450:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc05454:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc05458:	40 be 00 5c 	bne+    cr7,ffc054b4 <rtems_termios_open+0x244>
      sc = rtems_task_create (                                        
                                   rtems_build_name ('T', 'x', 'T', c),
ffc0545c:	88 7c 00 0c 	lbz     r3,12(r28)                             
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_create (                                        
ffc05460:	38 80 00 0a 	li      r4,10                                  
ffc05464:	38 a0 04 00 	li      r5,1024                                
ffc05468:	64 63 54 78 	oris    r3,r3,21624                            
ffc0546c:	60 63 54 00 	ori     r3,r3,21504                            
ffc05470:	38 c0 05 00 	li      r6,1280                                
ffc05474:	38 e0 00 00 	li      r7,0                                   
ffc05478:	39 1f 00 c8 	addi    r8,r31,200                             
ffc0547c:	48 00 26 15 	bl      ffc07a90 <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)                                     
ffc05480:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05484:	40 9e 01 cc 	bne-    cr7,ffc05650 <rtems_termios_open+0x3e0><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
                                   rtems_build_name ('R', 'x', 'T', c),
ffc05488:	88 7c 00 0c 	lbz     r3,12(r28)                             
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->txTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
ffc0548c:	38 80 00 09 	li      r4,9                                   
ffc05490:	38 a0 04 00 	li      r5,1024                                
ffc05494:	64 63 52 78 	oris    r3,r3,21112                            
ffc05498:	60 63 54 00 	ori     r3,r3,21504                            
ffc0549c:	38 c0 05 00 	li      r6,1280                                
ffc054a0:	38 e0 00 00 	li      r7,0                                   
ffc054a4:	39 1f 00 c4 	addi    r8,r31,196                             
ffc054a8:	48 00 25 e9 	bl      ffc07a90 <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)                                     
ffc054ac:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc054b0:	40 9e 01 a0 	bne-    cr7,ffc05650 <rtems_termios_open+0x3e0><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
ffc054b4:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc054b8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc054bc:	41 9e 00 10 	beq-    cr7,ffc054cc <rtems_termios_open+0x25c>
ffc054c0:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc054c4:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc054c8:	40 be 00 30 	bne+    cr7,ffc054f8 <rtems_termios_open+0x288>
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
        rtems_build_name ('T', 'R', 'r', c),                          
ffc054cc:	3d 20 00 00 	lis     r9,0                                   
ffc054d0:	88 69 21 b0 	lbz     r3,8624(r9)                            
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
ffc054d4:	38 80 00 00 	li      r4,0                                   
ffc054d8:	38 a0 00 24 	li      r5,36                                  
ffc054dc:	64 63 54 52 	oris    r3,r3,21586                            
ffc054e0:	60 63 72 00 	ori     r3,r3,29184                            
ffc054e4:	38 c0 00 00 	li      r6,0                                   
ffc054e8:	38 ff 00 68 	addi    r7,r31,104                             
ffc054ec:	48 00 21 3d 	bl      ffc07628 <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)                                     
ffc054f0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc054f4:	40 9e 01 5c 	bne-    cr7,ffc05650 <rtems_termios_open+0x3e0><== NEVER TAKEN
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
ffc054f8:	38 00 25 02 	li      r0,9474                                
ffc054fc:	90 1f 00 30 	stw     r0,48(r31)                             
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
ffc05500:	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')                                                   
ffc05504:	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;                     
ffc05508:	90 1f 00 34 	stw     r0,52(r31)                             
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
ffc0550c:	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')                                                   
ffc05510:	39 29 21 a4 	addi    r9,r9,8612                             
    /*                                                                
     * 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;              
ffc05514:	90 1f 00 38 	stw     r0,56(r31)                             
    tty->termios.c_lflag =                                            
ffc05518:	38 00 00 00 	li      r0,0                                   
ffc0551c:	60 00 82 3b 	ori     r0,r0,33339                            
ffc05520:	90 1f 00 3c 	stw     r0,60(r31)                             
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
ffc05524:	38 00 00 03 	li      r0,3                                   
ffc05528:	98 1f 00 41 	stb     r0,65(r31)                             
    tty->termios.c_cc[VQUIT] = '\034';                                
ffc0552c:	38 00 00 1c 	li      r0,28                                  
ffc05530:	98 1f 00 42 	stb     r0,66(r31)                             
    tty->termios.c_cc[VERASE] = '\177';                               
ffc05534:	38 00 00 7f 	li      r0,127                                 
ffc05538:	98 1f 00 43 	stb     r0,67(r31)                             
    tty->termios.c_cc[VKILL] = '\025';                                
ffc0553c:	38 00 00 15 	li      r0,21                                  
ffc05540:	98 1f 00 44 	stb     r0,68(r31)                             
    tty->termios.c_cc[VEOF] = '\004';                                 
ffc05544:	38 00 00 04 	li      r0,4                                   
ffc05548:	98 1f 00 45 	stb     r0,69(r31)                             
    tty->termios.c_cc[VEOL] = '\000';                                 
ffc0554c:	38 00 00 00 	li      r0,0                                   
ffc05550:	98 1f 00 4c 	stb     r0,76(r31)                             
    tty->termios.c_cc[VEOL2] = '\000';                                
ffc05554:	98 1f 00 51 	stb     r0,81(r31)                             
    tty->termios.c_cc[VSTART] = '\021';                               
ffc05558:	38 00 00 11 	li      r0,17                                  
ffc0555c:	98 1f 00 49 	stb     r0,73(r31)                             
    tty->termios.c_cc[VSTOP] = '\023';                                
ffc05560:	38 00 00 13 	li      r0,19                                  
ffc05564:	98 1f 00 4a 	stb     r0,74(r31)                             
    tty->termios.c_cc[VSUSP] = '\032';                                
ffc05568:	38 00 00 1a 	li      r0,26                                  
ffc0556c:	98 1f 00 4b 	stb     r0,75(r31)                             
    tty->termios.c_cc[VREPRINT] = '\022';                             
ffc05570:	38 00 00 12 	li      r0,18                                  
ffc05574:	98 1f 00 4d 	stb     r0,77(r31)                             
    tty->termios.c_cc[VDISCARD] = '\017';                             
ffc05578:	38 00 00 0f 	li      r0,15                                  
ffc0557c:	98 1f 00 4e 	stb     r0,78(r31)                             
    tty->termios.c_cc[VWERASE] = '\027';                              
ffc05580:	38 00 00 17 	li      r0,23                                  
ffc05584:	98 1f 00 4f 	stb     r0,79(r31)                             
    tty->termios.c_cc[VLNEXT] = '\026';                               
ffc05588:	38 00 00 16 	li      r0,22                                  
ffc0558c:	98 1f 00 50 	stb     r0,80(r31)                             
                                                                      
    /* start with no flow control, clear flow control flags */        
    tty->flow_ctrl = 0;                                               
ffc05590:	38 00 00 00 	li      r0,0                                   
ffc05594:	90 1f 00 b8 	stw     r0,184(r31)                            
    /*                                                                
     * set low/highwater mark for XON/XOFF support                    
     */                                                               
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
ffc05598:	80 1f 00 64 	lwz     r0,100(r31)                            
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
ffc0559c:	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;                        
ffc055a0:	54 00 f8 7e 	rlwinm  r0,r0,31,1,31                          
ffc055a4:	90 1f 00 bc 	stw     r0,188(r31)                            
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
ffc055a8:	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;                        
ffc055ac:	80 1f 00 64 	lwz     r0,100(r31)                            
ffc055b0:	1c 00 00 03 	mulli   r0,r0,3                                
ffc055b4:	54 00 f0 be 	rlwinm  r0,r0,30,2,31                          
ffc055b8:	90 1f 00 c0 	stw     r0,192(r31)                            
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
ffc055bc:	38 0b 00 01 	addi    r0,r11,1                               
ffc055c0:	98 09 00 0c 	stb     r0,12(r9)                              
ffc055c4:	40 be 00 0c 	bne+    cr7,ffc055d0 <rtems_termios_open+0x360>
      c = 'a';                                                        
ffc055c8:	38 00 00 61 	li      r0,97                                  
ffc055cc:	98 09 00 0c 	stb     r0,12(r9)                              
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
ffc055d0:	81 39 00 00 	lwz     r9,0(r25)                              
ffc055d4:	93 c9 00 38 	stw     r30,56(r9)                             
  if (!tty->refcount++) {                                             
ffc055d8:	81 3e 00 08 	lwz     r9,8(r30)                              
ffc055dc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc055e0:	38 09 00 01 	addi    r0,r9,1                                
ffc055e4:	90 1e 00 08 	stw     r0,8(r30)                              
ffc055e8:	40 9e 00 6c 	bne-    cr7,ffc05654 <rtems_termios_open+0x3e4>
    if (tty->device.firstOpen)                                        
ffc055ec:	80 1e 00 98 	lwz     r0,152(r30)                            
ffc055f0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc055f4:	41 9e 00 18 	beq-    cr7,ffc0560c <rtems_termios_open+0x39c><== ALWAYS TAKEN
      (*tty->device.firstOpen)(major, minor, arg);                    
ffc055f8:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc055fc:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc05600:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc05604:	7f 25 cb 78 	mr      r5,r25                                 <== NOT EXECUTED
ffc05608:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
                                                                      
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc0560c:	80 1e 00 b4 	lwz     r0,180(r30)                            
ffc05610:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc05614:	40 be 00 40 	bne+    cr7,ffc05654 <rtems_termios_open+0x3e4>
      sc = rtems_task_start(                                          
ffc05618:	80 7e 00 c4 	lwz     r3,196(r30)                            
ffc0561c:	3c 80 ff c0 	lis     r4,-64                                 
ffc05620:	38 84 6a e4 	addi    r4,r4,27364                            
ffc05624:	7f c5 f3 78 	mr      r5,r30                                 
ffc05628:	48 00 27 31 	bl      ffc07d58 <rtems_task_start>            
        tty->rxTaskId, rtems_termios_rxdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc0562c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05630:	40 9e 00 20 	bne-    cr7,ffc05650 <rtems_termios_open+0x3e0><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
                                                                      
      sc = rtems_task_start(                                          
ffc05634:	80 7e 00 c8 	lwz     r3,200(r30)                            
ffc05638:	3c 80 ff c0 	lis     r4,-64                                 
ffc0563c:	38 84 6d 48 	addi    r4,r4,27976                            
ffc05640:	7f c5 f3 78 	mr      r5,r30                                 
ffc05644:	48 00 27 15 	bl      ffc07d58 <rtems_task_start>            
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc05648:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0564c:	41 be 00 08 	beq+    cr7,ffc05654 <rtems_termios_open+0x3e4><== ALWAYS TAKEN
        rtems_fatal_error_occurred (sc);                              
ffc05650:	48 00 29 d5 	bl      ffc08024 <rtems_fatal_error_occurred>  
    }                                                                 
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
ffc05654:	3d 20 00 00 	lis     r9,0                                   
ffc05658:	80 69 27 94 	lwz     r3,10132(r9)                           
ffc0565c:	48 00 23 75 	bl      ffc079d0 <rtems_semaphore_release>     
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc05660:	39 61 00 38 	addi    r11,r1,56                              
ffc05664:	7f a3 eb 78 	mr      r3,r29                                 
ffc05668:	48 00 ea cc 	b       ffc14134 <_restgpr_21_x>               
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
ffc0566c:	38 60 00 01 	li      r3,1                                   
ffc05670:	38 80 00 e8 	li      r4,232                                 
ffc05674:	4b ff e9 51 	bl      ffc03fc4 <calloc>                      
    if (tty == NULL) {                                                
ffc05678:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
ffc0567c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc05680:	7c 7f 1b 78 	mr      r31,r3                                 
    if (tty == NULL) {                                                
ffc05684:	40 9e fc 60 	bne+    cr7,ffc052e4 <rtems_termios_open+0x74> 
ffc05688:	4b ff fc 8c 	b       ffc05314 <rtems_termios_open+0xa4>     
                                                                      

ffc05c48 <rtems_termios_puts>: * Send characters to device-specific code */ void rtems_termios_puts ( const void *_buf, int len, struct rtems_termios_tty *tty) {
ffc05c48:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc05c4c:	7c 08 02 a6 	mflr    r0                                     
ffc05c50:	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) {           
ffc05c54:	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)           
{                                                                     
ffc05c58:	bf 21 00 0c 	stmw    r25,12(r1)                             
ffc05c5c:	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) {           
ffc05c60:	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)           
{                                                                     
ffc05c64:	7c 9d 23 78 	mr      r29,r4                                 
ffc05c68:	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) {           
ffc05c6c:	40 be 00 20 	bne+    cr7,ffc05c8c <rtems_termios_puts+0x44> 
    (*tty->device.write)(tty->minor, (void *)buf, len);               
ffc05c70:	80 05 00 a4 	lwz     r0,164(r5)                             
ffc05c74:	7f 64 db 78 	mr      r4,r27                                 
ffc05c78:	80 65 00 10 	lwz     r3,16(r5)                              
ffc05c7c:	7f a5 eb 78 	mr      r5,r29                                 
ffc05c80:	7c 09 03 a6 	mtctr   r0                                     
ffc05c84:	4e 80 04 21 	bctrl                                          
    return;                                                           
ffc05c88:	48 00 00 e0 	b       ffc05d68 <rtems_termios_puts+0x120>    
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
ffc05c8c:	83 c5 00 80 	lwz     r30,128(r5)                            
                                                                      
/*                                                                    
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
ffc05c90:	3b 63 ff ff 	addi    r27,r3,-1                              
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
    rtems_interrupt_disable (level);                                  
    while (newHead == tty->rawOutBuf.Tail) {                          
      tty->rawOutBufState = rob_wait;                                 
ffc05c94:	3b 20 00 02 	li      r25,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;                                 
ffc05c98:	3b 40 00 01 	li      r26,1                                  
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, (void *)buf, len);               
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
ffc05c9c:	48 00 00 c4 	b       ffc05d60 <rtems_termios_puts+0x118>    
     *  len -= ncopy                                                  
     *                                                                
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
ffc05ca0:	80 1f 00 88 	lwz     r0,136(r31)                            
ffc05ca4:	3b de 00 01 	addi    r30,r30,1                              
ffc05ca8:	7d 3e 03 96 	divwu   r9,r30,r0                              
ffc05cac:	7c 09 01 d6 	mullw   r0,r9,r0                               
ffc05cb0:	7f c0 f0 50 	subf    r30,r0,r30                             
    rtems_interrupt_disable (level);                                  
ffc05cb4:	4b ff f5 39 	bl      ffc051ec <ppc_interrupt_disable>       
ffc05cb8:	7c 7c 1b 78 	mr      r28,r3                                 
    while (newHead == tty->rawOutBuf.Tail) {                          
ffc05cbc:	48 00 00 30 	b       ffc05cec <rtems_termios_puts+0xa4>     
      tty->rawOutBufState = rob_wait;                                 
ffc05cc0:	93 3f 00 94 	stw     r25,148(r31)                           
ffc05cc4:	7f 80 01 24 	mtmsr   r28                                    
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
ffc05cc8:	80 7f 00 8c 	lwz     r3,140(r31)                            
ffc05ccc:	38 80 00 00 	li      r4,0                                   
ffc05cd0:	38 a0 00 00 	li      r5,0                                   
ffc05cd4:	48 00 1b d5 	bl      ffc078a8 <rtems_semaphore_obtain>      
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc05cd8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05cdc:	41 be 00 08 	beq+    cr7,ffc05ce4 <rtems_termios_puts+0x9c> <== ALWAYS TAKEN
        rtems_fatal_error_occurred (sc);                              
ffc05ce0:	48 00 23 45 	bl      ffc08024 <rtems_fatal_error_occurred>  <== NOT EXECUTED
      rtems_interrupt_disable (level);                                
ffc05ce4:	4b ff f5 09 	bl      ffc051ec <ppc_interrupt_disable>       
ffc05ce8:	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) {                          
ffc05cec:	80 1f 00 84 	lwz     r0,132(r31)                            
ffc05cf0:	7f 9e 00 00 	cmpw    cr7,r30,r0                             
ffc05cf4:	41 9e ff cc 	beq+    cr7,ffc05cc0 <rtems_termios_puts+0x78> 
        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++;              
ffc05cf8:	80 1f 00 80 	lwz     r0,128(r31)                            
ffc05cfc:	8d 7b 00 01 	lbzu    r11,1(r27)                             
ffc05d00:	81 3f 00 7c 	lwz     r9,124(r31)                            
ffc05d04:	7d 69 01 ae 	stbx    r11,r9,r0                              
    tty->rawOutBuf.Head = newHead;                                    
    if (tty->rawOutBufState == rob_idle) {                            
ffc05d08:	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;                                    
ffc05d0c:	93 df 00 80 	stw     r30,128(r31)                           
    if (tty->rawOutBufState == rob_idle) {                            
ffc05d10:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc05d14:	40 9e 00 44 	bne-    cr7,ffc05d58 <rtems_termios_puts+0x110>
      /* check, whether XOFF has been received */                     
      if (!(tty->flow_ctrl & FL_ORCVXOF)) {                           
ffc05d18:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc05d1c:	70 09 00 10 	andi.   r9,r0,16                               
ffc05d20:	40 a2 00 28 	bne+    ffc05d48 <rtems_termios_puts+0x100>    <== NEVER TAKEN
        (*tty->device.write)(tty->minor,                              
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
ffc05d24:	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,                              
ffc05d28:	38 a0 00 01 	li      r5,1                                   
ffc05d2c:	80 9f 00 7c 	lwz     r4,124(r31)                            
ffc05d30:	80 1f 00 a4 	lwz     r0,164(r31)                            
ffc05d34:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc05d38:	7c 84 4a 14 	add     r4,r4,r9                               
ffc05d3c:	7c 09 03 a6 	mtctr   r0                                     
ffc05d40:	4e 80 04 21 	bctrl                                          
ffc05d44:	48 00 00 10 	b       ffc05d54 <rtems_termios_puts+0x10c>    
      (char *)&tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1);         
      } else {                                                        
        /* remember that output has been stopped due to flow ctrl*/   
        tty->flow_ctrl |= FL_OSTOP;                                   
ffc05d48:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc05d4c:	60 00 00 20 	ori     r0,r0,32                               <== NOT EXECUTED
ffc05d50:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy;                                 
ffc05d54:	93 5f 00 94 	stw     r26,148(r31)                           
ffc05d58:	7f 80 01 24 	mtmsr   r28                                    
    }                                                                 
    rtems_interrupt_enable (level);                                   
    len--;                                                            
ffc05d5c:	3b bd ff ff 	addi    r29,r29,-1                             
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, (void *)buf, len);               
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
ffc05d60:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc05d64:	40 9e ff 3c 	bne+    cr7,ffc05ca0 <rtems_termios_puts+0x58> 
      tty->rawOutBufState = rob_busy;                                 
    }                                                                 
    rtems_interrupt_enable (level);                                   
    len--;                                                            
  }                                                                   
}                                                                     
ffc05d68:	39 61 00 28 	addi    r11,r1,40                              
ffc05d6c:	48 00 e3 d8 	b       ffc14144 <_restgpr_25_x>               
                                                                      

ffc0645c <rtems_termios_read>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_termios_read (void *arg) {
ffc0645c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc06460:	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);
ffc06464:	38 80 00 00 	li      r4,0                                   
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
ffc06468:	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);
ffc0646c:	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;                   
ffc06470:	81 23 00 00 	lwz     r9,0(r3)                               
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
ffc06474:	be e1 00 0c 	stmw    r23,12(r1)                             
ffc06478:	7c 7e 1b 78 	mr      r30,r3                                 
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc0647c:	83 e9 00 38 	lwz     r31,56(r9)                             
  uint32_t   count = args->count;                                     
ffc06480:	83 63 00 14 	lwz     r27,20(r3)                             
  char      *buffer = args->buffer;                                   
ffc06484:	83 23 00 10 	lwz     r25,16(r3)                             
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc06488:	80 7f 00 14 	lwz     r3,20(r31)                             
ffc0648c:	48 00 14 1d 	bl      ffc078a8 <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc06490:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc06494:	40 82 03 38 	bne-    ffc067cc <rtems_termios_read+0x370>    <== NEVER TAKEN
    return sc;                                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_read != NULL) {             
ffc06498:	80 1f 00 cc 	lwz     r0,204(r31)                            
ffc0649c:	3d 20 00 00 	lis     r9,0                                   
ffc064a0:	39 29 28 58 	addi    r9,r9,10328                            
ffc064a4:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc064a8:	7d 29 02 14 	add     r9,r9,r0                               
ffc064ac:	80 09 00 08 	lwz     r0,8(r9)                               
ffc064b0:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc064b4:	41 9e 00 1c 	beq-    cr7,ffc064d0 <rtems_termios_read+0x74> 
    sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);          
ffc064b8:	7f e3 fb 78 	mr      r3,r31                                 
ffc064bc:	7c 09 03 a6 	mtctr   r0                                     
ffc064c0:	7f c4 f3 78 	mr      r4,r30                                 
ffc064c4:	4e 80 04 21 	bctrl                                          
ffc064c8:	7c 7c 1b 78 	mr      r28,r3                                 
ffc064cc:	48 00 02 f0 	b       ffc067bc <rtems_termios_read+0x360>    
    tty->tty_rcvwakeup = 0;                                           
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
ffc064d0:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc064d4:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc064d8:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc064dc:	40 be 02 98 	bne+    cr7,ffc06774 <rtems_termios_read+0x318><== NEVER TAKEN
    tty->cindex = tty->ccount = 0;                                    
    tty->read_start_column = tty->column;                             
ffc064e0:	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;                                    
ffc064e4:	93 9f 00 20 	stw     r28,32(r31)                            
    tty->read_start_column = tty->column;                             
ffc064e8:	90 1f 00 2c 	stw     r0,44(r31)                             
    if (tty->device.pollRead != NULL &&                               
ffc064ec:	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;                                    
ffc064f0:	93 9f 00 24 	stw     r28,36(r31)                            
    tty->read_start_column = tty->column;                             
    if (tty->device.pollRead != NULL &&                               
ffc064f4:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc064f8:	41 9e 00 fc 	beq-    cr7,ffc065f4 <rtems_termios_read+0x198>
ffc064fc:	80 1f 00 b4 	lwz     r0,180(r31)                            
ffc06500:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06504:	40 be 00 f0 	bne+    cr7,ffc065f4 <rtems_termios_read+0x198>
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
ffc06508:	80 1f 00 3c 	lwz     r0,60(r31)                             
ffc0650c:	70 09 00 02 	andi.   r9,r0,2                                
ffc06510:	41 82 00 40 	beq-    ffc06550 <rtems_termios_read+0xf4>     
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
ffc06514:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc06518:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc0651c:	7c 09 03 a6 	mtctr   r0                                     
ffc06520:	4e 80 04 21 	bctrl                                          
      if (n < 0) {                                                    
ffc06524:	2c 03 00 00 	cmpwi   r3,0                                   
ffc06528:	40 a0 00 10 	bge+    ffc06538 <rtems_termios_read+0xdc>     
        rtems_task_wake_after (1);                                    
ffc0652c:	38 60 00 01 	li      r3,1                                   
ffc06530:	48 00 19 01 	bl      ffc07e30 <rtems_task_wake_after>       
ffc06534:	4b ff ff e0 	b       ffc06514 <rtems_termios_read+0xb8>     
      } else {                                                        
        if  (siproc (n, tty))                                         
ffc06538:	54 63 06 3e 	clrlwi  r3,r3,24                               
ffc0653c:	7f e4 fb 78 	mr      r4,r31                                 
ffc06540:	4b ff fd e5 	bl      ffc06324 <siproc>                      
ffc06544:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06548:	41 9e ff cc 	beq+    cr7,ffc06514 <rtems_termios_read+0xb8> 
ffc0654c:	48 00 02 28 	b       ffc06774 <rtems_termios_read+0x318>    
      }                                                               
    }                                                                 
  } else {                                                            
    rtems_interval then, now;                                         
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
ffc06550:	48 00 0c 7d 	bl      ffc071cc <rtems_clock_get_ticks_since_boot>
ffc06554:	7c 7d 1b 78 	mr      r29,r3                                 
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
ffc06558:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc0655c:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc06560:	7c 09 03 a6 	mtctr   r0                                     
ffc06564:	4e 80 04 21 	bctrl                                          
      if (n < 0) {                                                    
ffc06568:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0656c:	40 80 00 54 	bge-    ffc065c0 <rtems_termios_read+0x164>    
        if (tty->termios.c_cc[VMIN]) {                                
ffc06570:	88 1f 00 47 	lbz     r0,71(r31)                             
ffc06574:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06578:	88 1f 00 46 	lbz     r0,70(r31)                             
ffc0657c:	41 9e 00 1c 	beq-    cr7,ffc06598 <rtems_termios_read+0x13c><== NEVER TAKEN
          if (tty->termios.c_cc[VTIME] && tty->ccount) {              
ffc06580:	70 09 00 ff 	andi.   r9,r0,255                              
ffc06584:	41 82 00 30 	beq-    ffc065b4 <rtems_termios_read+0x158>    <== NEVER TAKEN
ffc06588:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc0658c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06590:	41 be 00 24 	beq+    cr7,ffc065b4 <rtems_termios_read+0x158>
ffc06594:	48 00 00 0c 	b       ffc065a0 <rtems_termios_read+0x144>    
            if ((now - then) > tty->vtimeTicks) {                     
              break;                                                  
            }                                                         
          }                                                           
        } else {                                                      
          if (!tty->termios.c_cc[VTIME])                              
ffc06598:	70 09 00 ff 	andi.   r9,r0,255                              <== NOT EXECUTED
ffc0659c:	41 82 01 d8 	beq-    ffc06774 <rtems_termios_read+0x318>    <== NOT EXECUTED
            break;                                                    
          now = rtems_clock_get_ticks_since_boot();                   
ffc065a0:	48 00 0c 2d 	bl      ffc071cc <rtems_clock_get_ticks_since_boot>
          if ((now - then) > tty->vtimeTicks) {                       
ffc065a4:	80 1f 00 54 	lwz     r0,84(r31)                             
ffc065a8:	7c 7d 18 50 	subf    r3,r29,r3                              
ffc065ac:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc065b0:	41 9d 01 c4 	bgt-    cr7,ffc06774 <rtems_termios_read+0x318>
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
ffc065b4:	38 60 00 01 	li      r3,1                                   
ffc065b8:	48 00 18 79 	bl      ffc07e30 <rtems_task_wake_after>       
ffc065bc:	4b ff ff 9c 	b       ffc06558 <rtems_termios_read+0xfc>     
      } else {                                                        
        siproc (n, tty);                                              
ffc065c0:	54 63 06 3e 	clrlwi  r3,r3,24                               
ffc065c4:	7f e4 fb 78 	mr      r4,r31                                 
ffc065c8:	4b ff fd 5d 	bl      ffc06324 <siproc>                      
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
ffc065cc:	88 1f 00 47 	lbz     r0,71(r31)                             
ffc065d0:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc065d4:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc065d8:	40 9c 01 9c 	bge-    cr7,ffc06774 <rtems_termios_read+0x318><== NEVER TAKEN
          break;                                                      
        if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])      
ffc065dc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc065e0:	41 be ff 78 	beq-    cr7,ffc06558 <rtems_termios_read+0xfc> <== NEVER TAKEN
ffc065e4:	88 1f 00 46 	lbz     r0,70(r31)                             
ffc065e8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc065ec:	41 9e ff 6c 	beq+    cr7,ffc06558 <rtems_termios_read+0xfc> <== NEVER TAKEN
ffc065f0:	4b ff ff 60 	b       ffc06550 <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;        
ffc065f4:	83 5f 00 74 	lwz     r26,116(r31)                           
  rtems_status_code sc;                                               
  int               wait = (int)1;                                    
ffc065f8:	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))) {                
ffc065fc:	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)(                                       
ffc06600:	3b 1f 00 49 	addi    r24,r31,73                             
ffc06604:	48 00 01 28 	b       ffc0672c <rtems_termios_read+0x2d0>    
    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;        
ffc06608:	81 3f 00 5c 	lwz     r9,92(r31)                             
ffc0660c:	81 7f 00 64 	lwz     r11,100(r31)                           
ffc06610:	39 29 00 01 	addi    r9,r9,1                                
ffc06614:	7c 09 5b 96 	divwu   r0,r9,r11                              
ffc06618:	7c 00 59 d6 	mullw   r0,r0,r11                              
ffc0661c:	7c 00 48 50 	subf    r0,r0,r9                               
      c = tty->rawInBuf.theBuf[newHead];                              
ffc06620:	81 3f 00 58 	lwz     r9,88(r31)                             
ffc06624:	7f 49 00 ae 	lbzx    r26,r9,r0                              
      tty->rawInBuf.Head = newHead;                                   
ffc06628:	90 1f 00 5c 	stw     r0,92(r31)                             
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
ffc0662c:	81 7f 00 60 	lwz     r11,96(r31)                            
ffc06630:	81 5f 00 64 	lwz     r10,100(r31)                           
          % tty->rawInBuf.Size)                                       
ffc06634:	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)             
ffc06638:	7d 6a 5a 14 	add     r11,r10,r11                            
ffc0663c:	7c 00 58 50 	subf    r0,r0,r11                              
          % tty->rawInBuf.Size)                                       
ffc06640:	7d 60 4b 96 	divwu   r11,r0,r9                              
ffc06644:	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)             
ffc06648:	81 7f 00 bc 	lwz     r11,188(r31)                           
          % tty->rawInBuf.Size)                                       
ffc0664c:	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)             
ffc06650:	7f 80 58 40 	cmplw   cr7,r0,r11                             
ffc06654:	40 9c 00 84 	bge-    cr7,ffc066d8 <rtems_termios_read+0x27c><== NEVER TAKEN
          % tty->rawInBuf.Size)                                       
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
ffc06658:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc0665c:	54 00 00 3c 	rlwinm  r0,r0,0,0,30                           
ffc06660:	90 1f 00 b8 	stw     r0,184(r31)                            
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
ffc06664:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc06668:	70 00 02 02 	andi.   r0,r0,514                              
ffc0666c:	2f 80 02 02 	cmpwi   cr7,r0,514                             
ffc06670:	40 be 00 38 	bne+    cr7,ffc066a8 <rtems_termios_read+0x24c><== ALWAYS TAKEN
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((tty->rawOutBufState == rob_idle)                     
ffc06674:	80 1f 00 94 	lwz     r0,148(r31)                            <== NOT EXECUTED
ffc06678:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc0667c:	41 9e 00 10 	beq-    cr7,ffc0668c <rtems_termios_read+0x230><== NOT EXECUTED
          || (tty->flow_ctrl & FL_OSTOP))) {                          
ffc06680:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc06684:	70 09 00 20 	andi.   r9,r0,32                               <== NOT EXECUTED
ffc06688:	41 82 00 20 	beq-    ffc066a8 <rtems_termios_read+0x24c>    <== NOT EXECUTED
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
ffc0668c:	80 1f 00 a4 	lwz     r0,164(r31)                            <== NOT EXECUTED
ffc06690:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc06694:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc06698:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc0669c:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc066a0:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc066a4:	48 00 00 34 	b       ffc066d8 <rtems_termios_read+0x27c>    <== NOT EXECUTED
            tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);     
        } else if (tty->flow_ctrl & FL_MDRTS) {                       
ffc066a8:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc066ac:	70 09 01 00 	andi.   r9,r0,256                              
ffc066b0:	41 82 00 28 	beq-    ffc066d8 <rtems_termios_read+0x27c>    <== ALWAYS TAKEN
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
ffc066b4:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc066b8:	54 00 07 b8 	rlwinm  r0,r0,0,30,28                          <== NOT EXECUTED
ffc066bc:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
ffc066c0:	80 1f 00 b0 	lwz     r0,176(r31)                            <== NOT EXECUTED
ffc066c4:	2f 80 00 00 	cmpwi   cr7,r0,0                               <== NOT EXECUTED
ffc066c8:	41 9e 00 10 	beq-    cr7,ffc066d8 <rtems_termios_read+0x27c><== NOT EXECUTED
            tty->device.startRemoteTx(tty->minor);                    
ffc066cc:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc066d0:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc066d4:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
ffc066d8:	80 1f 00 3c 	lwz     r0,60(r31)                             
ffc066dc:	70 09 00 02 	andi.   r9,r0,2                                
ffc066e0:	41 82 00 20 	beq-    ffc06700 <rtems_termios_read+0x2a4>    <== NEVER TAKEN
        if (siproc (c, tty))                                          
ffc066e4:	7f 43 d3 78 	mr      r3,r26                                 
ffc066e8:	7f e4 fb 78 	mr      r4,r31                                 
ffc066ec:	4b ff fc 39 	bl      ffc06324 <siproc>                      
          wait = 0;                                                   
ffc066f0:	30 63 ff ff 	addic   r3,r3,-1                               
ffc066f4:	7c 63 19 10 	subfe   r3,r3,r3                               
ffc066f8:	7f bd 18 38 	and     r29,r29,r3                             
ffc066fc:	48 00 00 2c 	b       ffc06728 <rtems_termios_read+0x2cc>    
      } else {                                                        
        siproc (c, tty);                                              
ffc06700:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc06704:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc06708:	4b ff fc 1d 	bl      ffc06324 <siproc>                      <== NOT EXECUTED
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
ffc0670c:	88 1f 00 47 	lbz     r0,71(r31)                             <== NOT EXECUTED
ffc06710:	81 3f 00 20 	lwz     r9,32(r31)                             <== NOT EXECUTED
          wait = 0;                                                   
ffc06714:	7f 89 00 00 	cmpw    cr7,r9,r0                              <== NOT EXECUTED
ffc06718:	7c 00 00 26 	mfcr    r0                                     <== NOT EXECUTED
ffc0671c:	54 00 ef fe 	rlwinm  r0,r0,29,31,31                         <== NOT EXECUTED
ffc06720:	7c 00 00 d0 	neg     r0,r0                                  <== NOT EXECUTED
ffc06724:	7f bd 00 38 	and     r29,r29,r0                             <== NOT EXECUTED
      }                                                               
      timeout = tty->rawInBufSemaphoreTimeout;                        
ffc06728:	83 5f 00 70 	lwz     r26,112(r31)                           
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc0672c:	81 3f 00 5c 	lwz     r9,92(r31)                             
ffc06730:	80 1f 00 60 	lwz     r0,96(r31)                             
ffc06734:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc06738:	41 9e 00 1c 	beq-    cr7,ffc06754 <rtems_termios_read+0x2f8>
                       (tty->ccount < (CBUFSIZE-1))) {                
ffc0673c:	39 37 21 a4 	addi    r9,r23,8612                            
ffc06740:	81 29 00 08 	lwz     r9,8(r9)                               
ffc06744:	38 09 ff ff 	addi    r0,r9,-1                               
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc06748:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc0674c:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc06750:	41 9c fe b8 	blt+    cr7,ffc06608 <rtems_termios_read+0x1ac><== ALWAYS TAKEN
    }                                                                 
                                                                      
    /*                                                                
     * Wait for characters                                            
     */                                                               
    if ( wait ) {                                                     
ffc06754:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc06758:	41 be 00 1c 	beq+    cr7,ffc06774 <rtems_termios_read+0x318>
      sc = rtems_semaphore_obtain(                                    
ffc0675c:	80 7f 00 68 	lwz     r3,104(r31)                            
ffc06760:	7f 45 d3 78 	mr      r5,r26                                 
ffc06764:	80 9f 00 6c 	lwz     r4,108(r31)                            
ffc06768:	48 00 11 41 	bl      ffc078a8 <rtems_semaphore_obtain>      
        tty->rawInBuf.Semaphore, tty->rawInBufSemaphoreOptions, timeout);
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc0676c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06770:	41 9e ff bc 	beq+    cr7,ffc0672c <rtems_termios_read+0x2d0><== ALWAYS TAKEN
  }                                                                   
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
ffc06774:	38 1b 00 01 	addi    r0,r27,1                               
ffc06778:	3b 39 ff ff 	addi    r25,r25,-1                             
ffc0677c:	7c 09 03 a6 	mtctr   r0                                     
ffc06780:	48 00 00 1c 	b       ffc0679c <rtems_termios_read+0x340>    
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
    *buffer++ = tty->cbuf[tty->cindex++];                             
ffc06784:	81 7f 00 1c 	lwz     r11,28(r31)                            
    count--;                                                          
ffc06788:	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++];                             
ffc0678c:	7c 0b 48 ae 	lbzx    r0,r11,r9                              
ffc06790:	39 29 00 01 	addi    r9,r9,1                                
ffc06794:	9c 19 00 01 	stbu    r0,1(r25)                              
ffc06798:	91 3f 00 24 	stw     r9,36(r31)                             
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
ffc0679c:	42 40 00 14 	bdz-    ffc067b0 <rtems_termios_read+0x354>    
ffc067a0:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc067a4:	80 1f 00 20 	lwz     r0,32(r31)                             
ffc067a8:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc067ac:	41 9c ff d8 	blt+    cr7,ffc06784 <rtems_termios_read+0x328>
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
ffc067b0:	80 1e 00 14 	lwz     r0,20(r30)                             
ffc067b4:	7f 7b 00 50 	subf    r27,r27,r0                             
ffc067b8:	93 7e 00 1c 	stw     r27,28(r30)                            
  tty->tty_rcvwakeup = 0;                                             
ffc067bc:	38 00 00 00 	li      r0,0                                   
  rtems_semaphore_release (tty->isem);                                
ffc067c0:	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;                                             
ffc067c4:	90 1f 00 e4 	stw     r0,228(r31)                            
  rtems_semaphore_release (tty->isem);                                
ffc067c8:	48 00 12 09 	bl      ffc079d0 <rtems_semaphore_release>     
  return sc;                                                          
}                                                                     
ffc067cc:	39 61 00 30 	addi    r11,r1,48                              
ffc067d0:	7f 83 e3 78 	mr      r3,r28                                 
ffc067d4:	48 00 d9 68 	b       ffc1413c <_restgpr_23_x>               
                                                                      

ffc06b60 <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) {
ffc06b60:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc06b64:	7c 08 02 a6 	mflr    r0                                     
ffc06b68:	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))         
ffc06b6c:	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)      
{                                                                     
ffc06b70:	bf a1 00 0c 	stmw    r29,12(r1)                             
ffc06b74:	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))         
ffc06b78:	70 00 04 03 	andi.   r0,r0,1027                             
ffc06b7c:	2f 80 04 01 	cmpwi   cr7,r0,1025                            
ffc06b80:	40 be 00 3c 	bne+    cr7,ffc06bbc <rtems_termios_refill_transmitter+0x5c><== ALWAYS TAKEN
      == (FL_MDXOF | FL_IREQXOF)) {                                   
    /* XOFF should be sent now... */                                  
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTOP]), 1);
ffc06b84:	80 03 00 a4 	lwz     r0,164(r3)                             <== NOT EXECUTED
ffc06b88:	38 9f 00 4a 	addi    r4,r31,74                              <== NOT EXECUTED
ffc06b8c:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc06b90:	80 63 00 10 	lwz     r3,16(r3)                              <== NOT EXECUTED
ffc06b94:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc06b98:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
ffc06b9c:	4b ff e6 51 	bl      ffc051ec <ppc_interrupt_disable>       <== NOT EXECUTED
    tty->t_dqlen--;                                                   
ffc06ba0:	81 3f 00 90 	lwz     r9,144(r31)                            <== NOT EXECUTED
ffc06ba4:	38 09 ff ff 	addi    r0,r9,-1                               <== NOT EXECUTED
ffc06ba8:	90 1f 00 90 	stw     r0,144(r31)                            <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
ffc06bac:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc06bb0:	60 00 00 02 	ori     r0,r0,2                                <== NOT EXECUTED
ffc06bb4:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
ffc06bb8:	48 00 00 48 	b       ffc06c00 <rtems_termios_refill_transmitter+0xa0><== NOT EXECUTED
                                                                      
    nToSend = 1;                                                      
                                                                      
  } else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF)) == FL_ISNTXOF) {
ffc06bbc:	80 03 00 b8 	lwz     r0,184(r3)                             
ffc06bc0:	54 00 07 be 	clrlwi  r0,r0,30                               
ffc06bc4:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc06bc8:	40 be 00 44 	bne+    cr7,ffc06c0c <rtems_termios_refill_transmitter+0xac><== 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);
ffc06bcc:	80 03 00 a4 	lwz     r0,164(r3)                             <== NOT EXECUTED
ffc06bd0:	38 9f 00 49 	addi    r4,r31,73                              <== NOT EXECUTED
ffc06bd4:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc06bd8:	80 63 00 10 	lwz     r3,16(r3)                              <== NOT EXECUTED
ffc06bdc:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc06be0:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
ffc06be4:	4b ff e6 09 	bl      ffc051ec <ppc_interrupt_disable>       <== NOT EXECUTED
    tty->t_dqlen--;                                                   
ffc06be8:	81 3f 00 90 	lwz     r9,144(r31)                            <== NOT EXECUTED
ffc06bec:	38 09 ff ff 	addi    r0,r9,-1                               <== NOT EXECUTED
ffc06bf0:	90 1f 00 90 	stw     r0,144(r31)                            <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
ffc06bf4:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc06bf8:	54 00 07 fa 	rlwinm  r0,r0,0,31,29                          <== NOT EXECUTED
ffc06bfc:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
ffc06c00:	7c 60 01 24 	mtmsr   r3                                     <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
ffc06c04:	3b c0 00 01 	li      r30,1                                  <== NOT EXECUTED
ffc06c08:	48 00 01 34 	b       ffc06d3c <rtems_termios_refill_transmitter+0x1dc><== NOT EXECUTED
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
ffc06c0c:	81 23 00 80 	lwz     r9,128(r3)                             
ffc06c10:	80 03 00 84 	lwz     r0,132(r3)                             
ffc06c14:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc06c18:	40 9e 00 20 	bne-    cr7,ffc06c38 <rtems_termios_refill_transmitter+0xd8>
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
ffc06c1c:	80 03 00 94 	lwz     r0,148(r3)                             
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
      }                                                               
      return 0;                                                       
ffc06c20:	3b c0 00 00 	li      r30,0                                  
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
ffc06c24:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc06c28:	40 be 01 14 	bne+    cr7,ffc06d3c <rtems_termios_refill_transmitter+0x1dc><== ALWAYS TAKEN
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
ffc06c2c:	80 63 00 8c 	lwz     r3,140(r3)                             <== NOT EXECUTED
ffc06c30:	48 00 0d a1 	bl      ffc079d0 <rtems_semaphore_release>     <== NOT EXECUTED
ffc06c34:	48 00 01 08 	b       ffc06d3c <rtems_termios_refill_transmitter+0x1dc><== NOT EXECUTED
      }                                                               
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
ffc06c38:	4b ff e5 b5 	bl      ffc051ec <ppc_interrupt_disable>       
    len = tty->t_dqlen;                                               
    tty->t_dqlen = 0;                                                 
ffc06c3c:	38 00 00 00 	li      r0,0                                   
      }                                                               
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
    len = tty->t_dqlen;                                               
ffc06c40:	83 bf 00 90 	lwz     r29,144(r31)                           
    tty->t_dqlen = 0;                                                 
ffc06c44:	90 1f 00 90 	stw     r0,144(r31)                            
ffc06c48:	7c 60 01 24 	mtmsr   r3                                     
    rtems_interrupt_enable(level);                                    
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
ffc06c4c:	80 1f 00 84 	lwz     r0,132(r31)                            
ffc06c50:	81 3f 00 88 	lwz     r9,136(r31)                            
ffc06c54:	7c 1d 02 14 	add     r0,r29,r0                              
ffc06c58:	7f a0 4b 96 	divwu   r29,r0,r9                              
ffc06c5c:	7f bd 49 d6 	mullw   r29,r29,r9                             
ffc06c60:	7f bd 00 50 	subf    r29,r29,r0                             
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
ffc06c64:	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;                                    
ffc06c68:	93 bf 00 84 	stw     r29,132(r31)                           
    if (tty->rawOutBufState == rob_wait) {                            
ffc06c6c:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc06c70:	40 be 00 0c 	bne+    cr7,ffc06c7c <rtems_termios_refill_transmitter+0x11c>
      /*                                                              
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
ffc06c74:	80 7f 00 8c 	lwz     r3,140(r31)                            
ffc06c78:	48 00 0d 59 	bl      ffc079d0 <rtems_semaphore_release>     
    }                                                                 
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
ffc06c7c:	80 1f 00 80 	lwz     r0,128(r31)                            
ffc06c80:	7f 9d 00 00 	cmpw    cr7,r29,r0                             
ffc06c84:	40 be 00 30 	bne+    cr7,ffc06cb4 <rtems_termios_refill_transmitter+0x154>
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
ffc06c88:	38 00 00 00 	li      r0,0                                   
ffc06c8c:	90 1f 00 94 	stw     r0,148(r31)                            
      nToSend = 0;                                                    
ffc06c90:	3b c0 00 00 	li      r30,0                                  
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
ffc06c94:	80 1f 00 d4 	lwz     r0,212(r31)                            
ffc06c98:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06c9c:	41 9e 00 9c 	beq-    cr7,ffc06d38 <rtems_termios_refill_transmitter+0x1d8><== ALWAYS TAKEN
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
ffc06ca0:	38 7f 00 30 	addi    r3,r31,48                              <== NOT EXECUTED
ffc06ca4:	80 9f 00 d8 	lwz     r4,216(r31)                            <== NOT EXECUTED
ffc06ca8:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc06cac:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc06cb0:	48 00 00 88 	b       ffc06d38 <rtems_termios_refill_transmitter+0x1d8><== NOT EXECUTED
      }                                                               
    }                                                                 
    /* check, whether output should stop due to received XOFF */      
    else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))               
ffc06cb4:	80 1f 00 b8 	lwz     r0,184(r31)                            
ffc06cb8:	70 00 02 10 	andi.   r0,r0,528                              
ffc06cbc:	2f 80 02 10 	cmpwi   cr7,r0,528                             
ffc06cc0:	40 be 00 28 	bne+    cr7,ffc06ce8 <rtems_termios_refill_transmitter+0x188><== 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);                                 
ffc06cc4:	4b ff e5 29 	bl      ffc051ec <ppc_interrupt_disable>       <== NOT EXECUTED
      tty->flow_ctrl |= FL_OSTOP;                                     
ffc06cc8:	80 1f 00 b8 	lwz     r0,184(r31)                            <== NOT EXECUTED
ffc06ccc:	60 00 00 20 	ori     r0,r0,32                               <== NOT EXECUTED
ffc06cd0:	90 1f 00 b8 	stw     r0,184(r31)                            <== NOT EXECUTED
      tty->rawOutBufState = rob_busy; /*apm*/                         
ffc06cd4:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc06cd8:	90 1f 00 94 	stw     r0,148(r31)                            <== NOT EXECUTED
ffc06cdc:	7c 60 01 24 	mtmsr   r3                                     <== NOT EXECUTED
      rtems_interrupt_enable(level);                                  
      nToSend = 0;                                                    
ffc06ce0:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
ffc06ce4:	48 00 00 54 	b       ffc06d38 <rtems_termios_refill_transmitter+0x1d8><== NOT EXECUTED
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
ffc06ce8:	80 1f 00 80 	lwz     r0,128(r31)                            
ffc06cec:	7f 9d 00 40 	cmplw   cr7,r29,r0                             
ffc06cf0:	40 9d 00 0c 	ble-    cr7,ffc06cfc <rtems_termios_refill_transmitter+0x19c>
        nToSend = tty->rawOutBuf.Size - newTail;                      
ffc06cf4:	83 df 00 88 	lwz     r30,136(r31)                           
ffc06cf8:	48 00 00 08 	b       ffc06d00 <rtems_termios_refill_transmitter+0x1a0>
      else                                                            
        nToSend = tty->rawOutBuf.Head - newTail;                      
ffc06cfc:	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)) {                   
ffc06d00:	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;                      
ffc06d04:	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)) {                   
ffc06d08:	70 09 06 00 	andi.   r9,r0,1536                             
ffc06d0c:	41 82 00 08 	beq-    ffc06d14 <rtems_termios_refill_transmitter+0x1b4>
        nToSend = 1;                                                  
ffc06d10:	3b c0 00 01 	li      r30,1                                  
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
ffc06d14:	38 00 00 01 	li      r0,1                                   
      (*tty->device.write)(                                           
ffc06d18:	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*/                         
ffc06d1c:	90 1f 00 94 	stw     r0,148(r31)                            
      (*tty->device.write)(                                           
ffc06d20:	7f c5 f3 78 	mr      r5,r30                                 
ffc06d24:	7c 84 ea 14 	add     r4,r4,r29                              
ffc06d28:	80 1f 00 a4 	lwz     r0,164(r31)                            
ffc06d2c:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc06d30:	7c 09 03 a6 	mtctr   r0                                     
ffc06d34:	4e 80 04 21 	bctrl                                          
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
ffc06d38:	93 bf 00 84 	stw     r29,132(r31)                           
  }                                                                   
  return nToSend;                                                     
}                                                                     
ffc06d3c:	39 61 00 18 	addi    r11,r1,24                              
ffc06d40:	7f c3 f3 78 	mr      r3,r30                                 
ffc06d44:	48 00 d4 10 	b       ffc14154 <_restgpr_29_x>               
                                                                      

ffc06ae4 <rtems_termios_rxdaemon>: /* * this task actually processes any receive events */ static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument) {
ffc06ae4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc06ae8:	7c 08 02 a6 	mflr    r0                                     
ffc06aec:	90 01 00 2c 	stw     r0,44(r1)                              
ffc06af0:	bf a1 00 1c 	stmw    r29,28(r1)                             
ffc06af4:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
ffc06af8:	3b a1 00 0c 	addi    r29,r1,12                              
    if (c != EOF) {                                                   
      /*                                                              
       * pollRead did call enqueue on its own                         
       */                                                             
      c_buf = c;                                                      
      rtems_termios_enqueue_raw_characters ( tty,&c_buf,1);           
ffc06afc:	3b c1 00 08 	addi    r30,r1,8                               
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
ffc06b00:	38 60 00 03 	li      r3,3                                   
ffc06b04:	38 80 00 02 	li      r4,2                                   
ffc06b08:	38 a0 00 00 	li      r5,0                                   
ffc06b0c:	7f a6 eb 78 	mr      r6,r29                                 
ffc06b10:	48 00 07 41 	bl      ffc07250 <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) {              
ffc06b14:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc06b18:	70 09 00 01 	andi.   r9,r0,1                                
ffc06b1c:	41 a2 00 14 	beq+    ffc06b30 <rtems_termios_rxdaemon+0x4c> <== ALWAYS TAKEN
      tty->rxTaskId = 0;                                              
ffc06b20:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc06b24:	90 1f 00 c4 	stw     r0,196(r31)                            <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
ffc06b28:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc06b2c:	48 00 10 a1 	bl      ffc07bcc <rtems_task_delete>           <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
ffc06b30:	80 1f 00 a0 	lwz     r0,160(r31)                            
ffc06b34:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc06b38:	7c 09 03 a6 	mtctr   r0                                     
ffc06b3c:	4e 80 04 21 	bctrl                                          
    if (c != EOF) {                                                   
ffc06b40:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc06b44:	41 9e ff bc 	beq+    cr7,ffc06b00 <rtems_termios_rxdaemon+0x1c>
      /*                                                              
       * pollRead did call enqueue on its own                         
       */                                                             
      c_buf = c;                                                      
ffc06b48:	98 61 00 08 	stb     r3,8(r1)                               
      rtems_termios_enqueue_raw_characters ( tty,&c_buf,1);           
ffc06b4c:	7f c4 f3 78 	mr      r4,r30                                 
ffc06b50:	7f e3 fb 78 	mr      r3,r31                                 
ffc06b54:	38 a0 00 01 	li      r5,1                                   
ffc06b58:	4b ff fc a9 	bl      ffc06800 <rtems_termios_enqueue_raw_characters>
ffc06b5c:	4b ff ff a4 	b       ffc06b00 <rtems_termios_rxdaemon+0x1c> 
                                                                      

ffc06d48 <rtems_termios_txdaemon>: /* * this task actually processes any transmit events */ static rtems_task rtems_termios_txdaemon(rtems_task_argument argument) {
ffc06d48:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc06d4c:	7c 08 02 a6 	mflr    r0                                     
ffc06d50:	bf a1 00 1c 	stmw    r29,28(r1)                             
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
ffc06d54:	3f c0 00 00 	lis     r30,0                                  
                                                                      
/*                                                                    
 * this task actually processes any transmit events                   
 */                                                                   
static rtems_task rtems_termios_txdaemon(rtems_task_argument argument)
{                                                                     
ffc06d58:	7c 7f 1b 78 	mr      r31,r3                                 
ffc06d5c:	90 01 00 2c 	stw     r0,44(r1)                              
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
ffc06d60:	3b a1 00 08 	addi    r29,r1,8                               
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
ffc06d64:	3b de 28 58 	addi    r30,r30,10328                          
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
ffc06d68:	38 60 00 03 	li      r3,3                                   
ffc06d6c:	38 80 00 02 	li      r4,2                                   
ffc06d70:	38 a0 00 00 	li      r5,0                                   
ffc06d74:	7f a6 eb 78 	mr      r6,r29                                 
ffc06d78:	48 00 04 d9 	bl      ffc07250 <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) {              
ffc06d7c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc06d80:	70 09 00 01 	andi.   r9,r0,1                                
ffc06d84:	41 a2 00 14 	beq+    ffc06d98 <rtems_termios_txdaemon+0x50> <== ALWAYS TAKEN
      tty->txTaskId = 0;                                              
ffc06d88:	38 00 00 00 	li      r0,0                                   <== NOT EXECUTED
ffc06d8c:	90 1f 00 c8 	stw     r0,200(r31)                            <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
ffc06d90:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc06d94:	48 00 0e 39 	bl      ffc07bcc <rtems_task_delete>           <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
ffc06d98:	81 3f 00 cc 	lwz     r9,204(r31)                            
ffc06d9c:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
ffc06da0:	7d 3e 4a 14 	add     r9,r30,r9                              
ffc06da4:	80 09 00 14 	lwz     r0,20(r9)                              
ffc06da8:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06dac:	41 9e 00 10 	beq-    cr7,ffc06dbc <rtems_termios_txdaemon+0x74><== ALWAYS TAKEN
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
ffc06db0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc06db4:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc06db8:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * try to push further characters to device                       
     */                                                               
    rtems_termios_refill_transmitter(tty);                            
ffc06dbc:	7f e3 fb 78 	mr      r3,r31                                 
ffc06dc0:	4b ff fd a1 	bl      ffc06b60 <rtems_termios_refill_transmitter>
  }                                                                   
ffc06dc4:	4b ff ff a4 	b       ffc06d68 <rtems_termios_txdaemon+0x20> 
                                                                      

ffc06390 <rtems_termios_write>: rtems_termios_puts (&c, 1, tty); } rtems_status_code rtems_termios_write (void *arg) {
ffc06390:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc06394:	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);
ffc06398:	38 80 00 00 	li      r4,0                                   
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
ffc0639c:	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);
ffc063a0:	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;                   
ffc063a4:	81 23 00 00 	lwz     r9,0(r3)                               
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
ffc063a8:	bf 61 00 0c 	stmw    r27,12(r1)                             
ffc063ac:	7c 7e 1b 78 	mr      r30,r3                                 
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc063b0:	83 e9 00 38 	lwz     r31,56(r9)                             
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc063b4:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc063b8:	48 00 14 f1 	bl      ffc078a8 <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc063bc:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc063c0:	40 82 00 90 	bne-    ffc06450 <rtems_termios_write+0xc0>    <== NEVER TAKEN
    return sc;                                                        
  if (rtems_termios_linesw[tty->t_line].l_write != NULL) {            
ffc063c4:	80 1f 00 cc 	lwz     r0,204(r31)                            
ffc063c8:	3d 20 00 00 	lis     r9,0                                   
ffc063cc:	39 29 28 58 	addi    r9,r9,10328                            
ffc063d0:	54 00 28 34 	rlwinm  r0,r0,5,0,26                           
ffc063d4:	7d 29 02 14 	add     r9,r9,r0                               
ffc063d8:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc063dc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc063e0:	41 9e 00 1c 	beq-    cr7,ffc063fc <rtems_termios_write+0x6c>
    sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);         
ffc063e4:	7f e3 fb 78 	mr      r3,r31                                 
ffc063e8:	7c 09 03 a6 	mtctr   r0                                     
ffc063ec:	7f c4 f3 78 	mr      r4,r30                                 
ffc063f0:	4e 80 04 21 	bctrl                                          
ffc063f4:	7c 7d 1b 78 	mr      r29,r3                                 
ffc063f8:	48 00 00 50 	b       ffc06448 <rtems_termios_write+0xb8>    
    rtems_semaphore_release (tty->osem);                              
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
ffc063fc:	80 1f 00 34 	lwz     r0,52(r31)                             
ffc06400:	80 9e 00 14 	lwz     r4,20(r30)                             
ffc06404:	70 09 00 01 	andi.   r9,r0,1                                
ffc06408:	80 7e 00 10 	lwz     r3,16(r30)                             
ffc0640c:	41 82 00 2c 	beq-    ffc06438 <rtems_termios_write+0xa8>    <== NEVER TAKEN
    uint32_t   count = args->count;                                   
ffc06410:	7c 9c 23 78 	mr      r28,r4                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
ffc06414:	3b 63 ff ff 	addi    r27,r3,-1                              
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
ffc06418:	48 00 00 14 	b       ffc0642c <rtems_termios_write+0x9c>    
      oproc (*buffer++, tty);                                         
ffc0641c:	8c 7b 00 01 	lbzu    r3,1(r27)                              
ffc06420:	7f e4 fb 78 	mr      r4,r31                                 
ffc06424:	3b 9c ff ff 	addi    r28,r28,-1                             
ffc06428:	4b ff f9 49 	bl      ffc05d70 <oproc>                       
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
ffc0642c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc06430:	40 9e ff ec 	bne+    cr7,ffc0641c <rtems_termios_write+0x8c>
ffc06434:	48 00 00 0c 	b       ffc06440 <rtems_termios_write+0xb0>    
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
  } else {                                                            
    rtems_termios_puts (args->buffer, args->count, tty);              
ffc06438:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc0643c:	4b ff f8 0d 	bl      ffc05c48 <rtems_termios_puts>          <== NOT EXECUTED
    args->bytes_moved = args->count;                                  
ffc06440:	80 1e 00 14 	lwz     r0,20(r30)                             
ffc06444:	90 1e 00 1c 	stw     r0,28(r30)                             
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
ffc06448:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc0644c:	48 00 15 85 	bl      ffc079d0 <rtems_semaphore_release>     
  return sc;                                                          
}                                                                     
ffc06450:	39 61 00 20 	addi    r11,r1,32                              
ffc06454:	7f a3 eb 78 	mr      r3,r29                                 
ffc06458:	48 00 dc f4 	b       ffc1414c <_restgpr_27_x>               
                                                                      

ffc1885c <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
ffc1885c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc18860:	7c 08 02 a6 	mflr    r0                                     
ffc18864:	7c 64 1b 78 	mr      r4,r3                                  
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
    _Objects_Get( &_Timer_Information, id, location );                
ffc18868:	3c 60 00 00 	lis     r3,0                                   
ffc1886c:	90 01 00 1c 	stw     r0,28(r1)                              
ffc18870:	38 63 72 80 	addi    r3,r3,29312                            
ffc18874:	38 a1 00 08 	addi    r5,r1,8                                
ffc18878:	48 00 31 55 	bl      ffc1b9cc <_Objects_Get>                
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
ffc1887c:	80 01 00 08 	lwz     r0,8(r1)                               
ffc18880:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc18884:	40 9e 00 24 	bne-    cr7,ffc188a8 <rtems_timer_cancel+0x4c> 
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
ffc18888:	80 03 00 38 	lwz     r0,56(r3)                              
ffc1888c:	2f 80 00 04 	cmpwi   cr7,r0,4                               
ffc18890:	41 9e 00 0c 	beq-    cr7,ffc1889c <rtems_timer_cancel+0x40> <== NEVER TAKEN
        (void) _Watchdog_Remove( &the_timer->Ticker );                
ffc18894:	38 63 00 10 	addi    r3,r3,16                               
ffc18898:	48 00 52 c5 	bl      ffc1db5c <_Watchdog_Remove>            
      _Thread_Enable_dispatch();                                      
ffc1889c:	48 00 3e e1 	bl      ffc1c77c <_Thread_Enable_dispatch>     
      return RTEMS_SUCCESSFUL;                                        
ffc188a0:	38 60 00 00 	li      r3,0                                   
ffc188a4:	48 00 00 08 	b       ffc188ac <rtems_timer_cancel+0x50>     
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc188a8:	38 60 00 04 	li      r3,4                                   
}                                                                     
ffc188ac:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc188b0:	38 21 00 18 	addi    r1,r1,24                               
ffc188b4:	7c 08 03 a6 	mtlr    r0                                     
ffc188b8:	4e 80 00 20 	blr                                            
                                                                      

ffc18ddc <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
ffc18ddc:	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;                 
ffc18de0:	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                        
)                                                                     
{                                                                     
ffc18de4:	7c 08 02 a6 	mflr    r0                                     
ffc18de8:	bf 01 00 18 	stmw    r24,24(r1)                             
ffc18dec:	7c 7f 1b 78 	mr      r31,r3                                 
ffc18df0:	7c 9c 23 78 	mr      r28,r4                                 
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
ffc18df4:	83 a9 28 f4 	lwz     r29,10484(r9)                          
  rtems_id                           id,                              
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
ffc18df8:	7c be 2b 78 	mr      r30,r5                                 
ffc18dfc:	90 01 00 3c 	stw     r0,60(r1)                              
ffc18e00:	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 )                                                
ffc18e04:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
    return RTEMS_INCORRECT_STATE;                                     
ffc18e08:	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 )                                                
ffc18e0c:	41 9e 00 c8 	beq-    cr7,ffc18ed4 <rtems_timer_server_fire_when+0xf8>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
ffc18e10:	3d 20 00 00 	lis     r9,0                                   
ffc18e14:	88 09 28 a0 	lbz     r0,10400(r9)                           
    return RTEMS_NOT_DEFINED;                                         
ffc18e18:	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 )                                                 
ffc18e1c:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc18e20:	41 9e 00 b4 	beq-    cr7,ffc18ed4 <rtems_timer_server_fire_when+0xf8><== NEVER TAKEN
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
ffc18e24:	2f 85 00 00 	cmpwi   cr7,r5,0                               
    return RTEMS_INVALID_ADDRESS;                                     
ffc18e28:	3b 20 00 09 	li      r25,9                                  
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD_Is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
ffc18e2c:	41 9e 00 a8 	beq-    cr7,ffc18ed4 <rtems_timer_server_fire_when+0xf8>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
ffc18e30:	7c 83 23 78 	mr      r3,r4                                  
ffc18e34:	4b ff cc 5d 	bl      ffc15a90 <_TOD_Validate>               
    return RTEMS_INVALID_CLOCK;                                       
ffc18e38:	3b 20 00 14 	li      r25,20                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
ffc18e3c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc18e40:	41 9e 00 94 	beq-    cr7,ffc18ed4 <rtems_timer_server_fire_when+0xf8>
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
ffc18e44:	7f 83 e3 78 	mr      r3,r28                                 
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
ffc18e48:	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 );                             
ffc18e4c:	4b ff cb b9 	bl      ffc15a04 <_TOD_To_seconds>             
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
ffc18e50:	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 );                             
ffc18e54:	7c 7c 1b 78 	mr      r28,r3                                 
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
ffc18e58:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc18e5c:	40 9d 00 78 	ble-    cr7,ffc18ed4 <rtems_timer_server_fire_when+0xf8>
ffc18e60:	3c 60 00 00 	lis     r3,0                                   
ffc18e64:	38 63 72 80 	addi    r3,r3,29312                            
ffc18e68:	7f e4 fb 78 	mr      r4,r31                                 
ffc18e6c:	38 a1 00 08 	addi    r5,r1,8                                
ffc18e70:	48 00 2b 5d 	bl      ffc1b9cc <_Objects_Get>                
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
ffc18e74:	83 01 00 08 	lwz     r24,8(r1)                              
ffc18e78:	7c 79 1b 78 	mr      r25,r3                                 
ffc18e7c:	2f 98 00 00 	cmpwi   cr7,r24,0                              
ffc18e80:	40 9e 00 50 	bne-    cr7,ffc18ed0 <rtems_timer_server_fire_when+0xf4>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
ffc18e84:	38 63 00 10 	addi    r3,r3,16                               
ffc18e88:	48 00 4c d5 	bl      ffc1db5c <_Watchdog_Remove>            
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
ffc18e8c:	38 00 00 03 	li      r0,3                                   
ffc18e90:	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 ); 
ffc18e94:	7f 24 cb 78 	mr      r4,r25                                 
ffc18e98:	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();
ffc18e9c:	80 1b 28 b4 	lwz     r0,10420(r27)                          
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc18ea0:	93 19 00 18 	stw     r24,24(r25)                            
ffc18ea4:	7f 80 e0 50 	subf    r28,r0,r28                             
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
ffc18ea8:	80 1d 00 04 	lwz     r0,4(r29)                              
  the_watchdog->routine   = routine;                                  
ffc18eac:	93 d9 00 2c 	stw     r30,44(r25)                            
ffc18eb0:	7c 09 03 a6 	mtctr   r0                                     
  the_watchdog->id        = id;                                       
ffc18eb4:	93 f9 00 30 	stw     r31,48(r25)                            
  the_watchdog->user_data = user_data;                                
ffc18eb8:	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();
ffc18ebc:	93 99 00 1c 	stw     r28,28(r25)                            
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
                                                                      
      _Thread_Enable_dispatch();                                      
      return RTEMS_SUCCESSFUL;                                        
ffc18ec0:	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 ); 
ffc18ec4:	4e 80 04 21 	bctrl                                          
                                                                      
      _Thread_Enable_dispatch();                                      
ffc18ec8:	48 00 38 b5 	bl      ffc1c77c <_Thread_Enable_dispatch>     
      return RTEMS_SUCCESSFUL;                                        
ffc18ecc:	48 00 00 08 	b       ffc18ed4 <rtems_timer_server_fire_when+0xf8>
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc18ed0:	3b 20 00 04 	li      r25,4                                  
}                                                                     
ffc18ed4:	39 61 00 38 	addi    r11,r1,56                              
ffc18ed8:	7f 23 cb 78 	mr      r3,r25                                 
ffc18edc:	4b ff 54 ac 	b       ffc0e388 <_restgpr_24_x>               
                                                                      

ffc09130 <rtems_verror>: static int rtems_verror( rtems_error_code_t error_flag, const char *printf_format, va_list arglist ) {
ffc09130:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc09134:	7c 08 02 a6 	mflr    r0                                     
ffc09138:	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) {                               
ffc0913c:	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                                         
)                                                                     
{                                                                     
ffc09140:	bf 41 00 08 	stmw    r26,8(r1)                              
ffc09144:	7c 7d 1b 78 	mr      r29,r3                                 
ffc09148:	7c 9a 23 78 	mr      r26,r4                                 
ffc0914c:	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) {                               
ffc09150:	41 82 00 40 	beq-    ffc09190 <rtems_verror+0x60>           
    if (rtems_panic_in_progress++)                                    
ffc09154:	3d 60 00 00 	lis     r11,0                                  
ffc09158:	81 2b 27 e8 	lwz     r9,10216(r11)                          
ffc0915c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc09160:	38 09 00 01 	addi    r0,r9,1                                
ffc09164:	90 0b 27 e8 	stw     r0,10216(r11)                          
ffc09168:	41 9e 00 14 	beq-    cr7,ffc0917c <rtems_verror+0x4c>       <== ALWAYS TAKEN
	rtems_fatal_error_occurred( 99 );                                    
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  _Thread_Dispatch_disable_level += 1;                                
ffc0916c:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc09170:	81 69 28 08 	lwz     r11,10248(r9)                          <== NOT EXECUTED
ffc09174:	38 0b 00 01 	addi    r0,r11,1                               <== NOT EXECUTED
ffc09178:	90 09 28 08 	stw     r0,10248(r9)                           <== NOT EXECUTED
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
ffc0917c:	3d 20 00 00 	lis     r9,0                                   
ffc09180:	80 09 27 e8 	lwz     r0,10216(r9)                           
      return 0;                                                       
ffc09184:	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)                                  
ffc09188:	2f 80 00 02 	cmpwi   cr7,r0,2                               
ffc0918c:	41 9d 01 14 	bgt-    cr7,ffc092a0 <rtems_verror+0x170>      <== NEVER TAKEN
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
ffc09190:	3d 20 00 00 	lis     r9,0                                   
ffc09194:	81 29 27 88 	lwz     r9,10120(r9)                           
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
ffc09198:	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;                                  
ffc0919c:	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 */  
ffc091a0:	80 69 00 08 	lwz     r3,8(r9)                               
ffc091a4:	48 00 c2 89 	bl      ffc1542c <fflush>                      
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
ffc091a8:	77 a0 40 00 	andis.  r0,r29,16384                           
ffc091ac:	41 a2 00 0c 	beq+    ffc091b8 <rtems_verror+0x88>           
    local_errno = errno;                                              
ffc091b0:	48 00 bd e9 	bl      ffc14f98 <__errno>                     
ffc091b4:	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);          
ffc091b8:	3f a0 00 00 	lis     r29,0                                  
ffc091bc:	81 3d 27 88 	lwz     r9,10120(r29)                          
ffc091c0:	7f 44 d3 78 	mr      r4,r26                                 
ffc091c4:	7f 65 db 78 	mr      r5,r27                                 
ffc091c8:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc091cc:	48 01 33 f9 	bl      ffc1c5c4 <vfprintf>                    
                                                                      
  if (status)                                                         
ffc091d0:	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);          
ffc091d4:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
  if (status)                                                         
ffc091d8:	41 be 00 30 	beq+    cr7,ffc09208 <rtems_verror+0xd8>       
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
ffc091dc:	81 3d 27 88 	lwz     r9,10120(r29)                          
ffc091e0:	7f 83 e3 78 	mr      r3,r28                                 
ffc091e4:	83 a9 00 0c 	lwz     r29,12(r9)                             
ffc091e8:	4b ff ff 1d 	bl      ffc09104 <rtems_status_text>           
ffc091ec:	3c 80 ff c2 	lis     r4,-62                                 
ffc091f0:	7c 65 1b 78 	mr      r5,r3                                  
ffc091f4:	38 84 5f 50 	addi    r4,r4,24400                            
ffc091f8:	7f a3 eb 78 	mr      r3,r29                                 
ffc091fc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc09200:	48 00 c7 61 	bl      ffc15960 <fprintf>                     
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
ffc09204:	7f ff 1a 14 	add     r31,r31,r3                             
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
                                                                      
  if (local_errno) {                                                  
ffc09208:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0920c:	41 9e 00 68 	beq-    cr7,ffc09274 <rtems_verror+0x144>      
    if ((local_errno > 0) && *strerror(local_errno))                  
ffc09210:	40 9d 00 40 	ble-    cr7,ffc09250 <rtems_verror+0x120>      
ffc09214:	7f c3 f3 78 	mr      r3,r30                                 
ffc09218:	48 00 d6 45 	bl      ffc1685c <strerror>                    
ffc0921c:	88 03 00 00 	lbz     r0,0(r3)                               
ffc09220:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc09224:	41 be 00 2c 	beq+    cr7,ffc09250 <rtems_verror+0x120>      <== NEVER TAKEN
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
ffc09228:	3d 20 00 00 	lis     r9,0                                   
ffc0922c:	81 29 27 88 	lwz     r9,10120(r9)                           
ffc09230:	7f c3 f3 78 	mr      r3,r30                                 
ffc09234:	83 a9 00 0c 	lwz     r29,12(r9)                             
ffc09238:	48 00 d6 25 	bl      ffc1685c <strerror>                    
ffc0923c:	3c 80 ff c2 	lis     r4,-62                                 
ffc09240:	7c 65 1b 78 	mr      r5,r3                                  
ffc09244:	38 84 5f 5e 	addi    r4,r4,24414                            
ffc09248:	7f a3 eb 78 	mr      r3,r29                                 
ffc0924c:	48 00 00 1c 	b       ffc09268 <rtems_verror+0x138>          
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
ffc09250:	3d 20 00 00 	lis     r9,0                                   
ffc09254:	81 29 27 88 	lwz     r9,10120(r9)                           
ffc09258:	3c 80 ff c2 	lis     r4,-62                                 
ffc0925c:	38 84 5f 6b 	addi    r4,r4,24427                            
ffc09260:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc09264:	7f c5 f3 78 	mr      r5,r30                                 
ffc09268:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0926c:	48 00 c6 f5 	bl      ffc15960 <fprintf>                     
ffc09270:	7f ff 1a 14 	add     r31,r31,r3                             
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
ffc09274:	3f c0 00 00 	lis     r30,0                                  
ffc09278:	81 3e 27 88 	lwz     r9,10120(r30)                          
ffc0927c:	3c 80 ff c2 	lis     r4,-62                                 
ffc09280:	38 84 62 92 	addi    r4,r4,25234                            
ffc09284:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc09288:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0928c:	48 00 c6 d5 	bl      ffc15960 <fprintf>                     
                                                                      
  (void) fflush(stderr);                                              
ffc09290:	81 3e 27 88 	lwz     r9,10120(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");                             
ffc09294:	7f e3 fa 14 	add     r31,r3,r31                             
                                                                      
  (void) fflush(stderr);                                              
ffc09298:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc0929c:	48 00 c1 91 	bl      ffc1542c <fflush>                      
                                                                      
  return chars_written;                                               
}                                                                     
ffc092a0:	39 61 00 20 	addi    r11,r1,32                              
ffc092a4:	7f e3 fb 78 	mr      r3,r31                                 
ffc092a8:	4b ff 8c dc 	b       ffc01f84 <_restgpr_26_x>               
                                                                      

ffc04a0c <scanInt>: /* * Extract an integer value from the database */ static int scanInt(FILE *fp, int *val) {
ffc04a0c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc04a10:	7c 08 02 a6 	mflr    r0                                     
ffc04a14:	bf 01 00 08 	stmw    r24,8(r1)                              
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
ffc04a18:	3f 80 7f ff 	lis     r28,32767                              
/*                                                                    
 * Extract an integer value from the database                         
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc04a1c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc04a20:	90 01 00 2c 	stw     r0,44(r1)                              
ffc04a24:	7c 9b 23 78 	mr      r27,r4                                 
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
ffc04a28:	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;                                       
ffc04a2c:	63 9c ff ff 	ori     r28,r28,65535                          
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
  int c;                                                              
  unsigned int i = 0;                                                 
ffc04a30:	3b e0 00 00 	li      r31,0                                  
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc04a34:	3f 00 00 00 	lis     r24,0                                  
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
ffc04a38:	3f 20 00 00 	lis     r25,0                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
ffc04a3c:	3b 40 00 0a 	li      r26,10                                 
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc04a40:	81 3e 00 04 	lwz     r9,4(r30)                              
ffc04a44:	38 09 ff ff 	addi    r0,r9,-1                               
ffc04a48:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04a4c:	90 1e 00 04 	stw     r0,4(r30)                              
ffc04a50:	40 bc 00 14 	bge+    cr7,ffc04a64 <scanInt+0x58>            <== ALWAYS TAKEN
ffc04a54:	80 78 27 28 	lwz     r3,10024(r24)                          <== NOT EXECUTED
ffc04a58:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc04a5c:	48 00 dc 39 	bl      ffc12694 <__srget_r>                   <== NOT EXECUTED
ffc04a60:	48 00 00 14 	b       ffc04a74 <scanInt+0x68>                <== NOT EXECUTED
ffc04a64:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc04a68:	88 69 00 00 	lbz     r3,0(r9)                               
ffc04a6c:	39 29 00 01 	addi    r9,r9,1                                
ffc04a70:	91 3e 00 00 	stw     r9,0(r30)                              
    if (c == ':')                                                     
ffc04a74:	2f 03 00 3a 	cmpwi   cr6,r3,58                              
ffc04a78:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc04a7c:	41 9a 00 68 	beq-    cr6,ffc04ae4 <scanInt+0xd8>            
      break;                                                          
    if (sign == 0) {                                                  
ffc04a80:	40 9e 00 1c 	bne-    cr7,ffc04a9c <scanInt+0x90>            
      if (c == '-') {                                                 
ffc04a84:	2f 83 00 2d 	cmpwi   cr7,r3,45                              
        sign = -1;                                                    
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
ffc04a88:	3b a0 00 01 	li      r29,1                                  
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
ffc04a8c:	40 be 00 10 	bne+    cr7,ffc04a9c <scanInt+0x90>            
        sign = -1;                                                    
        limit++;                                                      
ffc04a90:	3b 9c 00 01 	addi    r28,r28,1                              
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
        sign = -1;                                                    
ffc04a94:	3b a0 ff ff 	li      r29,-1                                 
        limit++;                                                      
        continue;                                                     
ffc04a98:	4b ff ff a8 	b       ffc04a40 <scanInt+0x34>                
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
ffc04a9c:	81 39 27 24 	lwz     r9,10020(r25)                          
ffc04aa0:	7d 29 1a 14 	add     r9,r9,r3                               
ffc04aa4:	88 09 00 01 	lbz     r0,1(r9)                               
ffc04aa8:	70 09 00 04 	andi.   r9,r0,4                                
ffc04aac:	41 82 00 4c 	beq-    ffc04af8 <scanInt+0xec>                
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
ffc04ab0:	7c 1c d3 96 	divwu   r0,r28,r26                             
ffc04ab4:	7f 9f 00 40 	cmplw   cr7,r31,r0                             
ffc04ab8:	41 9d 00 40 	bgt-    cr7,ffc04af8 <scanInt+0xec>            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
ffc04abc:	7f 9f 00 00 	cmpw    cr7,r31,r0                             
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
ffc04ac0:	38 63 ff d0 	addi    r3,r3,-48                              
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
ffc04ac4:	40 be 00 14 	bne+    cr7,ffc04ad8 <scanInt+0xcc>            
ffc04ac8:	1c 1f 00 0a 	mulli   r0,r31,10                              
ffc04acc:	7c 00 e0 50 	subf    r0,r0,r28                              
ffc04ad0:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc04ad4:	41 9d 00 24 	bgt-    cr7,ffc04af8 <scanInt+0xec>            <== ALWAYS TAKEN
      return 0;                                                       
    i = i * 10 + d;                                                   
ffc04ad8:	1f ff 00 0a 	mulli   r31,r31,10                             
ffc04adc:	7f e3 fa 14 	add     r31,r3,r31                             
ffc04ae0:	4b ff ff 60 	b       ffc04a40 <scanInt+0x34>                
  }                                                                   
  if (sign == 0)                                                      
ffc04ae4:	41 9e 00 14 	beq-    cr7,ffc04af8 <scanInt+0xec>            <== NEVER TAKEN
    return 0;                                                         
  *val = i * sign;                                                    
ffc04ae8:	7f fd f9 d6 	mullw   r31,r29,r31                            
  return 1;                                                           
ffc04aec:	38 60 00 01 	li      r3,1                                   
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
ffc04af0:	93 fb 00 00 	stw     r31,0(r27)                             
  return 1;                                                           
ffc04af4:	48 00 00 08 	b       ffc04afc <scanInt+0xf0>                
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
ffc04af8:	38 60 00 00 	li      r3,0                                   
  *val = i * sign;                                                    
  return 1;                                                           
}                                                                     
ffc04afc:	39 61 00 28 	addi    r11,r1,40                              
ffc04b00:	4b ff bd ac 	b       ffc008ac <_restgpr_24_x>               
                                                                      

ffc04c04 <scangr>: FILE *fp, struct group *grp, char *buffer, size_t bufsize ) {
ffc04c04:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc04c08:	7c 08 02 a6 	mflr    r0                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc04c0c:	38 e0 00 00 	li      r7,0                                   
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc04c10:	bf 61 00 24 	stmw    r27,36(r1)                             
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc04c14:	3b 81 00 18 	addi    r28,r1,24                              
ffc04c18:	3b a1 00 1c 	addi    r29,r1,28                              
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc04c1c:	90 a1 00 18 	stw     r5,24(r1)                              
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc04c20:	7f 85 e3 78 	mr      r5,r28                                 
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc04c24:	7c 7b 1b 78 	mr      r27,r3                                 
ffc04c28:	90 c1 00 1c 	stw     r6,28(r1)                              
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc04c2c:	7f a6 eb 78 	mr      r6,r29                                 
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc04c30:	7c 9f 23 78 	mr      r31,r4                                 
ffc04c34:	90 01 00 3c 	stw     r0,60(r1)                              
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc04c38:	4b ff fe cd 	bl      ffc04b04 <scanString>                  
ffc04c3c:	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;                                                         
ffc04c40:	3b c0 00 00 	li      r30,0                                  
{                                                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc04c44:	41 be 01 04 	beq+    cr7,ffc04d48 <scangr+0x144>            
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
ffc04c48:	7f 63 db 78 	mr      r3,r27                                 
ffc04c4c:	38 9f 00 04 	addi    r4,r31,4                               
ffc04c50:	7f 85 e3 78 	mr      r5,r28                                 
ffc04c54:	7f a6 eb 78 	mr      r6,r29                                 
ffc04c58:	38 e0 00 00 	li      r7,0                                   
ffc04c5c:	4b ff fe a9 	bl      ffc04b04 <scanString>                  
ffc04c60:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04c64:	41 be 00 e4 	beq+    cr7,ffc04d48 <scangr+0x144>            <== NEVER TAKEN
   || !scanInt(fp, &grgid)                                            
ffc04c68:	7f 63 db 78 	mr      r3,r27                                 
ffc04c6c:	38 81 00 08 	addi    r4,r1,8                                
ffc04c70:	4b ff fd 9d 	bl      ffc04a0c <scanInt>                     
ffc04c74:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04c78:	41 be 00 d0 	beq+    cr7,ffc04d48 <scangr+0x144>            <== NEVER TAKEN
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
ffc04c7c:	7f 63 db 78 	mr      r3,r27                                 
ffc04c80:	38 81 00 0c 	addi    r4,r1,12                               
ffc04c84:	7f 85 e3 78 	mr      r5,r28                                 
ffc04c88:	7f a6 eb 78 	mr      r6,r29                                 
ffc04c8c:	38 e0 00 01 	li      r7,1                                   
ffc04c90:	4b ff fe 75 	bl      ffc04b04 <scanString>                  
ffc04c94:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04c98:	41 9e 00 b0 	beq-    cr7,ffc04d48 <scangr+0x144>            <== NEVER TAKEN
    return 0;                                                         
  grp->gr_gid = grgid;                                                
ffc04c9c:	80 01 00 08 	lwz     r0,8(r1)                               
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc04ca0:	81 61 00 0c 	lwz     r11,12(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;                                                
ffc04ca4:	b0 1f 00 08 	sth     r0,8(r31)                              
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc04ca8:	38 00 00 01 	li      r0,1                                   
}                                                                     
                                                                      
/*                                                                    
 * Extract a single group record from the database                    
 */                                                                   
static int scangr(                                                    
ffc04cac:	39 2b ff ff 	addi    r9,r11,-1                              
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc04cb0:	48 00 00 14 	b       ffc04cc4 <scangr+0xc0>                 
    if(*cp == ',')                                                    
      memcount++;                                                     
ffc04cb4:	69 48 00 2c 	xori    r8,r10,44                              
ffc04cb8:	21 08 00 00 	subfic  r8,r8,0                                
ffc04cbc:	7d 00 01 94 	addze   r8,r0                                  
ffc04cc0:	7d 00 43 78 	mr      r0,r8                                  
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc04cc4:	8d 49 00 01 	lbzu    r10,1(r9)                              
ffc04cc8:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc04ccc:	40 9e ff e8 	bne+    cr7,ffc04cb4 <scangr+0xb0>             
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
ffc04cd0:	54 09 10 3a 	rlwinm  r9,r0,2,0,29                           
ffc04cd4:	38 09 00 13 	addi    r0,r9,19                               
ffc04cd8:	81 21 00 1c 	lwz     r9,28(r1)                              
    return 0;                                                         
ffc04cdc:	3b c0 00 00 	li      r30,0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
ffc04ce0:	7f 89 00 40 	cmplw   cr7,r9,r0                              
ffc04ce4:	41 9c 00 64 	blt-    cr7,ffc04d48 <scangr+0x144>            <== NEVER TAKEN
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
ffc04ce8:	81 21 00 18 	lwz     r9,24(r1)                              
ffc04cec:	39 29 00 0f 	addi    r9,r9,15                               
ffc04cf0:	55 29 00 36 	rlwinm  r9,r9,0,0,27                           
ffc04cf4:	91 3f 00 0c 	stw     r9,12(r31)                             
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
ffc04cf8:	91 69 00 00 	stw     r11,0(r9)                              
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc04cfc:	39 20 00 01 	li      r9,1                                   
}                                                                     
                                                                      
/*                                                                    
 * Extract a single group record from the database                    
 */                                                                   
static int scangr(                                                    
ffc04d00:	81 61 00 0c 	lwz     r11,12(r1)                             
ffc04d04:	39 6b ff ff 	addi    r11,r11,-1                             
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc04d08:	48 00 00 24 	b       ffc04d2c <scangr+0x128>                
    if(*cp == ',') {                                                  
ffc04d0c:	2f 80 00 2c 	cmpwi   cr7,r0,44                              
ffc04d10:	40 be 00 1c 	bne+    cr7,ffc04d2c <scangr+0x128>            
      *cp = '\0';                                                     
ffc04d14:	99 4b 00 00 	stb     r10,0(r11)                             
      grp->gr_mem[memcount++] = cp + 1;                               
ffc04d18:	55 20 10 3a 	rlwinm  r0,r9,2,0,29                           
}                                                                     
                                                                      
/*                                                                    
 * Extract a single group record from the database                    
 */                                                                   
static int scangr(                                                    
ffc04d1c:	38 eb 00 01 	addi    r7,r11,1                               
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
ffc04d20:	81 1f 00 0c 	lwz     r8,12(r31)                             
ffc04d24:	39 29 00 01 	addi    r9,r9,1                                
ffc04d28:	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++) {                  
ffc04d2c:	8c 0b 00 01 	lbzu    r0,1(r11)                              
ffc04d30:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc04d34:	40 9e ff d8 	bne+    cr7,ffc04d0c <scangr+0x108>            
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
ffc04d38:	81 7f 00 0c 	lwz     r11,12(r31)                            
ffc04d3c:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
  return 1;                                                           
ffc04d40:	3b c0 00 01 	li      r30,1                                  
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
ffc04d44:	7c 0b 49 2e 	stwx    r0,r11,r9                              
  return 1;                                                           
}                                                                     
ffc04d48:	39 61 00 38 	addi    r11,r1,56                              
ffc04d4c:	7f c3 f3 78 	mr      r3,r30                                 
ffc04d50:	4b ff bb 68 	b       ffc008b8 <_restgpr_27_x>               
                                                                      

ffc04d54 <scanpw>: FILE *fp, struct passwd *pwd, char *buffer, size_t bufsize ) {
ffc04d54:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc04d58:	7c 08 02 a6 	mflr    r0                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc04d5c:	38 e0 00 00 	li      r7,0                                   
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc04d60:	bf 61 00 24 	stmw    r27,36(r1)                             
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc04d64:	3b 81 00 18 	addi    r28,r1,24                              
ffc04d68:	3b a1 00 1c 	addi    r29,r1,28                              
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc04d6c:	90 a1 00 18 	stw     r5,24(r1)                              
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc04d70:	7f 85 e3 78 	mr      r5,r28                                 
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc04d74:	7c 7e 1b 78 	mr      r30,r3                                 
ffc04d78:	90 c1 00 1c 	stw     r6,28(r1)                              
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc04d7c:	7f a6 eb 78 	mr      r6,r29                                 
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc04d80:	7c 9f 23 78 	mr      r31,r4                                 
ffc04d84:	90 01 00 3c 	stw     r0,60(r1)                              
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc04d88:	4b ff fd 7d 	bl      ffc04b04 <scanString>                  
ffc04d8c:	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;                                                         
ffc04d90:	3b 60 00 00 	li      r27,0                                  
  size_t bufsize                                                      
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc04d94:	41 be 00 e0 	beq+    cr7,ffc04e74 <scanpw+0x120>            
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
ffc04d98:	7f c3 f3 78 	mr      r3,r30                                 
ffc04d9c:	38 9f 00 04 	addi    r4,r31,4                               
ffc04da0:	7f 85 e3 78 	mr      r5,r28                                 
ffc04da4:	7f a6 eb 78 	mr      r6,r29                                 
ffc04da8:	38 e0 00 00 	li      r7,0                                   
ffc04dac:	4b ff fd 59 	bl      ffc04b04 <scanString>                  
ffc04db0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04db4:	41 be 00 c0 	beq+    cr7,ffc04e74 <scanpw+0x120>            <== NEVER TAKEN
   || !scanInt(fp, &pwuid)                                            
ffc04db8:	7f c3 f3 78 	mr      r3,r30                                 
ffc04dbc:	38 81 00 08 	addi    r4,r1,8                                
ffc04dc0:	4b ff fc 4d 	bl      ffc04a0c <scanInt>                     
ffc04dc4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04dc8:	41 be 00 ac 	beq+    cr7,ffc04e74 <scanpw+0x120>            
   || !scanInt(fp, &pwgid)                                            
ffc04dcc:	7f c3 f3 78 	mr      r3,r30                                 
ffc04dd0:	38 81 00 0c 	addi    r4,r1,12                               
ffc04dd4:	4b ff fc 39 	bl      ffc04a0c <scanInt>                     
ffc04dd8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04ddc:	41 be 00 98 	beq+    cr7,ffc04e74 <scanpw+0x120>            
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
ffc04de0:	7f c3 f3 78 	mr      r3,r30                                 
ffc04de4:	38 9f 00 0c 	addi    r4,r31,12                              
ffc04de8:	7f 85 e3 78 	mr      r5,r28                                 
ffc04dec:	7f a6 eb 78 	mr      r6,r29                                 
ffc04df0:	38 e0 00 00 	li      r7,0                                   
ffc04df4:	4b ff fd 11 	bl      ffc04b04 <scanString>                  
ffc04df8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04dfc:	41 be 00 78 	beq+    cr7,ffc04e74 <scanpw+0x120>            <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
ffc04e00:	7f c3 f3 78 	mr      r3,r30                                 
ffc04e04:	38 9f 00 10 	addi    r4,r31,16                              
ffc04e08:	7f 85 e3 78 	mr      r5,r28                                 
ffc04e0c:	7f a6 eb 78 	mr      r6,r29                                 
ffc04e10:	38 e0 00 00 	li      r7,0                                   
ffc04e14:	4b ff fc f1 	bl      ffc04b04 <scanString>                  
ffc04e18:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04e1c:	41 be 00 58 	beq+    cr7,ffc04e74 <scanpw+0x120>            <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
ffc04e20:	7f c3 f3 78 	mr      r3,r30                                 
ffc04e24:	38 9f 00 14 	addi    r4,r31,20                              
ffc04e28:	7f 85 e3 78 	mr      r5,r28                                 
ffc04e2c:	7f a6 eb 78 	mr      r6,r29                                 
ffc04e30:	38 e0 00 00 	li      r7,0                                   
ffc04e34:	4b ff fc d1 	bl      ffc04b04 <scanString>                  
ffc04e38:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04e3c:	41 be 00 38 	beq+    cr7,ffc04e74 <scanpw+0x120>            <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
ffc04e40:	7f c3 f3 78 	mr      r3,r30                                 
ffc04e44:	38 9f 00 18 	addi    r4,r31,24                              
ffc04e48:	7f 85 e3 78 	mr      r5,r28                                 
ffc04e4c:	7f a6 eb 78 	mr      r6,r29                                 
ffc04e50:	38 e0 00 01 	li      r7,1                                   
ffc04e54:	4b ff fc b1 	bl      ffc04b04 <scanString>                  
ffc04e58:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04e5c:	41 9e 00 18 	beq-    cr7,ffc04e74 <scanpw+0x120>            
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
ffc04e60:	80 01 00 08 	lwz     r0,8(r1)                               
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
ffc04e64:	3b 60 00 01 	li      r27,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;                                                
ffc04e68:	b0 1f 00 08 	sth     r0,8(r31)                              
  pwd->pw_gid = pwgid;                                                
ffc04e6c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc04e70:	b0 1f 00 0a 	sth     r0,10(r31)                             
  return 1;                                                           
}                                                                     
ffc04e74:	39 61 00 38 	addi    r11,r1,56                              
ffc04e78:	7f 63 db 78 	mr      r3,r27                                 
ffc04e7c:	4b ff ba 3c 	b       ffc008b8 <_restgpr_27_x>               
                                                                      

ffc06324 <siproc>: /* * Process input character, with semaphore. */ static int siproc (unsigned char c, struct rtems_termios_tty *tty) {
ffc06324:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc06328:	7c 08 02 a6 	mflr    r0                                     
ffc0632c:	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)) {
ffc06330:	80 04 00 3c 	lwz     r0,60(r4)                              
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
ffc06334:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc06338:	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)) {
ffc0633c:	70 09 0e 78 	andi.   r9,r0,3704                             
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
ffc06340:	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)) {
ffc06344:	41 a2 00 38 	beq+    ffc0637c <siproc+0x58>                 <== NEVER TAKEN
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
ffc06348:	80 64 00 18 	lwz     r3,24(r4)                              
ffc0634c:	38 a0 00 00 	li      r5,0                                   
ffc06350:	38 80 00 00 	li      r4,0                                   
ffc06354:	48 00 15 55 	bl      ffc078a8 <rtems_semaphore_obtain>      
    i = iproc (c, tty);                                               
ffc06358:	7f c3 f3 78 	mr      r3,r30                                 
ffc0635c:	7f e4 fb 78 	mr      r4,r31                                 
ffc06360:	4b ff fe 15 	bl      ffc06174 <iproc>                       
ffc06364:	7c 7e 1b 78 	mr      r30,r3                                 
    rtems_semaphore_release (tty->osem);                              
ffc06368:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc0636c:	48 00 16 65 	bl      ffc079d0 <rtems_semaphore_release>     
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  }                                                                   
  return i;                                                           
}                                                                     
ffc06370:	39 61 00 10 	addi    r11,r1,16                              
ffc06374:	7f c3 f3 78 	mr      r3,r30                                 
ffc06378:	48 00 dd e0 	b       ffc14158 <_restgpr_30_x>               
ffc0637c:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc06380:	bb c1 00 08 	lmw     r30,8(r1)                              <== NOT EXECUTED
ffc06384:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc06388:	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);                                               
ffc0638c:	4b ff fd e8 	b       ffc06174 <iproc>                       <== NOT EXECUTED
                                                                      

ffc07cac <statvfs>: #include <sys/statvfs.h> int statvfs (const char *path, struct statvfs *sb) {
ffc07cac:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc07cb0:	7c 08 02 a6 	mflr    r0                                     
ffc07cb4:	bf a1 00 2c 	stmw    r29,44(r1)                             
ffc07cb8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc07cbc:	7c 9e 23 78 	mr      r30,r4                                 
ffc07cc0:	90 01 00 3c 	stw     r0,60(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 ) )
ffc07cc4:	48 00 c8 51 	bl      ffc14514 <strlen>                      
ffc07cc8:	7c 64 1b 78 	mr      r4,r3                                  
ffc07ccc:	7f e3 fb 78 	mr      r3,r31                                 
ffc07cd0:	3b e1 00 08 	addi    r31,r1,8                               
ffc07cd4:	38 a0 00 00 	li      r5,0                                   
ffc07cd8:	7f e6 fb 78 	mr      r6,r31                                 
ffc07cdc:	38 e0 00 01 	li      r7,1                                   
ffc07ce0:	4b ff ea 15 	bl      ffc066f4 <rtems_filesystem_evaluate_path>
    return -1;                                                        
ffc07ce4:	3b a0 ff ff 	li      r29,-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 ) )
ffc07ce8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07cec:	40 be 00 3c 	bne+    cr7,ffc07d28 <statvfs+0x7c>            <== NEVER TAKEN
    return -1;                                                        
                                                                      
  mt_entry      = loc.mt_entry;                                       
ffc07cf0:	83 a1 00 18 	lwz     r29,24(r1)                             
  fs_mount_root = &mt_entry->mt_fs_root;                              
                                                                      
  memset (sb, 0, sizeof (struct statvfs));                            
ffc07cf4:	38 80 00 00 	li      r4,0                                   
ffc07cf8:	38 a0 00 38 	li      r5,56                                  
ffc07cfc:	7f c3 f3 78 	mr      r3,r30                                 
ffc07d00:	48 00 b5 a5 	bl      ffc132a4 <memset>                      
                                                                      
  result = ( fs_mount_root->ops->statvfs_h )( fs_mount_root, sb );    
ffc07d04:	81 3d 00 28 	lwz     r9,40(r29)                             
ffc07d08:	38 7d 00 1c 	addi    r3,r29,28                              
ffc07d0c:	80 09 00 44 	lwz     r0,68(r9)                              
ffc07d10:	7f c4 f3 78 	mr      r4,r30                                 
ffc07d14:	7c 09 03 a6 	mtctr   r0                                     
ffc07d18:	4e 80 04 21 	bctrl                                          
ffc07d1c:	7c 7d 1b 78 	mr      r29,r3                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc07d20:	7f e3 fb 78 	mr      r3,r31                                 
ffc07d24:	4b ff ea c5 	bl      ffc067e8 <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc07d28:	39 61 00 38 	addi    r11,r1,56                              
ffc07d2c:	7f a3 eb 78 	mr      r3,r29                                 
ffc07d30:	4b ff a9 30 	b       ffc02660 <_restgpr_29_x>               
                                                                      

ffc0673c <sync_per_thread>: fdatasync(fn); } /* iterate over all FILE *'s for this thread */ static void sync_per_thread(Thread_Control *t) {
ffc0673c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc06740:	7c 08 02 a6 	mflr    r0                                     
ffc06744:	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;                                        
ffc06748:	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)                        
{                                                                     
ffc0674c:	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 ) {                                                
ffc06750:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06754:	41 9e 00 30 	beq-    cr7,ffc06784 <sync_per_thread+0x48>    <== NEVER TAKEN
     current_reent = _Thread_Executing->libc_reent;                   
ffc06758:	3f e0 00 00 	lis     r31,0                                  
ffc0675c:	3b ff 2d 98 	addi    r31,r31,11672                          
ffc06760:	81 3f 00 0c 	lwz     r9,12(r31)                             
     _Thread_Executing->libc_reent = this_reent;                      
     _fwalk (t->libc_reent, sync_wrapper);                            
ffc06764:	3c 80 ff c0 	lis     r4,-64                                 
ffc06768:	38 84 67 8c 	addi    r4,r4,26508                            
    *  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;                   
ffc0676c:	83 c9 01 28 	lwz     r30,296(r9)                            
     _Thread_Executing->libc_reent = this_reent;                      
ffc06770:	90 09 01 28 	stw     r0,296(r9)                             
     _fwalk (t->libc_reent, sync_wrapper);                            
ffc06774:	80 63 01 28 	lwz     r3,296(r3)                             
ffc06778:	48 00 b1 29 	bl      ffc118a0 <_fwalk>                      
     _Thread_Executing->libc_reent = current_reent;                   
ffc0677c:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc06780:	93 c9 01 28 	stw     r30,296(r9)                            
   }                                                                  
}                                                                     
ffc06784:	39 61 00 10 	addi    r11,r1,16                              
ffc06788:	4b ff a5 9c 	b       ffc00d24 <_restgpr_30_x>               
                                                                      

ffc0de28 <tcsetattr>: int fd, int opt, struct termios *tp ) { switch (opt) {
ffc0de28:	2c 04 00 00 	cmpwi   r4,0                                   
int tcsetattr(                                                        
  int             fd,                                                 
  int             opt,                                                
  struct termios *tp                                                  
)                                                                     
{                                                                     
ffc0de2c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0de30:	7c 08 02 a6 	mflr    r0                                     
ffc0de34:	bf c1 00 08 	stmw    r30,8(r1)                              
ffc0de38:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0de3c:	7c bf 2b 78 	mr      r31,r5                                 
ffc0de40:	90 01 00 14 	stw     r0,20(r1)                              
  switch (opt) {                                                      
ffc0de44:	41 82 00 3c 	beq-    ffc0de80 <tcsetattr+0x58>              
ffc0de48:	2f 84 00 01 	cmpwi   cr7,r4,1                               
ffc0de4c:	41 9e 00 18 	beq-    cr7,ffc0de64 <tcsetattr+0x3c>          
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
ffc0de50:	48 00 31 c9 	bl      ffc11018 <__errno>                     
ffc0de54:	38 00 00 86 	li      r0,134                                 
ffc0de58:	90 03 00 00 	stw     r0,0(r3)                               
ffc0de5c:	38 00 ff ff 	li      r0,-1                                  
ffc0de60:	48 00 00 38 	b       ffc0de98 <tcsetattr+0x70>              
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
ffc0de64:	38 80 00 03 	li      r4,3                                   
ffc0de68:	38 a0 00 00 	li      r5,0                                   
ffc0de6c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0de70:	4b ff fb 4d 	bl      ffc0d9bc <ioctl>                       
    	return -1;                                                       
ffc0de74:	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)                      
ffc0de78:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0de7c:	41 9c 00 1c 	blt-    cr7,ffc0de98 <tcsetattr+0x70>          <== NEVER TAKEN
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
ffc0de80:	7f c3 f3 78 	mr      r3,r30                                 
ffc0de84:	38 80 00 02 	li      r4,2                                   
ffc0de88:	7f e5 fb 78 	mr      r5,r31                                 
ffc0de8c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0de90:	4b ff fb 2d 	bl      ffc0d9bc <ioctl>                       
ffc0de94:	7c 60 1b 78 	mr      r0,r3                                  
  }                                                                   
}                                                                     
ffc0de98:	39 61 00 10 	addi    r11,r1,16                              
ffc0de9c:	7c 03 03 78 	mr      r3,r0                                  
ffc0dea0:	4b ff 2b 78 	b       ffc00a18 <_restgpr_30_x>               
                                                                      

ffc07ee4 <unlink>: #include <rtems/seterr.h> int unlink( const char *path ) {
ffc07ee4:	94 21 ff a8 	stwu    r1,-88(r1)                             
ffc07ee8:	7d 80 00 26 	mfcr    r12                                    
ffc07eec:	7c 08 02 a6 	mflr    r0                                     
ffc07ef0:	bf 41 00 40 	stmw    r26,64(r1)                             
ffc07ef4:	7c 7c 1b 78 	mr      r28,r3                                 
ffc07ef8:	90 01 00 5c 	stw     r0,92(r1)                              
ffc07efc:	91 81 00 3c 	stw     r12,60(r1)                             
                                                                      
  /*                                                                  
   * Get the node to be unlinked. Find the parent path first.         
   */                                                                 
                                                                      
  parentpathlen = rtems_filesystem_dirname ( path );                  
ffc07f00:	4b ff d1 6d 	bl      ffc0506c <rtems_filesystem_dirname>    
                                                                      
  if ( parentpathlen == 0 )                                           
ffc07f04:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc07f08:	38 c1 00 0c 	addi    r6,r1,12                               
ffc07f0c:	40 82 00 1c 	bne-    ffc07f28 <unlink+0x44>                 
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
ffc07f10:	7f 83 e3 78 	mr      r3,r28                                 
ffc07f14:	38 81 00 08 	addi    r4,r1,8                                
ffc07f18:	7c c5 33 78 	mr      r5,r6                                  
ffc07f1c:	4b ff e2 89 	bl      ffc061a4 <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;           
ffc07f20:	3b a0 00 00 	li      r29,0                                  
ffc07f24:	48 00 00 28 	b       ffc07f4c <unlink+0x68>                 
  parentpathlen = rtems_filesystem_dirname ( path );                  
                                                                      
  if ( parentpathlen == 0 )                                           
    rtems_filesystem_get_start_loc( path, &i, &parentloc );           
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
ffc07f28:	7f 83 e3 78 	mr      r3,r28                                 
ffc07f2c:	7f 64 db 78 	mr      r4,r27                                 
ffc07f30:	38 a0 00 02 	li      r5,2                                   
ffc07f34:	38 e0 00 00 	li      r7,0                                   
ffc07f38:	4b ff d0 d9 	bl      ffc05010 <rtems_filesystem_evaluate_path>
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
      return -1;                                                      
ffc07f3c:	3b 40 ff ff 	li      r26,-1                                 
  else {                                                              
    result = rtems_filesystem_evaluate_path( path, parentpathlen,     
                                             RTEMS_LIBIO_PERMS_WRITE, 
                                             &parentloc,              
                                             false );                 
    if ( result != 0 )                                                
ffc07f40:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07f44:	40 9e 00 e4 	bne-    cr7,ffc08028 <unlink+0x144>            <== NEVER TAKEN
      return -1;                                                      
                                                                      
    free_parentloc = true;                                            
ffc07f48:	3b a0 00 01 	li      r29,1                                  
                                                                      
  /*                                                                  
   * Start from the parent to find the node that should be under it.  
   */                                                                 
                                                                      
  loc = parentloc;                                                    
ffc07f4c:	3b e1 00 20 	addi    r31,r1,32                              
ffc07f50:	3b c1 00 0c 	addi    r30,r1,12                              
ffc07f54:	7c be a4 aa 	lswi    r5,r30,20                              
ffc07f58:	7c bf a5 aa 	stswi   r5,r31,20                              
  name = path + parentpathlen;                                        
ffc07f5c:	7f 9c da 14 	add     r28,r28,r27                            
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
ffc07f60:	7f 83 e3 78 	mr      r3,r28                                 
ffc07f64:	48 00 c5 7d 	bl      ffc144e0 <strlen>                      
ffc07f68:	7c 64 1b 78 	mr      r4,r3                                  
ffc07f6c:	7f 83 e3 78 	mr      r3,r28                                 
ffc07f70:	4b ff d1 45 	bl      ffc050b4 <rtems_filesystem_prefix_separators>
ffc07f74:	7f 9c 1a 14 	add     r28,r28,r3                             
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
ffc07f78:	7f 83 e3 78 	mr      r3,r28                                 
ffc07f7c:	48 00 c5 65 	bl      ffc144e0 <strlen>                      
ffc07f80:	38 a0 00 00 	li      r5,0                                   
ffc07f84:	7c 64 1b 78 	mr      r4,r3                                  
ffc07f88:	7f e6 fb 78 	mr      r6,r31                                 
ffc07f8c:	7f 83 e3 78 	mr      r3,r28                                 
ffc07f90:	38 e0 00 00 	li      r7,0                                   
ffc07f94:	4b ff cf f9 	bl      ffc04f8c <rtems_filesystem_evaluate_relative_path>
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
ffc07f98:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07f9c:	41 be 00 14 	beq+    cr7,ffc07fb0 <unlink+0xcc>             
    if ( free_parentloc )                                             
ffc07fa0:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
ffc07fa4:	3b 40 ff ff 	li      r26,-1                                 
  name += rtems_filesystem_prefix_separators( name, strlen( name ) ); 
                                                                      
  result = rtems_filesystem_evaluate_relative_path( name , strlen( name ),
                                                    0, &loc, false ); 
  if ( result != 0 ) {                                                
    if ( free_parentloc )                                             
ffc07fa8:	41 be 00 80 	beq+    cr7,ffc08028 <unlink+0x144>            <== NEVER TAKEN
ffc07fac:	48 00 00 74 	b       ffc08020 <unlink+0x13c>                
      rtems_filesystem_freenode( &parentloc );                        
    return -1;                                                        
  }                                                                   
                                                                      
  if (  (*loc.ops->node_type_h)( &loc ) == RTEMS_FILESYSTEM_DIRECTORY ) {
ffc07fb0:	81 21 00 2c 	lwz     r9,44(r1)                              
ffc07fb4:	7f e3 fb 78 	mr      r3,r31                                 
ffc07fb8:	2e 1d 00 00 	cmpwi   cr4,r29,0                              
ffc07fbc:	80 09 00 10 	lwz     r0,16(r9)                              
ffc07fc0:	7c 09 03 a6 	mtctr   r0                                     
ffc07fc4:	4e 80 04 21 	bctrl                                          
ffc07fc8:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc07fcc:	40 be 00 2c 	bne+    cr7,ffc07ff8 <unlink+0x114>            
    rtems_filesystem_freenode( &loc );                                
ffc07fd0:	7f e3 fb 78 	mr      r3,r31                                 
ffc07fd4:	4b ff d1 31 	bl      ffc05104 <rtems_filesystem_freenode>   
    if ( free_parentloc )                                             
ffc07fd8:	41 b2 00 0c 	beq+    cr4,ffc07fe4 <unlink+0x100>            
      rtems_filesystem_freenode( &parentloc );                        
ffc07fdc:	7f c3 f3 78 	mr      r3,r30                                 
ffc07fe0:	4b ff d1 25 	bl      ffc05104 <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( EISDIR );                   
ffc07fe4:	48 00 b3 5d 	bl      ffc13340 <__errno>                     
ffc07fe8:	38 00 00 15 	li      r0,21                                  
ffc07fec:	90 03 00 00 	stw     r0,0(r3)                               
ffc07ff0:	3b 40 ff ff 	li      r26,-1                                 
ffc07ff4:	48 00 00 34 	b       ffc08028 <unlink+0x144>                
  }                                                                   
                                                                      
  result = (*loc.ops->unlink_h)( &parentloc, &loc );                  
ffc07ff8:	81 21 00 2c 	lwz     r9,44(r1)                              
ffc07ffc:	7f c3 f3 78 	mr      r3,r30                                 
ffc08000:	7f e4 fb 78 	mr      r4,r31                                 
ffc08004:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc08008:	7c 09 03 a6 	mtctr   r0                                     
ffc0800c:	4e 80 04 21 	bctrl                                          
ffc08010:	7c 7a 1b 78 	mr      r26,r3                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc08014:	7f e3 fb 78 	mr      r3,r31                                 
ffc08018:	4b ff d0 ed 	bl      ffc05104 <rtems_filesystem_freenode>   
  if ( free_parentloc )                                               
ffc0801c:	41 b2 00 0c 	beq+    cr4,ffc08028 <unlink+0x144>            
    rtems_filesystem_freenode( &parentloc );                          
ffc08020:	7f c3 f3 78 	mr      r3,r30                                 
ffc08024:	4b ff d0 e1 	bl      ffc05104 <rtems_filesystem_freenode>   
                                                                      
  return result;                                                      
}                                                                     
ffc08028:	81 81 00 3c 	lwz     r12,60(r1)                             
ffc0802c:	39 61 00 58 	addi    r11,r1,88                              
ffc08030:	7f 43 d3 78 	mr      r3,r26                                 
ffc08034:	7d 80 81 20 	mtcrf   8,r12                                  
ffc08038:	48 01 01 ec 	b       ffc18224 <_restgpr_26_x>               
                                                                      

ffc081e8 <unmount>: */ int unmount( const char *path ) {
ffc081e8:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc081ec:	7c 08 02 a6 	mflr    r0                                     
ffc081f0:	bf c1 00 28 	stmw    r30,40(r1)                             
ffc081f4:	7c 7f 1b 78 	mr      r31,r3                                 
ffc081f8:	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 ) )
ffc081fc:	48 00 96 0d 	bl      ffc11808 <strlen>                      
ffc08200:	7c 64 1b 78 	mr      r4,r3                                  
ffc08204:	7f e3 fb 78 	mr      r3,r31                                 
ffc08208:	3b e1 00 08 	addi    r31,r1,8                               
ffc0820c:	38 a0 00 00 	li      r5,0                                   
ffc08210:	7f e6 fb 78 	mr      r6,r31                                 
ffc08214:	38 e0 00 01 	li      r7,1                                   
ffc08218:	4b ff cd 09 	bl      ffc04f20 <rtems_filesystem_evaluate_path>
ffc0821c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08220:	40 9e 01 1c 	bne-    cr7,ffc0833c <unmount+0x154>           
    return -1;                                                        
                                                                      
  mt_entry     = loc.mt_entry;                                        
ffc08224:	83 c1 00 18 	lwz     r30,24(r1)                             
                                                                      
  /*                                                                  
   * Verify this is the root node for the file system to be unmounted.
   */                                                                 
                                                                      
  if ( fs_root_loc->node_access != loc.node_access ){                 
ffc08228:	80 01 00 08 	lwz     r0,8(r1)                               
ffc0822c:	81 3e 00 1c 	lwz     r9,28(r30)                             
ffc08230:	7f 89 00 00 	cmpw    cr7,r9,r0                              
ffc08234:	41 be 00 18 	beq+    cr7,ffc0824c <unmount+0x64>            
    rtems_filesystem_freenode( &loc );                                
ffc08238:	7f e3 fb 78 	mr      r3,r31                                 
ffc0823c:	4b ff cd d9 	bl      ffc05014 <rtems_filesystem_freenode>   
    rtems_set_errno_and_return_minus_one( EACCES );                   
ffc08240:	48 00 7f 1d 	bl      ffc1015c <__errno>                     
ffc08244:	38 00 00 0d 	li      r0,13                                  
ffc08248:	48 00 00 50 	b       ffc08298 <unmount+0xb0>                
                                                                      
  /*                                                                  
   * Free the loc node and just use the nodes from the mt_entry .     
   */                                                                 
                                                                      
  rtems_filesystem_freenode( &loc );                                  
ffc0824c:	7f e3 fb 78 	mr      r3,r31                                 
ffc08250:	4b ff cd c5 	bl      ffc05014 <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 )                
ffc08254:	3d 20 00 00 	lis     r9,0                                   
ffc08258:	81 29 27 94 	lwz     r9,10132(r9)                           
ffc0825c:	80 09 00 14 	lwz     r0,20(r9)                              
ffc08260:	7f 80 f0 00 	cmpw    cr7,r0,r30                             
ffc08264:	41 9e 00 2c 	beq-    cr7,ffc08290 <unmount+0xa8>            
                                                                      
  /*                                                                  
   *  Verify there are no file systems below the path specified       
   */                                                                 
                                                                      
  if ( rtems_filesystem_mount_iterate( is_fs_below_mount_point,       
ffc08268:	3c 60 ff c1 	lis     r3,-63                                 
ffc0826c:	80 9e 00 2c 	lwz     r4,44(r30)                             
ffc08270:	38 63 81 d4 	addi    r3,r3,-32300                           
ffc08274:	4b ff d7 c5 	bl      ffc05a38 <rtems_filesystem_mount_iterate>
ffc08278:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0827c:	40 9e 00 14 	bne-    cr7,ffc08290 <unmount+0xa8>            
   *  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 )             
ffc08280:	7f c3 f3 78 	mr      r3,r30                                 
ffc08284:	4b ff d1 91 	bl      ffc05414 <rtems_libio_is_open_files_in_fs>
ffc08288:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc0828c:	40 be 00 14 	bne+    cr7,ffc082a0 <unmount+0xb8>            
    rtems_set_errno_and_return_minus_one( EBUSY );                    
ffc08290:	48 00 7e cd 	bl      ffc1015c <__errno>                     
ffc08294:	38 00 00 10 	li      r0,16                                  
ffc08298:	90 03 00 00 	stw     r0,0(r3)                               
ffc0829c:	48 00 00 a0 	b       ffc0833c <unmount+0x154>               
   * 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 )             
ffc082a0:	81 3e 00 14 	lwz     r9,20(r30)                             
ffc082a4:	7f c3 f3 78 	mr      r3,r30                                 
    return -1;                                                        
ffc082a8:	3b e0 ff ff 	li      r31,-1                                 
   * 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 )             
ffc082ac:	80 09 00 28 	lwz     r0,40(r9)                              
ffc082b0:	7c 09 03 a6 	mtctr   r0                                     
ffc082b4:	4e 80 04 21 	bctrl                                          
ffc082b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc082bc:	40 be 00 84 	bne+    cr7,ffc08340 <unmount+0x158>           <== 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){          
ffc082c0:	81 3e 00 28 	lwz     r9,40(r30)                             
ffc082c4:	7f c3 f3 78 	mr      r3,r30                                 
ffc082c8:	80 09 00 2c 	lwz     r0,44(r9)                              
ffc082cc:	7c 09 03 a6 	mtctr   r0                                     
ffc082d0:	4e 80 04 21 	bctrl                                          
ffc082d4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc082d8:	41 be 00 28 	beq+    cr7,ffc08300 <unmount+0x118>           <== ALWAYS TAKEN
    if (( fs_mount_loc->ops->mount_h )( mt_entry ) != 0 )             
ffc082dc:	81 3e 00 14 	lwz     r9,20(r30)                             <== NOT EXECUTED
ffc082e0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc082e4:	80 09 00 20 	lwz     r0,32(r9)                              <== NOT EXECUTED
ffc082e8:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc082ec:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc082f0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc082f4:	41 be 00 4c 	beq+    cr7,ffc08340 <unmount+0x158>           <== NOT EXECUTED
      rtems_fatal_error_occurred( 0 );                                
ffc082f8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc082fc:	48 00 11 ad 	bl      ffc094a8 <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 );
ffc08300:	3f e0 00 00 	lis     r31,0                                  
ffc08304:	80 7f 28 1c 	lwz     r3,10268(r31)                          
ffc08308:	38 80 00 00 	li      r4,0                                   
ffc0830c:	38 a0 00 00 	li      r5,0                                   
ffc08310:	48 00 0a 1d 	bl      ffc08d2c <rtems_semaphore_obtain>      
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc08314:	7f c3 f3 78 	mr      r3,r30                                 
ffc08318:	48 00 15 39 	bl      ffc09850 <_Chain_Extract>              
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc0831c:	80 7f 28 1c 	lwz     r3,10268(r31)                          
   */                                                                 
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
ffc08320:	3b e0 00 00 	li      r31,0                                  
ffc08324:	48 00 0b 31 	bl      ffc08e54 <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 );                          
ffc08328:	38 7e 00 08 	addi    r3,r30,8                               
ffc0832c:	4b ff cc e9 	bl      ffc05014 <rtems_filesystem_freenode>   
  free( mt_entry );                                                   
ffc08330:	7f c3 f3 78 	mr      r3,r30                                 
ffc08334:	4b ff cd 0d 	bl      ffc05040 <free>                        
                                                                      
  return 0;                                                           
ffc08338:	48 00 00 08 	b       ffc08340 <unmount+0x158>               
   *    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 ) )
    return -1;                                                        
ffc0833c:	3b e0 ff ff 	li      r31,-1                                 
                                                                      
  rtems_filesystem_freenode( fs_mount_loc );                          
  free( mt_entry );                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc08340:	39 61 00 30 	addi    r11,r1,48                              
ffc08344:	7f e3 fb 78 	mr      r3,r31                                 
ffc08348:	48 00 d8 f8 	b       ffc15c40 <_restgpr_30_x>               
                                                                      

ffc06e50 <vprintk>: */ void vprintk( const char *fmt, va_list ap ) {
ffc06e50:	94 21 ff a8 	stwu    r1,-88(r1)                             
ffc06e54:	7c 08 02 a6 	mflr    r0                                     
ffc06e58:	be 81 00 28 	stmw    r20,40(r1)                             
ffc06e5c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc06e60:	7c 9e 23 78 	mr      r30,r4                                 
ffc06e64:	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);                                            
ffc06e68:	3f 60 00 00 	lis     r27,0                                  
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
ffc06e6c:	3a 81 00 08 	addi    r20,r1,8                               
                                                                      
  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)])]); 
ffc06e70:	3e a0 ff c1 	lis     r21,-63                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
                                                                      
      if ( str == NULL ) {                                            
        str = "";                                                     
ffc06e74:	3e c0 ff c1 	lis     r22,-63                                
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
ffc06e78:	48 00 03 28 	b       ffc071a0 <vprintk+0x350>               
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
ffc06e7c:	2f 83 00 25 	cmpwi   cr7,r3,37                              
ffc06e80:	40 9e 01 f4 	bne-    cr7,ffc07074 <vprintk+0x224>           
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
ffc06e84:	8c 1f 00 01 	lbzu    r0,1(r31)                              
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
ffc06e88:	3a e0 00 20 	li      r23,32                                 
    if (*fmt != '%') {                                                
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
ffc06e8c:	2f 80 00 30 	cmpwi   cr7,r0,48                              
ffc06e90:	40 be 00 0c 	bne+    cr7,ffc06e9c <vprintk+0x4c>            
      lead = '0';                                                     
      fmt++;                                                          
ffc06e94:	3b ff 00 01 	addi    r31,r31,1                              
      BSP_output_char(*fmt);                                          
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
ffc06e98:	3a e0 00 30 	li      r23,48                                 
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
ffc06e9c:	88 1f 00 00 	lbz     r0,0(r31)                              
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
ffc06ea0:	3b 00 00 00 	li      r24,0                                  
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
ffc06ea4:	2f 80 00 2d 	cmpwi   cr7,r0,45                              
ffc06ea8:	40 be 00 0c 	bne+    cr7,ffc06eb4 <vprintk+0x64>            
      minus = true;                                                   
      fmt++;                                                          
ffc06eac:	3b ff 00 01 	addi    r31,r31,1                              
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
ffc06eb0:	3b 00 00 01 	li      r24,1                                  
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
ffc06eb4:	3b 80 00 00 	li      r28,0                                  
ffc06eb8:	48 00 00 10 	b       ffc06ec8 <vprintk+0x78>                
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
      width *= 10;                                                    
ffc06ebc:	1f 9c 00 0a 	mulli   r28,r28,10                             
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
ffc06ec0:	3b ff 00 01 	addi    r31,r31,1                              
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
ffc06ec4:	7f 80 e2 14 	add     r28,r0,r28                             
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
ffc06ec8:	88 7f 00 00 	lbz     r3,0(r31)                              
ffc06ecc:	38 03 ff d0 	addi    r0,r3,-48                              
ffc06ed0:	54 09 06 3e 	clrlwi  r9,r0,24                               
ffc06ed4:	2b 89 00 09 	cmplwi  cr7,r9,9                               
ffc06ed8:	40 9d ff e4 	ble+    cr7,ffc06ebc <vprintk+0x6c>            
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
ffc06edc:	2f 83 00 6c 	cmpwi   cr7,r3,108                             
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
ffc06ee0:	7f 99 e3 78 	mr      r25,r28                                
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
ffc06ee4:	40 be 00 08 	bne+    cr7,ffc06eec <vprintk+0x9c>            
      lflag = true;                                                   
      c = *++fmt;                                                     
ffc06ee8:	8c 7f 00 01 	lbzu    r3,1(r31)                              
    }                                                                 
    if ( c == 'c' ) {                                                 
ffc06eec:	2f 83 00 63 	cmpwi   cr7,r3,99                              
ffc06ef0:	40 be 00 40 	bne+    cr7,ffc06f30 <vprintk+0xe0>            
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
ffc06ef4:	89 7e 00 00 	lbz     r11,0(r30)                             
ffc06ef8:	2b 8b 00 08 	cmplwi  cr7,r11,8                              
ffc06efc:	40 9c 00 1c 	bge-    cr7,ffc06f18 <vprintk+0xc8>            <== NEVER TAKEN
ffc06f00:	81 3e 00 08 	lwz     r9,8(r30)                              
ffc06f04:	55 60 10 3a 	rlwinm  r0,r11,2,0,29                          
ffc06f08:	39 6b 00 01 	addi    r11,r11,1                              
ffc06f0c:	7d 29 02 14 	add     r9,r9,r0                               
ffc06f10:	99 7e 00 00 	stb     r11,0(r30)                             
ffc06f14:	48 00 00 10 	b       ffc06f24 <vprintk+0xd4>                
ffc06f18:	81 3e 00 04 	lwz     r9,4(r30)                              <== NOT EXECUTED
ffc06f1c:	38 09 00 04 	addi    r0,r9,4                                <== NOT EXECUTED
ffc06f20:	90 1e 00 04 	stw     r0,4(r30)                              <== NOT EXECUTED
      BSP_output_char(chr);                                           
ffc06f24:	80 1b 27 14 	lwz     r0,10004(r27)                          
ffc06f28:	88 69 00 03 	lbz     r3,3(r9)                               
ffc06f2c:	48 00 01 4c 	b       ffc07078 <vprintk+0x228>               
      continue;                                                       
    }                                                                 
    if ( c == 's' ) {                                                 
ffc06f30:	2f 83 00 73 	cmpwi   cr7,r3,115                             
ffc06f34:	40 be 00 e8 	bne+    cr7,ffc0701c <vprintk+0x1cc>           
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
ffc06f38:	89 7e 00 00 	lbz     r11,0(r30)                             
ffc06f3c:	2b 8b 00 08 	cmplwi  cr7,r11,8                              
ffc06f40:	40 9c 00 1c 	bge-    cr7,ffc06f5c <vprintk+0x10c>           <== NEVER TAKEN
ffc06f44:	81 3e 00 08 	lwz     r9,8(r30)                              
ffc06f48:	55 60 10 3a 	rlwinm  r0,r11,2,0,29                          
ffc06f4c:	39 6b 00 01 	addi    r11,r11,1                              
ffc06f50:	7d 29 02 14 	add     r9,r9,r0                               
ffc06f54:	99 7e 00 00 	stb     r11,0(r30)                             
ffc06f58:	48 00 00 10 	b       ffc06f68 <vprintk+0x118>               
ffc06f5c:	81 3e 00 04 	lwz     r9,4(r30)                              <== NOT EXECUTED
ffc06f60:	38 09 00 04 	addi    r0,r9,4                                <== NOT EXECUTED
ffc06f64:	90 1e 00 04 	stw     r0,4(r30)                              <== NOT EXECUTED
ffc06f68:	83 49 00 00 	lwz     r26,0(r9)                              
                                                                      
      if ( str == NULL ) {                                            
ffc06f6c:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc06f70:	40 be 00 08 	bne+    cr7,ffc06f78 <vprintk+0x128>           
        str = "";                                                     
ffc06f74:	3b 56 5d f7 	addi    r26,r22,24055                          
      }                                                               
                                                                      
      /* calculate length of string */                                
      for ( len=0, s=str ; *s ; len++, s++ )                          
ffc06f78:	3b a0 00 00 	li      r29,0                                  
ffc06f7c:	48 00 00 08 	b       ffc06f84 <vprintk+0x134>               
ffc06f80:	3b bd 00 01 	addi    r29,r29,1                              
ffc06f84:	7c 1a e8 ae 	lbzx    r0,r26,r29                             
ffc06f88:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc06f8c:	40 9e ff f4 	bne+    cr7,ffc06f80 <vprintk+0x130>           
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
ffc06f90:	2f 98 00 00 	cmpwi   cr7,r24,0                              
ffc06f94:	7f b9 eb 78 	mr      r25,r29                                
ffc06f98:	41 9e 00 1c 	beq-    cr7,ffc06fb4 <vprintk+0x164>           
ffc06f9c:	48 00 00 20 	b       ffc06fbc <vprintk+0x16c>               
        for ( i=len ; i<width ; i++ )                                 
          BSP_output_char(' ');                                       
ffc06fa0:	80 1b 27 14 	lwz     r0,10004(r27)                          
ffc06fa4:	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++ )                                 
ffc06fa8:	3b 39 00 01 	addi    r25,r25,1                              
          BSP_output_char(' ');                                       
ffc06fac:	7c 09 03 a6 	mtctr   r0                                     
ffc06fb0:	4e 80 04 21 	bctrl                                          
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
ffc06fb4:	7f 99 e0 40 	cmplw   cr7,r25,r28                            
ffc06fb8:	41 9c ff e8 	blt+    cr7,ffc06fa0 <vprintk+0x150>           
          BSP_output_char(' ');                                       
                                                                      
      /* no width option */                                           
      if (width == 0) {                                               
ffc06fbc:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc06fc0:	40 9e 00 10 	bne-    cr7,ffc06fd0 <vprintk+0x180>           
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
ffc06fc4:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc06fc8:	41 be 00 28 	beq+    cr7,ffc06ff0 <vprintk+0x1a0>           
ffc06fcc:	7f bc eb 78 	mr      r28,r29                                
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
ffc06fd0:	3b 5a ff ff 	addi    r26,r26,-1                             
ffc06fd4:	48 00 00 10 	b       ffc06fe4 <vprintk+0x194>               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
        BSP_output_char(*str);                                        
ffc06fd8:	80 1b 27 14 	lwz     r0,10004(r27)                          
ffc06fdc:	7c 09 03 a6 	mtctr   r0                                     
ffc06fe0:	4e 80 04 21 	bctrl                                          
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
ffc06fe4:	8c 7a 00 01 	lbzu    r3,1(r26)                              
ffc06fe8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06fec:	40 9e ff ec 	bne+    cr7,ffc06fd8 <vprintk+0x188>           
        BSP_output_char(*str);                                        
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
ffc06ff0:	2f 98 00 00 	cmpwi   cr7,r24,0                              
ffc06ff4:	41 9e 01 a8 	beq-    cr7,ffc0719c <vprintk+0x34c>           
ffc06ff8:	48 00 00 18 	b       ffc07010 <vprintk+0x1c0>               
        for ( i=len ; i<width ; i++ )                                 
          BSP_output_char(' ');                                       
ffc06ffc:	80 1b 27 14 	lwz     r0,10004(r27)                          
ffc07000:	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++ )                                 
ffc07004:	3b bd 00 01 	addi    r29,r29,1                              
          BSP_output_char(' ');                                       
ffc07008:	7c 09 03 a6 	mtctr   r0                                     
ffc0700c:	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++ )                                 
ffc07010:	7f 9d e0 40 	cmplw   cr7,r29,r28                            
ffc07014:	41 9c ff e8 	blt+    cr7,ffc06ffc <vprintk+0x1ac>           
ffc07018:	48 00 01 84 	b       ffc0719c <vprintk+0x34c>               
                                                                      
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
ffc0701c:	2f 83 00 6f 	cmpwi   cr7,r3,111                             
ffc07020:	41 9e 00 64 	beq-    cr7,ffc07084 <vprintk+0x234>           
ffc07024:	2f 83 00 4f 	cmpwi   cr7,r3,79                              
ffc07028:	41 9e 00 5c 	beq-    cr7,ffc07084 <vprintk+0x234>           
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
ffc0702c:	2f 83 00 69 	cmpwi   cr7,r3,105                             
ffc07030:	41 9e 00 60 	beq-    cr7,ffc07090 <vprintk+0x240>           
ffc07034:	2f 83 00 49 	cmpwi   cr7,r3,73                              
ffc07038:	41 9e 00 58 	beq-    cr7,ffc07090 <vprintk+0x240>           
ffc0703c:	2f 83 00 64 	cmpwi   cr7,r3,100                             
ffc07040:	41 9e 00 50 	beq-    cr7,ffc07090 <vprintk+0x240>           
                c == 'd' || c == 'D' ) {                              
ffc07044:	2f 83 00 44 	cmpwi   cr7,r3,68                              
ffc07048:	41 9e 00 48 	beq-    cr7,ffc07090 <vprintk+0x240>           
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
ffc0704c:	2f 83 00 75 	cmpwi   cr7,r3,117                             
ffc07050:	41 9e 00 48 	beq-    cr7,ffc07098 <vprintk+0x248>           
ffc07054:	2f 83 00 55 	cmpwi   cr7,r3,85                              
ffc07058:	41 9e 00 40 	beq-    cr7,ffc07098 <vprintk+0x248>           
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
ffc0705c:	2f 83 00 78 	cmpwi   cr7,r3,120                             
ffc07060:	41 9e 00 44 	beq-    cr7,ffc070a4 <vprintk+0x254>           
ffc07064:	2f 83 00 58 	cmpwi   cr7,r3,88                              
ffc07068:	41 9e 00 3c 	beq-    cr7,ffc070a4 <vprintk+0x254>           
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
ffc0706c:	2f 83 00 70 	cmpwi   cr7,r3,112                             
ffc07070:	41 9e 00 34 	beq-    cr7,ffc070a4 <vprintk+0x254>           
      base = 16; sign = false; lflag = true;                          
    } else {                                                          
      BSP_output_char(c);                                             
ffc07074:	80 1b 27 14 	lwz     r0,10004(r27)                          
ffc07078:	7c 09 03 a6 	mtctr   r0                                     
ffc0707c:	4e 80 04 21 	bctrl                                          
      continue;                                                       
ffc07080:	48 00 01 1c 	b       ffc0719c <vprintk+0x34c>               
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
ffc07084:	38 00 00 00 	li      r0,0                                   
ffc07088:	3b a0 00 08 	li      r29,8                                  
ffc0708c:	48 00 00 20 	b       ffc070ac <vprintk+0x25c>               
    } else if ( c == 'i' || c == 'I' ||                               
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
ffc07090:	38 00 00 01 	li      r0,1                                   
ffc07094:	48 00 00 08 	b       ffc0709c <vprintk+0x24c>               
    } else if ( c == 'u' || c == 'U' ) {                              
      base = 10; sign = false;                                        
ffc07098:	38 00 00 00 	li      r0,0                                   
ffc0709c:	3b a0 00 0a 	li      r29,10                                 
ffc070a0:	48 00 00 0c 	b       ffc070ac <vprintk+0x25c>               
    } else if ( c == 'x' || c == 'X' ) {                              
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
      base = 16; sign = false; lflag = true;                          
ffc070a4:	38 00 00 00 	li      r0,0                                   
ffc070a8:	3b a0 00 10 	li      r29,16                                 
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
      lflag ? va_arg(ap, long) : (long) va_arg(ap, int),              
ffc070ac:	89 7e 00 00 	lbz     r11,0(r30)                             
ffc070b0:	2b 8b 00 08 	cmplwi  cr7,r11,8                              
ffc070b4:	40 9c 00 1c 	bge-    cr7,ffc070d0 <vprintk+0x280>           
ffc070b8:	81 5e 00 08 	lwz     r10,8(r30)                             
ffc070bc:	55 69 10 3a 	rlwinm  r9,r11,2,0,29                          
ffc070c0:	39 6b 00 01 	addi    r11,r11,1                              
ffc070c4:	7d 2a 4a 14 	add     r9,r10,r9                              
ffc070c8:	99 7e 00 00 	stb     r11,0(r30)                             
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
ffc070cc:	48 00 00 10 	b       ffc070dc <vprintk+0x28c>               
      lflag ? va_arg(ap, long) : (long) va_arg(ap, int),              
ffc070d0:	81 3e 00 04 	lwz     r9,4(r30)                              
ffc070d4:	39 69 00 04 	addi    r11,r9,4                               
ffc070d8:	91 7e 00 04 	stw     r11,4(r30)                             
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
ffc070dc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    } else {                                                          
      BSP_output_char(c);                                             
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
ffc070e0:	83 49 00 00 	lwz     r26,0(r9)                              
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
ffc070e4:	41 9e 00 30 	beq-    cr7,ffc07114 <vprintk+0x2c4>           
ffc070e8:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc070ec:	40 bc 00 28 	bge+    cr7,ffc07114 <vprintk+0x2c4>           
    BSP_output_char('-');                                             
ffc070f0:	80 1b 27 14 	lwz     r0,10004(r27)                          
ffc070f4:	38 60 00 2d 	li      r3,45                                  
    unsigned_num = (unsigned long) -num;                              
ffc070f8:	7f 5a 00 d0 	neg     r26,r26                                
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    BSP_output_char('-');                                             
ffc070fc:	7c 09 03 a6 	mtctr   r0                                     
ffc07100:	4e 80 04 21 	bctrl                                          
    unsigned_num = (unsigned long) -num;                              
    if (maxwidth) maxwidth--;                                         
ffc07104:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc07108:	41 9e 00 10 	beq-    cr7,ffc07118 <vprintk+0x2c8>           
ffc0710c:	3b 3c ff ff 	addi    r25,r28,-1                             
ffc07110:	48 00 00 08 	b       ffc07118 <vprintk+0x2c8>               
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
ffc07114:	7f 99 e3 78 	mr      r25,r28                                
  }                                                                   
                                                                      
  count = 0;                                                          
ffc07118:	3b 80 00 00 	li      r28,0                                  
ffc0711c:	48 00 00 14 	b       ffc07130 <vprintk+0x2e0>               
  while ((n = unsigned_num / base) > 0) {                             
    toPrint[count++] = (char) (unsigned_num - (n * base));            
ffc07120:	7d 60 e9 d6 	mullw   r11,r0,r29                             
ffc07124:	7f 4b d0 50 	subf    r26,r11,r26                            
ffc07128:	9b 49 00 08 	stb     r26,8(r9)                              
ffc0712c:	7c 1a 03 78 	mr      r26,r0                                 
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
ffc07130:	7c 1a eb 96 	divwu   r0,r26,r29                             
ffc07134:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc07138:	7d 21 e2 14 	add     r9,r1,r28                              
ffc0713c:	3b 9c 00 01 	addi    r28,r28,1                              
ffc07140:	40 9e ff e0 	bne+    cr7,ffc07120 <vprintk+0x2d0>           
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
ffc07144:	9b 49 00 08 	stb     r26,8(r9)                              
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
ffc07148:	7f 3d cb 78 	mr      r29,r25                                
ffc0714c:	48 00 00 18 	b       ffc07164 <vprintk+0x314>               
    BSP_output_char(lead);                                            
ffc07150:	80 1b 27 14 	lwz     r0,10004(r27)                          
ffc07154:	7e e3 bb 78 	mr      r3,r23                                 
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
ffc07158:	3b bd ff ff 	addi    r29,r29,-1                             
    BSP_output_char(lead);                                            
ffc0715c:	7c 09 03 a6 	mtctr   r0                                     
ffc07160:	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-- )                                  
ffc07164:	7f 9d e0 40 	cmplw   cr7,r29,r28                            
ffc07168:	41 9d ff e8 	bgt+    cr7,ffc07150 <vprintk+0x300>           
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
ffc0716c:	7f 54 e2 14 	add     r26,r20,r28                            
ffc07170:	3b a0 00 00 	li      r29,0                                  
ffc07174:	48 00 00 20 	b       ffc07194 <vprintk+0x344>               
                                                                      
  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)])]); 
ffc07178:	8d 3a ff ff 	lbzu    r9,-1(r26)                             
ffc0717c:	39 75 5d f8 	addi    r11,r21,24056                          
ffc07180:	80 1b 27 14 	lwz     r0,10004(r27)                          
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    BSP_output_char(lead);                                            
                                                                      
  for (n = 0; n < count; n++) {                                       
ffc07184:	3b bd 00 01 	addi    r29,r29,1                              
    BSP_output_char("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]); 
ffc07188:	7c 6b 48 ae 	lbzx    r3,r11,r9                              
ffc0718c:	7c 09 03 a6 	mtctr   r0                                     
ffc07190:	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++) {                                       
ffc07194:	7f 9d e0 40 	cmplw   cr7,r29,r28                            
ffc07198:	41 9c ff e0 	blt+    cr7,ffc07178 <vprintk+0x328>           
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
ffc0719c:	3b ff 00 01 	addi    r31,r31,1                              
ffc071a0:	88 7f 00 00 	lbz     r3,0(r31)                              
ffc071a4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc071a8:	40 9e fc d4 	bne+    cr7,ffc06e7c <vprintk+0x2c>            
      sign,                                                           
      width,                                                          
      lead                                                            
    );                                                                
  }                                                                   
}                                                                     
ffc071ac:	39 61 00 58 	addi    r11,r1,88                              
ffc071b0:	48 00 cf 80 	b       ffc14130 <_restgpr_20_x>               
                                                                      

ffc14a48 <write>: ssize_t write( int fd, const void *buffer, size_t count ) {
ffc14a48:	7c 08 02 a6 	mflr    r0                                     
ffc14a4c:	7c 2b 0b 78 	mr      r11,r1                                 
ffc14a50:	94 21 ff f0 	stwu    r1,-16(r1)                             
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc14a54:	3d 40 00 00 	lis     r10,0                                  
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
ffc14a58:	90 01 00 14 	stw     r0,20(r1)                              
ffc14a5c:	4b ff f6 b5 	bl      ffc14110 <_savegpr_31>                 
  ssize_t  rc;                                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc14a60:	80 0a 26 cc 	lwz     r0,9932(r10)                           
ffc14a64:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc14a68:	40 9c 00 20 	bge-    cr7,ffc14a88 <write+0x40>              
  iop = rtems_libio_iop( fd );                                        
ffc14a6c:	3d 40 00 00 	lis     r10,0                                  
ffc14a70:	83 ea 27 88 	lwz     r31,10120(r10)                         
ffc14a74:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc14a78:	7f ff 1a 14 	add     r31,r31,r3                             
  rtems_libio_check_is_open( iop );                                   
ffc14a7c:	80 1f 00 18 	lwz     r0,24(r31)                             
ffc14a80:	70 0a 01 00 	andi.   r10,r0,256                             
ffc14a84:	40 a2 00 10 	bne+    ffc14a94 <write+0x4c>                  
ffc14a88:	4b ff a6 f5 	bl      ffc0f17c <__errno>                     
ffc14a8c:	38 00 00 09 	li      r0,9                                   
ffc14a90:	48 00 00 28 	b       ffc14ab8 <write+0x70>                  
  rtems_libio_check_buffer( buffer );                                 
ffc14a94:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc14a98:	41 9e 00 18 	beq-    cr7,ffc14ab0 <write+0x68>              <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
ffc14a9c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc14aa0:	38 60 00 00 	li      r3,0                                   
ffc14aa4:	41 9e 00 5c 	beq-    cr7,ffc14b00 <write+0xb8>              
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
ffc14aa8:	70 09 00 04 	andi.   r9,r0,4                                
ffc14aac:	40 a2 00 18 	bne+    ffc14ac4 <write+0x7c>                  
ffc14ab0:	4b ff a6 cd 	bl      ffc0f17c <__errno>                     
ffc14ab4:	38 00 00 16 	li      r0,22                                  
ffc14ab8:	90 03 00 00 	stw     r0,0(r3)                               
ffc14abc:	38 60 ff ff 	li      r3,-1                                  
ffc14ac0:	48 00 00 40 	b       ffc14b00 <write+0xb8>                  
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
  rc = (*iop->pathinfo.handlers->write_h)( iop, buffer, count );      
ffc14ac4:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc14ac8:	7f e3 fb 78 	mr      r3,r31                                 
ffc14acc:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc14ad0:	7c 09 03 a6 	mtctr   r0                                     
ffc14ad4:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( rc > 0 )                                                       
ffc14ad8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc14adc:	40 81 00 24 	ble-    ffc14b00 <write+0xb8>                  
    iop->offset += rc;                                                
ffc14ae0:	81 7f 00 10 	lwz     r11,16(r31)                            
ffc14ae4:	7c 6a 1b 78 	mr      r10,r3                                 
ffc14ae8:	81 9f 00 14 	lwz     r12,20(r31)                            
ffc14aec:	7c 69 fe 70 	srawi   r9,r3,31                               
ffc14af0:	7d 4a 60 14 	addc    r10,r10,r12                            
ffc14af4:	7d 29 59 14 	adde    r9,r9,r11                              
ffc14af8:	91 3f 00 10 	stw     r9,16(r31)                             
ffc14afc:	91 5f 00 14 	stw     r10,20(r31)                            
                                                                      
  return rc;                                                          
}                                                                     
ffc14b00:	39 61 00 10 	addi    r11,r1,16                              
ffc14b04:	4b ff f6 58 	b       ffc1415c <_restgpr_31_x>               
                                                                      

ffc0870c <writev>: ssize_t writev( int fd, const struct iovec *iov, int iovcnt ) {
ffc0870c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc08710:	7c 08 02 a6 	mflr    r0                                     
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc08714:	3d 20 00 00 	lis     r9,0                                   
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc08718:	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 );                                         
ffc0871c:	80 09 26 cc 	lwz     r0,9932(r9)                            
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc08720:	bf 21 00 0c 	stmw    r25,12(r1)                             
ffc08724:	7c ba 2b 78 	mr      r26,r5                                 
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc08728:	7f 83 00 40 	cmplw   cr7,r3,r0                              
ffc0872c:	40 9c 00 20 	bge-    cr7,ffc0874c <writev+0x40>             
  iop = rtems_libio_iop( fd );                                        
ffc08730:	3d 20 00 00 	lis     r9,0                                   
ffc08734:	83 69 27 88 	lwz     r27,10120(r9)                          
ffc08738:	54 63 30 32 	rlwinm  r3,r3,6,0,25                           
ffc0873c:	7f 7b 1a 14 	add     r27,r27,r3                             
  rtems_libio_check_is_open( iop );                                   
ffc08740:	80 1b 00 18 	lwz     r0,24(r27)                             
ffc08744:	70 09 01 00 	andi.   r9,r0,256                              
ffc08748:	40 a2 00 10 	bne+    ffc08758 <writev+0x4c>                 
ffc0874c:	48 00 7c bd 	bl      ffc10408 <__errno>                     
ffc08750:	38 00 00 09 	li      r0,9                                   
ffc08754:	48 00 00 78 	b       ffc087cc <writev+0xc0>                 
  rtems_libio_check_permissions( iop, LIBIO_FLAGS_WRITE );            
ffc08758:	70 09 00 04 	andi.   r9,r0,4                                
ffc0875c:	41 82 00 68 	beq-    ffc087c4 <writev+0xb8>                 <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
ffc08760:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc08764:	41 9e 00 60 	beq-    cr7,ffc087c4 <writev+0xb8>             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
ffc08768:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc0876c:	40 9d 00 58 	ble-    cr7,ffc087c4 <writev+0xb8>             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
ffc08770:	2f 85 04 00 	cmpwi   cr7,r5,1024                            
ffc08774:	41 9d 00 50 	bgt-    cr7,ffc087c4 <writev+0xb8>             <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc08778:	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 )                                             
ffc0877c:	7c a9 03 a6 	mtctr   r5                                     
ffc08780:	7c 89 23 78 	mr      r9,r4                                  
ffc08784:	38 00 00 01 	li      r0,1                                   
ffc08788:	39 60 00 00 	li      r11,0                                  
ffc0878c:	48 00 00 08 	b       ffc08794 <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++ ) {                    
ffc08790:	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 )                                       
ffc08794:	81 49 00 00 	lwz     r10,0(r9)                              
ffc08798:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0879c:	41 9e 00 28 	beq-    cr7,ffc087c4 <writev+0xb8>             
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
ffc087a0:	81 49 00 04 	lwz     r10,4(r9)                              
      all_zeros = false;                                              
ffc087a4:	31 0a ff ff 	addic   r8,r10,-1                              
ffc087a8:	7d 08 41 10 	subfe   r8,r8,r8                               
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
ffc087ac:	7d 4b 52 14 	add     r10,r11,r10                            
    if ( total < old || total > SSIZE_MAX )                           
ffc087b0:	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;                                              
ffc087b4:	7c 00 40 38 	and     r0,r0,r8                               
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
ffc087b8:	41 9c 00 0c 	blt-    cr7,ffc087c4 <writev+0xb8>             
ffc087bc:	2f 8a 7f ff 	cmpwi   cr7,r10,32767                          
ffc087c0:	40 bd 00 14 	ble+    cr7,ffc087d4 <writev+0xc8>             <== ALWAYS TAKEN
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc087c4:	48 00 7c 45 	bl      ffc10408 <__errno>                     
ffc087c8:	38 00 00 16 	li      r0,22                                  
ffc087cc:	90 03 00 00 	stw     r0,0(r3)                               
ffc087d0:	48 00 00 90 	b       ffc08860 <writev+0x154>                
   *  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++ ) {                    
ffc087d4:	39 29 00 08 	addi    r9,r9,8                                
ffc087d8:	42 00 ff b8 	bdnz+   ffc08790 <writev+0x84>                 
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
ffc087dc:	2f 80 00 00 	cmpwi   cr7,r0,0                               
    return 0;                                                         
ffc087e0:	3b a0 00 00 	li      r29,0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
ffc087e4:	40 9e 00 80 	bne-    cr7,ffc08864 <writev+0x158>            
ffc087e8:	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 )                                        
ffc087ec:	80 bc 00 04 	lwz     r5,4(r28)                              
ffc087f0:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc087f4:	41 be 00 58 	beq+    cr7,ffc0884c <writev+0x140>            <== NEVER TAKEN
      continue;                                                       
                                                                      
    bytes = (*iop->pathinfo.handlers->write_h)(                       
ffc087f8:	81 3b 00 24 	lwz     r9,36(r27)                             
ffc087fc:	7f 63 db 78 	mr      r3,r27                                 
ffc08800:	80 9c 00 00 	lwz     r4,0(r28)                              
ffc08804:	80 09 00 0c 	lwz     r0,12(r9)                              
ffc08808:	7c 09 03 a6 	mtctr   r0                                     
ffc0880c:	4e 80 04 21 	bctrl                                          
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
ffc08810:	2c 03 00 00 	cmpwi   r3,0                                   
ffc08814:	41 80 00 4c 	blt-    ffc08860 <writev+0x154>                <== NEVER TAKEN
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
ffc08818:	41 82 00 28 	beq-    ffc08840 <writev+0x134>                <== NEVER TAKEN
      iop->offset += bytes;                                           
ffc0881c:	81 3b 00 10 	lwz     r9,16(r27)                             
ffc08820:	7c 7f 1b 78 	mr      r31,r3                                 
ffc08824:	81 5b 00 14 	lwz     r10,20(r27)                            
ffc08828:	7c 7e fe 70 	srawi   r30,r3,31                              
      total       += bytes;                                           
ffc0882c:	7f bd 1a 14 	add     r29,r29,r3                             
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
      iop->offset += bytes;                                           
ffc08830:	7d 4a f8 14 	addc    r10,r10,r31                            
ffc08834:	7d 29 f1 14 	adde    r9,r9,r30                              
ffc08838:	91 3b 00 10 	stw     r9,16(r27)                             
ffc0883c:	91 5b 00 14 	stw     r10,20(r27)                            
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
ffc08840:	80 1c 00 04 	lwz     r0,4(r28)                              
ffc08844:	7f 83 00 00 	cmpw    cr7,r3,r0                              
ffc08848:	40 9e 00 1c 	bne-    cr7,ffc08864 <writev+0x158>            <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
ffc0884c:	3b 39 00 01 	addi    r25,r25,1                              
ffc08850:	7f 99 d0 00 	cmpw    cr7,r25,r26                            
ffc08854:	3b 9c 00 08 	addi    r28,r28,8                              
ffc08858:	41 9c ff 94 	blt+    cr7,ffc087ec <writev+0xe0>             
ffc0885c:	48 00 00 08 	b       ffc08864 <writev+0x158>                
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
ffc08860:	3b a0 ff ff 	li      r29,-1                                 
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
ffc08864:	39 61 00 28 	addi    r11,r1,40                              
ffc08868:	7f a3 eb 78 	mr      r3,r29                                 
ffc0886c:	4b ff 83 74 	b       ffc00be0 <_restgpr_25_x>